diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index c763f87..d38816f 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -199,10 +199,6 @@ myEZKeys = , ("M-d m", spawn "/usr/local/bin/dmenumount") -- launch mounter , ("M-d u", spawn "/usr/local/bin/dmenuumount") -- launch unmounter - --NOTE backlight controls - , ("", spawn "/usr/local/bin/mod_backlight +10") -- increase backlight brightness by 10 - , ("", spawn "/usr/local/bin/mod_backlight -10") -- decrease backlight brightness by 10 - --NOTE music and audio controls , ("M-S-o", spawn "/usr/local/bin/set-default-sink") -- set default output , ("M-S-i", spawn "/usr/local/bin/set-default-source") -- set default input @@ -393,11 +389,8 @@ myStartupHook = do spawnOnce "dunst &" -- notification daemon -- Startup Applications - spawnOnce "guake &" spawnOnce "barrier &" spawnOnce "nextcloud &" - spawnOnce "slack &" - spawnOnce "todoist &" spawnOnce "element-desktop --hidden &" spawnOnce "flameshot" @@ -421,8 +414,6 @@ main = do -- xmproc0 <- spawnPipe toProc xmproc0 <- spawnPipe "xmobar -x 0 /home/solomon/.config/xmobar/xmobarrc-main.hs" - xmproc1 <- spawnPipe "xmobar -x 1 /home/solomon/.config/xmobar/xmobarrc-sub.hs" - xmproc2 <- spawnPipe "xmobar -x 2 /home/solomon/.config/xmobar/xmobarrc-sub.hs" xmonad $ ewmh $ docks def -- defaults = def @@ -448,8 +439,6 @@ main = do -- logHook = myLogHook, logHook = myLogHook <+> dynamicLogWithPP xmobarPP { ppOutput = \x -> hPutStrLn xmproc0 x - >> hPutStrLn xmproc1 x - >> hPutStrLn xmproc2 x , ppCurrent = xmobarColor "#a8de45" "" . wrap "[" "]" -- Current workspace in xmobar , ppVisible = xmobarColor "#88ae55" "" . clickable -- Visible but not current workspace , ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" . clickable -- Hidden workspaces in xmobar @@ -463,78 +452,3 @@ main = do }, startupHook = myStartupHook } `additionalKeysP` myEZKeys - --- | Finally, a copy of the default bindings in simple textual tabular format. -help :: String -help = unlines ["The default modifier key is 'super'. Default keybindings:", - "", - "-- launching and killing programs", - "mod-Shift-Enter Launch terminal", - "mod-a Launch dmenu", - "mod-o Launch rofi", - "mod-Shift-j Close/kill the focused window", - "mod-Space Rotate through the available layout algorithms", - "mod-Shift-Space Reset the layouts on the current workSpace to default", - "mod-n Resize/refresh viewed windows to the correct size", - "", - "-- Keybound programs", - "mod-Shift-x Unlock bitwarden cli", - "mod-x Password prompt", - "mod-l Launch file manager", - "", - "-- Misc scripts", - "mod-s s Dmenu search script", - "mod-s d Dmenu search script, default duckduckgo", - "mod-d m Dmenu mount script", - "mod-d u Dmenu unmount script", - "", - "-- Media control", - "mod-Shift-o Select output device", - "mod-Shift-i Select input device", - "The rest use standard media keys.", - "", - "-- Backlight controls", - "Uses standard system keys", - "", - "-- system control", - "mod-Shift-s Shutdown prompt, default no", - "mod-Shift-r Restart prompt, default no", - "mod-Escape Lock prompt, default yes", - " Take full (all monitors) screenshot", - "mod- Open flameshot gui for better snipping", - "", - "-- move focus up or down the window stack", - "mod-Tab Move focus to the next window", - "mod-Shift-Tab Move focus to the previous window", - "mod-m Move focus to the master window", - "", - "-- modifying the window order", - "mod-Return Swap the focused window and the master window", - "mod-Shift-Up Swap the focused window with the next window", - "mod-Shift-Down Swap the focused window with the previous window", - "", - "-- resizing the master/slave ratio", - "mod-Left Shrink the master area (horizontally)", - "mod-Right Expand the master area", - "mod-Up Mirror shrink master area (vertically)", - "mod-Down Mirror grow master area", - "", - "-- floating layer support", - "mod-y Push window back into tiling; unfloat and re-tile it", - "mod-b Toggle whether the bar shows or not", - "", - "-- increase or decrease number of windows in the master area", - "mod-w Increment the number of windows in the master area", - "mod-v Deincrement the number of windows in the master area", - "", - "-- restarting Xmonad", - "mod-' Restart xmonad", - "", - "-- Workspaces & screens", - "mod-[1..9] Switch to workSpace N", - "mod-Shift-[1..9] Move client to workspace N", - "", - "-- Mouse bindings: default actions bound to mouse events", - "mod-button1 Set the window to floating mode and move by dragging", - "mod-button2 Raise the window to the top of the stack (switch push to master and cascade)", - "mod-button3 Set the window to floating mode and resize by dragging"]