dots


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