Refine desktop audio and power defaults

This commit is contained in:
Fabio Scotto di Santolo
2026-03-26 14:43:52 +01:00
parent 686d77d942
commit ab530b9b9b
5 changed files with 22 additions and 4 deletions

View File

@@ -16,7 +16,6 @@ profile_packages:
- thunar-volman - thunar-volman
- udiskie - udiskie
- xfce-polkit - xfce-polkit
- xfce4-power-manager
- xfce4-clipman-plugin - xfce4-clipman-plugin
- xfce4-screenshooter - xfce4-screenshooter
- volumeicon - volumeicon
@@ -74,6 +73,7 @@ profile_packages:
- blueman - blueman
- bluez - bluez
- libspa-bluetooth - libspa-bluetooth
- wireplumber
- yaru - yaru
- yaru-plus - yaru-plus
@@ -110,6 +110,10 @@ desktop_dotfiles:
src: .config/fontconfig/ src: .config/fontconfig/
dest: .config/fontconfig/ dest: .config/fontconfig/
mode: preserve mode: preserve
- name: WirePlumber config
src: .config/wireplumber/
dest: .config/wireplumber/
mode: preserve
- name: yt-dlp config - name: yt-dlp config
src: .config/yt-dlp/ src: .config/yt-dlp/
dest: .config/yt-dlp/ dest: .config/yt-dlp/

View File

@@ -1,4 +1,12 @@
--- ---
- name: Configure elogind to suspend on lid close
tags: [packages]
ansible.builtin.lineinfile:
path: /etc/elogind/logind.conf
regexp: '^#?HandleLidSwitch='
line: 'HandleLidSwitch=suspend'
state: present
- name: Ensure config directories exist - name: Ensure config directories exist
tags: [dotfiles, dotfiles:desktop] tags: [dotfiles, dotfiles:desktop]
ansible.builtin.file: ansible.builtin.file:

View File

@@ -28,11 +28,10 @@ exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet exec --no-startup-id blueman-applet
exec --no-startup-id udiskie --tray --automount exec --no-startup-id udiskie --tray --automount
exec --no-startup-id volumeicon exec --no-startup-id volumeicon
exec --no-startup-id xfce4-power-manager
exec --no-startup-id xfce4-clipman exec --no-startup-id xfce4-clipman
# Lock before suspend # Lock screen on suspend (handled by elogind)
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.config/i3/scripts/lockscreen exec --no-startup-id xss-lock -- ~/.config/i3/scripts/lockscreen
# General behavior # General behavior
focus_follows_mouse no focus_follows_mouse no

View File

@@ -21,6 +21,10 @@ command=~/.config/i3blocks/scripts/wifi
interval=10 interval=10
color=#4a90d9 color=#4a90d9
[battery]
command=~/.config/i3blocks/scripts/battery
interval=30
[time] [time]
command=date '+%Y-%m-%d %H:%M' command=date '+%Y-%m-%d %H:%M'
interval=60 interval=60

View File

@@ -0,0 +1,3 @@
wireplumber.settings = {
bluetooth.autoswitch-to-headset-profile = false
}