Commit 9aa0ec7

xxwhirlpool  ·  2026-04-23 14:39:40 -0400 EDT
parent 9e16be4
misc, bluetooth connect script
2 files changed,  +20, -2
+2, -2
......@@ -108,7 +108,7 @@ alias xmpp="profanity"
108108
109109 # some cd bookmarks
110110 alias dotf="cd /home/kat/dotfiles"
111-alias gmine="cd /home/kat/Projects/-mine"
111+alias gmine="cd /home/kat/Projects/mine"
112112
113113 # weather stuff
114114 alias wttr="curl https://wttr.in/nyc?F0ASu"
......@@ -125,7 +125,7 @@ alias gitlc="git diff HEAD~"
125125 alias gdiff="gitd"
126126 alias gits="git status"
127127 alias gita="git add ."
128-alias pusheu="git push bytes main && cd /home/kat/Projects/-mine/eunoia-astro/src/utils && node git-changelog.js && cd ../../"
128+alias pusheu="git push bytes main && cd /home/kat/Projects/mine/eunoia-astro/src/utils && node git-changelog.js && cd ../../"
129129
130130 # dev
131131 alias irb="rv run irb"
+18, -0
......@@ -0,0 +1,18 @@
1+#!/usr/bin/env bash
2+
3+headset="40:72:18:44:87:92"
4+
5+disconnect() {
6+ bluetoothctl disconnect
7+}
8+
9+connect() {
10+ bluetoothctl connect "$headset"
11+}
12+
13+choose=$(gum choose "connect" "disconnect")
14+case "$choose" in
15+ connect) connect;;
16+ disconnect) disconnect;;
17+ *) exit 1;;
18+esac