more to be fix on niri
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"custom/mediaplayer"
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["group/monitors", "custom/separator", "group/tray-expander", "idle_inhibitor", "custom/power"],
|
||||
"modules-right": ["group/monitors", "custom/separator", "group/tray-expander", "custom/caffeine", "custom/power"],
|
||||
// -------------------------------------------------------------------------
|
||||
// Modules
|
||||
// -------------------------------------------------------------------------
|
||||
@@ -53,6 +53,21 @@
|
||||
"min-length": 2,
|
||||
"max-length": 2
|
||||
},
|
||||
"custom/caffeine": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"inactive": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"interval": "once",
|
||||
"exec": "$HOME/.config/waybar/modules/caffeine.sh",
|
||||
"on-click": "$HOME/.config/waybar/modules/caffeine.sh toggle && sleep 0.2",
|
||||
"exec-on-event": true,
|
||||
"tooltip": false,
|
||||
"min-length": 2,
|
||||
"max-length": 2
|
||||
},
|
||||
// Time and Date
|
||||
"clock": {
|
||||
"format": "{:%H:%M | %e %b}",
|
||||
@@ -166,7 +181,7 @@
|
||||
"max-length": 6,
|
||||
"min-length": 6
|
||||
},
|
||||
// Hyprland
|
||||
// Niri
|
||||
"group/workspaceactions": {
|
||||
"modules": ["niri/workspaces", "custom/workspacenew"],
|
||||
"orientation": "inherit"
|
||||
|
||||
Reference in New Issue
Block a user