diff options
Diffstat (limited to '')
-rwxr-xr-x | .screenlayout/zeta-work.sh | 2 | ||||
-rw-r--r-- | .xmonad/xmonad.hs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.screenlayout/zeta-work.sh b/.screenlayout/zeta-work.sh new file mode 100755 index 0000000..e3a00b4 --- /dev/null +++ b/.screenlayout/zeta-work.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output HDMI-2 --mode 1600x1200 --pos 1920x0 --rotate normal --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 22d19ca..0df3466 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -446,11 +446,12 @@ main = do , ((myMod, xK_z), shellPrompt myXPConfig) , ((myMod, xK_g), goToSelected myGSConfig) , ((myMod .|. shiftMask, xK_g), gridselectWorkspace myGSConfig W.greedyView) + , ((myMod, xK_F1), spawn "${HOME}/.screenlayout/`hostname`-work.sh") , ((myMod, xK_F2), spawn "${HOME}/.screenlayout/`hostname`-home.sh") , ((myMod, xK_F3), spawn "${HOME}/.screenlayout/`hostname`-solo.sh") , ((myMod, xK_F4), spawn "sleep 0.5 && xset dpms force suspend") , ((myMod, xK_F5), spawn "sleep 0.5 && xset dpms force off") - , ((myMod, xK_F6), spawn "sleep 0.5 && /home/ryan/bin/icd") + , ((myMod, xK_F6), spawn "sleep 0.5 && ${HOME}/bin/icd") , ((myMod, xK_Up), spawn "sleep 0.5 && b u") , ((myMod, xK_Down), spawn "sleep 0.5 && b d") , ((myMod, xK_l), spawn "slock") |