Compare commits

...

3 Commits

3 changed files with 58 additions and 32 deletions

View File

@@ -10,10 +10,10 @@
./terminal.nix ./terminal.nix
]; ];
home.packages = with pkgs; [ home = {
packages = with pkgs; [
# Desktop Applications # Desktop Applications
signal-desktop signal-desktop
firefox
# Common utilities # Common utilities
feh feh
@@ -30,7 +30,7 @@
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";
@@ -39,12 +39,20 @@
}; };
# Hint for electron apps to use wayland # Hint for electron apps to use wayland
home.sessionVariables.NIXOS_OZONE_WL = "1"; sessionVariables.NIXOS_OZONE_WL = "1";
# Miscelaneous config files # Miscelaneous config files
home.file = { file = {
".XCompose".source = ./config/XCompose; ".XCompose".source = ./config/XCompose;
}; };
};
programs = {
# browsers
firefox.enable = true;
qutebrowser.enable = true;
librewolf.enable = true;
};
# GTK settings # GTK settings
gtk = { gtk = {

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";