GIMP on tag 5. Dwmbar now has disk space used.
This commit is contained in:
parent
f9e9d772e3
commit
08497a2314
|
@ -2,8 +2,8 @@
|
|||
LocationMode=path-bar
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=250
|
||||
GeometryY=93
|
||||
GeometryX=0
|
||||
GeometryY=41
|
||||
GeometryWidth=780
|
||||
GeometryHeight=633
|
||||
SortColumn=name
|
||||
|
|
|
@ -38,6 +38,11 @@ getbattery() {
|
|||
echo "$r"
|
||||
}
|
||||
|
||||
getdisk() {
|
||||
percent="$(df -h | sed '2q;d' | awk '{print $5}')"
|
||||
echo "/: $percent"
|
||||
}
|
||||
|
||||
getmem() {
|
||||
echo "$(free -m | sed '2q;d' | awk '{print $3" / "$2}')"
|
||||
}
|
||||
|
@ -135,6 +140,9 @@ status() { \
|
|||
echo "$(getfreqs)"
|
||||
echo "$delim"
|
||||
|
||||
echo "$(getdisk)"
|
||||
echo "$delim"
|
||||
|
||||
echo "$(getmem)"
|
||||
echo "$delim"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ static const Rule rules[] = {
|
|||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "Gimp", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
{ "Tor Browser", "Navigator",NULL, 1 << 8, 0, -1 },
|
||||
{ "TelegramDesktop", NULL, NULL, 1 << 6, 0, -1 },
|
||||
|
|
Loading…
Reference in New Issue