From d17c0364f1053cf8080a6e8d6438a1d43fc42532 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 19 Jul 2024 12:11:38 +0200 Subject: [sway+i3] pactl and other config adjustments --- .config/i3/config | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index 7142b96..13ad3d3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -44,15 +44,19 @@ exec --no-startup-id nm-applet exec --no-startup-id picom -b --no-fading-openclose --fade-in-step=1.0 --fade-out-step=1.0 --fade-delta=0 --shadow-opacity=0.0 --inactive-opacity=1.0 +exec --no-startup-id unclutter + # gnome-keyring exec --no-startup-id nm-applet dbus-update-activation-environment --all -# Use pactl to adjust volume in PulseAudio. +# Use amixer to adjust volume in ALSA. set $refresh_i3status killall -SIGUSR1 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 +# bindsym XF86AudioMute exec amixer set Master toggle && $refresh_i3status +# bindsym XF86AudioLowerVolume exec amixer set Master 5%- && $refresh_i3status +# bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ && $refresh_i3status +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -3% && $refresh_i3status +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3% && $refresh_i3status # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -251,8 +255,8 @@ bar { background #00000055 separator #ffffff99 focused_workspace #ffffff99 #000000 #ffffff - active_workspace #ffffff55 #33333399 #ffffff - inactive_workspace #33333399 #33333399 #ffffff + active_workspace #33333399 #33333399 #ffffff + inactive_workspace #55555599 #55555599 #ffffff } } -- cgit v1.2.3