Bluetooth auto-connect

master
Quentin Duchemin 2023-12-03 18:42:21 +01:00
parent c9e03cfecd
commit 734558ad9c
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
3 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
arc-gtk-theme arc-gtk-theme
arc-icon-theme arc-icon-theme
bluez
bluetooth-autoconnect
bind bind
chromium chromium
cups cups

View File

@ -126,6 +126,8 @@ bindsym Mod4+p exec playerctl play-pause
bindsym Mod4+Right exec playerctl next bindsym Mod4+Right exec playerctl next
bindsym Mod4+Left exec playerctl previous bindsym Mod4+Left exec playerctl previous
# auto-connect to available and trusted bluetooth devices
bindsym $mod+Shift+b exec --no-startup-id bluetooth-autoconnect
################################## ##################################
# BINDINGS FOR STANDARD OPERATIONS # BINDINGS FOR STANDARD OPERATIONS
################################## ##################################

View File

@ -107,6 +107,7 @@ if [ ! -z "$INIT" ]; then
sudo systemctl enable --now NetworkManager sudo systemctl enable --now NetworkManager
sudo systemctl enable --now systemd-timesyncd sudo systemctl enable --now systemd-timesyncd
sudo systemctl enable --now cups sudo systemctl enable --now cups
sudo systemctl enable --now bluetooth
# iwd will be used as a backend for NetworkManager # iwd will be used as a backend for NetworkManager
sudo systemctl disable wpa_supplicant sudo systemctl disable wpa_supplicant
echo -e "* Ensure hardware clock is up to date..." echo -e "* Ensure hardware clock is up to date..."