Updated config

This commit is contained in:
2024-03-25 13:55:15 +01:00
parent 68e87da51d
commit c42cf0264f
10 changed files with 82 additions and 62 deletions

View File

@ -1,11 +1,7 @@
{
"layer": "top",
"position": "bottom",
"modules-left": [
"custom/os",
"hyprland/workspaces",
"wlr/taskbar",
],
"modules-left": [],
"modules-center": [],
"modules-right": [
"group/hardware",

View File

@ -1,21 +1,21 @@
{
"clock": {
"interval": 60,
"format": "<span color='#ffffff7f'> </span> {:%H : %M}",
"format": "<span color='#00000040'> </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='#00000040'>{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='#00000040'>󰏖 </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='#00000040'> </span> {}%",
"return-type": "",
"on-click": "$TERMINAL -e nvtop",
"max-length": 10,
},
"memory": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{used} GiB",
"format": "<span color='#00000040'> </span>{used} GiB",
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"network#up": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{bandwidthUpBits}",
"format": "<span color='#00000040'> </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='#00000040'> </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='#00000040'>󰋊 </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='#00000040'>{player_icon}</span> {title}",
"format-paused": "<span color='#00000040'>{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='#00000040'>{icon}</span> {volume}%",
"format-muted": "",
"scroll-step": 5,
"format-icons": ["", "", ""],

View File

@ -3,7 +3,7 @@
* {
border: none;
font-family: "Ubuntu Nerd Font";
font-size: 11px;
font-size: 12px;
padding: 0;
margin: 0;
}
@ -11,7 +11,9 @@
/* ===== Waybar ===== */
#waybar {
background: rgba(38, 41, 44, 0.5);
background: transparent;
/* background: rgba(54, 137, 230, 0.8); */
/* border-top: 1px solid rgba(54, 137, 230, 0.8); */
}
#waybar.hidden {
@ -35,23 +37,21 @@
#memory,
#mpris,
#network,
#taskbar,
#window,
#wireplumber,
#workspaces,
#custom-os,
#custom-gpu,
#custom-updates {
/* background: rgb(38, 41, 44); */
border-radius: 12px;
padding: 2px 4px;
margin: 4px;
color: rgba(32, 32, 32, 0.8);
padding: 4px 8px;
margin: 2px;
margin-right: 0;
border-radius: 3px;
}
#custom-os {
font-size: 150%;
color: rgb(137, 220, 235);
background: transparent;
/* background: transparent; */
}
#custom-updates.disabled {
@ -72,14 +72,15 @@
#workspaces button {
/* color: rgba(38, 41, 44, 0.9); */
padding: 0px 5px;
opacity: 0.25;
color: white;
background: transparent;
text-shadow: none;
border-radius: 0;
opacity: 0.5;
}
#workspaces button.empty {
opacity: 0.1;
opacity: 0.5;
}
#workspaces button.active {
@ -94,7 +95,7 @@
/* ===== Extra colors ===== */
/*#cpu {
#cpu {
background: rgb(50.15%, 92.07%, 99.48%);
}
@ -112,4 +113,12 @@
#network {
background: rgb(92.54%, 81.78%, 100%);
}*/
}
#wireplumber {
background: rgb(90%, 90%, 90%);
}
#clock {
background: rgb(90%, 90%, 90%);
}