Replace wofi with tofi.

This commit is contained in:
Tom Alexander
2025-01-18 16:40:43 -05:00
parent dcffced35a
commit 1535800e2f
3 changed files with 28 additions and 7 deletions

View File

@@ -6,7 +6,6 @@
}:
let
# TODO: Maybe replace wofi with tofi (with config to make it start quickly)
sway-config = pkgs.writeTextFile {
name = "config";
text = ''
@@ -31,7 +30,8 @@ let
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
# set $menu dmenu_path | dmenu | xargs swaymsg exec
set $menu ${pkgs.wofi}/bin/wofi --show drun --gtk-dark
set $menu ${pkgs.tofi}/bin/tofi-drun | xargs swaymsg exec --
#set $menu ${pkgs.wofi}/bin/wofi --show drun --gtk-dark
# Do not show a title bar on windows
default_border pixel 2
@@ -332,7 +332,8 @@ in
hideMounts = true;
users.talexander = {
files = [
".cache/wofi-drun" # Execution history for wofi to sort results
".local/state/tofi-drun-history" # A cache of the desktop files for tofi
".cache/tofi-drun" # Execution history for tofi to sort results
];
};
};