summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-15 19:35:21 +0200
committersils <sils@sils.li>2023-05-15 19:35:21 +0200
commit7c6cb327d7991585fb209e1d4a713d57019e1fa0 (patch)
tree479445aec522b00df6b01c156f30b727b5515ab6
parentFeat(u/sils/packages): Add rust tools (diff)
downloadnix-config-7c6cb327d7991585fb209e1d4a713d57019e1fa0.tar.gz
nix-config-7c6cb327d7991585fb209e1d4a713d57019e1fa0.zip
Feat(u/sils): Use rofi for application launch
-rw-r--r--users/sils/packages/default.nix1
-rw-r--r--users/sils/river/res/keys.ron6
2 files changed, 3 insertions, 4 deletions
diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix
index 8a2f289..fb3f41f 100644
--- a/users/sils/packages/default.nix
+++ b/users/sils/packages/default.nix
@@ -15,6 +15,7 @@
     restic # backups
     tree # tree view of directories
     nmap # network scanning
+    rofi # application launcher
 
     # text production/office
     libreoffice # graphical office suite
diff --git a/users/sils/river/res/keys.ron b/users/sils/river/res/keys.ron
index 9c11e2e..5653133 100644
--- a/users/sils/river/res/keys.ron
+++ b/users/sils/river/res/keys.ron
@@ -20,10 +20,8 @@ RiverctlCommandArray(
     RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioMute",           mods: "None",           command: "spawn",               command_args: "~/repos/shell/scripts/mocs",),
 
     // Launcher
-    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "R",                       mods: "Super",          command: "spawn",               command_args: "bemenu-run",),
-    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "F1",                      mods: "Super",          command: "spawn",               command_args: "firefox",),
-    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "F2",                      mods: "Super",          command: "spawn",               command_args: "keepassxc",),
-    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "F3",                      mods: "Super",          command: "spawn",               command_args: "element-desktop",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "R",                       mods: "Super",          command: "spawn",               command_args: "rofi -show drun",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "S",                       mods: "Super",          command: "spawn",               command_args: "rofi -show run",),
     RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "Q",                       mods: "Super",          command: "spawn",               command_args: "swaylock -f",),
 
     // Client