This commit is contained in:
Emily 2021-07-28 15:54:37 +10:00
commit b0c8191788
20 changed files with 836 additions and 0 deletions

View file

@ -0,0 +1,59 @@
{
"position": "bottom",
"modules-left": ["sway/workspaces"],
"modules-right": ["custom/music", "backlight", "pulseaudio", "battery", "clock", "tray"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
},
},
"tray": {
"spacing": 10,
},
"custom/music": {
"format": " {}",
"interval": 1,
"exec": "/home/emily/.scripts/player.sh"
},
"clock": {
"format": " {:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m/%Y}"
},
"battery": {
"states": {
"warning": 20,
"critical": 5,
},
"format": "{icon} {capacity}%",
"format-icons": {
"default": ["", "", "", "", ""],
"charging": ["", "", "", "", ""]
},
},
"backlight": {
"device": "intel_backlight",
"on-scroll-up": "light -A 10",
"on-scroll-down": "light -U 10",
"format": "{icon} {percent}%",
"format-icons": ["", "", ""]
},
"pulseaudio": {
"on-click": "pavucontrol",
"format": "{icon} {volume}%",
"format-muted": "ﱝ Muted",
"format-icons": ["", "", "墳", ""]
}
}

View file

@ -0,0 +1,83 @@
* {
border: none;
border-radius: 0;
font-family: JetBrainsMono Nerd Font;
font-size: 14px;
min-height: 20px;
}
window#waybar {
background: transparent;
color: white;
}
#workspaces {
background-color: #24283b;
margin-bottom: 8px;
margin-left: 8px;
border-radius: 5px;
}
#workspaces button {
padding: 5px 10px;
color: #c0caf5;
}
#workspaces button.focused {
color: #24283b;
background-color: #7aa2f7;
border-radius: 5px;
}
#workspaces button:hover {
background-color: #7dcfff;
color: #24283b;
border-radius: 5px;
}
#mode {
background-color: #24283b;
color: #c0caf5;
margin-bottom: 8px;
border-radius: 5px;
padding: 5px 10px;
}
#tray, #custom-music, #clock, #battery, #pulseaudio, #backlight {
background-color: #24283b;
padding: 5px 10px;
margin-bottom: 8px;
}
#clock {
color: #7dcfff;
}
#battery {
color: #b48ead;
}
#battery.charging {
color: #b48ead;
}
#battery.warning:not(.charging) {
background-color: #f7768e;
color: #24283b;
}
#backlight {
color: #9ece6a;
}
#custom-music {
border-radius: 5px 0px 0px 5px;
color: #f7768e;
}
#tray {
border-radius: 0px 5px 5px 0px;
margin-right: 10px;
}
#pulseaudio {
color: #e0af68;
}