Skip to content

Instantly share code, notes, and snippets.

@ggerganov
Last active March 7, 2020 13:49
Show Gist options
  • Save ggerganov/4679b337d787fbbfeadf4305828453b2 to your computer and use it in GitHub Desktop.
Save ggerganov/4679b337d787fbbfeadf4305828453b2 to your computer and use it in GitHub Desktop.
i3/config
# custom config
workspace_layout tabbed
bindsym $mod+d exec rofi -show run
# 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
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# Touchpad controls
#bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Screen Shots
bindsym Print exec scrot '%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f ~/Pictures/'
bindsym $mod+Print exec gnome-screenshot -i
exec "sh ~/.config/i3/config-i3.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment