Created
June 26, 2020 12:02
-
-
Save domsson/ac47e52aa07ffbb455f013ce2eb86f2f 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
blocks = "desktop | | dummy mem cpu volume updates datetime" | |
width = 816 | |
height = 14 | |
foreground = #bbbece | |
background = #2a2c41 | |
line-width = 2 | |
line-color = #7285b7 | |
block-prefix = " " | |
font = 6x13 | |
label-font = "-wuncon-siji-medium-r-normal--10-100-75-75-c-80-iso10646-1" | |
affix-font = "-xos4-terminesspowerline-medium-r-normal--12-120-72-72-c-60-iso10646-1" | |
[desktop] | |
command = "bspc query -D -d focused --names" | |
trigger = "bspc subscribe" | |
prefix = " " | |
suffix = " " | |
underline = true | |
[dummy] | |
command = "echo ' '" | |
background = #bbd984 | |
affix-foreground = #bbd984 | |
affix-background = #2a2c41 | |
[mem] | |
command = "mem-proc -mus" | |
live = true | |
label = " Mem " | |
min-width = 5 | |
foreground = #352c38 | |
background = #7ea3fd | |
label-foreground = #352c38 | |
label-background = #7ea3fd | |
affix-foreground = #7ea3fd | |
affix-background = #bbd984 | |
[cpu] | |
command = "cpu-proc -mus" | |
live = true | |
label = " Cpu " | |
min-width = 5 | |
foreground = #352c38 | |
background = #c399e7 | |
label-foreground = #352c38 | |
label-background = #c399e7 | |
affix-foreground = #c399e7 | |
affix-background = #7ea3fd | |
[volume] | |
command = "volume-pulse -mus -w'muted'" | |
live = true | |
label = " " | |
min-width = 5 | |
foreground = #352c38 | |
background = #fadb82 | |
label-foreground = #352c38 | |
label-background = #fadb82 | |
affix-foreground = #fadb82 | |
affix-background = #c399e7 | |
[updates] | |
command = "echo ' 27'" | |
background = #c399e7 | |
label = " Updates: " | |
foreground = #ffffff | |
background = #f27975 | |
label-foreground = #ffffff | |
label-background = #f27975 | |
affix-foreground = #f27975 | |
affix-background = #fadb82 | |
[datetime] | |
command = "datetime -m -f'%a %b %d, %Y %I:%M%p'" | |
label = " " | |
live = true | |
affix-foreground = #2a2c41 | |
affix-background = #f27975 |
Oh I see mate thanks.
Have you used wmctrl
package before? I am trying to get the output of the workspace's name but that seems to fail so I was just curious you have some experience with it by any chance?
I didn't even know about it, but it sounds very useful.
Yeah I was recommended to use it, but yeah I can't get the current work space's name (I can get hte ID).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, it really depends on the context. But let's say
color
was anint
, then you could probably (I have not tested it) do this: