From 66ca5a521315812b439ff74db670b2e79a6a98e5 Mon Sep 17 00:00:00 2001 From: Trey Blancher Date: Sat, 1 Jul 2023 15:39:46 -0400 Subject: [PATCH] Dunst stuff, removed some keybindings I don't use, add one for Zoom --- xmonad.hs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xmonad.hs b/xmonad.hs index 2da23f7..62b353d 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -443,6 +443,7 @@ myKeys = [ , ((controlMask .|. shiftMask, xK_Return), (spawnHere myTerminal)) , ((controlMask .|. shiftMask, xK_3), spawn "scrot --exec 'mkdir -p ~/Desktop && mv $f ~/Desktop' && paplay ~/wav/camera.wav") , ((controlMask .|. shiftMask, xK_4), unGrab >> spawn "scrot --exec 'mkdir -p ~/Desktop && mv $f ~/Desktop' --select && paplay ~/wav/camera.wav") + , ((controlMask .|. winKey, xK_z), ifWindows (resource =? "Zoom") (mapM_ focus) (spawnHere "zoom")) -- windows (viewOnScreen 1 "ws") -- ifWindows (resource =? "altUrxvt") (mapM_ focus) (spawnHere altTerminal)) , ((lAlt, xK_v), spawn "clipmenu && xdotool key Ctrl+v") @@ -495,7 +496,6 @@ myKeys = [ -- ifWindows (className =? "Skype") (mapM_ focus) (spawnHere "skype")) , ((winKey , xK_s), ifWindows (className =? "Pavucontrol") (mapM_ killWindow) (spawnHere "pavucontrol")) , ((winKey , xK_c), kill) - , ((winKey .|. controlMask , xK_c), spawn "gnome-calendar") --, ((winKey , xK_m), windows W.focusMaster) , ((winKey , xK_comma), sendMessage (IncMasterN 1)) , ((winKey , xK_period), sendMessage (IncMasterN (-1))) @@ -517,13 +517,15 @@ myKeys = [ --, ((winKey .|. controlMask , xK_k), spawn ("sleep 1 && cat ~/.macros/code.macro | xmacroplay -d 0.1 $DISPLAY")) --, ((shiftMask, xK_Insert), withFocused shiftInsert) --, ((controlMask, xK_n), raiseMaybe (spawnHere myTerminal) (className =? "URxvt")) - , ((winKey , xK_Print), spawnHere "xfce4-screenshooter") +-- , ((winKey , xK_Print), spawnHere "xfce4-screenshooter") , ((winKey , xK_Left), prevWS) , ((winKey , xK_Right), nextWS) , ((winKey , xK_Up), spawnHere "skippy-xd") --, ((0, xF86XK_Calculator), spawnHere "/home/trey/bin/calc") --, ((0, xF86XK_Calculator), ifWindows (className =? "Gcalctool") (mapM_ killWindow) (spawnHere "gcalctool")) - , ((0, xF86XK_Calculator), ifWindows (className =? "Gnome-calculator") (mapM_ killWindow) (spawnHere "gnome-calculator")) + , ((winKey , xK_y), spawn "dunstctl close-all") + , ((winKey , xK_x), spawn "dunstctl close") + -- , ((0, xF86XK_Calculator), ifWindows (className =? "Gnome-calculator") (mapM_ killWindow) (spawnHere "gnome-calculator")) , ((0, xF86XK_AudioPlay), spawn "clementine --play-pause") --, ((0, xF86XK_AudioMute), spawn "amixer -c 0 set Master toggle") , ((0, xF86XK_AudioMute), spawn "pamixer --toggle-mute")