Add Flameshot screenshot bindings
This commit is contained in:
@@ -240,7 +240,8 @@ function M.setup(ctx)
|
||||
|
||||
bind(hyper .. " + V", exec([[cliphist list | rofi -dmenu -p "Clipboard" | cliphist decode | wl-copy]]))
|
||||
bind(hyper .. " + P", exec("rofi-pass"))
|
||||
bind(hyper .. " + H", exec([[grim -g "$(slurp)" - | swappy -f -]]))
|
||||
bind("Print", exec("flameshot gui"))
|
||||
bind(hyper .. " + H", exec("flameshot gui"))
|
||||
bind(hyper .. " + C", exec("rofi_tmcodex.sh"))
|
||||
bind(hyper .. " + SHIFT + C", exec("rofi_tmcodex.sh resume"))
|
||||
bind(hyper .. " + SHIFT + L", exec("hyprlock"))
|
||||
|
||||
@@ -156,7 +156,8 @@ spawnBindings =
|
||||
, key hyper xK_e viewNextEmptyWorkspace
|
||||
, key hyper xK_v (spawnAction "rofi -modi 'clipboard:greenclip print' -show clipboard")
|
||||
, key hyper xK_p (spawnAction "rofi-pass")
|
||||
, key hyper xK_h (spawnAction "rofi_shutter")
|
||||
, key noMods xK_Print (spawnAction "flameshot gui")
|
||||
, key hyper xK_h (spawnAction "flameshot gui")
|
||||
, key hyper xK_c (spawnAction "shell_command.sh")
|
||||
, key hyper xK_g gatherFocusedAppId
|
||||
, key (hyper .|. shift) xK_l (spawnAction "loginctl lock-session")
|
||||
|
||||
@@ -1069,7 +1069,8 @@ addKeys conf@XConfig { modMask = modm } =
|
||||
, ((modm, xK_v), spawn "xclip -o | xdotool type --file -")
|
||||
, ((hyper, xK_v), spawn "rofi -modi 'clipboard:greenclip print' -show clipboard")
|
||||
, ((hyper, xK_p), spawn "rofi-pass")
|
||||
, ((hyper, xK_h), spawn "rofi_shutter")
|
||||
, ((0, xK_Print), spawn "flameshot gui")
|
||||
, ((hyper, xK_h), spawn "flameshot gui")
|
||||
, ((hyper, xK_c), spawn "rofi_tmcodex.sh")
|
||||
, ((hyper .|. shiftMask, xK_c), spawn "rofi_tmcodex.sh resume")
|
||||
, ((hyper .|. shiftMask, xK_l), spawn "dm-tool lock")
|
||||
|
||||
Reference in New Issue
Block a user