This commit is contained in:
ant 2024-03-31 07:54:18 +02:00
parent 7b9199c542
commit 0aac48f782
6 changed files with 101 additions and 79 deletions

View file

@ -1,22 +1,20 @@
* {
border: none;
border-radius: 0;
background: rgba(0, 0, 0, 0);
/* font-family: "CartographCF italic"; */
font-family: "Material Design Icons", Roboto;
font-family: "Material Design Icons", Monospace;
/* font-family: "Roboto"; */
font-weight: bold;
font-size: 14px;
min-height: 0;
}
tooltip {
background: #000000;
/* border-radius: 10px; */
border-width: 2px;
border-style: solid;
border-color: #222222;
}
/* tooltip { */
/* background: #000000; */
/* border-width: 2px; */
/* border-style: solid; */
/* border-color: #222222; */
/* } */
#custom-language,
#idle_inhibitor,
@ -49,65 +47,57 @@ tooltip {
/* margin-right: 3px; */
/* margin-left: 3px; */
/* border: 1px solid #000000; */
border-radius: 14px;
margin: 0px 4px 0px 4px;
}
#workspaces {
padding: 0;
margin-left: 0;
margin-right: 0;
border-radius: 0;
/* margin-left: 0; */
/* margin-right: 0; */
}
#workspaces button {
padding: 4px;
color: #aaaaaa;
border-radius: 16px
}
#workspaces button.active {
color: #ffffff;
border-radius: 20px;
background: #0f0f0f;
}
#workspaces button.focused {
/* color: #a6adc8; */
border-radius: 0px;
background: #eba0ac;
/* border-radius: 10px; */
}
#workspaces button.urgent {
/* color: #11111b; */
background: #a6e3a1;
/* border-radius: 10px; */
}
#workspaces button:hover {
background: #11111b;
border-radius: 0px;
/* color: #cdd6f4; */
/* border-radius: 10px; */
}
#pulseaudio.speaker {
/* color: #89b4fa; */
/* border-radius: 10px 0 0 10px; */
margin-left: 0;
margin-right: 0;
border-radius: 0;
}
#pulseaudio.microphone {
/* color: #cba6f7; */
margin-left: 0;
margin-right: 0;
border-radius: 0;
}
#idle_inhibitor {
margin-left: 0;
margin-right: 0;
border-radius: 0;
}
#backlight {
border-radius: 0 14px 14px 0;
margin-left: 0;
}
@ -119,46 +109,32 @@ tooltip {
/* #mpris { */
/* border-radius: 10px; */
/* font-family: "CartographCF italic"; */
/* } */
#tray {
border-radius: 0;
margin-left: 0;
margin-right: 0;
}
#network {
border-radius: 10px;
border-radius: 14px 0 0 14px;
margin-right: 0;
/* margin-right: 0; */
}
#disk {
border-radius: 0;
margin-right: 0;
margin-left: 0;
}
#cpu {
border-radius: 0;
margin-left: 0;
/* margin-left: 0; */
margin-right: 0;
}
#temperature {
/* color: #f9afdb; */
border-radius: 0;
margin-right: 0;
margin-left: 0;
}
#memory {
/* border-radius: 0 10px 10px 0; */
margin-left: 0;
margin-right: 0;
border-radius: 0;
}
#memory.low {
@ -166,20 +142,30 @@ tooltip {
}
#battery {
border-radius: 0;
margin-left: 0;
margin-right: 0;
}
#clock {
margin-left: 0;
#tray {
/* margin-left: 0; */
margin-right: 0;
}
tooltip,
window#waybar #tray menu {
color: #aaaaaa;
background: #000000;
border: 1px solid #888888;
border-radius: 0;
}
#clock {
/* margin-left: 0; */
margin-right: 0;
}
/* #custom-gpu { */
/* color: #f5c2e7; */
/* border-radius: 10px; */
/* } */
#window {
@ -192,24 +178,20 @@ tooltip {
#bluetooth {
border-radius: 0;
margin-left: 0;
margin-right: 0;
}
#custom-weather {
/* border-radius: 10px 0px 0px 10px; */
margin-right: 0;
}
#custom-nvidia-load {
/* border-radius: 10px 0 0 10px; */
margin-right: 0;
/* color: #afb8f9; */
}
#custom-nvidia-mem {
/* border-radius: 0 10px 10px 0; */
margin-left: 0;
/* color: #aff9b2; */
}

View file

@ -76,7 +76,7 @@
},
"disk": {
"interval": 30,
"interval": 1,
"format": "󰋊 {free}",
"path": "/",
"on-click": "alacritty --class floating -e ncdu -x /"
@ -91,7 +91,7 @@
"memory": {
"interval": 1,
"format": "󰧑 {percentage}%",
"format": "󰧑 {percentage:2}%",
"tooltip-format": "{used:0.1f}G/{total:0.1f}G",
"states": { "low": 70 },
"on-click": "notify-send \"$(printf \"%-20s %10s\\n\" \"COMMAND\" \"MEMORY USAGE\"; ps axo comm,rss | awk '{mem[$1]+=$2} END {for (cmd in mem) printf \"%-20s %5.2f MiB\\n\", cmd, mem[cmd]/1024}' | sort -k2nr | head -n10)\""
@ -102,8 +102,8 @@
"format": "󰌙",
"format-disconnected": "󰌙",
"format-linked": "󰛵",
"format-ethernet": "󰓢 {bandwidthDownBytes} {bandwidthUpBytes}",
"format-wifi": "󰖩 {bandwidthDownBytes} {bandwidthUpBytes}",
"format-ethernet": "󰓢 {bandwidthDownBytes:>} {bandwidthUpBytes:>}",
"format-wifi": "󰖩 {bandwidthDownBytes:>} {bandwidthUpBytes:>}",
"on-click": "wifi-toggle",
"on-right-click": "$TERMINAL --class floating -e nmtui",
"tooltip-format-ethernet": "{ipaddr}",
@ -139,7 +139,7 @@
},
"cpu": {
"interval": 1,
"format": "󰘚 {usage}%",
"format": "󰘚 {usage:2}%",
"max-length": 10,
"on-click": "alacritty --class floating -e htop"
},
@ -154,8 +154,8 @@
"warning": 30,
"critical": 15
},
"format-charging": "󰂅 {capacity}%",
"format": "{icon} {capacity}%",
"format-charging": "󰂅 {capacity:2}%",
"format": "{icon} {capacity:2}%",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"],
"tooltip": true
},
@ -175,7 +175,7 @@
"min-length": 10,
"interval": 1,
"format": "{:%d/%m %H:%M:%S}",
"timezones": ["Asia/Ho_Chi_Minh", "Europe/Paris"],
"timezones": ["Europe/Paris"],
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"actions": {
"on-scroll-up": "tz_up",