diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 12:11:38 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 12:15:15 +0200 |
commit | d17c0364f1053cf8080a6e8d6438a1d43fc42532 (patch) | |
tree | ad4b841b9603273de9ff04dbf4119c469c05bd71 /.config/i3 | |
parent | 485b513b2e82aa3dcf86e4b0ae8a1fa7bc4e004b (diff) |
[sway+i3] pactl and other config adjustments
Diffstat (limited to '.config/i3')
-rw-r--r-- | .config/i3/config | 18 |
1 files changed, 11 insertions, 7 deletions
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 } } |