$main = SUPER # Apps bind = $main, B, exec, $browser bind = $main, D, exec, $editor bind = $main, E, exec, $files bind = $main, L, exec, $lockscreen bind = $main, T, exec, $terminal bind = $main, M, exec, pkill $statusbar || $statusbar bind = $main, Space, exec, $menu bind = $main SHIFT, T, exec, [float;size 960 540;center] $terminal bind = , Print, exec, $screenshot # Window management bind = $main, C, killactive, bind = $main, F, fullscreen, bind = $main, V, togglefloating, bind = $main, P, pseudo, 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 # 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 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, Z, togglespecialworkspace, magic bind = $main SHIFT, Z, 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