Skip to content

Commit 2bf2acd

Browse files
committed
Add bluetui integration and launch script
- Add omarchy-launch-bluetooth script to launch bluetui TUI - Create migration scripts for bluetui installation - Update omarchy-menu and waybar configuration for bluetui support - Add bluetui to base packages
1 parent 962aca3 commit 2bf2acd

File tree

7 files changed

+14
-5
lines changed

7 files changed

+14
-5
lines changed

bin/omarchy-launch-bluetooth

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
exec setsid uwsm-app -- xdg-terminal-exec --app-id=com.omarchy.Bluetui -e bluetui "$@"

bin/omarchy-menu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ show_setup_menu() {
185185
;;
186186
*Bluetooth*)
187187
rfkill unblock bluetooth
188-
blueberry
188+
omarchy-launch-bluetooth
189189
;;
190190
*Power*) show_setup_power_menu ;;
191191
*Monitors*) open_in_editor ~/.config/hypr/monitors.conf ;;

config/waybar/config.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"format-disabled": "󰂲",
102102
"format-connected": "",
103103
"tooltip-format": "Devices connected: {num_connections}",
104-
"on-click": "blueberry"
104+
"on-click": "omarchy-launch-bluetooth"
105105
},
106106
"pulseaudio": {
107107
"format": "{icon}",

default/hypr/apps/system.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ windowrule = float, tag:floating-window
33
windowrule = center, tag:floating-window
44
windowrule = size 875 600, tag:floating-window
55

6-
windowrule = tag +floating-window, class:(blueberry.py|com.omarchy.Impala|com.omarchy.Wiremix|com.omarchy.Omarchy|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float)
6+
windowrule = tag +floating-window, class:(com.omarchy.Bluetui|com.omarchy.Impala|com.omarchy.Wiremix|com.omarchy.Omarchy|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float)
77
windowrule = tag +floating-window, class:(xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus), title:^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
88
windowrule = float, class:org.gnome.Calculator
99

install/omarchy-base.packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ asdcontrol
99
avahi
1010
bash-completion
1111
bat
12-
blueberry
12+
bluetui
1313
brightnessctl
1414
btop
1515
cargo

migrations/1751134568.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Turn on bluetooth service so blueberry works out the box
1+
# Turn on bluetooth service so blueberry or bluetui works out the box
22
echo "Let's turn on Bluetooth service so the controls work"
33
if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then
44
# Bluetooth is already enabled, nothing to change

migrations/1762417304.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
echo "Install bluetui as new bluetooth selection TUI"
2+
3+
if omarchy-cmd-missing bluetui; then
4+
omarchy-pkg-add bluetui
5+
omarchy-refresh-waybar
6+
fi

0 commit comments

Comments
 (0)