Compare commits

...

3 Commits

@ -270,3 +270,6 @@ for_window [title="^Android Emulator - .*"] floating enable
exec --no-startup-id /usr/bin/dunst
# Autostart .desktop
exec --no-startup-id "dex -a"
# Fix the 'regression' of i3 4.21 that let windows display their decorator
for_window [all] border pixel

@ -0,0 +1,37 @@
(defcfg
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "KMonad output")
fallthrough true
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
tab q w e r t y u i o p [ ] ret del end pgdn kp7 kp8 kp9 kp+
caps a s d f g h j k l ; ' \ kp4 kp5 kp6
lsft 102d z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
)
(defalias
sl (sticky-key 600 lsft)
spc (tap-hold 200 spc (layer-toggle space))
)
(deflayer base
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@sl _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ @spc _ _ _ _ _ _ _ _ _
)
(deflayer space
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
esc _ _ _ _ _ _ _ . _ _ home end _ _ _ _ _ _ _ _
_ _ _ _ _ _ left down up rght _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
)

@ -0,0 +1,11 @@
[Unit]
Description=kmonad keyboard config
[Service]
Restart=always
RestartSec=3
ExecStart=/usr/bin/kmonad %E/kmonad/config.kbd
Nice=-20
[Install]
WantedBy=default.target

@ -2,4 +2,4 @@
Description=Write the number of pending updates in /run/user/%U/pending-updates
[Service]
ExecStart=/bin/sh -c 'checkupdates | wc -l > /run/user/%U/pending-updates'
ExecStart=/bin/sh -c '(checkupdates; checkupdates-aur) | wc -l > /run/user/%U/pending-updates'

Loading…
Cancel
Save