1
0
Fork 0

Update dot_config/i3/config

This commit is contained in:
Florian RICHER 2022-05-07 00:25:33 +02:00
parent b8f7f77364
commit 3119e78dd0

View file

@ -55,17 +55,20 @@ exec --no-startup-id feh --bg-scale ~/.config/i3/i3-wall.png
#exec --no-startup-id mpv --wid=0 -loop 0 -ao null -no-input-terminal -fs /home/adonis/Images/AggressiveShallowCatbird-size_restricted.gif
# exec --no-startup-id xwinwrap -ov -fs -- mplayer -fs -rootwin -wid 0 -quiet -nosound /home/adonis/Images/AggressiveShallowCatbird-size_restricted.mp4 -loop 0
# 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@ +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
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioNext exec playerctl next
# Screen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5