Fix duplicate hyprland binds, add kmonad config for Northstar

This commit is contained in:
Evie Litherland-Smith 2023-11-11 08:33:22 +00:00
parent 72f0c6f742
commit 135c87d5a5
2 changed files with 31 additions and 12 deletions

View file

@ -174,18 +174,6 @@ in ''
bind = SUPER, F, workspace, 3 bind = SUPER, F, workspace, 3
bind = SUPER SHIFT, F, movetoworkspace, 3 bind = SUPER SHIFT, F, movetoworkspace, 3
bind = SUPER, J, moveworkspacetomonitor, 4 current
bind = SUPER, J, workspace, 4
bind = SUPER SHIFT, J, movetoworkspace, 4
bind = SUPER, K, moveworkspacetomonitor, 5 current
bind = SUPER, K, workspace, 5
bind = SUPER SHIFT, K, movetoworkspace, 5
bind = SUPER, L, moveworkspacetomonitor, 6 current
bind = SUPER, L, workspace, 6
bind = SUPER SHIFT, L, movetoworkspace, 6
# Special workspaces # Special workspaces
bind = SUPER, comma, workspace, m-1 bind = SUPER, comma, workspace, m-1
bind = SUPER SHIFT, comma, movetoworkspace, r-1 bind = SUPER SHIFT, comma, movetoworkspace, r-1

View file

@ -0,0 +1,31 @@
(defcfg
;; For Linux
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "My KMonad output")
;; Comment this if you want unhandled events not to be emitted
fallthrough true
;; Set this to false to disable any command-execution in KMonad
allow-cmd false
)
(defsrc
a s d f g h j k l ;
)
(defalias
met_a (tap-hold-next-release 200 a lmet)
alt_s (tap-hold-next-release 200 s lalt)
ctl_d (tap-hold-next-release 200 d lctl)
sft_f (tap-hold-next-release 200 f lsft)
sft_j (tap-hold-next-release 200 j rsft)
ctl_k (tap-hold-next-release 200 k rctl)
alt_l (tap-hold-next-release 200 l lalt)
met_; (tap-hold-next-release 200 ; rmet)
)
(deflayer homerowmods
@met_a @alt_s @ctl_d @sft_f g h @sft_j @ctl_k @alt_l @met_;
)