mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Update shortcuts
This commit is contained in:
parent
182a68612f
commit
20afa6f2e5
|
@ -120,6 +120,7 @@ myKeys =
|
||||||
, ("M-S-<Print>", spawn "flameshot screen -c")
|
, ("M-S-<Print>", spawn "flameshot screen -c")
|
||||||
, ("C-<Print>", spawn "flameshot full -p ~/Pictures/Screenshots")
|
, ("C-<Print>", spawn "flameshot full -p ~/Pictures/Screenshots")
|
||||||
, ("C-S-<Print>", spawn "flameshot full -c")
|
, ("C-S-<Print>", spawn "flameshot full -c")
|
||||||
|
, ("C-M-<Print>", spawn "flameshot launcher")
|
||||||
|
|
||||||
-- Script shortcuts
|
-- Script shortcuts
|
||||||
, ("M-S-p", spawn "setbg ~/Pictures/Wallpapers/Active") -- Set random background
|
, ("M-S-p", spawn "setbg ~/Pictures/Wallpapers/Active") -- Set random background
|
||||||
|
@ -178,16 +179,16 @@ myKeys =
|
||||||
, ("M-M1-k", sendMessage MirrorExpand) -- Expand vert window width
|
, ("M-M1-k", sendMessage MirrorExpand) -- Expand vert window width
|
||||||
|
|
||||||
-- Multimedia keys
|
-- Multimedia keys
|
||||||
, ("<XF86AudioMute>", spawn "amixer set Master toggle")
|
, ("<XF86AudioMute>", spawn "pulsemixer --toggle-mute")
|
||||||
, ("<XF86AudioLowerVolume>", spawn "amixer set Master 5%- unmute")
|
, ("<XF86AudioLowerVolume>", spawn "pulsemixer --change-volume -5")
|
||||||
, ("<XF86AudioRaiseVolume>", spawn "amixer set Master 5%+ unmute")
|
, ("<XF86AudioRaiseVolume>", spawn "pulsemixer --change-volume +5")
|
||||||
, ("<XF86MonBrightnessUp>", spawn "brightness + 10 %")
|
, ("<XF86MonBrightnessUp>", spawn "brightness + 5 %")
|
||||||
, ("<XF86MonBrightnessDown>", spawn "brightness - 10 %")
|
, ("<XF86MonBrightnessDown>", spawn "brightness - 5 %")
|
||||||
-- Map media keys to meta + arrows for keyboards without special keys
|
-- Map media keys to meta + arrows for keyboards without special keys
|
||||||
, ("M-<Down>", spawn "amixer set Master 5%- unmute")
|
, ("M-<Down>", spawn "pulsemixer --change-volume -5")
|
||||||
, ("M-<Up>", spawn "amixer set Master 5%+ unmute")
|
, ("M-<Up>", spawn "pulsemixer --change-volume +5")
|
||||||
, ("M-<Right>", spawn "brightness + 10 %")
|
, ("M-<Right>", spawn "brightness + 5 %")
|
||||||
, ("M-<Left>", spawn "brightness - 10 %")
|
, ("M-<Left>", spawn "brightness - 5 %")
|
||||||
]
|
]
|
||||||
where nonNSP = WSIs (return (\ws -> W.tag ws /= "NSP"))
|
where nonNSP = WSIs (return (\ws -> W.tag ws /= "NSP"))
|
||||||
nonEmptyNonNSP = WSIs (return (\ws -> isJust (W.stack ws) && W.tag ws /= "NSP"))
|
nonEmptyNonNSP = WSIs (return (\ws -> isJust (W.stack ws) && W.tag ws /= "NSP"))
|
||||||
|
@ -315,6 +316,7 @@ myManageHook = composeAll
|
||||||
-- auto-shift applications to their respecitve workspaces
|
-- auto-shift applications to their respecitve workspaces
|
||||||
, className =? "discord" --> doShift ( myWorkspaces !! 3 )
|
, className =? "discord" --> doShift ( myWorkspaces !! 3 )
|
||||||
, className =? "Code" --> doShift ( myWorkspaces !! 0 )
|
, className =? "Code" --> doShift ( myWorkspaces !! 0 )
|
||||||
|
, className =? "Stremio" --> doShift ( myWorkspaces !! 5 )
|
||||||
, title =? "Mozilla Firefox" --> doShift ( myWorkspaces !! 1 )
|
, title =? "Mozilla Firefox" --> doShift ( myWorkspaces !! 1 )
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue