diff --git a/home/.config/xmonad/xmonad.hs b/home/.config/xmonad/xmonad.hs index 72b57e8..85bd5b1 100644 --- a/home/.config/xmonad/xmonad.hs +++ b/home/.config/xmonad/xmonad.hs @@ -120,6 +120,7 @@ myKeys = , ("M-S-", spawn "flameshot screen -c") , ("C-", spawn "flameshot full -p ~/Pictures/Screenshots") , ("C-S-", spawn "flameshot full -c") + , ("C-M-", spawn "flameshot launcher") -- Script shortcuts , ("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 -- Multimedia keys - , ("", spawn "amixer set Master toggle") - , ("", spawn "amixer set Master 5%- unmute") - , ("", spawn "amixer set Master 5%+ unmute") - , ("", spawn "brightness + 10 %") - , ("", spawn "brightness - 10 %") + , ("", spawn "pulsemixer --toggle-mute") + , ("", spawn "pulsemixer --change-volume -5") + , ("", spawn "pulsemixer --change-volume +5") + , ("", spawn "brightness + 5 %") + , ("", spawn "brightness - 5 %") -- Map media keys to meta + arrows for keyboards without special keys - , ("M-", spawn "amixer set Master 5%- unmute") - , ("M-", spawn "amixer set Master 5%+ unmute") - , ("M-", spawn "brightness + 10 %") - , ("M-", spawn "brightness - 10 %") + , ("M-", spawn "pulsemixer --change-volume -5") + , ("M-", spawn "pulsemixer --change-volume +5") + , ("M-", spawn "brightness + 5 %") + , ("M-", spawn "brightness - 5 %") ] where nonNSP = WSIs (return (\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 , className =? "discord" --> doShift ( myWorkspaces !! 3 ) , className =? "Code" --> doShift ( myWorkspaces !! 0 ) + , className =? "Stremio" --> doShift ( myWorkspaces !! 5 ) , title =? "Mozilla Firefox" --> doShift ( myWorkspaces !! 1 ) ]