mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Add powerprofile toggle and indicator
This commit is contained in:
@ -12,7 +12,8 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
"network",
|
||||||
"cpu",
|
"cpu",
|
||||||
"battery"
|
"battery",
|
||||||
|
"power-profiles-daemon"
|
||||||
],
|
],
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
@ -52,7 +53,7 @@
|
|||||||
"network": {
|
"network": {
|
||||||
"format-icons": ["","","","",""],
|
"format-icons": ["","","","",""],
|
||||||
"format-wifi" : "{bandwidthDownBytes} {icon}",
|
"format-wifi" : "{bandwidthDownBytes} {icon}",
|
||||||
"format-ethernet" : "{bandwidthDownBytes} {icon}",
|
"format-ethernet" : "{bandwidthDownBytes} ",
|
||||||
"format-disconnected" : "",
|
"format-disconnected" : "",
|
||||||
"tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
"tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||||
"tooltip-format-ethernet": "{icon} {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
"tooltip-format-ethernet": "{icon} {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||||
@ -81,5 +82,15 @@
|
|||||||
"warning": 20,
|
"warning": 20,
|
||||||
"critical": 10
|
"critical": 10
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"power-saver": "",
|
||||||
|
"balanced": "",
|
||||||
|
"performance": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cpu,
|
#cpu,
|
||||||
|
#power-profiles-daemon,
|
||||||
#battery,
|
#battery,
|
||||||
#network,
|
#network,
|
||||||
#clock {
|
#clock {
|
||||||
@ -29,7 +30,7 @@
|
|||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#power-profiles-daemon {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user