Replace wofi with tofi.
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user