Commit 444b024
xxwhirlpool
·
2025-09-01 13:21:07 -0400 EDT
parent 458dae0
misc
4 files changed,
+6,
-41
+0,
-9
| ... | ... | @@ -1,9 +0,0 @@ | |
| 1 | - | #!/bin/bash | |
| 2 | - | ||
| 3 | - | if [ "$1" == "up" ]; then | |
| 4 | - | lxqt-config-brightness -i "$1" | |
| 5 | - | elif [ "$1" == "down" ]; then | |
| 6 | - | lxqt-config-brightness -d "$2" | |
| 7 | - | else | |
| 8 | - | echo "fuck" | |
| 9 | - | fi |
+0,
-9
| ... | ... | @@ -1,9 +0,0 @@ | |
| 1 | - | #!/bin/bash | |
| 2 | - | ||
| 3 | - | artist=$(gum input --placeholder artist | awk '{$1=$1}1' OFS="+") | |
| 4 | - | ||
| 5 | - | song=$(gum input --placeholder song | awk '{$1=$1}1' OFS="+") | |
| 6 | - | ||
| 7 | - | echo -e $(gum style --italic --foreground "#f4b8e4" "'$artist', '$song'") | |
| 8 | - | ||
| 9 | - | curl -s https://api.lyrics.ovh/v1/"$artist"/"$song" | jq -r .lyrics | less |
+4,
-0
| ... | ... | @@ -82,3 +82,7 @@ notif() { | |
| 82 | 82 | aplay -q /usr/share/sounds/sound-icons/start | |
| 83 | 83 | spd-say -t female3 -r +25 "done!" | |
| 84 | 84 | } | |
| 85 | + | ||
| 86 | + | alias icat="kitten icat" | |
| 87 | + | ||
| 88 | + | alias gyolo="git add . && git commit -m 'yolo'" |
+2,
-23
| ... | ... | @@ -48,7 +48,6 @@ export FZF_DEFAULT_OPTS=" \ | |
| 48 | 48 | cdmess() { | |
| 49 | 49 | # from this blog post: | |
| 50 | 50 | # https://blog.larah.me/mess-directory/ | |
| 51 | - | # | |
| 52 | 51 | today_tmpdir="${TMPDIR-/tmp}/${USER}_mess/$(date +%F)" | |
| 53 | 52 | mkdir -p "$today_tmpdir" | |
| 54 | 53 | cd "$(mktemp -d -p "${today_tmpdir}" XXXX)" |
| ... | ... | @@ -66,28 +65,6 @@ portfree() { | |
| 66 | 65 | echo "$port" | |
| 67 | 66 | } | |
| 68 | 67 | ||
| 69 | - | # from http://dotfiles.org/~pseup/.bashrc | |
| 70 | - | extract() { | |
| 71 | - | if [ -f $1 ] ; then | |
| 72 | - | case $1 in | |
| 73 | - | *.tar.bz2) tar xjf $1 ;; | |
| 74 | - | *.tar.gz) tar xzf $1 ;; | |
| 75 | - | *.bz2) bunzip2 $1 ;; | |
| 76 | - | *.rar) rar x $1 ;; | |
| 77 | - | *.gz) gunzip $1 ;; | |
| 78 | - | *.tar) tar xf $1 ;; | |
| 79 | - | *.tbz2) tar xjf $1 ;; | |
| 80 | - | *.tgz) tar xzf $1 ;; | |
| 81 | - | *.zip) unzip $1 ;; | |
| 82 | - | *.Z) uncompress $1 ;; | |
| 83 | - | *.7z) 7z x $1 ;; | |
| 84 | - | *) echo "'$1' cannot be extracted via extract()" ;; | |
| 85 | - | esac | |
| 86 | - | else | |
| 87 | - | echo "'$1' is not a valid file" | |
| 88 | - | fi | |
| 89 | - | } | |
| 90 | - | ||
| 91 | 68 | # print internal & external IPs | |
| 92 | 69 | whatip() { | |
| 93 | 70 | # internal |