finish hyprland
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
"position": "top",
|
||||
"height": 35,
|
||||
"spacing": 0,
|
||||
"modules-left": ["clock", "sway/workspaces","sway/mode"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-left": ["clock", "hyprland/workspaces"],
|
||||
"modules-center": [ ],
|
||||
"modules-right": ["network", "cpu", "memory", "custom/keyboard-layout", "pulseaudio", "tray"],
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"interval": 1,
|
||||
"exec": "swaymsg -t get_inputs | jq -r '.[] | select(.type == \"keyboard\") | .xkb_active_layout_name'"
|
||||
"exec": "hyprctl devices -j | jq -r '.keyboards[] | .active_keymap' | head -n1 | cut -c1-2 | tr 'a-z' 'A-Z"
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user