From 7c6cb327d7991585fb209e1d4a713d57019e1fa0 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 15 May 2023 19:35:21 +0200 Subject: Feat(u/sils): Use rofi for application launch --- users/sils/packages/default.nix | 1 + users/sils/river/res/keys.ron | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'users') 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 -- cgit 1.4.1