summaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config18
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
}
}