Update kidex directories, add anyrun binds
This commit is contained in:
parent
6f148e48fa
commit
fd8b3b29cf
|
@ -26,42 +26,37 @@
|
||||||
extraCss = builtins.readFile ./style.css;
|
extraCss = builtins.readFile ./style.css;
|
||||||
extraConfigFiles."websearch.ron".source = ./websearch.ron;
|
extraConfigFiles."websearch.ron".source = ./websearch.ron;
|
||||||
};
|
};
|
||||||
xdg.configFile."kidex.ron".text = ''
|
xdg.configFile."kidex.ron".text = with config.home; ''
|
||||||
Config(
|
Config(
|
||||||
ignored: [".git*"], // A list of patterns to be ignored in all directories
|
ignored: [".git*"], // A list of patterns to be ignored in all directories
|
||||||
directories: [
|
directories: [
|
||||||
WatchDir(
|
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
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
WatchDir(
|
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
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
WatchDir(
|
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
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
WatchDir(
|
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
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
WatchDir(
|
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
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
WatchDir(
|
WatchDir(
|
||||||
path: "${config.xdg.userDirs.templates}", // 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
|
|
||||||
),
|
|
||||||
WatchDir(
|
|
||||||
path: "${config.xdg.userDirs.videos}", // The root folder to be indexed
|
|
||||||
recurse: true, // Recursively index and watch all subfolders
|
recurse: true, // Recursively index and watch all subfolders
|
||||||
ignored: [], // Ignore patterns specifically for this directory
|
ignored: [], // Ignore patterns specifically for this directory
|
||||||
),
|
),
|
||||||
|
|
|
@ -102,13 +102,11 @@ in ''
|
||||||
bind = SUPER SHIFT, X, exec, ${pkgs.mako}/bin/makoctl dismiss -a
|
bind = SUPER SHIFT, X, exec, ${pkgs.mako}/bin/makoctl dismiss -a
|
||||||
|
|
||||||
# Common program shortcuts
|
# Common program shortcuts
|
||||||
bind = SUPER, Space, exec, rofi -replace -show combi
|
bind = SUPER, Space, exec, anyrun
|
||||||
bind = SUPER SHIFT, Space, exec, rofi -replace -show run
|
|
||||||
bind = SUPER, Return, exec, alacritty
|
bind = SUPER, Return, exec, alacritty
|
||||||
bind = SUPER SHIFT, Return, exec, rofi -replace -show ssh
|
|
||||||
|
|
||||||
# Misc useful binds
|
# Misc useful binds
|
||||||
bind=,XF86Calculator,exec,rofi -replace -show calc
|
bind=,XF86Calculator,exec,anyrun
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
bindl=,XF86AudioMute,exec,${pkgs.avizo}/bin/volumectl %
|
bindl=,XF86AudioMute,exec,${pkgs.avizo}/bin/volumectl %
|
||||||
|
@ -230,4 +228,5 @@ in ''
|
||||||
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
|
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
|
||||||
exec-once = ${pkgs.mako}/bin/mako
|
exec-once = ${pkgs.mako}/bin/mako
|
||||||
exec-once = ${pkgs.dex}/bin/dex --autostart
|
exec-once = ${pkgs.dex}/bin/dex --autostart
|
||||||
|
exec-once = kidex
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue