Update command launcher keybindings

This commit is contained in:
2026-05-04 22:12:36 -07:00
parent 43a718536a
commit 4b552afb7a
3 changed files with 3 additions and 5 deletions

View File

@@ -2006,7 +2006,7 @@ end)
bind(main_mod .. " + apostrophe", focus_next_class) bind(main_mod .. " + apostrophe", focus_next_class)
bind(mod_alt .. " + W", show_active_window_info) bind(mod_alt .. " + W", show_active_window_info)
bind(main_mod .. " + X", hl.dsp.window.move({ workspace = "special:NSP" })) bind(main_mod .. " + X", exec("rofi_command.sh"))
bind(main_mod .. " + SHIFT + X", hl.dsp.workspace.toggle_special("NSP")) bind(main_mod .. " + SHIFT + X", hl.dsp.workspace.toggle_special("NSP"))
bind(mod_alt .. " + E", function() bind(mod_alt .. " + E", function()
toggle_scratchpad("element") toggle_scratchpad("element")
@@ -2082,7 +2082,6 @@ bind(hyper .. " + V", exec([[cliphist list | rofi -dmenu -p "Clipboard" | cliphi
bind(hyper .. " + P", exec("rofi-pass")) bind(hyper .. " + P", exec("rofi-pass"))
bind(hyper .. " + H", exec([[grim -g "$(slurp)" - | swappy -f -]])) bind(hyper .. " + H", exec([[grim -g "$(slurp)" - | swappy -f -]]))
bind(hyper .. " + C", exec("shell_command.sh")) bind(hyper .. " + C", exec("shell_command.sh"))
bind(hyper .. " + X", exec("rofi_command.sh"))
bind(hyper .. " + SHIFT + L", exec("hyprlock")) bind(hyper .. " + SHIFT + L", exec("hyprlock"))
bind(hyper .. " + K", exec("rofi_kill_process.sh")) bind(hyper .. " + K", exec("rofi_kill_process.sh"))
bind(hyper .. " + SHIFT + K", exec("rofi_kill_all.sh")) bind(hyper .. " + SHIFT + K", exec("rofi_kill_all.sh"))

View File

@@ -152,13 +152,13 @@ spawnBindings =
, key (super .|. ctrl) xK_e (shiftFocusedToNextEmptyWorkspace False) , key (super .|. ctrl) xK_e (shiftFocusedToNextEmptyWorkspace False)
, key (super .|. shift) xK_e (shiftFocusedToNextEmptyWorkspace True) , key (super .|. shift) xK_e (shiftFocusedToNextEmptyWorkspace True)
, key super xK_v (spawnAction "wl-paste | wtype -") , key super xK_v (spawnAction "wl-paste | wtype -")
, key super xK_x (spawnAction "rofi_command.sh")
, key hyper xK_e viewNextEmptyWorkspace , key hyper xK_e viewNextEmptyWorkspace
, key hyper xK_v (spawnAction "rofi -modi 'clipboard:greenclip print' -show clipboard") , key hyper xK_v (spawnAction "rofi -modi 'clipboard:greenclip print' -show clipboard")
, key hyper xK_p (spawnAction "rofi-pass") , key hyper xK_p (spawnAction "rofi-pass")
, key hyper xK_h (spawnAction "rofi_shutter") , key hyper xK_h (spawnAction "rofi_shutter")
, key hyper xK_c (spawnAction "shell_command.sh") , key hyper xK_c (spawnAction "shell_command.sh")
, key hyper xK_g gatherFocusedAppId , key hyper xK_g gatherFocusedAppId
, key hyper xK_x (spawnAction "rofi_command.sh")
, key (hyper .|. shift) xK_l (spawnAction "loginctl lock-session") , key (hyper .|. shift) xK_l (spawnAction "loginctl lock-session")
, key hyper xK_k (spawnAction "rofi_kill_process.sh") , key hyper xK_k (spawnAction "rofi_kill_process.sh")
, key (hyper .|. shift) xK_k (spawnAction "rofi_kill_all.sh") , key (hyper .|. shift) xK_k (spawnAction "rofi_kill_all.sh")

View File

@@ -1031,7 +1031,7 @@ addKeys conf@XConfig { modMask = modm } =
, ((modm, xK_m), withFocused minimizeWindow) , ((modm, xK_m), withFocused minimizeWindow)
, ((modm .|. shiftMask, xK_m), , ((modm .|. shiftMask, xK_m),
deactivateFullOr $ withLastMinimized maximizeWindowAndFocus) deactivateFullOr $ withLastMinimized maximizeWindowAndFocus)
, ((modm, xK_x), addHiddenWorkspace "NSP" >> windows (W.shift "NSP")) , ((modm, xK_x), spawn "rofi_command.sh")
, ((modalt, xK_space), deactivateFullOr restoreOrMinimizeOtherClasses) , ((modalt, xK_space), deactivateFullOr restoreOrMinimizeOtherClasses)
, ((modalt, xK_Return), deactivateFullAnd restoreAllMinimized) , ((modalt, xK_Return), deactivateFullAnd restoreAllMinimized)
, ((hyper, xK_g), gatherThisClass) , ((hyper, xK_g), gatherThisClass)
@@ -1073,7 +1073,6 @@ addKeys conf@XConfig { modMask = modm } =
, ((hyper, xK_p), spawn "rofi-pass") , ((hyper, xK_p), spawn "rofi-pass")
, ((hyper, xK_h), spawn "rofi_shutter") , ((hyper, xK_h), spawn "rofi_shutter")
, ((hyper, xK_c), spawn "shell_command.sh") , ((hyper, xK_c), spawn "shell_command.sh")
, ((hyper, xK_x), spawn "rofi_command.sh")
, ((hyper .|. shiftMask, xK_l), spawn "dm-tool lock") , ((hyper .|. shiftMask, xK_l), spawn "dm-tool lock")
, ((hyper, xK_l), selectLayout) , ((hyper, xK_l), selectLayout)
, ((hyper, xK_k), spawn "rofi_kill_process.sh") , ((hyper, xK_k), spawn "rofi_kill_process.sh")