225 lines
5.3 KiB
INI
Executable File
225 lines
5.3 KiB
INI
Executable File
[module/launch]
|
|
type = custom/script
|
|
exec = echo ""
|
|
click-left = rofi -show drun -config .config/bspwm/themes/mytheme/rofi/menu.rasi -show-icons
|
|
label-foreground = ${colors.blue}
|
|
label-background = ${colors.gray}
|
|
label-font = 1
|
|
|
|
[module/xworkspaces]
|
|
type = internal/xworkspaces
|
|
|
|
label-active = %name%
|
|
label-active-foreground = #1ad2d2
|
|
label-active-background = ${color.br}
|
|
label-active-padding = 2
|
|
|
|
label-occupied = %name%
|
|
label-occupied-padding = 2
|
|
label-occupied-foreground = #149292
|
|
label-occupied-background = ${color.br}
|
|
|
|
label-urgent = %name%
|
|
label-urgent-background = ${color.red}
|
|
label-urgent-padding = 2
|
|
|
|
label-empty = %name%
|
|
label-empty-foreground = #a7abf6
|
|
label-empty-background = ${color.br}
|
|
label-empty-padding = 2
|
|
|
|
|
|
[module/xwindow]
|
|
type = internal/xwindow
|
|
label = %title:0:60:...%
|
|
label-maxlen = 30
|
|
label-empty = Empty
|
|
label-foreground = ${color.fg}
|
|
label-background = ${color.br}
|
|
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 5
|
|
date =
|
|
date-alt = "%Y-%m-%d"
|
|
time = "%H:%M"
|
|
format-prefix =""
|
|
label =%date% %time%
|
|
|
|
format-prefix-foreground = ${color.tos}
|
|
format-prefix-background = ${color.br}
|
|
label-foreground = ${color.tos}
|
|
label-background = ${color.br}
|
|
|
|
|
|
[module/weather]
|
|
type = custom/script
|
|
exec = ~/.config/bspwm/themes/mytheme/scripts/weather.sh
|
|
interval = 600
|
|
format-prefix = "| "
|
|
|
|
format-prefix-foreground = ${color.fg}
|
|
format-prefix-background = ${color.br}
|
|
label-foreground = ${color.fg}
|
|
label-background = ${color.br}
|
|
|
|
|
|
[module/cmus]
|
|
type = custom/script
|
|
exec = ~/.config/bspwm/themes/mytheme/scripts/cmus.sh
|
|
exec-if = pgrep -x cmus
|
|
interval = 1
|
|
|
|
click-left = cmus-remote --pause
|
|
click-right = cmus-remote --play
|
|
scroll-up = cmus-remote --next
|
|
scroll-down = cmus-remote --prev
|
|
|
|
format-prefix = " "
|
|
format = <label>
|
|
label = %output%
|
|
label-maxlen = 40
|
|
|
|
format-prefix-foreground = ${color.yellow}
|
|
format-prefix-background = ${color.bg}
|
|
label-foreground = ${color.fg}
|
|
label-background = ${color.bg}
|
|
|
|
[module/alsa]
|
|
type = internal/alsa
|
|
format-volume = <ramp-volume> <label-volume>
|
|
format-volume-padding = 1
|
|
format-muted =
|
|
format-muted-padding = 1
|
|
label-volume = %percentage%%
|
|
ramp-volume-0 = %{F#a7abf6}%{F-}
|
|
ramp-volume-1 = %{F#a7abf6}%{F-}
|
|
ramp-volume-2 = %{F#a7abf6}%{F-}
|
|
ramp-volume-3 = %{F#a7abf6}%{F-}
|
|
ramp-volume-4 = %{F#a7abf6}%{F-}
|
|
ramp-volume-5 = %{F#a7abf6}%{F-}
|
|
ramp-volume-6 = %{F#a7abf6}%{F-}
|
|
ramp-volume-7 = %{F#a7abf6}%{F-}
|
|
ramp-volume-8 = %{F#a7abf6}%{F-}
|
|
ramp-volume-9 = %{F#a7abf6}%{F-}
|
|
ramp-headphone-0 =
|
|
parm-headphone-1 =
|
|
label-volume-foreground = ${color.tos}
|
|
format-volume-foreground = #5d9967
|
|
format-muted-foreground = #d35f5e
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
blacklist-0 = num lock
|
|
blacklist-1 = caps lock
|
|
|
|
label-layout = " %icon%"
|
|
layout-icon-0 = us;US
|
|
layout-icon-1 = ru;RU
|
|
label-layout-foreground = ${color.tos}
|
|
label-layout-background = ${color.br}
|
|
|
|
|
|
format-prefix = ""
|
|
format-prefix-foreground = ${color.tos}
|
|
format-prefix-background = ${color.br}
|
|
|
|
|
|
[module/powermenu]
|
|
type = custom/script
|
|
exec = echo ""
|
|
click-left = ~/.config/bspwm/themes/mytheme/scripts/powermenu.sh
|
|
label-foreground = #e87287
|
|
label-background = %{color.br}
|
|
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
label = %percentage_used:2%%
|
|
format-prefix =" "
|
|
format-prefix-foreground = #a29653
|
|
format-prefix-background = ${color.br}
|
|
label-foreground = #a29653
|
|
label-background = ${color.br}
|
|
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
label = %percentage:2%%
|
|
format-prefix =""
|
|
format-prefix-foreground = #d94338
|
|
format-prefix-background = ${color.br}
|
|
label-foreground = #dbbfb4
|
|
label-background = ${color.br}
|
|
|
|
[module/wlan]
|
|
type = internal/network
|
|
interface = ${system.network_interface_wired}
|
|
interface-type = wireless
|
|
interval = 2
|
|
format-connected = <label-connected>
|
|
label-connected = "%{A1:sh ~/.config/bspwm/themes/mytheme/scripts/wifimenu:} %netspeed%%{A}"
|
|
fomat-disconnected = <label-disconnected>
|
|
label-disconnected = "%{A1:sh ~/.config/bspwm/themes/mytheme/scripts/wifimenu:}%{A}"
|
|
label-connected-foreground = ${color.tos}
|
|
label-connected-background = ${color.br}
|
|
format-connected-foreground = ${color.br}
|
|
format-connected-background = ${color.tos}
|
|
|
|
[module/ethernet]
|
|
type = internal/network
|
|
interface = enp0s3
|
|
format-connected = <label-connected>
|
|
format-connected-prefix = ""
|
|
format-conncted-padding = 1
|
|
format-disconnected = <label-disconnected>
|
|
format-disconnected-prefix = ""
|
|
format-disconnected-padding = 1
|
|
label-connected = %netspeed%
|
|
label-disconnected = "%{A1:networkmanager_dmenu &:}Offline%{A}"
|
|
|
|
[module/wg]
|
|
type = custom/script
|
|
exec = ~/.config/bspwm/themes/mytheme/scripts/wireguard
|
|
tail = false
|
|
interval =1
|
|
click-left = "~/.config/bspwm/themes/mytheme/scripts/wireguard --toggle &"
|
|
|
|
[module/cava]
|
|
type = custom/script
|
|
tail = true
|
|
exec = ~/.config/bspwm/themes/bspwm_nord/scripts/cava.sh
|
|
format = <label>
|
|
format-background = ${colors.gray}
|
|
format-font = 2
|
|
label = %output%
|
|
format-padding = 1
|
|
|
|
[module/usb]
|
|
type = custom/script
|
|
exec = ~/.bin/rofi-usb-mount.sh --check
|
|
tail = true
|
|
click-left = ~/.bin/rofi-usb-mount.sh --mount &
|
|
click-right = ~/.bin/rofi-usb-mount.sh --umount &
|
|
click-middle = ~/.bin/rofi-usb-mount.sh --umount-all &
|
|
|
|
[module/tray]
|
|
type = internal/tray
|
|
|
|
tray-spacing = 3px
|
|
tray-background = %{color.br}
|
|
|
|
[module/void]
|
|
type = custom/text
|
|
content = .
|
|
|
|
[module/sep]
|
|
type = custom/text
|
|
content =
|
|
content-foreground = ${color.br}
|
|
content-background = ${color.br}
|
|
content-padding = 1
|