Commit aea9df4
xxwhirlpool
·
2025-12-22 14:20:58 -0500 EST
parent 6d7f08d
qr code script, color picker, etc
6 files changed,
+26,
-5
+1,
-0
| ... | ... | @@ -32,3 +32,4 @@ config/.local/bin/x-wr-timezone | |
| 32 | 32 | config/.config/micro/plug/ | |
| 33 | 33 | config/.local/bin/pylsp | |
| 34 | 34 | config/.local/bin/kaomoji.sh | |
| 35 | + | config/.local/bin/quote |
+4,
-2
| ... | ... | @@ -123,7 +123,6 @@ fi | |
| 123 | 123 | # general | |
| 124 | 124 | alias nano=micro | |
| 125 | 125 | alias sudo="sudo TERMINFO=\"$TERMINFO\" " | |
| 126 | - | alias pick='pastel pick' | |
| 127 | 126 | alias fd='fdfind' | |
| 128 | 127 | alias neofetch="hyfetch" | |
| 129 | 128 | alias fastfetch="hyfetch" |
| ... | ... | @@ -150,6 +149,9 @@ alias sun="daylight --short --timezone='America/New_York' | lolcat" | |
| 150 | 149 | # git | |
| 151 | 150 | alias gitall="git remote | xargs -L1 git push --all" | |
| 152 | 151 | alias gyolo="git add . && git commit -m 'yolo'" | |
| 152 | + | alias gitd="git diff --staged" | |
| 153 | + | alias gdiff="gitd" | |
| 154 | + | alias gits="git status" | |
| 153 | 155 | alias pusheu="git push bytes main && cd /home/kat/Documents/Git/-mine/eunoia-astro/src/utils && node git-changelog.js" | |
| 154 | 156 | ||
| 155 | 157 | # vpn split tunnel aliases based on a small script @ ~/.local/bin/mvpn |
| ... | ... | @@ -214,7 +216,7 @@ cdmess() { | |
| 214 | 216 | # insane sysadmin website woman adventures | |
| 215 | 217 | portfree() { | |
| 216 | 218 | while | |
| 217 | - | port=$(shuf -n 1 -i 49152-65535) | |
| 219 | + | port=$(shuf -n 1 -i 1024-65535) | |
| 218 | 220 | netstat -atun | grep -q "$port" | |
| 219 | 221 | do | |
| 220 | 222 | continue |
+0,
-1
| ... | ... | @@ -1,6 +1,5 @@ | |
| 1 | 1 | #!/usr/bin/env bash | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | 3 | calc() { | |
| 5 | 4 | input=$(echo "" | dmenu -i -c -l 3 -p "calculator") | |
| 6 | 5 | calc=$(qalc "$input" | sed 's/^.*\(=\|≈\) //') |
+6,
-0
| ... | ... | @@ -0,0 +1,6 @@ | |
| 1 | + | #!/usr/bin/env bash | |
| 2 | + | ||
| 3 | + | pick=$(xcolor | xclip -sel clipboard) | |
| 4 | + | choice=$(xclip -sel clipboard -o) | |
| 5 | + | ||
| 6 | + | notify-send "color picker" "$choice was copied to clipboard" |
+11,
-0
| ... | ... | @@ -0,0 +1,11 @@ | |
| 1 | + | #!/usr/bin/env bash | |
| 2 | + | ||
| 3 | + | if [ $# -eq 0 ]; then | |
| 4 | + | echo "Usage: qr [string]" | |
| 5 | + | exit 1 | |
| 6 | + | fi | |
| 7 | + | ||
| 8 | + | TMPFILE="/tmp/$(openssl rand -hex 8)_qr.png" | |
| 9 | + | STRQR="$1" | |
| 10 | + | ||
| 11 | + | echo "$STRQR" | qrencode -s 10 -o "$TMPFILE" && kitty +kitten icat "$TMPFILE" |
+4,
-2
| ... | ... | @@ -6,11 +6,13 @@ ctrl+alt+0 == ~/.local/bin/recordscreen | |
| 6 | 6 | ctrl+alt+9 == ~/.local/bin/dict | |
| 7 | 7 | ctrl+alt+e == ~/.local/bin/shmoji dmenu | |
| 8 | 8 | ctrl+alt+p == ~/.local/bin/passmenu | |
| 9 | + | ctrl+alt+[ == ~/.local/bin/pick | |
| 9 | 10 | ||
| 10 | 11 | ctrl+win+t == ~/.local/bin/tempmenu menu | |
| 12 | + | ctrl+win+ | |
| 11 | 13 | ||
| 12 | - | ctrl+prntscrn == ~/.local/bin/screenshotpick(-laptop) | |
| 14 | + | ctrl+prntscrn == ~/.local/bin/screenshotpick | |
| 13 | 15 | ||
| 14 | 16 | ctrl+shift+alt+e == ~/.local/bin/kaomoji menu | |
| 15 | 17 | ||
| 16 | - | printscrn == ~/.local/bin/screenshot(-laptop) | |
| 18 | + | printscrn == ~/.local/bin/screenshot |