Integrate with new Hyprsome functionality

This commit is contained in:
Thomas Avé 2023-12-02 13:55:28 +01:00
parent dcd09dee2a
commit e78cec1387
2 changed files with 13 additions and 12 deletions

View File

@ -48,6 +48,7 @@ input {
kb_layout = us
follow_mouse = 1
kb_options = compose:rctrl
numlock_by_default = true
}
general {
@ -159,23 +160,23 @@ bind = $mainMod, 7, exec, hyprsome workspace 7
bind = $mainMod, 8, exec, hyprsome workspace 8
bind = $mainMod, 9, exec, hyprsome workspace 9
bind = $mainMod SHIFT, 1, exec, hyprsome move 1
bind = $mainMod SHIFT, 2, exec, hyprsome move 2
bind = $mainMod SHIFT, 3, exec, hyprsome move 3
bind = $mainMod SHIFT, 4, exec, hyprsome move 4
bind = $mainMod SHIFT, 5, exec, hyprsome move 5
bind = $mainMod SHIFT, 6, exec, hyprsome move 6
bind = $mainMod SHIFT, 7, exec, hyprsome move 7
bind = $mainMod SHIFT, 8, exec, hyprsome move 8
bind = $mainMod SHIFT, 9, exec, hyprsome move 9
bind = $mainMod SHIFT, 1, exec, hyprsome movefocus 1
bind = $mainMod SHIFT, 2, exec, hyprsome movefocus 2
bind = $mainMod SHIFT, 3, exec, hyprsome movefocus 3
bind = $mainMod SHIFT, 4, exec, hyprsome movefocus 4
bind = $mainMod SHIFT, 5, exec, hyprsome movefocus 5
bind = $mainMod SHIFT, 6, exec, hyprsome movefocus 6
bind = $mainMod SHIFT, 7, exec, hyprsome movefocus 7
bind = $mainMod SHIFT, 8, exec, hyprsome movefocus 8
bind = $mainMod SHIFT, 9, exec, hyprsome movefocus 9
bind = $mainMod SHIFT, T, movetoworkspace, empty
bind = $mainMod SHIFT, T, exec, hyprsome move-empty
bind = $mainMod, T, exec, hyprsome focus-empty
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, TAB, workspace, m+1
bind = $mainMod SHIFT, TAB, workspace, m-1
bind = $mainMod, T, workspace, empty
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow

View File

@ -344,7 +344,7 @@ fn main() {
movefocus(&get_empty_workspace());
},
Commands::FocusEmpty => {
send_to_workspace(&get_empty_workspace());
select_workspace(&get_empty_workspace());
},
}
}