Pipewire config/bindings

master
Quentin Duchemin 2024-05-04 13:24:29 +02:00
parent 321dce81b8
commit bb1ad9c04c
4 changed files with 9 additions and 6 deletions

View File

@ -2,11 +2,6 @@
# STARTING CONFIGURATION
##################################
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D hw:PCH -M sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle
# Luminosity on laptop
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%

View File

@ -237,6 +237,12 @@ mode "$resize_mode" {
bindsym $mod+r mode "$resize_mode"
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D pulse -M sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse -M sset 'Master' toggle
##################################
# BINDINGS FOR NOTIFICATIONS
##################################

View File

@ -4,7 +4,7 @@ height = 30
top_left = powermenu system-uptime-pretty
top_center = player-mpris
;top_center = xwindow
top_right = system-usb-udev date
top_right = pulseaudio system-usb-udev date
bottom_left = i3
bottom_right = temperature cpu memory filesystem-custom

View File

@ -97,6 +97,8 @@ function init_system() {
sudo systemctl enable --now bluetooth
sudo systemctl enable --now bluetooth-autoconnect
sudo systemctl enable --now updatedb.timer
systemctl --user enable --now pipewire-pulse
systemctl --user enable --now pipewire-pulse.socket
~/.config/bootstrap/init_netctl.sh ${ENV}
echo -e "* Ensure hardware clock is up to date..."
sudo hwclock --systohc