Update .config/waybar/config.jsonc

Update .config/waybar/modules.jsonc
Update .config/waybar/style.css
This commit is contained in:
Yarne Coppens 2026-02-07 11:43:43 +01:00
parent 9b17e17078
commit 58ee30f8bd
3 changed files with 51 additions and 58 deletions

View file

@ -13,7 +13,7 @@
"pulseaudio", "pulseaudio",
"bluetooth", "bluetooth",
"group/hardware", "group/hardware",
"privacy" "custom/privacydots"
], ],
"modules-center": [ "modules-center": [
"group/music" "group/music"

View file

@ -1,36 +1,45 @@
{ {
"privacy": { // "privacy": {
"icon-spacing": 4, // "icon-spacing": 4,
"icon-size": 18, // "icon-size": 18,
"transition-duration": 250, // "transition-duration": 250,
"modules": [ // "modules": [
{ // {
"type": "screenshare", // "type": "screenshare",
"tooltip": true, // "tooltip": true,
"tooltip-icon-size": 24 // "tooltip-icon-size": 24
}, // },
{ // {
"type": "audio-out", // "type": "audio-out",
"tooltip": true, // "tooltip": true,
"tooltip-icon-size": 24 // "tooltip-icon-size": 24
}, // },
{ // {
"type": "audio-in", // "type": "audio-in",
"tooltip": true, // "tooltip": true,
"tooltip-icon-size": 24 // "tooltip-icon-size": 24
} // }
], // ],
"ignore-monitor": true, // "ignore-monitor": true,
"ignore": [ // "ignore": [
{ // {
"type": "audio-in", // "type": "audio-in",
"name": "cava" // "name": "cava"
}, // },
{ // {
"type": "screenshare", // "type": "screenshare",
"name": "obs" // "name": "obs"
} // }
] // ]
// },
"custom/privacydots": {
"exec": "~/.config/waybar/scripts/privacy_dots.sh",
"return-type": "json",
"interval": 1,
"format": "{text}",
"tooltip": true,
"escape": false,
"markup": "pango"
}, },
"disk": { "disk": {
"interval": 30, "interval": 30,
@ -53,6 +62,7 @@
}, },
"tray": { "tray": {
// "icon-size": 21, // "icon-size": 21,
"show-passive-items":true,
"spacing": 10, "spacing": 10,
"expand":true "expand":true
// "icons": { // "icons": {

View file

@ -83,19 +83,25 @@ button:hover {
#cpu, #cpu,
#memory, #memory,
#disk, #disk,
#gpu-usage, #custom-gpu-usage,
#privacy, #privacy,
#cava, #cava,
#mpris, #mpris,
#scratchpad, #scratchpad,
#workspaces, #workspaces,
#tray, #tray,
#power #power,
#custom-privacydots
{ {
margin: 0 5px; margin: 0 5px;
padding: 0 5px; padding: 0 5px;
} }
#custom-privacydots {
padding: 0 10px;
font-size: 16px;
letter-spacing: 3px;
}
#clock { #clock {
border-top-left-radius: 15px; border-top-left-radius: 15px;
@ -123,29 +129,6 @@ button:hover {
#hardware { #hardware {
} }
#privacy {
padding: 0;
margin-right: 0;
}
#privacy-item {
padding: 0 5px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
}
#music{ #music{
} }