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" | |
| 144 | 144 | alias ytmp3="yt-dlp -f ba -x --audio-format mp3" | |
| 145 | 145 | ||
| 146 | 146 | # weather stuff | |
| 147 | - | alias wttr="curl https://wttr.in/New+York?F0ASu" | |
| 147 | + | alias wttr="curl https://wttr.in/nyc?F0ASu" | |
| 148 | 148 | alias weather=wttr | |
| 149 | - | alias wttrlg="curl https://wttr.in/New+York?F1uq" | |
| 149 | + | alias wttrlg="curl https://wttr.in/nyc?F1uq" | |
| 150 | 150 | alias weatherlg=wttrlg | |
| 151 | 151 | alias sun="daylight --short --timezone='America/New_York' | lolcat" | |
| 152 | 152 |
+4,
-0
| ... | ... | @@ -1,5 +1,9 @@ | |
| 1 | + | MAILTO="" | |
| 2 | + | ||
| 1 | 3 | 0 */3 * * * vdirsyncer sync | |
| 2 | 4 | ||
| 5 | + | 0 */3 * * * cd /home/kat/.password-store && git pull > /dev/null 2>&1 | |
| 6 | + | ||
| 3 | 7 | 0 0 * * * crontab -l > /home/kat/dotfiles/config/.crontab-pc | |
| 4 | 8 | ||
| 5 | 9 | 0 0 * * * cat /home/kat/.bashrc > /home/kat/dotfiles/config/.bashrc-pc |
+1,
-2
| ... | ... | @@ -11,6 +11,5 @@ if [[ ! "$1" =~ "m" ]]; then | |
| 11 | 11 | else | |
| 12 | 12 | time="$1" | |
| 13 | 13 | echo -e "$time: 🌈✩₊˚.⋆⋆⁺₊✧🦋" | lolcat -p 0.2 | |
| 14 | - | timer "$time" | |
| 15 | - | notif | |
| 14 | + | timer "$time" && notif || exit 1 | |
| 16 | 15 | 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 |