1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-06-07 12:39:29 +00:00
This commit is contained in:
Rae 5e 2025-06-03 18:39:21 -04:00
parent 3e5f832d02
commit 6531db0006
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
7 changed files with 541 additions and 483 deletions

View file

@ -214,6 +214,12 @@
<mousebind button="A-Right" action="Drag"> <mousebind button="A-Right" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Raise"/>
</mousebind>
</context> </context>
<context name="Titlebar"> <context name="Titlebar">

View file

@ -114,6 +114,14 @@
search = { search = {
default = "DuckDuckGo"; default = "DuckDuckGo";
engines = { engines = {
"Noogle" = {
urls = [{
template = "https://noogle.dev/q";
params = [
{ name = "term"; value = "{searchTerms}"; }
];
}];
};
"Nix packages" = { "Nix packages" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";
@ -145,7 +153,7 @@
"Bing".metaData.hidden = true; "Bing".metaData.hidden = true;
"Google".metaData.hidden = true; "Google".metaData.hidden = true;
}; };
order = [ "DuckDuckGo" "Nix packages" ]; order = [ "DuckDuckGo" "Noogle" "Nix packages" ];
force = true; force = true;
}; };
}; };

View file

@ -65,8 +65,8 @@
capabilities = caps, capabilities = caps,
cmd = { "nil" } cmd = { "nil" }
} }
lc.ts_ls.setup {} lc.ts_ls.setup { capabilities = caps }
lc.vala_ls.setup {} lc.vala_ls.setup { capabilities = caps }
''; '';
}; };
} }

View file

@ -226,7 +226,49 @@
security.polkit.enable = true; security.polkit.enable = true;
xdg.portal = { xdg = {
mime = {
defaultApplications = let
audio = [ "vlc.desktop" "org.fooyin.fooyin.desktop" ];
browser = "firefox.desktop";
image = [ "sxiv.desktop" "gimp.desktop" ];
text = "nvim.desktop";
video = "vlc.desktop";
in {
"application/json" = text;
"application/x-c++src" = text;
"application/x-shellscript" = "kitty-open.desktop";
"application/x-xcf" = "gimp.desktop";
"audio/flac" = audio;
"audio/mp2" = audio;
"audio/mp3" = audio;
"audio/wav" = audio;
"audio/x-vorbis" = audio;
"audio/x-vorbis+ogg" = audio;
"image/avif" = image;
"image/bmp" = image;
"image/gif" = image;
"image/jpeg" = image;
"image/png" = image;
"image/svg+xml" = [ "sxiv.desktop" "nvim.desktop" ];
"image/tiff" = image;
"image/webp" = image;
"inode/directory" = "org.kde.dolphin.desktop";
"text/html" = browser;
"text/markdown" = text;
"text/plain" = text;
"text/x-c" = text;
"video/avi" = video;
"video/mp4" = video;
"video/quicktime" = video;
"video/webm" = video;
"video/x-matroska" = video;
"x-scheme-handler/http" = browser;
"x-scheme-handler/https" = browser;
"x-scheme-handler/mailto" = "thunderbird.desktop";
};
};
portal = {
enable = true; enable = true;
config = { config = {
common = { common = {
@ -235,6 +277,7 @@
}; };
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
}; };
};
users.users.rae.shell = pkgs.fish; users.users.rae.shell = pkgs.fish;

View file

@ -59,6 +59,7 @@
imagemagick # Software suite to create, edit, compose, or convert bitmap images imagemagick # Software suite to create, edit, compose, or convert bitmap images
krita # Free and open source painting application krita # Free and open source painting application
maim # Command-line screenshot utility maim # Command-line screenshot utility
sxiv # Simple X Image Viewer
# gtk # gtk
posy-cursors # Posy's Improved Cursors for Linux posy-cursors # Posy's Improved Cursors for Linux
pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable