Add bsp-layout to polybar
This commit is contained in:
parent
58f95d32ec
commit
a43249dc9c
2 changed files with 16 additions and 2 deletions
|
@ -23,3 +23,17 @@
|
|||
click-left = alacritty -e sh -c "$HOME/.local/bin/archlinux-update; checkupdates > $HOME/.cache/archlinux-updates.txt; read" &
|
||||
|
||||
label = %output%
|
||||
|
||||
[module/bsp-layout]
|
||||
type = custom/script
|
||||
exec = bsp-layout get $(bspc query -D --names -d focused)
|
||||
interval = 0.1
|
||||
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground}
|
||||
format-underline = ${colors.red}
|
||||
format = <label>
|
||||
|
||||
click-left = bsp-layout cycle --layouts tall,wide,grid,rgrid,monocle
|
||||
|
||||
label = %output%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue