Add hyprstack config

This commit is contained in:
2024-07-06 12:59:14 +03:00
parent ead8c1df03
commit b820d657ee
32 changed files with 1417 additions and 0 deletions
@@ -0,0 +1,12 @@
(defwidget kbd-layout []
(box
:orientation "h"
:space-evenly false
:halign "center"
(eventbox :cursor "pointer" :class "interactive" :onclick "hyprctl switchxkblayout usb-hid-keyboard next"
(label :text {keyboard-layout} :class "kbd-layout")
)
)
)
(deflisten keyboard-layout :initial "en" "python ./lib/get-kb-layout.py")