xmonad: Cleaned up commends
This commit is contained in:
parent
ba2822f5f5
commit
937ae0e7c9
|
@ -60,7 +60,10 @@ hdmi1Off = "xrandr --output eDP-1 --primary --output HDMI-1 --off"
|
||||||
musicCmd = "mpd"
|
musicCmd = "mpd"
|
||||||
nextcloudCmd = "nextcloud"
|
nextcloudCmd = "nextcloud"
|
||||||
notificationCmd = "lxqt-notificationd"
|
notificationCmd = "lxqt-notificationd"
|
||||||
screensaverCmd = "xscreensaver -no-splash"
|
screensaverCmd = "xscreensaver --no-splash"
|
||||||
|
screensaverLock = "xscreensaver-command -lock"
|
||||||
|
screenshot = "scrot" -- Screenshot the entire screen
|
||||||
|
screenshotWindow = "sleep 0.2; scrot -s" -- Screenshot the selected window
|
||||||
settingsDaemon = "xsettingsd"
|
settingsDaemon = "xsettingsd"
|
||||||
terminalCmd = "termonad"
|
terminalCmd = "termonad"
|
||||||
trayerCmd = "trayer --edge top --SetPartialStrut false --width 7 --transparent true --alpha 0 --tint 0x1C1C1C --height 20 --monitor primary"
|
trayerCmd = "trayer --edge top --SetPartialStrut false --width 7 --transparent true --alpha 0 --tint 0x1C1C1C --height 20 --monitor primary"
|
||||||
|
@ -105,11 +108,11 @@ main = do
|
||||||
-- Use Xmonad's built-in launcher
|
-- Use Xmonad's built-in launcher
|
||||||
[ ((mod4Mask, xK_p), shellPrompt myXPConfig)
|
[ ((mod4Mask, xK_p), shellPrompt myXPConfig)
|
||||||
-- Lock the screen
|
-- Lock the screen
|
||||||
, ((0, 0x1008ff2d), spawn "xscreensaver-command -lock")
|
, ((0, 0x1008ff2d), spawn screensaverLock)
|
||||||
-- XF86ScreenSaver
|
-- XF86ScreenSaver
|
||||||
, ((mod4Mask .|. controlMask, xK_l), spawn "xscreensaver-command -lock")
|
, ((mod4Mask .|. controlMask, xK_l), spawn screensaverLock)
|
||||||
, ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s") -- Screenshot the selected window
|
, ((controlMask, xK_Print), spawn screenshotWindow)
|
||||||
, ((0, xK_Print), spawn "scrot") -- Screenshot the entire screen
|
, ((0, xK_Print), spawn screenshot)
|
||||||
-- Turn on the eDP-1 port and set it as the primary display
|
-- Turn on the eDP-1 port and set it as the primary display
|
||||||
, ((mod4Mask .|. shiftMask, xK_e), spawn
|
, ((mod4Mask .|. shiftMask, xK_e), spawn
|
||||||
"xrandr --output eDP-1 --primary --auto"
|
"xrandr --output eDP-1 --primary --auto"
|
||||||
|
|
Loading…
Reference in a new issue