Skip to content

Instantly share code, notes, and snippets.

@KevinLiebergen
Last active November 20, 2019 22:26
Show Gist options
  • Save KevinLiebergen/b60af5c9dff2d6b6a97743196c17bdf4 to your computer and use it in GitHub Desktop.
Save KevinLiebergen/b60af5c9dff2d6b6a97743196c17bdf4 to your computer and use it in GitHub Desktop.
For debian based distros
For debian based distros
- Add it to your .config/i3/config (Shortcut = Ctrl+Win+Alt Up/down )
- `Win+Shift+r` to reload i3 config
bindsym $mod+Control+Mod1+Up exec amixer -q set Master 10%+ unmute
bindsym $mod+Control+Mod1+Down exec amixer -q set Master 10%- unmute
## For brightness control
bindsym XF86MonBrightnessUp exec xrandr --output eDP-1 --brightness $(echo "$(xrandr --verbose |grep Brightness |grep -o '[0-9].*')+0.1" | bc)
bindsym XF86MonBrightnessDown exec xrandr --output eDP-1 --brightness $(echo "$(xrandr --verbose |grep Brightness |grep -o '[0-9].*')-0.1" | bc)
# beautiful lock screen
bindsym $mod+l exec betterlockscreen -l dim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment