chore(waybar): update config
This commit is contained in:
parent
01686a0ac8
commit
5b79a358b1
BIN
images/image.png
BIN
images/image.png
Binary file not shown.
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.0 KiB |
@ -10,16 +10,27 @@
|
|||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
"custom/recorder",
|
"custom/recorder",
|
||||||
"privacy",
|
"privacy",
|
||||||
"memory",
|
"group/system",
|
||||||
"disk",
|
"group/misc",
|
||||||
"pulseaudio",
|
"group/connections",
|
||||||
"pulseaudio#microphone",
|
"custom/power"
|
||||||
"backlight",
|
|
||||||
"battery",
|
|
||||||
"bluetooth",
|
|
||||||
"network"
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"group/system": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": ["memory", "disk"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/misc": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": ["pulseaudio", "pulseaudio#microphone", "backlight", "battery"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/connections": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": ["bluetooth", "network"]
|
||||||
|
},
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"format": "{name} {icon}",
|
"format": "{name} {icon}",
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
@ -37,8 +48,8 @@
|
|||||||
"clock": {
|
"clock": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"timezones": ["Europe/Rome"],
|
"timezones": ["Europe/Rome"],
|
||||||
"format": "{:%H:%M}",
|
"format": "{:%a %d %H:%M}",
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
"format-alt": "{%H:%M}",
|
||||||
"tooltip-format": "{calendar}",
|
"tooltip-format": "{calendar}",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"mode": "year",
|
"mode": "year",
|
||||||
@ -69,7 +80,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"custom/pacman": {
|
"custom/pacman": {
|
||||||
"tooltip": false,
|
"tooltip": true,
|
||||||
"format": "{} ",
|
"format": "{} ",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"exec": "checkupdates | wc -l",
|
"exec": "checkupdates | wc -l",
|
||||||
@ -86,6 +97,12 @@
|
|||||||
"exec-if": "pgrep wf-recorder"
|
"exec-if": "pgrep wf-recorder"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"custom/power": {
|
||||||
|
"format": "⏻",
|
||||||
|
"on-click": "wlogout",
|
||||||
|
"tooltip": "Power options"
|
||||||
|
},
|
||||||
|
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"icon-spacing": 4,
|
"icon-spacing": 4,
|
||||||
"icon-size": 18,
|
"icon-size": 18,
|
||||||
@ -167,18 +184,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"interval": 3,
|
"interval": 3,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "{used}GiB ",
|
"format": "{used:0.2f}GiB ",
|
||||||
"tooltip-format": "{used}GiB used out of {total}GiB ({percentage}%)",
|
"tooltip-format": "{used:0.2f}GiB used out of {total}GiB ({percentage}%)"
|
||||||
"max-length": 10
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "{status} ",
|
"format": "",
|
||||||
"format-disabled": "{status} ",
|
"format-disabled": "",
|
||||||
"format-connected": "{device_alias} ",
|
"format-connected": "{device_alias} ",
|
||||||
"format-connected-battery": "{device_alias} {device_battery_percentage}%",
|
"format-connected-battery": "{device_alias} {device_battery_percentage}%",
|
||||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||||
|
"tooltip-format-disabled": "Disabled",
|
||||||
"on-click": "blueman-manager"
|
"on-click": "blueman-manager"
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -187,12 +204,12 @@
|
|||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
"format-wifi": "{essid} ",
|
"format-wifi": "",
|
||||||
"format-ethernet": "{essid} ",
|
"format-ethernet": "",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
"tooltip-format-wifi": "{ipaddr} on {ifname} via {essid} ",
|
"tooltip-format-wifi": "{ipaddr} ({ifname}) via {essid} ",
|
||||||
"tooltip-format-ethernet": "{ipaddr} on {ifname} via {essid} ",
|
"tooltip-format-ethernet": "{ipaddr} ({ifname}) via {essid} ",
|
||||||
"tooltip-format-disconnected": "",
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
"max-length": 50,
|
"max-length": 50,
|
||||||
"on-click": "nm-connection-editor"
|
"on-click": "nm-connection-editor"
|
||||||
}
|
}
|
||||||
|
151
waybar/style.css
151
waybar/style.css
@ -10,10 +10,6 @@
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
background-color: #383c4a;
|
background-color: #383c4a;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@ -23,59 +19,60 @@ tooltip label {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#connections {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: #383c4a;
|
||||||
|
color: #ffffff;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#misc {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: #383c4a;
|
||||||
|
color: #ffffff;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#system {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: #383c4a;
|
||||||
|
color: #ffffff;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-pacman,
|
||||||
|
#custom-recorder,
|
||||||
|
#mode,
|
||||||
|
#clock,
|
||||||
|
#workspaces,
|
||||||
|
#custom-recorder,
|
||||||
|
#custom-power,
|
||||||
|
#privacy {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: #383c4a;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-pacman,
|
||||||
|
#custom-recorder,
|
||||||
|
#mode,
|
||||||
|
#custom-power,
|
||||||
|
#privacy {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-pacman,
|
#custom-pacman,
|
||||||
#custom-recorder,
|
#custom-recorder,
|
||||||
#mode,
|
#mode,
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
|
||||||
#disk,
|
|
||||||
#privacy,
|
#privacy,
|
||||||
#memory,
|
#custom-power,
|
||||||
#bluetooth,
|
|
||||||
#network {
|
|
||||||
transition: none;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: #383c4a;
|
|
||||||
color: #ffffff;
|
|
||||||
padding-top: 4px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
margin-right: 4px;
|
|
||||||
margin-left: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight,
|
|
||||||
#pulseaudio {
|
|
||||||
transition: none;
|
|
||||||
background-color: #383c4a;
|
|
||||||
color: #ffffff;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio:not(.microphone) {
|
|
||||||
margin-left: 4px;
|
|
||||||
border-radius: 10px 0 0 10px;
|
|
||||||
padding-right: 8px;
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight {
|
|
||||||
border-radius: 0 10px 10px 0;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces {
|
|
||||||
transition: none;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: #383c4a;
|
|
||||||
color: #7c818c;
|
|
||||||
margin-right: 4px;
|
|
||||||
margin-left: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -83,38 +80,23 @@ tooltip label {
|
|||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#pulseaudio:not(.microphone),
|
||||||
border-radius: inherit;
|
#pulseaudio.microphone,
|
||||||
background-color: #666768;
|
#memory,
|
||||||
}
|
#backlight,
|
||||||
|
#bluetooth {
|
||||||
#bluetooth.connected,
|
padding-right: 8px;
|
||||||
#bluetooth.on {
|
|
||||||
background-color: #26a65b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bluetooth.disabled,
|
|
||||||
#bluetooth.off {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background-color: #26a65b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: #ffffff;
|
color: #32e47c;
|
||||||
background-color: #26a65b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning:not(.charging) {
|
#battery.warning:not(.charging) {
|
||||||
background-color: #ffbe61;
|
color: #ffbe61;
|
||||||
color: black;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
background-color: #383c4a;
|
|
||||||
color: #ffffff;
|
|
||||||
animation-name: redblink;
|
animation-name: redblink;
|
||||||
animation-duration: 0.5s;
|
animation-duration: 0.5s;
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
@ -122,22 +104,17 @@ tooltip label {
|
|||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.wifi,
|
|
||||||
#network.ethener {
|
|
||||||
background-color: #26a65b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disabled,
|
|
||||||
#network.disconnected {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes redblink {
|
@keyframes redblink {
|
||||||
to {
|
to {
|
||||||
background-color: #f53c3c;
|
color: #f53c3c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-recorder {
|
#workspaces button:hover {
|
||||||
|
border-radius: inherit;
|
||||||
|
background-color: #666768;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
background-color: #26a65b;
|
background-color: #26a65b;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user