Compare commits

...

3 Commits

3 changed files with 58 additions and 32 deletions

View File

@@ -10,40 +10,48 @@
./terminal.nix ./terminal.nix
]; ];
home.packages = with pkgs; [ home = {
# Desktop Applications packages = with pkgs; [
signal-desktop # Desktop Applications
firefox signal-desktop
# Common utilities # Common utilities
feh feh
networkmanagerapplet # network control networkmanagerapplet # network control
gnome-keyring # Secret management gnome-keyring # Secret management
glib # for Gnome/GTK settings glib # for Gnome/GTK settings
gsettings-desktop-schemas # So that we can access gnome settings gsettings-desktop-schemas # So that we can access gnome settings
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
grim # Screenshot provider grim # Screenshot provider
nwg-look # GTK settings editor nwg-look # GTK settings editor
playerctl # for universal play/pause etc playerctl # for universal play/pause etc
wirelesstools wirelesstools
waypaper # Wallpaper switcher waypaper # Wallpaper switcher
]; ];
home.pointerCursor = { pointerCursor = {
enable = true; enable = true;
gtk.enable = true; gtk.enable = true;
name = "phinger-cursors"; name = "phinger-cursors";
size = 16; size = 16;
package = pkgs.phinger-cursors; package = pkgs.phinger-cursors;
};
# Hint for electron apps to use wayland
sessionVariables.NIXOS_OZONE_WL = "1";
# Miscelaneous config files
file = {
".XCompose".source = ./config/XCompose;
};
}; };
# Hint for electron apps to use wayland programs = {
home.sessionVariables.NIXOS_OZONE_WL = "1"; # browsers
firefox.enable = true;
# Miscelaneous config files qutebrowser.enable = true;
home.file = { librewolf.enable = true;
".XCompose".source = ./config/XCompose;
}; };
# GTK settings # GTK settings

View File

@@ -10,7 +10,7 @@ return {
-- sort even when the search string is empty -- sort even when the search string is empty
sort_empty = true, sort_empty = true,
-- Enable frecensy for matchers. This puts more common files near the top -- Enable frecensy for matchers. This puts more common files near the top
frecency = true, frecency = false,
-- Make sure files in the current directory are prioritized -- Make sure files in the current directory are prioritized
cwd_bonus = true, cwd_bonus = true,
-- Give more weight to files that are more recent -- Give more weight to files that are more recent
@@ -23,7 +23,24 @@ return {
{ {
"<leader><space>", "<leader><space>",
function() function()
Snacks.picker.smart() Snacks.picker.smart({
-- Remove the "recent" picker so we don't get things from other directories.
multi = { "buffers", "files" },
matcher = {
-- sort even when the search string is empty
sort_empty = false,
-- Enable frecensy for matchers. This puts more common files near
-- the top This includes files that aren't open and can put files I
-- am done with above open files, so it's off.
frecency = false,
-- Make sure files in the current directory are prioritized
cwd_bonus = true,
-- Give more weight to files that are more recent
history_bonus = true,
-- Give more weight to places where the filename is part of the match
filename_bonus = true,
},
})
end, end,
desc = "Smart Find Files", desc = "Smart Find Files",
}, },

View File

@@ -18,6 +18,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
windsurf windsurf
slack slack
zoom-us
]; ];
home.stateVersion = "24.11"; home.stateVersion = "24.11";