diff options
-rw-r--r-- | .repos/dwm/config.h | 12 | ||||
-rwxr-xr-x | .repos/dwm/dwm | bin | 62512 -> 62512 bytes | |||
-rw-r--r-- | .repos/dwm/dwm.o | bin | 58488 -> 58808 bytes | |||
-rwxr-xr-x | .scripts/code | 12 |
4 files changed, 17 insertions, 7 deletions
diff --git a/.repos/dwm/config.h b/.repos/dwm/config.h index 21e9000..bd97d4f 100644 --- a/.repos/dwm/config.h +++ b/.repos/dwm/config.h @@ -3,7 +3,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ -static const int showbar = 1; /* 0 means no bar */ +static const int showbar = 0; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=10"; @@ -26,9 +26,13 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating monitor */ - { "QuteBrowser", NULL, NULL, 1 << 2, 0, -1 }, - { "Spotify", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating monitor */ + { "qutebrowser", NULL, NULL, 1 << 0, 0, -1 }, + { "Spotify", NULL, NULL, 1 << 8, 0, -1 }, + { "TelegramDesktop", NULL, NULL, 1 << 7, 0, -1 }, + { "Signal", NULL, NULL, 1 << 7, 0, -1 }, + { "discord", NULL, NULL, 1 << 7, 0, -1 }, + { NULL, NULL, "WhatsApp", 1 << 7, 0, -1 }, }; /* layout(s) */ diff --git a/.repos/dwm/dwm b/.repos/dwm/dwm Binary files differindex 2a6420b..f147ac3 100755 --- a/.repos/dwm/dwm +++ b/.repos/dwm/dwm diff --git a/.repos/dwm/dwm.o b/.repos/dwm/dwm.o Binary files differindex ad17231..f7135c3 100644 --- a/.repos/dwm/dwm.o +++ b/.repos/dwm/dwm.o diff --git a/.scripts/code b/.scripts/code index 422b0ef..4dd38b3 100755 --- a/.scripts/code +++ b/.scripts/code @@ -1,7 +1,11 @@ #!/usr/bin/env sh +notify-send -u critical "Waiting for internet connection..." +while ! ping -qc1 8.8.8.8 ; do sleep 0.1 ; done +notify-send -u critical "Found network!" + exec qutebrowser & -exec st -e nvim /home/melvin/code/melvix/ & +exec st & exec telegram-desktop & exec signal-desktop & @@ -10,6 +14,8 @@ exec whatsapp-nativefier-dark & exec spotify & -sleep 0.5 +sleep 1 + +dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play -dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play & +notify-send -u critical "Welcome back, Melvin!" |