ubuntuusers.de

Große Nutzerumfrage 2019 - Zum Thema (Ende 31.07.2019)

Titel:
coffeeholics dzen2 Konfiguration
Autor:
coffeeholic
Datum:
27. September 2012 11:11
Aktionen:
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/bash

#kill all running dzen2
killall dzen2 2> /dev/null
killall panel.sh 2> /dev/null

#padding
herbstclient pad 0 7

# dzen stuff
FG='white'
BG='black'
FONT="-*-*-*-*-*-*-10-*-*-*-*-*-*-*"
WIDTH=1366 #hier Breite des Monitors in px eintragen

#the actual panel
addpanelcontent()
{
	panelcontent="$panelcontent $@ |||"
}

{
while true; do
		panelcontent="||| "
		addpanelcontent $(date)
		addpanelcontent $(herbstclient tag_status)
		echo "$panelcontent"
		sleep 1
done
} 2> /dev/null | dzen2 -ta c -y 0 -x 0 -h 11 -w $WIDTH -fg $FG -bg $BG -fn $FONT &