From ba097bfa2654a485416e8e54b752f14bdc10992d Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 6 May 2022 23:43:03 +0200 Subject: [PATCH] Update dot_config/i3/config Update run_once_prepare_arch.sh.tmpl --- dot_config/i3/config | 4 ++-- run_once_prepare_arch.sh.tmpl | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dot_config/i3/config b/dot_config/i3/config index c448c4d..60aba3a 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -58,8 +58,8 @@ exec --no-startup-id feh --bg-scale ~/.config/i3/i3-wall.png # Multimedia keys # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status +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 diff --git a/run_once_prepare_arch.sh.tmpl b/run_once_prepare_arch.sh.tmpl index 94b2031..ab3bf60 100644 --- a/run_once_prepare_arch.sh.tmpl +++ b/run_once_prepare_arch.sh.tmpl @@ -1,4 +1,5 @@ {{ if eq .chezmoi.osRelease.idLike "arch" }} #!/bin/bash -sudo pacman -S picom i3-gaps polybar dunst dmenu i3lock bluez-tools tmux feh yay --noconfirm +# 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 {{ end }}