89 lines
3.3 KiB
Text
89 lines
3.3 KiB
Text
# Brightness
|
|
bind = ALT , up, exec, brightnessctl -d *::kbd_backlight set +33%
|
|
bind = ALT , down, exec, brightnessctl -d *::kbd_backlight set -33%
|
|
|
|
# shutdown (window, hyprland)
|
|
bind = ALT, F4, killactive,
|
|
bind = CTRL SUPER, M, exit,
|
|
bind = CTRL ALT, L, exec, $lockscreen
|
|
|
|
# apps
|
|
bind = ALT, D, exec, $fileManager
|
|
bind = ALT, N, exec, $terminal nvim
|
|
bind = ALT, Q, exec, $terminal
|
|
bind = ALT, W, exec, $app_launcher
|
|
bind = ALT, F, exec, $browser
|
|
bind = ALT, Z, exec, zotero
|
|
|
|
# Move focus with mod0 + arrow keys
|
|
bind = CTRL SUPER, h, movefocus, l
|
|
bind = CTRL SUPER, l, movefocus, r
|
|
bind = CTRL SUPER, k, movefocus, u
|
|
bind = CTRL SUPER, j, movefocus, d
|
|
|
|
# screenshot
|
|
bind =, Print, exec, filename="$(date +'%F-%T').png" && grimblast --freeze copysave area "$filename" && mkdir -p ~/Screenshots && mv "$filename" ~/Screenshots/ && nomacs ~/Screenshots/"$filename"
|
|
bind = SUPER, V, exec, cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
|
|
|
# Switch workspaces
|
|
bind = SUPER, ampersand, workspace, 1
|
|
bind = SUPER, eacute, workspace, 2
|
|
bind = SUPER, quotedbl, workspace, 3
|
|
bind = SUPER, apostrophe, workspace, 4
|
|
bind = SUPER, parenleft, workspace, 5
|
|
bind = SUPER, minus, workspace, 6
|
|
bind = SUPER, egrave, workspace, 7
|
|
bind = SUPER, underscore, workspace, 8
|
|
bind = SUPER, ccedilla, workspace, 9
|
|
bind = SUPER, agrave, workspace, 10
|
|
bind = SUPER, up, workspace, name:secondscreen
|
|
bind = SUPER, Q, workspace, name:coding
|
|
|
|
# Move to workspace
|
|
bind = SUPER SHIFT, ampersand, movetoworkspace, 1
|
|
bind = SUPER SHIFT, eacute, movetoworkspace, 2
|
|
bind = SUPER SHIFT, quotedbl, movetoworkspace, 3
|
|
bind = SUPER SHIFT, apostrophe, movetoworkspace, 4
|
|
bind = SUPER SHIFT, parenleft, movetoworkspace, 5
|
|
bind = SUPER SHIFT, minus, movetoworkspace, 6
|
|
bind = SUPER SHIFT, egrave, movetoworkspace, 7
|
|
bind = SUPER SHIFT, underscore, movetoworkspace, 8
|
|
bind = SUPER SHIFT, ccedilla, movetoworkspace, 9
|
|
bind = SUPER SHIFT, agrave, movetoworkspace, 10
|
|
|
|
bind = SUPER SHIFT, up, movetoworkspace, name:secondscreen
|
|
bind = SUPER SHIFT, Q, movetoworkspace, name:coding
|
|
|
|
bind = SUPER, down, workspace, 1
|
|
bind = SUPER SHIFT, down, movetoworkspace, 1
|
|
|
|
# Scroll through existing workspaces with mod0 + scroll or arrows
|
|
bind = SUPER, mouse_down, workspace, +1
|
|
bind = SUPER, mouse_up, workspace, -1
|
|
bind = SUPER, l, workspace, +1
|
|
bind = SUPER, h, workspace, -1
|
|
|
|
bind = SUPER SHIFT, mouse_down, movetoworkspace, +1
|
|
bind = SUPER SHIFT, mouse_up, movetoworkspace, -1
|
|
bind = SUPER SHIFT, right, movetoworkspace, +1
|
|
bind = SUPER SHIFT, left, movetoworkspace, -1
|
|
|
|
# floating windows
|
|
bind = ALT, V, togglefloating,
|
|
bind = ALT, Y, togglesplit
|
|
binde = ALT_CTRL, K, resizeactive, 40 0
|
|
binde = ALT_CTRL, J, resizeactive, -40 0
|
|
binde = ALT_SHIFT, K, resizeactive, 40 0
|
|
binde = ALT_SHIFT, J, resizeactive, -40 0
|
|
|
|
# Move/resize windows with mouse
|
|
bindm = ALT, mouse:272, movewindow
|
|
bindm = ALT, mouse:273, resizewindow
|
|
|
|
# Audio control
|
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|