diff options
| author | awy <awy@awy.one> | 2025-11-02 23:39:23 +0300 | 
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-02 23:39:23 +0300 | 
| commit | 4eba1a385ec9e3e6479ba0ff924709ef94c7021a (patch) | |
| tree | fb94c08c5dc0e4834dd5943c196130fde6f6e834 /.config/waybar | |
| parent | d093ba141c452e602608df9104a9e20bfbe5f4a1 (diff) | |
| download | hyprdots-4eba1a385ec9e3e6479ba0ff924709ef94c7021a.tar.gz | |
privacy module
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config.jsonc | 19 | ||||
| -rw-r--r-- | .config/waybar/style.css | 16 | 
2 files changed, 28 insertions, 7 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index e3283fa..18a20dc 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -10,6 +10,7 @@    ],    "modules-right": [      "custom/recording", +    "privacy",      // "image#album-art",      // "custom/tasks",      "custom/music", @@ -63,6 +64,24 @@      "signal": 9,      "exec": "cat /tmp/recordingicon 2> /dev/null"    }, +  "privacy": { +    "icon-spacing": 3, +    "icon-size": 15, +    "transition-duration": 250, +    "modules": [ +      { +        "type": "screenshare", +        "tooltip": true, +        "tooltip-icon-size": 24 +      }, +      { +        "type": "audio-in", +        "tooltip": true, +        "tooltip-icon-size": 24 +      } +    ], +    "ignore-monitor": true +  },    "image#album-art": {      "cursor": "false",      "signal": 11, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index abf3fcb..a8eb398 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -73,6 +73,7 @@ window#waybar.hidden {  #power-profiles-daemon,  #custom-notifications,  #custom-power, +#privacy,  #mpd {    padding: 0 2px;    margin-right: 10px; @@ -369,21 +370,22 @@ label:focus {  }  #privacy-item.screenshare { -  background-color: #ff0000; +  background-color: @red;  }  #privacy-item.audio-in { -  background-color: #0000ff; +  background-color: @orange;  }  #privacy-item.audio-out { -  background-color: #00ff00; +  background-color: @green;  }  tooltip { -  background-color: @color-tooltip-bg; +  background-color: @bg;    border: none;    border-radius: 0px; +  padding: 0px;  }  tooltip decoration { @@ -395,7 +397,7 @@ tooltip decoration:backdrop {  }  tooltip label { -  color: @color-tooltip-fg; -  padding-left: 5px; -  padding-right: 5px; +  color: @text; +  padding-left: 2px; +  padding-right: 2px;  }  |