Disable donation popup and add idle inibithor on waybar

This commit is contained in:
2025-01-31 15:18:26 +01:00
parent 7aa670b28f
commit ab6dc1df31
3 changed files with 15 additions and 11 deletions

View File

@@ -9,7 +9,9 @@
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
ecosystem {
no_donation_nag = true
}
# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,preferred,auto,auto

View File

@@ -10,7 +10,7 @@
"modules-left": ["tray"],
//"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
//"modules-center": [""],
"modules-center": ["pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery"],
"modules-center": ["pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "idle_inhibitor"],
"modules-right": ["clock", "custom/power"],
//"modules-right": ["tray", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "custom/power"],
// Modules configuration
@@ -57,13 +57,13 @@
// "tooltip": true,
// "tooltip-format": "{app}: {title}"
//},
//"idle_inhibitor": {
// "format": "{icon}",
// "format-icons": {
// "activated": "",
// "deactivated": ""
// }
//},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
//"icon-size": 18,
"spacing": 10

View File

@@ -247,12 +247,14 @@ label:focus {
}
#idle_inhibitor {
background-color: #2d3436;
background-color: rgba(10, 10, 10, 0.95);
transition-property: background-color;
transition-duration: 1s;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
color: rgba(10, 10, 10, 0.95);
}
#mpd {