mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Refine desktop audio and power defaults
This commit is contained in:
@@ -16,7 +16,6 @@ profile_packages:
|
||||
- thunar-volman
|
||||
- udiskie
|
||||
- xfce-polkit
|
||||
- xfce4-power-manager
|
||||
- xfce4-clipman-plugin
|
||||
- xfce4-screenshooter
|
||||
- volumeicon
|
||||
@@ -74,6 +73,7 @@ profile_packages:
|
||||
- blueman
|
||||
- bluez
|
||||
- libspa-bluetooth
|
||||
- wireplumber
|
||||
- yaru
|
||||
- yaru-plus
|
||||
|
||||
@@ -110,6 +110,10 @@ desktop_dotfiles:
|
||||
src: .config/fontconfig/
|
||||
dest: .config/fontconfig/
|
||||
mode: preserve
|
||||
- name: WirePlumber config
|
||||
src: .config/wireplumber/
|
||||
dest: .config/wireplumber/
|
||||
mode: preserve
|
||||
- name: yt-dlp config
|
||||
src: .config/yt-dlp/
|
||||
dest: .config/yt-dlp/
|
||||
|
||||
@@ -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
|
||||
tags: [dotfiles, dotfiles:desktop]
|
||||
ansible.builtin.file:
|
||||
|
||||
@@ -28,11 +28,10 @@ exec --no-startup-id nm-applet
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id udiskie --tray --automount
|
||||
exec --no-startup-id volumeicon
|
||||
exec --no-startup-id xfce4-power-manager
|
||||
exec --no-startup-id xfce4-clipman
|
||||
|
||||
# Lock before suspend
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.config/i3/scripts/lockscreen
|
||||
# Lock screen on suspend (handled by elogind)
|
||||
exec --no-startup-id xss-lock -- ~/.config/i3/scripts/lockscreen
|
||||
|
||||
# General behavior
|
||||
focus_follows_mouse no
|
||||
|
||||
@@ -21,6 +21,10 @@ command=~/.config/i3blocks/scripts/wifi
|
||||
interval=10
|
||||
color=#4a90d9
|
||||
|
||||
[battery]
|
||||
command=~/.config/i3blocks/scripts/battery
|
||||
interval=30
|
||||
|
||||
[time]
|
||||
command=date '+%Y-%m-%d %H:%M'
|
||||
interval=60
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
wireplumber.settings = {
|
||||
bluetooth.autoswitch-to-headset-profile = false
|
||||
}
|
||||
Reference in New Issue
Block a user