$mainMod = SUPER # Program binds bind = $mainMod SHIFT, RETURN, exec, alacritty bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh bind = $mainMod SHIFT, Q, killactive, bind = $mainMod, m, exit, bind = $mainMod, f, togglefloating, # Move focus with mainMod + hjkl bind = $mainMod, h, movefocus, l bind = $mainMod, j, movefocus, u bind = $mainMod, k, movefocus, d bind = $mainMod, l, movefocus, r # Switch workspaces with mainMod + [1-9] bind = $mainMod, 1, focusworkspaceoncurrentmonitor, 1 bind = $mainMod, 2, focusworkspaceoncurrentmonitor, 2 bind = $mainMod, 3, focusworkspaceoncurrentmonitor, 3 bind = $mainMod, 4, focusworkspaceoncurrentmonitor, 4 bind = $mainMod, 5, focusworkspaceoncurrentmonitor, 5 bind = $mainMod, 6, focusworkspaceoncurrentmonitor, 6 bind = $mainMod, 7, focusworkspaceoncurrentmonitor, 7 bind = $mainMod, 8, focusworkspaceoncurrentmonitor, 8 bind = $mainMod, 9, focusworkspaceoncurrentmonitor, 9 # Move active window to a workspace with mainMod + SHIFT + [1-9] 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 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # 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 bind = $mainMod, R, submap, rofi submap = rofi bind = ,B, exec, ~/.config/rofi/bin/bluetooth.sh bind = ,B, submap, reset bind = ,W, exec, ~/.config/rofi/bin/windows.sh bind = ,W, submap, reset bind = ,P, exec, ~/.config/rofi/bin/powermenu.sh bind = ,P, submap, reset bind = ,escape, submap, reset submap = reset