123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- [settings]
- screenchange-reload = true
-
- [global/wm]
- margin-top = 0
- margin-bottom = 0
-
- [color]
- background = <{color.bg}>
- foreground = <{color.fg}>
- red = <{color5}>
- green = <{color2}>
- fg-bright = <{darken:<{color.fg}>:0.3}>
-
- [bar/main]
- width = 1914
- height = 24
- offset-x = 3
- offset-y = 3
- padding-right = 1
- module-margin = 1
- modules-left = bspwm xwindow
- modules-center = mpd
- modules-right = github wlan memory cpu temperature date
- font-0 = Sarasa UI J:size=10;2
- font-1 = 3270Medium Nerd Font Mono:size=15;4
- background = ${color.background}
- foreground = ${color.foreground}
- border-size = 1
- border-color = ${color.fg-bright}
- wm-restack = bspwm
- scroll-up = bspwm-desknext
- scroll-down = bspwm-deskprev
- tray-position = right
- tray-detached = false
- tray-padding = 1
-
- [module/bspwm]
- type = internal/bspwm
- ws-icon-0 = 0;一
- ws-icon-1 = 1;二
- ws-icon-2 = 2;三
- ws-icon-3 = 3;四
- ws-icon-4 = 4;五
- ws-icon-5 = 5;六
- ws-icon-6 = 6;七
- ws-icon-7 = 7;八
- ws-icon-8 = 8;九
- ws-icon-9 = 9;十
- format = <label-state>
- label-focused = %icon%
- label-focused-background = #444
- label-focused-padding = 2
- label-occupied = %icon%
- label-occupied-padding = 2
- label-urgent = %icon%!
- label-urgent-background = ${color.green}
- label-urgent-padding = 2
- label-empty =
-
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:80:…%
-
- [module/mpd]
- type = internal/mpd
- icon-prev =
- icon-play =
- icon-pause =
- icon-next =
- label-song-maxlen = 45
- label-song-ellipsis = true
- format-online = <label-song> <toggle><icon-prev><icon-next>
-
- [module/github]
- type = internal/github
- token = ${file:<{$HOME}>/sns/github.key}
- empty-notifications = false
- interval = 10
- format = <label>
- format-prefix = " "
- format-prefix-foreground = ${color.fg-bright}
- label = %notifications%
-
- [module/wlan]
- type = internal/network
- interface = wlan0
- format-connected = <label-connected>
- format-connected-prefix = " "
- format-connected-prefix-foreground = ${color.fg-bright}
- label-connected = %downspeed%
- format-disconnected =
-
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${color.fg-bright}
- label = %percentage_used%%
-
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${color.fg-bright}
- label = %percentage%%
-
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 85
- format = <label>
- format-warn = <label-warn>
- format-prefix = " "
- format-warn-prefix = " "
- format-prefix-foreground = ${color.fg-bright}
- format-warn-prefix-foreground = ${color.fg-bright}
- label = %temperature-c%
- label-warn = %temperature-c%
- label-warn-foreground = ${color.red}
-
- [module/date]
- type = internal/date
- interval = 5
- date =
- date-alt = " %d-%m-%Y"
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix =
- format-prefix-foreground = ${color.fg-bright}
- label = %date% %time%
|