- commit
- 949dd37
- parent
- fc01599
- author
- xxwhirlpool
- date
- 2026-05-09 20:26:02 -0400 EDT
misc
4 files changed,
+38,
-9
+2,
-0
1@@ -49,3 +49,5 @@ config/.local/bin/uvx
2 scripts/Scripts/.directory
3 scripts/Scripts/icons
4 scripts/Scripts/gallery.html
5+config/.local/bin/khal_reminder
6+config/.config/khal/config_reminder
+1,
-0
1@@ -109,6 +109,7 @@ alias xmpp="profanity"
2 # some cd bookmarks
3 alias dotf="cd /home/kat/dotfiles"
4 alias gmine="cd /home/kat/Projects/mine"
5+alias scr="cd /home/kat/Scripts"
6
7 # weather stuff
8 alias wttr="curl https://wttr.in/nyc?F0ASu"
+5,
-4
1@@ -2,12 +2,13 @@
2 #
3 # open a temp file as a scratchpad
4
5-NOCOLOR="\033[0m"
6-GREEN="\033[38;5;121m"
7-
8 file="$(mktemp --suffix _scratchpad)"
9
10+gum_echo() {
11+ gum style --foreground 212 "$@"
12+}
13+
14 micro "$file"
15
16-echo -e "${GREEN}FILEPATH:${NOCOLOR}\n"
17+gum_echo "FILEPATH:"
18 realpath "$file" | lolcat -p 1.5
+30,
-5
1@@ -1,15 +1,40 @@
2 #!/usr/bin/env bash
3
4+# check for deps (messily)
5+if [[ ! "$(command -v timer)" ]]; then
6+ echo "missing required dependency: timer"
7+ echo "github.com/caarlos0/timer"
8+ exit 1
9+elif [[ ! "$(command -v gum)" ]]; then
10+ echo "missing required dependency: gum"
11+ echo "github.com/charmbracelet/gum"
12+ exit 1
13+fi
14+
15+# vars
16+time="$1"
17+
18+# notif
19 notif() {
20- notify-send "$time timer done!"
21+ notify-send "timer done!"
22 paplay ~/dotfiles/misc/sounds/chime
23 spd-say -t female3 -r +25 "timer done!"
24 }
25
26-if [[ ! "$1" =~ "m" ]]; then
27+# make styling easier
28+gum_border() {
29+ gum style --foreground "#a6d189" --border-foreground "#99d1db" --border double --width 50 --padding "0 0" --align center "$@"
30+}
31+
32+gum_echo() {
33+ gum style --foreground "#f4b8e4" --width 50 --padding "0 0" --align center "🌈✩₊˚.⋆⋆⁺₊✧ $* ✩₊˚.⋆⋆⁺₊✧🦋" && echo -e "\n"
34+}
35+
36+# do everything
37+if [[ ! "$time" =~ "m" ]]; then
38 echo "add a time or a time unit (m for minutes)"
39 else
40- time="$1"
41- echo -e "$time: 🌈✩₊˚.⋆⋆⁺₊✧🦋" | lolcat -p 0.2
42- timer "$time" && notif || exit 1
43+ gum_border "♥ mini timer ♥"
44+ gum_echo "$time"
45+ timer -n "mini timer" "$time" && notif || exit 1
46 fi