Add 5 widgets inspired by Noctalia: activeWindow, nightLight, keyboardLayout, lockKeys, spacer
- activeWindow: shows the focused toplevel title from Quickshell.Wayland ToplevelManager. Left-click activates, middle-click closes, right-click killactive. Hidden in vertical bars to avoid title rotation noise. - nightLight: toggles omarchy-toggle-nightlight; status detected via pgrep hyprsunset. Hides when hyprsunset isn't installed. - keyboardLayout: shows current xkb layout short code, click cycles via hyprctl switchxkblayout. Refreshes on Hyprland activelayout events. - lockKeys: caps/num/scroll lock indicators read from /sys/class/leds. Uses plain A/1/S letters; hides each indicator when off. - spacer: configurable blank space (size) for layout tuning. Defaults add activeWindow to the left section and nightLight to the right section between audioPanel and brightness.
This commit is contained in:
@@ -274,7 +274,12 @@ ShellRoot {
|
||||
"powerMenu": true,
|
||||
"idleInhibitor": true,
|
||||
"microphone": true,
|
||||
"notificationCenter": true
|
||||
"notificationCenter": true,
|
||||
"activeWindow": true,
|
||||
"nightLight": true,
|
||||
"keyboardLayout": true,
|
||||
"lockKeys": true,
|
||||
"spacer": true
|
||||
})
|
||||
|
||||
function firstPartyWidgetSource(name) {
|
||||
|
||||
Reference in New Issue
Block a user