Update .config/waybar/config.jsonc
Update .config/waybar/modules.jsonc Update .config/waybar/style.css
This commit is contained in:
parent
9b17e17078
commit
58ee30f8bd
3 changed files with 51 additions and 58 deletions
|
|
@ -13,7 +13,7 @@
|
|||
"pulseaudio",
|
||||
"bluetooth",
|
||||
"group/hardware",
|
||||
"privacy"
|
||||
"custom/privacydots"
|
||||
],
|
||||
"modules-center": [
|
||||
"group/music"
|
||||
|
|
|
|||
|
|
@ -1,36 +1,45 @@
|
|||
{
|
||||
"privacy": {
|
||||
"icon-spacing": 4,
|
||||
"icon-size": 18,
|
||||
"transition-duration": 250,
|
||||
"modules": [
|
||||
{
|
||||
"type": "screenshare",
|
||||
// "privacy": {
|
||||
// "icon-spacing": 4,
|
||||
// "icon-size": 18,
|
||||
// "transition-duration": 250,
|
||||
// "modules": [
|
||||
// {
|
||||
// "type": "screenshare",
|
||||
// "tooltip": true,
|
||||
// "tooltip-icon-size": 24
|
||||
// },
|
||||
// {
|
||||
// "type": "audio-out",
|
||||
// "tooltip": true,
|
||||
// "tooltip-icon-size": 24
|
||||
// },
|
||||
// {
|
||||
// "type": "audio-in",
|
||||
// "tooltip": true,
|
||||
// "tooltip-icon-size": 24
|
||||
// }
|
||||
// ],
|
||||
// "ignore-monitor": true,
|
||||
// "ignore": [
|
||||
// {
|
||||
// "type": "audio-in",
|
||||
// "name": "cava"
|
||||
// },
|
||||
// {
|
||||
// "type": "screenshare",
|
||||
// "name": "obs"
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
"custom/privacydots": {
|
||||
"exec": "~/.config/waybar/scripts/privacy_dots.sh",
|
||||
"return-type": "json",
|
||||
"interval": 1,
|
||||
"format": "{text}",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-out",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-in",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
}
|
||||
],
|
||||
"ignore-monitor": true,
|
||||
"ignore": [
|
||||
{
|
||||
"type": "audio-in",
|
||||
"name": "cava"
|
||||
},
|
||||
{
|
||||
"type": "screenshare",
|
||||
"name": "obs"
|
||||
}
|
||||
]
|
||||
"escape": false,
|
||||
"markup": "pango"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
|
|
@ -53,6 +62,7 @@
|
|||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"show-passive-items":true,
|
||||
"spacing": 10,
|
||||
"expand":true
|
||||
// "icons": {
|
||||
|
|
|
|||
|
|
@ -83,19 +83,25 @@ button:hover {
|
|||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#gpu-usage,
|
||||
#custom-gpu-usage,
|
||||
#privacy,
|
||||
#cava,
|
||||
#mpris,
|
||||
#scratchpad,
|
||||
#workspaces,
|
||||
#tray,
|
||||
#power
|
||||
#power,
|
||||
#custom-privacydots
|
||||
{
|
||||
margin: 0 5px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#custom-privacydots {
|
||||
padding: 0 10px;
|
||||
font-size: 16px;
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
border-top-left-radius: 15px;
|
||||
|
|
@ -123,29 +129,6 @@ button:hover {
|
|||
#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{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue