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
|
- 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/
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
wireplumber.settings = {
|
||||||
|
bluetooth.autoswitch-to-headset-profile = false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user