added idle inhibitor
This commit is contained in:
26
config
26
config
@@ -2,7 +2,7 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"margin-bottom": 5,
|
"margin-bottom": 5,
|
||||||
"margin-top": 0,
|
"margin-top": 0,
|
||||||
"modules-left": ["cpu", "memory", "network", "tray"],
|
"modules-left": ["idle_inhibitor", "cpu", "memory", "network", "tray"],
|
||||||
"modules-center": ["hyprland/workspaces"],
|
"modules-center": ["hyprland/workspaces"],
|
||||||
"modules-right": ["backlight", "wireplumber", "clock", "battery", "custom/power"],
|
"modules-right": ["backlight", "wireplumber", "clock", "battery", "custom/power"],
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
"default": ["", "", ""]
|
"default": ["", "", ""]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"wireplumber": {
|
"wireplumber": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"scroll-step": 5,
|
"scroll-step": 5,
|
||||||
@@ -24,8 +25,8 @@
|
|||||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": ["", "", ""]
|
||||||
},
|
},
|
||||||
|
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": "",
|
"format-wifi": "",
|
||||||
"format-ethernet": "",
|
"format-ethernet": "",
|
||||||
//"tooltip-format": "{essid} ({signalStrength}%)",
|
//"tooltip-format": "{essid} ({signalStrength}%)",
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
"format-alt": "{ifname}: {essid}"
|
"format-alt": "{ifname}: {essid}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format": " {}%",
|
"format": " {}%",
|
||||||
@@ -41,6 +43,7 @@
|
|||||||
"on-scroll-up": "brightnessctl -q set +5%",
|
"on-scroll-up": "brightnessctl -q set +5%",
|
||||||
"on-scroll-down": "brightnessctl -q set 5%-"
|
"on-scroll-down": "brightnessctl -q set 5%-"
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
"good": 90,
|
"good": 90,
|
||||||
@@ -54,31 +57,40 @@
|
|||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray":{
|
"tray":{
|
||||||
"icon-size":18,
|
"icon-size":18,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": " {:%H:%M 📅 %d.%m.%y}",
|
"format": " {:%H:%M 📅 %d.%m.%y}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 15,
|
"interval": 15,
|
||||||
"format": " {}%",
|
"format": " {}%",
|
||||||
"max-length": 10
|
"max-length": 10
|
||||||
},
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " {}%",
|
"format": " {}%",
|
||||||
"max-length": 10
|
"max-length": 10
|
||||||
},
|
},
|
||||||
//"custom/power":{
|
|
||||||
// "format": " ",
|
|
||||||
// "on-click": "bash ~/.config/rofi/leave/leave.sh",
|
|
||||||
//},
|
|
||||||
// The code following below is given in the great documentation for Waybar status bar under Useful Utilities in Hyprland wiki
|
|
||||||
"hyrpland/workspaces": {
|
"hyrpland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "activate"
|
"on-click": "activate"
|
||||||
|
},
|
||||||
|
|
||||||
|
"idle_inhibitor": {
|
||||||
|
//"timeout": 30.5,
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user