Update kidex directories, add anyrun binds

This commit is contained in:
Evie Litherland-Smith 2023-11-13 15:33:48 +00:00
parent 6f148e48fa
commit fd8b3b29cf
2 changed files with 10 additions and 16 deletions

View file

@ -26,42 +26,37 @@
extraCss = builtins.readFile ./style.css;
extraConfigFiles."websearch.ron".source = ./websearch.ron;
};
xdg.configFile."kidex.ron".text = ''
xdg.configFile."kidex.ron".text = with config.home; ''
Config(
ignored: [".git*"], // A list of patterns to be ignored in all directories
directories: [
WatchDir(
path: "${config.xdg.userDirs.documents}", // The root folder to be indexed
path: "${homeDirectory}/Documents", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.desktop}", // The root folder to be indexed
path: "${homeDirectory}/Desktop", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.download}", // The root folder to be indexed
path: "${homeDirectory}/Downloads", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.music}", // The root folder to be indexed
path: "${homeDirectory}/Projects", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.pictures}", // The root folder to be indexed
path: "${homeDirectory}/Org", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.templates}", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),
WatchDir(
path: "${config.xdg.userDirs.videos}", // The root folder to be indexed
path: "${homeDirectory}/.references", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory
),

View file

@ -102,13 +102,11 @@ in ''
bind = SUPER SHIFT, X, exec, ${pkgs.mako}/bin/makoctl dismiss -a
# Common program shortcuts
bind = SUPER, Space, exec, rofi -replace -show combi
bind = SUPER SHIFT, Space, exec, rofi -replace -show run
bind = SUPER, Space, exec, anyrun
bind = SUPER, Return, exec, alacritty
bind = SUPER SHIFT, Return, exec, rofi -replace -show ssh
# Misc useful binds
bind=,XF86Calculator,exec,rofi -replace -show calc
bind=,XF86Calculator,exec,anyrun
# Sound
bindl=,XF86AudioMute,exec,${pkgs.avizo}/bin/volumectl %
@ -230,4 +228,5 @@ in ''
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
exec-once = ${pkgs.mako}/bin/mako
exec-once = ${pkgs.dex}/bin/dex --autostart
exec-once = kidex
''