feat(waybar): move custom\pacman module in group-system

This commit is contained in:
2025-09-19 16:24:21 +02:00
parent 4df06b6d77
commit 264aecaf3c
2 changed files with 10 additions and 31 deletions

View File

@@ -8,7 +8,6 @@
"modules-left": ["sway/workspaces", "sway/mode", "mpris"], "modules-left": ["sway/workspaces", "sway/mode", "mpris"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": [ "modules-right": [
"custom/pacman",
"privacy", "privacy",
"group/system", "group/system",
"group/misc", "group/misc",
@@ -16,7 +15,7 @@
], ],
"group/system": { "group/system": {
"orientation": "inherit", "orientation": "inherit",
"modules": ["memory", "disk", "cpu"] "modules": ["custom/pacman", "memory", "disk", "cpu"]
}, },
"group/misc": { "group/misc": {
"orientation": "inherit", "orientation": "inherit",

View File

@@ -15,7 +15,7 @@ tooltip label {
border-radius: 10px; border-radius: 10px;
} }
#connections { #connections, #misc, #system {
border-radius: 10px; border-radius: 10px;
background-color: #383c4a; background-color: #383c4a;
color: #ffffff; color: #ffffff;
@@ -24,25 +24,6 @@ tooltip label {
padding-right: 8px; padding-right: 8px;
} }
#misc {
border-radius: 10px;
background-color: #383c4a;
color: #ffffff;
margin-left: 4px;
padding-left: 8px;
padding-right: 8px;
}
#system {
border-radius: 10px;
background-color: #383c4a;
color: #ffffff;
margin-left: 4px;
padding-left: 8px;
padding-right: 8px;
}
#custom-pacman,
#mode, #mode,
#clock, #clock,
#workspaces, #workspaces,
@@ -55,11 +36,6 @@ tooltip label {
color: #ffffff; color: #ffffff;
} }
#custom-pacman {
background-color: #32e47c;
color: #383c4a;
}
#privacy { #privacy {
background-color: #e63946; background-color: #e63946;
} }
@@ -101,7 +77,6 @@ tooltip label {
100% { background-position: 0% 50%; } 100% { background-position: 0% 50%; }
} }
#custom-pacman,
#mode, #mode,
#mpris, #mpris,
#custom-power, #custom-power,
@@ -109,15 +84,12 @@ tooltip label {
margin-left: 4px; margin-left: 4px;
} }
#custom-pacman,
#mode, #mode,
#clock, #clock,
#privacy, #privacy,
#mpris, #mpris,
#custom-power, #custom-power,
#workspaces button { #workspaces button {
padding-top: 4px;
padding-bottom: 4px;
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }
@@ -127,6 +99,7 @@ tooltip label {
#memory, #memory,
#disk, #disk,
#backlight, #backlight,
#battery,
#bluetooth { #bluetooth {
padding-right: 8px; padding-right: 8px;
} }
@@ -171,3 +144,10 @@ tooltip label {
#custom-recorder.active { #custom-recorder.active {
color: #e63946; color: #e63946;
} }
#custom-pacman {
color: #32e47c;
padding-top: 4px;
padding-bottom: 4px;
padding-right: 8px;
}