From 1a7c0191b827a10a885eb5e2fad72b94ad52c795 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 11 Aug 2023 22:28:42 +0700 Subject: [PATCH] HLWM bluetooth --- .config/herbstluftwm/autostart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 45a6b04..8f926d1 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -118,6 +118,11 @@ hc keybind XF86AudioRaiseVolume spawn bash -c 'amixer sset Master 4%+; paplay /u hc keybind XF86AudioLowerVolume spawn bash -c 'amixer sset Master 4%-; paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' hc keybind XF86AudioPlay spawn bash -c 'playerctl -a play-pause; paplay /usr/share/sounds/freedesktop/stereo/dialog-warning.oga' +# bluetooth +hc keybind $Mod-b spawn bluetoothctl connect F8:5B:6E:2A:6A:CF +hc keybind $Mod-Shift-b spawn sudo systemctl restart bluetooth.service +hc keybind $Mod-Ctrl-b spawn bluetoothctl disconnect F8:5B:6E:2A:6A:CF + # focus hc keybind $Mod-BackSpace cycle_monitor #hc keybind $Mod-Tab cycle_all +1