Skip to content

Commit

Permalink
fix: I forgor
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed May 26, 2024
1 parent ad64e3a commit b00f6db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
18 changes: 0 additions & 18 deletions home/misc/bt.nix

This file was deleted.

1 change: 0 additions & 1 deletion home/misc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
./media.nix
./schizofox.nix
./rnnoise.nix
./bt.nix
./lock.nix
];
}
2 changes: 1 addition & 1 deletion home/rice/niri/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ with theme.colors; {
"XF86AudioMute".action = spawn "pamixer" "-t";
"XF86AudioMicMute".action = spawn "micmute";

"XF86Bluetooth".action = spawn "bt";
"XF86Bluetooth".action = spawn "bcn";

"XF86MonBrightnessUp".action = spawn "brightnessctl" "set" "+5%";
"XF86MonBrightnessDown".action = spawn "brightnessctl" "set" "5%-";
Expand Down
2 changes: 1 addition & 1 deletion home/scripts/bcn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $device_amount = 1 ]]; then
MAC=$(bluetoothctl devices | awk {'print $2'})
[ -z $MAC ] && MAC=NoDeviceFound # Prevents accidental disconnect error
else
select=$(bluetoothctl devices | awk {'print $3'} | tofi --prompt-text "Select device 󰂯 ")
select=$(bluetoothctl devices | awk {'print $3'} | fuzzel -p "Select device 󰂯 ")
MAC=$(bluetoothctl devices | grep $select | awk {'print $2'})
[ -z $MAC ] && MAC=NoDeviceFound # Prevents accidental disconnect error
fi
Expand Down

0 comments on commit b00f6db

Please sign in to comment.