Updated config

This commit is contained in:
Eduard Urbach 2025-02-05 09:58:20 +01:00
parent e411d35dd3
commit 549b443893
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
4 changed files with 30 additions and 7 deletions

View File

@ -9,8 +9,8 @@ general {
decoration {
rounding = 5
active_opacity = 0.9
inactive_opacity = 0.9
active_opacity = 0.8
inactive_opacity = 0.8
blur {
enabled = true
@ -45,6 +45,11 @@ misc {
render_ahead_of_time = false
}
cursor {
use_cpu_buffer = true
no_hardware_cursors = true
}
input {
accel_profile = flat
sensitivity = 0

View File

@ -1,6 +1,7 @@
{
"layer": "top",
"position": "bottom",
"modules-right": ["cpu", "custom/gpu", "memory", "disk", "custom/processes", "wireplumber", "clock"],
"position": "top",
"modules-left": ["cpu", "custom/gpu", "memory", "disk", "custom/processes", "custom/tcp", "custom/udp"],
"modules-right": ["wireplumber", "clock"],
"include": "~/.config/waybar/modules.jsonc",
}

View File

@ -31,6 +31,22 @@
"tooltip-format": "Number of running processes",
"on-click": "$TERMINAL -e btop",
},
"custom/tcp": {
"interval": 2,
"format": "[TCP] {}",
"exec": "lsof -tPniTCP | wc -l",
"return-type": "",
"tooltip-format": "Number of processes with TCP connections",
"on-click": "$TERMINAL -e bandwhich",
},
"custom/udp": {
"interval": 2,
"format": "[UDP] {}",
"exec": "lsof -tPniUDP | wc -l",
"return-type": "",
"tooltip-format": "Number of processes with UDP connections",
"on-click": "$TERMINAL -e bandwhich",
},
"wireplumber": {
"format": "[VOL] {volume}%",
"format-muted": "",

View File

@ -6,11 +6,12 @@
}
#waybar {
background: rgba(38, 41, 44, 0.5);
background: transparent;
/* background: rgba(38, 41, 44, 0.5); */
}
#cpu, #custom-gpu, #memory, #disk, #custom-processes, #wireplumber, #clock {
color: rgba(255, 255, 255, 0.8);
#cpu, #custom-gpu, #memory, #disk, #custom-processes, #custom-tcp, #custom-udp, #wireplumber, #clock {
color: rgba(255, 255, 255, 0.6);
border-radius: 3px;
padding: 4px 8px;
margin-left: 4px;