Compare commits

..

3 Commits

Author SHA1 Message Date
Quentin Duchemin dcdbcc1723
--amend 2023-12-03 18:45:21 +01:00
Quentin Duchemin 734558ad9c
Bluetooth auto-connect 2023-12-03 18:42:21 +01:00
Quentin Duchemin c9e03cfecd
Ensure keyboard is always AZERTY 2023-12-03 17:52:26 +01:00
3 changed files with 10 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
@ -77,6 +79,7 @@ xdotool
xorg-server xorg-server
xorg-xev xorg-xev
xorg-xinit xorg-xinit
xorg-xinput
xorg-xrandr xorg-xrandr
xsel xsel
yay-bin yay-bin

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,8 @@ 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
sudo systemctl enable --now bluetooth-autoconnect
# 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..."
@ -133,6 +135,9 @@ if [ ! -z "$INIT" ]; then
curl -sSL github.com/passff/passff-host/releases/latest/download/install_host_app.sh | bash -s -- firefox curl -sSL github.com/passff/passff-host/releases/latest/download/install_host_app.sh | bash -s -- firefox
echo -e "* Set Firefox to be the default browser, probably overwritten by Chromium..." echo -e "* Set Firefox to be the default browser, probably overwritten by Chromium..."
xdg-settings set default-web-browser firefox.desktop xdg-settings set default-web-browser firefox.desktop
echo -e "* Ensure keyboard will still be in AZERTY mode when plugged/unplugged..."
# This creates a Xorg configuration file
sudo localectl --no-convert set-x11-keymap fr
fi fi
if [ ! -z ${ENV} ]; then if [ ! -z ${ENV} ]; then