84 lines
3 KiB
Text
Executable file
84 lines
3 KiB
Text
Executable file
$mainMod = SUPER
|
|
$scripts = ~/.config/scripts/
|
|
|
|
bind = CTRL ALT, T, exec, kitty
|
|
bind = $mainMod, Return, exec, kitty
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
|
bind = $mainMod, E, exec, thunar
|
|
bind = $mainMod, V, togglefloating,
|
|
bind = ALT, SPACE, exec, rofi -config ~/.config/rofi/apps.rasi -show drun
|
|
bind = $mainMod ALT, W, exec, $scripts/waybarRestart.sh
|
|
bind = $mainMod, P, pseudo, # dwindle
|
|
bind = $mainMod, S, togglesplit, # dwindle
|
|
bind = CTRL&$mainMod&SHIFT, L, exec, swaylock
|
|
bind = $mainMod SHIFT, s, exec, hyprshot -m region --clipboard-only --freeze
|
|
bind = CTRL SHIFT, s, exec, hyprshot -m window --clipboard-only --freeze
|
|
bind = CTRL SHIFT $mainMod, s, exec, hyprshot -m output --clipboard-only --freeze
|
|
bind = $mainMod, PERIOD, exec, flatpak run it.mijorus.smile
|
|
bind = $mainMod, X, exec, sleep 0.1 && swaync-client -t -sw
|
|
bind = $mainMod SHIFT, C, centerwindow
|
|
bind = ,F11, fullscreen
|
|
|
|
# Cycle windows
|
|
bind = ALT, TAB, cyclenext
|
|
bind = ALT, TAB, bringactivetotop
|
|
|
|
bind = $mainMod, F, exec, firefox
|
|
bind = $mainMod, C, exec, NIXOS_OZONE_WL=1 code
|
|
|
|
bind = $mainMod, h, movefocus, l
|
|
bind = $mainMod, l, movefocus, r
|
|
bind = $mainMod, k, movefocus, u
|
|
bind = $mainMod, j, movefocus, d
|
|
|
|
# Workspace Scroll
|
|
bind = $mainMod, mouse_down, workspace, e-1
|
|
bind = $mainMod, mouse_up, workspace, e+1
|
|
|
|
bind = $mainMod, 1, workspace, 1
|
|
bind = $mainMod, 2, workspace, 2
|
|
bind = $mainMod, 3, workspace, 3
|
|
bind = $mainMod, 4, workspace, 4
|
|
bind = $mainMod, 5, workspace, 5
|
|
bind = $mainMod, 6, workspace, 6
|
|
bind = $mainMod, 7, workspace, 7
|
|
bind = $mainMod, 8, workspace, 8
|
|
bind = $mainMod, 9, workspace, 9
|
|
bind = $mainMod, 0, workspace, 10
|
|
|
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
|
|
bind = $mainMod CTRL, l, resizeactive, 10 0
|
|
bind = $mainMod CTRL, h, resizeactive, -10 0
|
|
bind = $mainMod CTRL, k, resizeactive, 0 -10
|
|
bind = $mainMod CTRL, j, resizeactive, 0 10
|
|
|
|
bind = $mainMod SHIFT, l, movewindow, r
|
|
bind = $mainMod SHIFT, h, movewindow, l
|
|
bind = $mainMod SHIFT, k, movewindow, u
|
|
bind = $mainMod SHIFT, j, movewindow, d
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# Media
|
|
bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 2%+
|
|
bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 2%-
|
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
|
bind = ,XF86AudioNext, exec, playerctl next
|
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
|
bind = ,XF86AudioStop, exec, playerctl stop
|
|
bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
|
|