diff --git a/.Xdefaults b/.Xdefaults index b979f87..4b447e3 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -3,6 +3,8 @@ urxvt*foreground: #cccccc urxvt*scrollBar: false urxvt*background: rgba:0000/0000/0000/cccc +URxvt.bell-command: paplay ~/notification.ogg + Xft*dpi: 96 Xft*antialias: true Xft*hinting: full @@ -11,6 +13,7 @@ URxvt.transparent: true URxvt.tintColor: white URxvt.shading: 20 URxvt.internalBorder: 15 +URxvt.blurRadius: 10 URxvt*color0: #000000 URxvt*color1: #9e1828 diff --git a/.dwm/autostart b/.dwm/autostart index f651b76..f1f326b 100755 --- a/.dwm/autostart +++ b/.dwm/autostart @@ -2,6 +2,7 @@ feh --bg-fill ~/wallpaper.png & ~/.dwm/bar.sh & setxkbmap pl -dunst -fn "Mononoki Nerd Font" -corner_radius 2 -frame_width 1 -padding 10 -horizontal_padding 10 -geometry "0x3+50-50" & -nm-applet & +dunst -fn "Cozette 9" -corner_radius 2 -frame_width 1 -padding 10 -horizontal_padding 10 -geometry "0x3+50-50" & +flameshot & +volctl & dwm diff --git a/.dwm/bar.sh b/.dwm/bar.sh index 4607641..fad538e 100755 --- a/.dwm/bar.sh +++ b/.dwm/bar.sh @@ -1,22 +1,26 @@ #!/bin/bash cpu() { - echo -n "^c#7ec7a2^^c#abb2bf^ $(grep -o "^[^ ]*" /proc/loadavg)" +echo -n "^c#7ec7a2^^c#abb2bf^ $(grep -o "^[^ ]*" /proc/loadavg)" } mem() { - echo -n "^c#c7957e^^c#abb2bf^ $(free -h | awk '/^Mem/ { print $3 }' | sed s/i//g)" +echo -n "^c#c7957e^^c#abb2bf^ $(free -h | awk '/^Mem/ { print $3 }' | sed s/i//g)" } clock() { - echo -n "^c#1e222a^^b#668ee3^  ^c#1e222a^^b#7aa2f7^ $(date '+%a | %x | %R') " +echo -n "^c#1e222a^^b#668ee3^  ^c#1e222a^^b#7aa2f7^ $(date '+%a | %x | %R') " } root() { - echo -n "^c#ad7ec7^^c#abb2bf^ $(df -h / | awk '{if ($1 != "Filesystem") print $4" free"}')" +echo -n "^c#ad7ec7^^c#abb2bf^ $(df -h / | awk '{if ($1 != "Filesystem") print $4" free"}')" +} + +spotify() { +echo -n "^c#42f59e^^c#abb2bf^ $(playerctl metadata | awk '{if ($2 == "xesam:title") {s = ""; for (i = 3; i <= NF; i++) s = s $i " "; print s}}')" } while true; do - xsetroot -name "^c#cdff59^ $(root) $(cpu) $(mem) $(clock)" - sleep 10 +xsetroot -name "^c#cdff59^ $(spotify) $(root) $(cpu) $(mem) $(clock)" +sleep 10 done diff --git a/lemondwm/config.def.h b/lemondwm/config.def.h index a7eb91c..3473d6f 100644 --- a/lemondwm/config.def.h +++ b/lemondwm/config.def.h @@ -26,8 +26,8 @@ static const int vertpadtab = 33; static const int horizpadtabi = 15; static const int horizpadtabo = 15; static const int scalepreview = 4; -static const char *fonts[] = {"Cozette:style:medium:size=10"}; -static const char dmenufont[] = "Cozette:style:medium:size=10"; +static const char *fonts[] = {"Cozette:style:medium:size=12"}; +static const char dmenufont[] = "Cozette:style:medium:size=12"; static const int colorfultag = 1; /* 0 means use SchemeSel for selected non-vacant tag */ // theme @@ -185,8 +185,8 @@ static Button buttons[] = { {ClkClientWin, MODKEY, Button1, moveorplace, {.i = 0}}, {ClkClientWin, MODKEY, Button2, togglefloating, {0}}, {ClkClientWin, MODKEY, Button3, resizemouse, {0}}, - {ClkClientWin, ControlMask, Button1, dragmfact, {0}}, - {ClkClientWin, ControlMask, Button3, dragcfact, {0}}, + {ClkClientWin, ControlMask | ShiftMask, Button1, dragmfact, {0}}, + {ClkClientWin, ControlMask | ShiftMask, Button3, dragcfact, {0}}, {ClkTagBar, 0, Button1, view, {0}}, {ClkTagBar, 0, Button3, toggleview, {0}}, {ClkTagBar, MODKEY, Button1, tag, {0}},