I don't need to see emerge status on the bar.

This commit is contained in:
Bartek Stalewski 2022-08-23 11:43:18 +02:00
parent 664d7553a2
commit edce806499
4 changed files with 0 additions and 12 deletions

View File

@ -1,4 +0,0 @@
#!/bin/bash
icon='\ue20f '
[ $(pgrep -x emerge) ] && printf "$icon <span foreground='#ffffff'background='#9a37ff'>emerge</span>" || printf ""

View File

@ -120,10 +120,6 @@ screens = [
record_history=False, record_history=False,
), ),
widget.Spacer(), widget.Spacer(),
widget.GenPollText(
update_interval=0.5,
func=lambda: subprocess.check_output("sb-emerge").decode(),
),
widget.GenPollText( widget.GenPollText(
update_interval=1, update_interval=1,
func=lambda: subprocess.check_output("sb-mail").decode(), func=lambda: subprocess.check_output("sb-mail").decode(),

View File

@ -1,3 +0,0 @@
#!/bin/bash
[ $(pgrep -x emerge) ] && printf "\ue20f ^c#ffffff^^b#9a37ff^emerge^d^" || printf ""

View File

@ -1,7 +1,6 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command. //Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = { static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "sb-emerge", 1, 0 },
{"", "sb-mail", 1, 0 }, {"", "sb-mail", 1, 0 },
{"", "sb-vol-in", 1, 10 }, {"", "sb-vol-in", 1, 10 },
{"\uf028 ", "sb-vol-out", 1, 12 }, {"\uf028 ", "sb-vol-out", 1, 12 },