Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i3 config file (v4)
- # Lockscreen
- bindsym Mod4+l exec betterlockscreen -l -- -e
- # Log out
- bindsym Mod4+Shift+l exec killall i3
- # Set brightness
- bindsym XF86MonBrightnessUp exec brightnessctl s +10%
- bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
- bindsym Shift+XF86MonBrightnessUp exec brightnessctl s $(brightnessctl m)
- bindsym Shift+XF86MonBrightnessDown exec brightnessctl s 1
- bindsym Control+XF86MonBrightnessUp exec brightnessctl s +1%
- bindsym Control+XF86MonBrightnessDown exec brightnessctl s 1%-
- bindsym Control+Escape exec bash ~/scripts/bl_toggle.sh
- # Screenshot
- # Print whole display to file
- bindsym Mod4+Print exec gscreenshot-cli -cf "$HOME/Pictures/screenshots/screenshot_$hx$(date --rfc-3339=seconds).png" -n
- # Print selection to file
- bindsym Control+Mod4+Print exec gscreenshot-cli -scf "$HOME/Pictures/screenshots/screenshot_$hx$(date --rfc-3339=seconds).png" -n
- # Print whole display to clipboard
- bindsym Mod4+Shift+Print exec gscreenshot-cli -cn
- # Print selection to clipboard
- bindsym Control+Mod4+Shift+Print exec gscreenshot-cli -scn
- # Rofi menu with Windows key only
- bindsym Mod4+R exec "rofi -modi drun,run -show run"
- bindsym --release Super_L exec "rofi -modi drun,run -show drun"
- # Nautilus
- bindsym Mod4+e exec nautilus
- # Power menu
- bindsym Mod4+Escape exec "eww open powermenu --toggle"
- # PulseAudio
- bindsym XF86AudioMute exec pulseaudio-control togmute
- bindsym XF86AudioRaiseVolume exec pulseaudio-control --volume-max 130 --volume-step 10 up
- bindsym XF86AudioLowerVolume exec pulseaudio-control --volume-max 130 --volume-step 10 down
- bindsym Control+XF86AudioRaiseVolume exec pulseaudio-control --volume-max 130 --volume-step 2 up
- bindsym Control+XF86AudioLowerVolume exec pulseaudio-control --volume-max 130 --volume-step 2 down
- # Touchpad
- bindsym Mod4+F5 exec bash ~/.config/i3/scripts/toggle_touchpad.sh
- #bindsym XF86TouchpadToggle exec bash ~/.config/i3/scripts/toggle_touchpad.sh
- # Unicode Selector
- bindsym Mod4+XF86WWAN exec bash "$HOME/.config/i3/scripts/unicode_selector/unicode_selector.sh"
- # Reset monitors
- bindsym Mod4+Control+Shift+b exec bash "$HOME/.config/xrandr/monitors_detect.sh"
Advertisement
Add Comment
Please, Sign In to add comment