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() {
8282 aplay -q /usr/share/sounds/sound-icons/start
8383 spd-say -t female3 -r +25 "done!"
8484 }
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=" \
4848 cdmess() {
4949 # from this blog post:
5050 # https://blog.larah.me/mess-directory/
51- #
5251 today_tmpdir="${TMPDIR-/tmp}/${USER}_mess/$(date +%F)"
5352 mkdir -p "$today_tmpdir"
5453 cd "$(mktemp -d -p "${today_tmpdir}" XXXX)"
......@@ -66,28 +65,6 @@ portfree() {
6665 echo "$port"
6766 }
6867
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-
9168 # print internal & external IPs
9269 whatip() {
9370 # internal
......@@ -136,3 +113,5 @@ notif() {
136113 }
137114
138115 alias icat="kitten icat"
116+
117+alias gyolo="git add . && git commit -m 'yolo'"