Created
February 13, 2020 12:42
-
-
Save garethclews/378ffeb7d2ad252092f1e4110ccb2001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bar/xmonad] | |
background=#232530 | |
bottom=false | |
cursor-click=pointer | |
cursor-scroll=ns-resize | |
enable-ipc=true | |
fixed-center=true | |
font-0=Iosevka Custom:pixelsize=12;3 | |
font-1=Iosevka Nerd Font:pixelsize=12;3 | |
font-2=Iosevka Custom:pixelsize=12:style=bold;3 | |
font-3=Iosevka Custom:pixelsize=12:style=hair;3 | |
foreground=#c7c9cb | |
height=52 | |
line-size=2 | |
modules-center= | |
modules-left=workspaces layout volume mode spotify | |
modules-right=date caffeine lock userswitch powermenu | |
monitor=DP-4 | |
override-redirect=false | |
width=100% | |
xfonts=xft:Iosevka Custom:pixelsize=14,xft:Iosevka Nerd Font:style=Regular:pixelsize=14,xft:Material Icons:pixelsize=14,xft:Source Code Pro:pixelsize=14 | |
[module/caffeine] | |
click-left=~/.scripts/caffeine | |
content-padding=3 | |
exec=tail -F /tmp/caffeine | |
exec-if=[ -p /tmp/caffeine ] | |
format=<label> | |
format-background=#1c1e26 | |
format-foreground=#1c1e26 | |
label=" %output% " | |
tail=true | |
type=custom/script | |
[module/date] | |
interval=30 | |
label="%time% " | |
label-background=#232530 | |
label-foreground=#fdf0ed | |
label-padding=2 | |
time=%{F#b877db}%{F-} %H:%M | |
time-alt=%{F#b877db}%{F-} %Y-%m-%d | |
type=internal/date | |
[module/layout] | |
exec=tail -f /tmp/xmonad-layout | |
exec-if=[ -p /tmp/xmonad-layout ] | |
format=<label> | |
format-background=#1c1e26 | |
format-foreground=#fdf0ed | |
format-padding=1 | |
label=%output% | |
tail=true | |
type=custom/script | |
[module/lock] | |
click-left=sleep 0.1; xdotool key Super q l | |
content=" " | |
content-background=#1c1e26 | |
content-foreground=#fdf0ed | |
content-padding=2 | |
type=custom/text | |
[module/mode] | |
exec=tail -F /tmp/xmonad-events | |
exec-if=[ -p /tmp/xmonad-events ] | |
format=" <label>" | |
format-background=#1c1e26 | |
format-foreground=#232530 | |
format-padding=2 | |
tail=true | |
type=custom/script | |
[module/powermenu] | |
click-left=sleep 0.1; xdotool key Super q m | |
content="襤 " | |
content-background=#1c1e26 | |
content-foreground=#fdf0ed | |
content-padding=2 | |
type=custom/text | |
[module/spotify] | |
click-left=wmctrl -x -a spotify | |
exec=/nix/store/bp1c22dcy0bnkh0n0gsc9vzq9q8z8777-playerctl-2.0.2/bin/playerctl --follow metadata --format '%{F#c7c9cb}{{artist}}%{F#e95678} %{F#fab795}{{title}}%{F-}' | |
format=<label> | |
format-background=#232530 | |
format-foreground=#09f7a0 | |
format-padding=3 | |
label= %output% | |
tail=true | |
type=custom/script | |
[module/userswitch] | |
click-left=~/.scripts/switch | |
content= | |
content-background=#1c1e26 | |
content-foreground=#fdf0ed | |
content-padding=2 | |
type=custom/text | |
[module/volume] | |
format-volume=<ramp-volume> <label-volume> | |
format-volume-background=#1c1e26 | |
format-volume-foreground=#fdf0ed | |
format-volume-padding=2 | |
label-muted=%{F#25b2bc}%{F-} mute | |
label-muted-background=#1c1e26 | |
label-muted-foreground=#fdf0ed | |
label-muted-padding=2 | |
label-volume=%percentage:3%% | |
ramp-volume-0=%{F#25b2bc}%{F-} | |
type=internal/pulseaudio | |
[module/workspaces] | |
click-left=sleep 0.1; xdotool key Super w g | |
exec=tail -F /tmp/xmonad-wspace | |
exec-if=[ -p /tmp/xmonad-wspace ] | |
format=" <label>" | |
format-background=#1c1e26 | |
format-foreground=#1c1e26 | |
format-padding=2 | |
tail=true | |
type=custom/script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment