Update i3 config
This commit is contained in:
12
i3_config
12
i3_config
@@ -19,10 +19,11 @@ exec --no-startup-id nitrogen --restore
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
exec --no-startup-id "setxkbmap -layout \"us,ru\" -option \"grp:win_space_toggle\""
|
||||
exec_always --no-startup-id picom --config $HOME/.config/picom.conf
|
||||
exec_always --no-startup-id dunst
|
||||
|
||||
# Assign applications to workspaces
|
||||
assign [class="firefox"] $ws1
|
||||
assign [class="Steam"] $ws2
|
||||
assign [class="Steam"] $ws3
|
||||
|
||||
# Force these applications to be floating
|
||||
for_window [class="Steam"] floating enable
|
||||
@@ -48,11 +49,10 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
# what??? just leave it
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
|
||||
# Use media keys on keyboard to control volume
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% && $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
|
||||
# Bind media keys on a keyboard to control volume and playback
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
|
||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
Reference in New Issue
Block a user