2023-10-19 09:57:45 +02:00
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
|
|
$mainMod = SUPER
|
|
|
|
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
|
|
bind = $mainMod, RETURN, exec, $terminal
|
2024-01-04 10:14:02 +01:00
|
|
|
bind = $mainMod, Q, hy3:killactive,
|
|
|
|
bind = $mainMod SHIFT, Q, exit,
|
2023-11-26 19:50:13 +01:00
|
|
|
bind = $mainMod, N, exec, thunar
|
2023-11-28 18:27:31 +01:00
|
|
|
bind = $mainMod, M, exec, prismlauncher
|
2023-10-19 09:57:45 +02:00
|
|
|
bind = $mainMod, B, exec, firefox
|
2023-11-12 12:05:58 +01:00
|
|
|
bind = $mainMod, O, exec, obsidian
|
2023-10-19 09:57:45 +02:00
|
|
|
bind = $mainMod SHIFT, SPACE, togglefloating,
|
|
|
|
bind = $mainMod, R, exec, wofi --show drun
|
|
|
|
bind = $mainMod, P, pseudo, # dwindle
|
|
|
|
bind = $mainMod, J, togglesplit, # dwindle
|
2023-10-19 13:26:12 +02:00
|
|
|
bind = $mainMod, L, exec, swaylock-hyprland
|
2023-11-21 13:34:32 +01:00
|
|
|
bind = $mainMod, U, exec, ~/.local/bin/uwu-launcher
|
2023-10-19 09:57:45 +02:00
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
bind = $mainMod, F6, exec, grim -g "$(slurp)" - | wl-copy
|
2023-11-13 11:01:53 +01:00
|
|
|
# Color picker
|
|
|
|
bind = $mainMod, DOLLAR, exec, hyprpicker --autocopy
|
2023-10-19 09:57:45 +02:00
|
|
|
|
|
|
|
# ROG G15 Strix (2021) Specific binds
|
|
|
|
# bind = ,156, exec, rog-control-center # ASUS Armory crate key
|
|
|
|
|
|
|
|
bind = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # Speaker Mute FN+F1
|
|
|
|
bind = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower # Volume lower key
|
|
|
|
bind = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise # Volume Higher key
|
|
|
|
bind = ,XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle # Mic mute key
|
|
|
|
|
|
|
|
bind = ,XF86MonBrightnessDown, exec, swayosd-client --brightness lower # Screen brightness down FN+F7
|
|
|
|
bind = ,XF86MonBrightnessUp, exec, swayosd-client --brightness raise # Screen brightness up FN+F8
|
|
|
|
bind = ,237, exec, brightnessctl -d asus::kbd_backlight set 33%- # Keyboard brightness down FN+F2
|
|
|
|
bind = ,238, exec, brightnessctl -d asus::kbd_backlight set 33%+ # Keyboard brightnes up FN+F3
|
2023-10-29 12:29:57 +01:00
|
|
|
bind = ,XF86TouchpadToggle, exec, ~/.local/bin/wtoggle-touchpad
|
2023-10-19 09:57:45 +02:00
|
|
|
bind = ,XF86Sleep, exec, ~/.local/bin/togglescreen
|
|
|
|
# Led profile
|
|
|
|
bind = ,XF86Launch3, exec, asusctl led-mode -n
|
|
|
|
# Wayland gamemode
|
|
|
|
bind = WIN, F5, exec, ~/.config/hypr/gamemode.sh
|
|
|
|
|
|
|
|
# Waybar
|
|
|
|
bind = $mainMod, 64, exec, pkill -SIGUSR1 '^waybar$'
|
|
|
|
|
|
|
|
# Audio controls
|
|
|
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
bind = , XF86AudioPause, exec, playerctl pause-pause
|
|
|
|
bind = , XF86AudioNext, exec, playerctl next
|
|
|
|
bind = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
|
2024-01-04 10:14:02 +01:00
|
|
|
# Hy3 controls
|
|
|
|
bind = $mainMod, d, hy3:makegroup, h, ephemeral
|
|
|
|
bind = $mainMod+SHIFT, d, hy3:makegroup, v, ephemeral
|
|
|
|
bind = $mainMod, z, hy3:makegroup, tab, ephemeral
|
|
|
|
bind = $mainMod, a, hy3:changefocus, raise
|
|
|
|
bind = $mainMod+SHIFT, a, hy3:changefocus, lower
|
|
|
|
bind = $mainMod, s, hy3:changegroup, toggletab
|
|
|
|
bind = $mainMod, e, hy3:changegroup, opposite
|
|
|
|
|
|
|
|
# Moving focus
|
|
|
|
bind = $mainMod, left, hy3:movefocus, l
|
|
|
|
bind = $mainMod, right, hy3:movefocus, r
|
|
|
|
bind = $mainMod, up, hy3:movefocus, u
|
|
|
|
bind = $mainMod, down, hy3:movefocus, d
|
|
|
|
|
|
|
|
# Moving focus visible
|
|
|
|
bind = $mainMod+CONTROL, left, hy3:movefocus, l, visible
|
|
|
|
bind = $mainMod+CONTROL, down, hy3:movefocus, d, visible
|
|
|
|
bind = $mainMod+CONTROL, up, hy3:movefocus, u, visible
|
|
|
|
bind = $mainMod+CONTROL, right, hy3:movefocus, r, visible
|
2023-10-19 09:57:45 +02:00
|
|
|
|
|
|
|
# Moving windows
|
2024-01-04 10:14:02 +01:00
|
|
|
bind = $mainMod SHIFT, left, hy3:movewindow, l, once
|
|
|
|
bind = $mainMod SHIFT, right, hy3:movewindow, r, once
|
|
|
|
bind = $mainMod SHIFT, up, hy3:movewindow, u, once
|
|
|
|
bind = $mainMod SHIFT, down, hy3:movewindow, d, once
|
|
|
|
|
|
|
|
# Moving windows visible
|
|
|
|
bind = $mainMod+CONTROL+SHIFT, left, hy3:movewindow, l, once, visible
|
|
|
|
bind = $mainMod+CONTROL+SHIFT, down, hy3:movewindow, d, once, visible
|
|
|
|
bind = $mainMod+CONTROL+SHIFT, up, hy3:movewindow, u, once, visible
|
|
|
|
bind = $mainMod+CONTROL+SHIFT, right, hy3:movewindow, r, once, visible
|
2023-10-19 09:57:45 +02:00
|
|
|
|
|
|
|
bind = $mainMod, 10, workspace, 1
|
|
|
|
bind = $mainMod, 11, workspace, 2
|
|
|
|
bind = $mainMod, 12, workspace, 3
|
|
|
|
bind = $mainMod, 13, workspace, 4
|
|
|
|
bind = $mainMod, 14, workspace, 5
|
|
|
|
bind = $mainMod, 15, workspace, 6
|
|
|
|
bind = $mainMod, 16, workspace, 7
|
|
|
|
bind = $mainMod, 17, workspace, 8
|
|
|
|
bind = $mainMod, 18, workspace, 9
|
|
|
|
bind = $mainMod, 19, workspace, 10
|
|
|
|
|
|
|
|
# Moving to workspaces
|
|
|
|
bind = $mainMod SHIFT, 10, movetoworkspacesilent, 1
|
|
|
|
bind = $mainMod SHIFT, 11, movetoworkspacesilent, 2
|
|
|
|
bind = $mainMod SHIFT, 12, movetoworkspacesilent, 3
|
|
|
|
bind = $mainMod SHIFT, 13, movetoworkspacesilent, 4
|
|
|
|
bind = $mainMod SHIFT, 14, movetoworkspacesilent, 5
|
|
|
|
bind = $mainMod SHIFT, 15, movetoworkspacesilent, 6
|
|
|
|
bind = $mainMod SHIFT, 16, movetoworkspacesilent, 7
|
|
|
|
bind = $mainMod SHIFT, 17, movetoworkspacesilent, 8
|
|
|
|
bind = $mainMod SHIFT, 18, movetoworkspacesilent, 9
|
|
|
|
bind = $mainMod SHIFT, 19, movetoworkspacesilent, 10
|
|
|
|
|
2024-01-04 10:14:02 +01:00
|
|
|
bind = $mainMod+CONTROL, 10, hy3:focustab, index, 01
|
|
|
|
bind = $mainMod+CONTROL, 11, hy3:focustab, index, 02
|
|
|
|
bind = $mainMod+CONTROL, 12, hy3:focustab, index, 03
|
|
|
|
bind = $mainMod+CONTROL, 13, hy3:focustab, index, 04
|
|
|
|
bind = $mainMod+CONTROL, 14, hy3:focustab, index, 05
|
|
|
|
bind = $mainMod+CONTROL, 15, hy3:focustab, index, 06
|
|
|
|
bind = $mainMod+CONTROL, 16, hy3:focustab, index, 07
|
|
|
|
bind = $mainMod+CONTROL, 17, hy3:focustab, index, 08
|
|
|
|
bind = $mainMod+CONTROL, 18, hy3:focustab, index, 09
|
|
|
|
bind = $mainMod+CONTROL, 19, hy3:focustab, index, 10
|
|
|
|
|
2023-10-19 09:57:45 +02:00
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
|
|
bind = $mainMod, mouse_down, workspace, e+1
|
|
|
|
bind = $mainMod, mouse_up, workspace, e-1
|
|
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
|
|
bindm = $mainMod, mouse:273, resizewindow
|
2024-01-04 10:14:02 +01:00
|
|
|
bindn = , mouse:272, hy3:focustab, mouse
|
|
|
|
|
|
|
|
bindn = , mouse_down, hy3:focustab, l, require_hovered
|
|
|
|
bindn = , mouse_up, hy3:focustab, r, require_hovered
|
2023-10-19 09:57:45 +02:00
|
|
|
|
|
|
|
# Fullscreen
|
|
|
|
bind = $mainMod, F, fullscreen
|