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-center": ["clock"],
"modules-right": [
"custom/pacman",
"privacy",
"group/system",
"group/misc",
@@ -16,7 +15,7 @@
],
"group/system": {
"orientation": "inherit",
"modules": ["memory", "disk", "cpu"]
"modules": ["custom/pacman", "memory", "disk", "cpu"]
},
"group/misc": {
"orientation": "inherit",

View File

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