Commit 45eaf63

xxwhirlpool  ·  2026-01-31 11:37:55 -0500 EST
parent f8c59c2
misc, mvpnall
4 files changed,  +22, -4
+2, -2
......@@ -144,9 +144,9 @@ alias ffmpeg="ffmpeg -hide_banner"
144144 alias ytmp3="yt-dlp -f ba -x --audio-format mp3"
145145
146146 # weather stuff
147-alias wttr="curl https://wttr.in/New+York?F0ASu"
147+alias wttr="curl https://wttr.in/nyc?F0ASu"
148148 alias weather=wttr
149-alias wttrlg="curl https://wttr.in/New+York?F1uq"
149+alias wttrlg="curl https://wttr.in/nyc?F1uq"
150150 alias weatherlg=wttrlg
151151 alias sun="daylight --short --timezone='America/New_York' | lolcat"
152152
+4, -0
......@@ -1,5 +1,9 @@
1+MAILTO=""
2+
13 0 */3 * * * vdirsyncer sync
24
5+0 */3 * * * cd /home/kat/.password-store && git pull > /dev/null 2>&1
6+
37 0 0 * * * crontab -l > /home/kat/dotfiles/config/.crontab-pc
48
59 0 0 * * * cat /home/kat/.bashrc > /home/kat/dotfiles/config/.bashrc-pc
+1, -2
......@@ -11,6 +11,5 @@ if [[ ! "$1" =~ "m" ]]; then
1111 else
1212 time="$1"
1313 echo -e "$time: 🌈✩₊˚.⋆⋆⁺₊✧🦋" | lolcat -p 0.2
14- timer "$time"
15- notif
14+ timer "$time" && notif || exit 1
1615 fi
+15, -0
......@@ -0,0 +1,15 @@
1+#!/usr/bin/env bash
2+
3+splitvpn() {
4+ for i in $(pgrep librewolf); do mullvad split-tunnel add $i; done
5+ for i in $(pgrep Discord); do mullvad split-tunnel add $i; done
6+ for i in $(pgrep obsidian); do mullvad split-tunnel add $i; done
7+ mullvad split-tunnel add $(pgrep strawberry)
8+ mullvad split-tunnel add $(pgrep senpai)
9+}
10+
11+if [[ $(mullvad status | head -n1) == "Connected" ]]; then
12+ splitvpn > /dev/null
13+else
14+ mullvad connect && splitvpn
15+fi