diff --git a/dot_config/i3/config b/dot_config/i3/config index 00b0671..6df78c1 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -62,9 +62,13 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioPrev exec playerctl previous +bindsym XF86AudioNext exec playerctl next +bindsym XF86MonBrightnessUp exec xbacklight -inc 5 +bindsym XF86MonBrightnessDown exec xbacklight -dec 5 -#bindsym XF86MonBrightnessUp exec xbacklight -inc 10 -#bindsym XF86MonBrightnessDown exec xbacklight -dec 10 #bindsym XF86AudioMute exec amixer -D pulse sset Master toggle -q #bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- unmute -q #bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ unmute -q diff --git a/run_once_prepare_arch.sh.tmpl b/run_once_prepare_arch.sh.tmpl index ab3bf60..c554e82 100644 --- a/run_once_prepare_arch.sh.tmpl +++ b/run_once_prepare_arch.sh.tmpl @@ -1,5 +1,5 @@ {{ if eq .chezmoi.osRelease.idLike "arch" }} #!/bin/bash # All requirements for i3 -sudo pacman -S picom i3-gaps polybar dunst dmenu i3lock bluez-tools tmux feh dex yay xss-lock network-manager-applet --noconfirm +sudo pacman -S picom i3-gaps polybar dunst dmenu i3lock bluez-tools tmux feh dex yay xss-lock network-manager-applet playerctl --noconfirm {{ end }}