Guest User

i3/keybinds

a guest
Jan 29th, 2024
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.14 KB | Fixit | 0 0
  1. # i3 config file (v4)
  2.  
  3. # Lockscreen
  4. bindsym Mod4+l exec betterlockscreen -l -- -e
  5.  
  6. # Log out
  7. bindsym Mod4+Shift+l exec killall i3
  8.  
  9. # Set brightness
  10. bindsym XF86MonBrightnessUp exec brightnessctl s +10%
  11. bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
  12. bindsym Shift+XF86MonBrightnessUp exec brightnessctl s $(brightnessctl m)
  13. bindsym Shift+XF86MonBrightnessDown exec brightnessctl s 1
  14. bindsym Control+XF86MonBrightnessUp exec brightnessctl s +1%
  15. bindsym Control+XF86MonBrightnessDown exec brightnessctl s 1%-
  16. bindsym Control+Escape exec bash ~/scripts/bl_toggle.sh
  17.  
  18. # Screenshot
  19. # Print whole display to file
  20. bindsym Mod4+Print exec gscreenshot-cli -cf "$HOME/Pictures/screenshots/screenshot_$hx$(date --rfc-3339=seconds).png" -n
  21. # Print selection to file
  22. bindsym Control+Mod4+Print exec gscreenshot-cli -scf "$HOME/Pictures/screenshots/screenshot_$hx$(date --rfc-3339=seconds).png" -n
  23. # Print whole display to clipboard
  24. bindsym Mod4+Shift+Print exec gscreenshot-cli -cn
  25. # Print selection to clipboard
  26. bindsym Control+Mod4+Shift+Print exec gscreenshot-cli -scn
  27.  
  28. # Rofi menu with Windows key only
  29. bindsym Mod4+R exec "rofi -modi drun,run -show run"
  30. bindsym --release Super_L exec "rofi -modi drun,run -show drun"
  31.  
  32. # Nautilus
  33. bindsym Mod4+e exec nautilus
  34.  
  35. # Power menu
  36. bindsym Mod4+Escape exec "eww open powermenu --toggle"
  37.  
  38. # PulseAudio
  39. bindsym XF86AudioMute exec pulseaudio-control togmute
  40. bindsym XF86AudioRaiseVolume exec pulseaudio-control --volume-max 130 --volume-step 10 up
  41. bindsym XF86AudioLowerVolume exec pulseaudio-control --volume-max 130 --volume-step 10 down
  42. bindsym Control+XF86AudioRaiseVolume exec pulseaudio-control --volume-max 130 --volume-step 2 up
  43. bindsym Control+XF86AudioLowerVolume exec pulseaudio-control --volume-max 130 --volume-step 2 down
  44.  
  45. # Touchpad
  46. bindsym Mod4+F5 exec bash ~/.config/i3/scripts/toggle_touchpad.sh
  47. #bindsym XF86TouchpadToggle exec bash ~/.config/i3/scripts/toggle_touchpad.sh
  48.  
  49. # Unicode Selector
  50. bindsym Mod4+XF86WWAN exec bash "$HOME/.config/i3/scripts/unicode_selector/unicode_selector.sh"
  51.  
  52. # Reset monitors
  53. bindsym Mod4+Control+Shift+b exec bash "$HOME/.config/xrandr/monitors_detect.sh"
Tags: arch
Advertisement
Add Comment
Please, Sign In to add comment