93 lines
2.9 KiB
Plaintext
93 lines
2.9 KiB
Plaintext
$main = SUPER
|
|
|
|
# Apps
|
|
bind = $main, B, exec, $browser
|
|
bind = $main, D, exec, $editor
|
|
bind = $main, E, exec, $files
|
|
bind = $main, F1, exec, $systeminfo
|
|
bind = $main, L, exec, $lockscreen
|
|
bind = $main, P, exec, $processmonitor
|
|
bind = $main, Return, exec, $floating
|
|
bind = $main, S, exec, pkill $statusbar || $statusbar
|
|
bind = $main, Super_L, exec, pkill $menu || $menu
|
|
bind = $main, T, exec, $terminal
|
|
bind = $main, W, exec, $wallpaper
|
|
bind = , Print, exec, $screenshot
|
|
|
|
# Window management
|
|
bind = $main, C, killactive,
|
|
bind = $main, F, fullscreen,
|
|
bind = $main, V, togglefloating,
|
|
bind = $main, J, togglesplit,
|
|
|
|
# Session management
|
|
bind = $main, Backspace, exit,
|
|
bind = $main, F12, exec, $logout
|
|
|
|
# Window focus
|
|
bind = $main, left, movefocus, l
|
|
bind = $main, right, movefocus, r
|
|
bind = $main, up, movefocus, u
|
|
bind = $main, down, movefocus, d
|
|
|
|
# Window resizing
|
|
binde = $main SHIFT, left, resizeactive, -10 0
|
|
binde = $main SHIFT, right, resizeactive, 10 0
|
|
binde = $main SHIFT, up, resizeactive, 0 -10
|
|
binde = $main SHIFT, down, resizeactive, 0 10
|
|
|
|
# Switch workspaces with numpad
|
|
bind =, KP_Home, workspace, 1
|
|
bind =, KP_Up, workspace, 2
|
|
bind =, KP_Prior, workspace, 3
|
|
bind =, KP_Left, workspace, 4
|
|
bind =, KP_Begin, workspace, 5
|
|
bind =, KP_Right, workspace, 6
|
|
bind =, KP_End, workspace, 7
|
|
bind =, KP_Down, workspace, 8
|
|
bind =, KP_Next, workspace, 9
|
|
|
|
# Move window to a specific workspace with numpad
|
|
bind = $main, KP_Home, movetoworkspace, 1
|
|
bind = $main, KP_Up, movetoworkspace, 2
|
|
bind = $main, KP_Prior, movetoworkspace, 3
|
|
bind = $main, KP_Left, movetoworkspace, 4
|
|
bind = $main, KP_Begin, movetoworkspace, 5
|
|
bind = $main, KP_Right, movetoworkspace, 6
|
|
bind = $main, KP_End, movetoworkspace, 7
|
|
bind = $main, KP_Down, movetoworkspace, 8
|
|
bind = $main, KP_Next, movetoworkspace, 9
|
|
|
|
# Move window to a specific workspace with numbers
|
|
bind = $main, 1, movetoworkspace, 1
|
|
bind = $main, 2, movetoworkspace, 2
|
|
bind = $main, 3, movetoworkspace, 3
|
|
bind = $main, 4, movetoworkspace, 4
|
|
bind = $main, 5, movetoworkspace, 5
|
|
bind = $main, 6, movetoworkspace, 6
|
|
bind = $main, 7, movetoworkspace, 7
|
|
bind = $main, 8, movetoworkspace, 8
|
|
bind = $main, 9, movetoworkspace, 9
|
|
|
|
# Move window to an adjacent workspace
|
|
bind = $main ALT, right, movetoworkspace, +1
|
|
bind = $main ALT, left, movetoworkspace, -1
|
|
|
|
# Special workspace (scratchpad)
|
|
bind = $main, F9, togglespecialworkspace, magic
|
|
bind = $main SHIFT, F9, movetoworkspace, special:magic
|
|
|
|
# Move and resize windows (main + LMB/RMB and drag)
|
|
bindm = $main, mouse:272, movewindow
|
|
bindm = $main, mouse:273, resizewindow
|
|
|
|
# Media player control
|
|
bindl =, XF86AudioPlay, exec, playerctl play-pause
|
|
bindl =, XF86AudioNext, exec, playerctl next
|
|
bindl =, XF86AudioPrev, exec, playerctl previous
|
|
|
|
# Volume control
|
|
bindle =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+
|
|
bindle =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-
|
|
bindl =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|