2023-05-25 21:56:50 +02:00
|
|
|
$mmod = SUPER
|
|
|
|
|
$smod = SUPER_SHIFT
|
|
|
|
|
|
|
|
|
|
# Managing windows
|
|
|
|
|
bind = $smod, Q, killactive,
|
|
|
|
|
bind = $smod, Space, togglefloating,
|
|
|
|
|
bind = $smod, F, fullscreen
|
|
|
|
|
bind = $mmod, P, pseudo,
|
|
|
|
|
bind = $mmod, J, togglesplit,
|
|
|
|
|
|
|
|
|
|
# Move window focus
|
|
|
|
|
bind = $mmod, left, movefocus, l
|
|
|
|
|
bind = $mmod, right, movefocus, r
|
|
|
|
|
bind = $mmod, up, movefocus, u
|
|
|
|
|
bind = $mmod, down, movefocus, d
|
|
|
|
|
|
|
|
|
|
# Move windows
|
|
|
|
|
bind = $smod, left, movewindow, l
|
|
|
|
|
bind = $smod, right, movewindow, r
|
|
|
|
|
bind = $smod, up, movewindow, u
|
|
|
|
|
bind = $smod, down, movewindow, d
|
|
|
|
|
|
|
|
|
|
# Launching applications
|
|
|
|
|
bind = $mmod, Return, exec, footclient
|
|
|
|
|
bind = $mmod, F, exec, pkill fsearch; fsearch
|
|
|
|
|
bind = $smod, D, exec, wofi --show drun
|
|
|
|
|
bind = $smod, X, exec, swaylock
|
|
|
|
|
bind = $smod, S, exec, ~/.scripts/grimshot
|
2023-05-28 19:34:31 +02:00
|
|
|
bind = , Print, exec, ~/.scripts/grimshot -f
|
2023-05-25 21:56:50 +02:00
|
|
|
bind = $smod, Escape, exec, ~/.scripts/system/wofi-session
|
|
|
|
|
bindle = , XF86AudioRaiseVolume, exec, swayosd --output-volume raise
|
|
|
|
|
bindle = , XF86AudioLowerVolume, exec, swayosd --output-volume lower
|
|
|
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
|
bind = , Caps_Lock, exec, sleep 0.2 && swayosd --caps-lock
|
|
|
|
|
bind = $mmod, V, exec, clipman pick -t wofi
|
|
|
|
|
bind = $smod, P, exec, ~/.scripts/colorpicker
|
2023-05-28 16:10:20 +02:00
|
|
|
bind = $smod, Tab, exec, footclient -a sysmonitor btm -b
|
2023-05-25 21:56:50 +02:00
|
|
|
|
|
|
|
|
# Change current workspace
|
|
|
|
|
bind = $mmod, 1, exec, hyprsome workspace 1
|
|
|
|
|
bind = $mmod, 2, exec, hyprsome workspace 2
|
|
|
|
|
bind = $mmod, 3, exec, hyprsome workspace 3
|
|
|
|
|
bind = $mmod, 4, exec, hyprsome workspace 4
|
|
|
|
|
bind = $mmod, 5, exec, hyprsome workspace 5
|
2023-05-28 13:46:00 +02:00
|
|
|
bind = $mmod, 6, exec, hyprsome workspace 6
|
2023-05-25 21:56:50 +02:00
|
|
|
|
|
|
|
|
# Move window to specific workspace
|
|
|
|
|
bind = $smod, 1, exec, hyprsome move 1
|
|
|
|
|
bind = $smod, 2, exec, hyprsome move 2
|
|
|
|
|
bind = $smod, 3, exec, hyprsome move 3
|
|
|
|
|
bind = $smod, 4, exec, hyprsome move 4
|
|
|
|
|
bind = $smod, 5, exec, hyprsome move 5
|
2023-05-28 13:46:00 +02:00
|
|
|
bind = $smod, 6, exec, hyprsome move 6
|
2023-05-25 21:56:50 +02:00
|
|
|
|
|
|
|
|
# Scroll through existing workspaces with mmod + scroll
|
|
|
|
|
bind = $mmod, mouse_down, workspace, e+1
|
|
|
|
|
bind = $mmod, mouse_up, workspace, e-1
|
|
|
|
|
|
|
|
|
|
# Move/resize windows with mmod + LMB/RMB and dragging
|
|
|
|
|
bindm = $mmod, mouse:272, movewindow
|
|
|
|
|
bindm = $mmod, mouse:273, resizewindow
|
|
|
|
|
|
|
|
|
|
# Mouse bindings
|