diff --git a/.config/gtk-2.0/gtkfilechooser.ini b/.config/gtk-2.0/gtkfilechooser.ini index e57fc03..8f161ba 100644 --- a/.config/gtk-2.0/gtkfilechooser.ini +++ b/.config/gtk-2.0/gtkfilechooser.ini @@ -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 diff --git a/bin/dwmbar.sh b/bin/dwmbar.sh index 6a62334..bb38a40 100644 --- a/bin/dwmbar.sh +++ b/bin/dwmbar.sh @@ -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" diff --git a/dwm/dwm-6.2/config.h b/dwm/dwm-6.2/config.h index 7c8ae2b..6b7d783 100644 --- a/dwm/dwm-6.2/config.h +++ b/dwm/dwm-6.2/config.h @@ -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 },