Fix program launch / session control to work with uwsm

This commit is contained in:
Sravan Balaji
2025-04-27 08:26:24 -04:00
parent 67795dc5b0
commit 62e5a7a23b
2 changed files with 32 additions and 28 deletions

View File

@@ -294,6 +294,10 @@ device {
- [[https://wiki.hyprland.org/Configuring/Keywords/][Hyprland Wiki - Configuring - Keywords]]
- [[https://wiki.hyprland.org/Configuring/Binds/][Hyprland Wiki - Configuring - Binds]]
#+BEGIN_EXAMPLE
bind = MODS, key, dispatcher, params
#+END_EXAMPLE
*** Mod Key
#+BEGIN_SRC conf :tangle hyprland.conf
@@ -303,25 +307,25 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
*** Session Control
#+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod SHIFT, Q, exit,
bind = $mainMod SHIFT, Q, exec, loginctl terminate-user ""
#+END_SRC
*** Launch Programs
#+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, P, exec, $menu
bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal
bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, P, exec, uwsm app -- $menu
#+END_SRC
*** Control Windows / Layout
#+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod SHIFT, C, killactive
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, F, togglefloating,
bind = $mainMod, D, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle
bind = $mainMod, F, togglefloating
bind = $mainMod, D, pseudo # dwindle
bind = $mainMod, S, togglesplit # dwindle
#+END_SRC
*** Move Focus

View File

@@ -114,17 +114,17 @@ gestures {
$mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod SHIFT, Q, exit,
bind = $mainMod SHIFT, Q, exec, loginctl terminate-user ""
bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, P, exec, $menu
bind = $mainMod SHIFT, Return, exec, uwsm app -- $terminal
bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, P, exec, uwsm app -- $menu
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod SHIFT, C, killactive
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, F, togglefloating,
bind = $mainMod, D, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle
bind = $mainMod, F, togglefloating
bind = $mainMod, D, pseudo # dwindle
bind = $mainMod, S, togglesplit # dwindle
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r