dots


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