Updated config

This commit is contained in:
2024-03-07 13:09:05 +01:00
parent eca02857ec
commit 7d5a2940ef
17 changed files with 100 additions and 85 deletions

View File

@ -1,21 +1,25 @@
{
"layer": "top",
"position": "bottom",
"position": "top",
"modules-left": [
"hyprland/workspaces",
"hyprland/window",
],
"modules-center": [],
"modules-right": [
"custom/updates",
"cpu",
"custom/gpu",
"memory",
"disk",
"network#up",
"network#down",
"wireplumber",
"clock",
],
"group/hardware": {
"orientation": "horizontal",
"modules": [
"cpu",
"custom/gpu",
"memory",
"disk",
"network#up",
"network#down",
],
},
"include": "~/.config/waybar/modules.jsonc",
}

View File

@ -1,21 +1,21 @@
{
"clock": {
"interval": 60,
"format": "<span color='#ffffff7f'></span> {:%H : %M}",
"format": "<span color='#0000007f'> </span> {:%H : %M}",
"tooltip-format": "{:%A, %Y-%m-%d}",
"on-click": "gnome-clocks",
"on-click-right": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
},
"cpu": {
"interval": 2,
"format": "<span color='#ffffff7f'>{icon}</span> {usage}%",
"format": "<span color='#0000007f'>{icon}</span> {usage}%",
"format-icons": ["󰾆", "󰾅", "󰓅"],
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"custom/updates": {
"interval": 300,
"format": "<span color='#ffffff7f'>󰏖 </span> {}",
"format": "<span color='#0000007f'>󰏖 </span> {}",
"exec": "~/.bin/updates",
"return-type": "json",
"on-click": "$TERMINAL -e yay",
@ -23,41 +23,41 @@
"custom/gpu": {
"interval": 2,
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
"format": "<span color='#ffffff7f'> </span> {}%",
"format": "<span color='#0000007f'> </span> {}%",
"return-type": "",
"on-click": "$TERMINAL -e nvtop",
"max-length": 10,
},
"memory": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{used} GiB",
"format": "<span color='#0000007f'> </span>{used} GiB",
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"network#up": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{bandwidthUpBits}",
"format": "<span color='#0000007f'> </span>{bandwidthUpBits}",
"tooltip-format": " {ifname} upload",
"max-length": 10,
"on-click": "$TERMINAL -e nethogs",
},
"network#down": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{bandwidthDownBits}",
"format": "<span color='#0000007f'> </span>{bandwidthDownBits}",
"tooltip-format": " {ifname} download",
"max-length": 10,
"on-click": "$TERMINAL -e nethogs",
},
"disk": {
"interval": 30,
"format": "<span color='#ffffff7f'>󰋊 </span>{used}",
"format": "<span color='#0000007f'>󰋊 </span>{used}",
"path": "/",
"max-length": 10,
"on-click": "$TERMINAL -e dua i",
},
"mpris": {
"format": "<span color='#ffffff7f'>{player_icon}</span> {title}",
"format-paused": "<span color='#ffffff7f'>{status_icon}</span> {title}",
"format": "<span color='#0000007f'>{player_icon}</span> {title}",
"format-paused": "<span color='#0000007f'>{status_icon}</span> {title}",
"player-icons": {
"default": "󰝚",
"mpv": "󰝚"
@ -68,7 +68,7 @@
"title-len": 30,
},
"wireplumber": {
"format": "<span color='#ffffff7f'>{icon}</span> {volume}%",
"format": "<span color='#0000007f'>{icon}</span> {volume}%",
"format-muted": "",
"scroll-step": 5,
"format-icons": ["", "", ""],
@ -76,7 +76,7 @@
"on-click": "helvum",
},
"hyprland/window": {
"format": "󰘔 {initialTitle}",
"format": "󰘔 {initialTitle}",
"separate-outputs": true
},
"hyprland/workspaces": {

View File

@ -1,13 +1,14 @@
* {
border: none;
font-family: "Ubuntu Nerd Font";
font-size: 12px;
font-size: 14px;
padding: 0;
margin: 0;
}
#waybar {
background: transparent;
background: rgba(255, 255, 255, 0.9);
color: rgba(38, 41, 44, 0.9);
}
#waybar.hidden {
@ -35,11 +36,34 @@
#custom-os,
#custom-gpu,
#custom-updates {
background: rgb(38, 41, 44);
border-radius: 10px;
padding: 4px 8px;
margin: 0px 4px;
margin-bottom: 4px;
/* background: rgb(38, 41, 44); */
border-radius: 12px;
padding: 2px 10px;
margin: 4px;
}
#cpu {
background: rgb(50.15%, 92.07%, 99.48%);
}
#custom-gpu {
background: rgb(67.06%, 91.37%, 70.2%);
}
#memory {
background: rgb(100%, 81.7%, 68.38%);
}
#disk {
background: rgb(100%, 80.74%, 81.04%);
}
#network {
background: rgb(92.54%, 81.78%, 100%);
}
#wireplumber {
/* background: rgb(90.34%, 85.77%, 59.65%); */
}
#custom-updates.disabled {
@ -47,8 +71,9 @@
}
#workspaces button {
color: rgba(38, 41, 44, 0.9);
padding: 0px 5px;
opacity: 0.8;
opacity: 0.2;
background: transparent;
text-shadow: none;
border-radius: 0;
@ -59,7 +84,7 @@
}
#workspaces button.active {
opacity: 1.0;
opacity: 0.9;
}
#workspaces button.visible {}