add preview screenshot

This commit is contained in:
DACHXY 2025-03-10 16:39:41 +08:00
parent 796176480e
commit a304926231
7 changed files with 47 additions and 1 deletions

View file

@ -26,6 +26,7 @@
"modules-right": [
"wlr/taskbar",
"custom/wireguard",
"idle_inhibitor",
"network",
"cpu",
@ -83,6 +84,7 @@
"modules-right": [
"wlr/taskbar",
"custom/wireguard",
"temperature",
"idle_inhibitor",
"network",

View file

@ -215,5 +215,20 @@
"activated": "󰅶",
"deactivated": "󰾫"
}
},
"custom/wireguard": {
"format": "{icon}",
"format-icons": {
"connected": "󰒘",
"disconnected": ""
},
"exec": "~/.config/scripts/wgStatus.sh",
"exec-if": "which wg-quick",
"on-click": "~/.config/scripts/wgStatus.sh toggle",
"tooltip": true,
"interval": 3,
"return-type": "json",
"escape": true
}
}

View file

@ -42,6 +42,7 @@ tooltip label {
#idle_inhibitor,
#custom-cava,
#custom-wireguard,
#clock,
#cpu,
#memory,
@ -78,6 +79,7 @@ tooltip label {
#memory
#temperature,
#network,
#custom-wireguard,
#battery {
margin-left: 4px;
}
@ -123,6 +125,7 @@ tooltip label {
/* Center Icon */
#custom-os,
#custom-wireguard,
#network,
#idle_inhibitor {
padding-left: 10px; padding-right: 14px;