38 lines
1.5 KiB
Text
38 lines
1.5 KiB
Text
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
bindsym $mod+Shift+r restart
|
|
|
|
# Pulse Audio controls
|
|
#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
|
|
#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
|
|
#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
|
|
|
#extra keys?
|
|
#bindsym XF86AudioStop
|
|
#bindsym XF86AudioMedia
|
|
#bindsym XF86HomePage
|
|
|
|
# Sreen brightness controls
|
|
# if requires sudo, run chmod +s $(which light)
|
|
bindsym XF86MonBrightnessUp exec brightnessctl -e s 5%+ # increase screen brightness
|
|
bindsym XF86MonBrightnessDown exec brightnessctl -e s 5%- # decrease screen brightness#bindsym XF86Mail exec light -U 5
|
|
#bindsym XF86Calculator exec light -A 5
|
|
|
|
# Media player controls
|
|
bindsym XF86AudioPlay exec playerctl play
|
|
bindsym XF86AudioPause exec playerctl pause
|
|
bindsym XF86AudioNext exec playerctl next
|
|
bindsym XF86AudioPrev exec playerctl previous
|
|
|
|
#background image
|
|
exec_always --no-startup-id feh --bg-fill "00 Setup/wallpaper.png" --no-fehbg
|
|
# I forget but probably important
|
|
# exec gnome-settings-daemon
|
|
# fix audio
|
|
# exec alsactl restore
|
|
|
|
#if no polkit, run gnome polkit (does this even work?)
|
|
# exec_always --no-startup-id /usr/lib/polkit-kde-authentication-agent-1
|
|
|
|
# Touchpad settings
|
|
exec_always xinput set-prop "SYNA8017:00 06CB:CEB2 Touchpad" "libinput Natural Scrolling Enabled" 1
|
|
exec_always xinput set-prop "SYNA8017:00 06CB:CEB2 Touchpad" "libinput Enabled" 1
|