add MacBook Air 7,2 waybar config

This commit is contained in:
toniiz
2024-06-21 23:32:26 -07:00
parent e51c34abc1
commit 45f6f760d0
70 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
## ...In progress
This config works very well on the MacBook Ait 7,2

View File

@@ -0,0 +1,72 @@
{
"layer": "top",
"spacing": 0,
"height": 0,
"margin-top": 8,
"margin-right": 8,
"margin-bottom": 0,
"margin-left": 8,
"modules-left": [
"sway/workspaces"
],
"modules-center": [
"clock"
],
"modules-right": [
"tray",
"network",
"battery",
"pulseaudio"
],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"tooltip": false
},
"tray": {
"spacing": 10,
"tooltip": false
},
"clock": {
"format": "{:%I:%M %p - %a, %d %b %Y}",
"tooltip": false
},
"network": {
"format-wifi" : "󰤢 {bandwidthDownBits}",
"format-ethernet": "󰤢 {bandwidthDownBits}",
"format-disconnected" : "󰤠 No Network",
"interval": 5,
"tooltip": false
},
"pulseaudio": {
"scroll-step": 5,
"max-volume": 150,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-icons": ["", "", " "],
"nospacing": 1,
"format-muted": " ",
"on-click": "pavucontrol",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"interval": 5,
"states": {
"warning": 20,
"critical": 10
},
"format-icons": [" ", " ", " ", " ", " "],
"tooltip": false
}
}

View File

@@ -0,0 +1,85 @@
* {
border: none;
border-radius: 0;
min-height: 0;
font-family: CaskaydiaCove Nerd Font;
font-weight: bold;
font-size: 14px;
padding: 0;
}
window#waybar {
background: rgba(29, 32, 33, 1.000000);
border: 2px solid rgba(48, 53, 54, 1.000000);
}
#battery,
#network,
#clock,
#tray,
#pulseaudio {
margin: 4px;
padding: 4px 8px;
border-radius: 8;
}
#workspaces {
background-color: #303536;
margin: 4px;
border: 2px solid #434a4c;
border-radius: 8;
}
#workspaces button {
all: initial;
min-width: 0;
box-shadow: inset 0 -3px transparent;
padding: 4px 8px;
color: #c7ab7a;
}
#workspaces button.focused {
color: #d4be98;
}
#workspaces button.urgent {
background-color: #e78a4e;
}
#battery {
background-color: #a9b665;
border: 2px solid #b7c37f;
color: #1d2021;
}
#network {
background-color: #d3869b;
border: 2px solid #dfa5b4;
color: #1d2021;
}
#clock {
background-color: #303536;
border: 2px solid #434a4c;
color: #d4be98;
}
#tray {
background-color: #e78a4e;
border: 2px solid #eca474;
color: #1d2021;
}
#pulseaudio {
background-color: #d8a657;
border: 2px solid #dfb777;
color: #1d2021;
}
#battery.warning,
#battery.critical,
#battery.urgent {
color: #1d2021;
background-color: #ea6962;
border: 2px solid #303536;
}