Update xmonad & xmobar config
This commit is contained in:
parent
495e60e43d
commit
ea2bb4c6d5
5 changed files with 14 additions and 8 deletions
|
|
@ -3,7 +3,8 @@ Config { bgColor = "#23497E"
|
|||
, font = "xft:BigBlueTermPlus Nerd Font-12"
|
||||
, additionalFonts = []
|
||||
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
|
||||
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
|
||||
, Run XMonadLog
|
||||
]
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %date% "}
|
||||
, template = " %XMonadLog% }{ vol %volume% | %date% "}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ Config { bgColor = "#000000"
|
|||
, font = "xft:BigBlueTermPlus Nerd Font-12"
|
||||
, additionalFonts = []
|
||||
, commands = [ Run Date "%a %Y-%m-%d <fc=#FFFFFF>%H:%M</fc>" "date" 10
|
||||
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
|
||||
, Run XMonadLog
|
||||
]
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %date% "}
|
||||
, template = " %XMonadLog% }{ vol %volume% | %date% "}
|
||||
|
|
@ -3,7 +3,8 @@ Config { bgColor = "#425F57"
|
|||
, font = "xft:BigBlueTermPlus Nerd Font-12"
|
||||
, additionalFonts = []
|
||||
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
|
||||
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
|
||||
, Run XMonadLog
|
||||
]
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %date% "}
|
||||
, template = " %XMonadLog% }{ vol %volume% | %date% "}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ Config { bgColor = "#23497E"
|
|||
, font = "xft:BigBlueTermPlus Nerd Font-12"
|
||||
, additionalFonts = []
|
||||
, commands = [ Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
|
||||
, Run Com "/bin/sh" ["-c", "amixer get Master | awk -F'[][]' 'END { print $2 ($6 == \"off\" ? \" (muted)\" : \"\") }'"] "volume" 1
|
||||
, Run XMonadLog
|
||||
]
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %date% "}
|
||||
, template = " %XMonadLog% }{ vol %volume% | %date% "}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import XMonad.Hooks.StatusBar.PP
|
|||
import XMonad.Hooks.EwmhDesktops
|
||||
import XMonad.Util.SpawnOnce (spawnOnce)
|
||||
import XMonad.Layout.Spacing
|
||||
import XMonad.Layout.ThreeColumns
|
||||
|
||||
import Theme
|
||||
import NaturalGreenTheme
|
||||
|
|
@ -30,7 +31,7 @@ myTerminal = "alacritty"
|
|||
myModMask = mod4Mask
|
||||
myBorderWidth = 0
|
||||
myEmacs = "emacsclient -c -a 'emacs' "
|
||||
myBrowser = "vivaldi"
|
||||
myBrowser = "firefox"
|
||||
myWorkBrowser = "firefox -P emre@mixrank.com"
|
||||
myTheme = duskCloudTheme
|
||||
myLauncher = ".config/rofi/launchers/type-6/launcher.sh"
|
||||
|
|
@ -54,8 +55,8 @@ myKeybindings = [ ("M-S-e", spawn myEmacs)
|
|||
, ("M-s", spawn "maim -s | xclip -selection clipboard -t image/png")
|
||||
, ("<XF86MonBrightnessUp>", spawn "brightnessctl s +4%")
|
||||
, ("<XF86MonBrightnessDown>", spawn "brightnessctl s 4%-")
|
||||
, ("<XF86AudioRaiseVolume>", spawn "amixer -q sset Master 3%+")
|
||||
, ("<XF86AudioLowerVolume>", spawn "amixer -q sset Master 3%-")
|
||||
, ("<XF86AudioRaiseVolume>", spawn "amixer -q sset Master 5%+")
|
||||
, ("<XF86AudioLowerVolume>", spawn "amixer -q sset Master 5%-")
|
||||
, ("M-<Return>", spawn myTerminal)
|
||||
, ("M-q", spawn "xmonad --recompile; killall xmobar; killall picom; xmonad --restart")
|
||||
, ("M-d", spawn myLauncher)
|
||||
|
|
@ -63,9 +64,10 @@ myKeybindings = [ ("M-S-e", spawn myEmacs)
|
|||
, ("<Insert>", spawn "playerctl play-pause")
|
||||
]
|
||||
|
||||
myLayoutHook = tiled ||| Mirror tiled ||| Full
|
||||
myLayoutHook = tiled ||| Mirror tiled ||| Full ||| threeCol
|
||||
where
|
||||
tiled = Tall nmaster delta ratio
|
||||
threeCol = ThreeCol nmaster delta (1/3)
|
||||
nmaster = 1
|
||||
ratio = 1/2
|
||||
delta = 3/100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue