diff options
| author | 2026-07-08 15:40:02 -0400 | |
|---|---|---|
| committer | 2026-07-08 15:40:02 -0400 | |
| commit | d19d762a34135b62e46145bdc90c5fab109d065d (patch) | |
| tree | 9447978671d675710dede4c9da495e58631492d9 /waybar | |
| download | dots-d19d762a34135b62e46145bdc90c5fab109d065d.tar.gz dots-d19d762a34135b62e46145bdc90c5fab109d065d.zip | |
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config | 123 | ||||
| -rw-r--r-- | waybar/style.css | 80 |
2 files changed, 203 insertions, 0 deletions
diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..1afa014 --- /dev/null +++ b/waybar/config @@ -0,0 +1,123 @@ +// -*- mode: json -*- + +{ + "layer": "top", + "position": "top", + + "modules-left": [ + "sway/workspaces", + "custom/right-arrow-dark" + ], + "modules-center": [ + "custom/left-arrow-dark", + "clock#1", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "clock#2", + "custom/right-arrow-dark", + "custom/right-arrow-light", + "clock#3", + "custom/right-arrow-dark" + ], + "modules-right": [ + "custom/left-arrow-dark", + "pulseaudio", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "network", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "memory", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "cpu", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "battery", + "custom/left-arrow-light", + "custom/left-arrow-dark", + "disk" + ], + + "custom/left-arrow-dark": { + "format": "", + "tooltip": false + }, + "custom/left-arrow-light": { + "format": "", + "tooltip": false + }, + "custom/right-arrow-dark": { + "format": "", + "tooltip": false + }, + "custom/right-arrow-light": { + "format": "", + "tooltip": false + }, + + "sway/workspaces": { + "disable-scroll": true, + "format": "{name}" + }, + + "clock#1": { + "format": "{:%a}", + "tooltip": false + }, + "clock#2": { + "format": "{:%H:%M}", + "tooltip": false + }, + "clock#3": { + "format": "{:%m-%d}", + "tooltip": false + }, + + "pulseaudio": { + "format": "{icon} {volume:2}%", + "format-bluetooth": "{icon} {volume}%", + "format-muted": "", + "format-icons": { + "headphones": "", + "default": [ "", "" ] + }, + "scroll-step": 5, + "on-click": "pamixer -t", + "on-click-right": "pavucontrol" + }, + "memory": { + "interval": 5, + "format": " {used} GiB" + }, + "cpu": { + "interval": 5, + "format": " {usage}%" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-icons": [ + "", + "", + "", + "", + "" + ] + }, + "disk": { + "interval": 5, + "format": " {free}", + "path": "/" + }, + "network": { + "interval": 5, + "format-icons": ["", "", "", ""], + "format-wifi": "{icon} {essid}", + "interface": "wlp1s0" + } +} diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..d381dd0 --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,80 @@ +* { + font-size: 12px; + font-family: "Hack Nerd Font Mono"; + min-height: 0; +} + +window#waybar { + background: #292b2e; + color: #fdf6e3; +} + +#custom-right-arrow-dark, +#custom-left-arrow-dark { + color: #1a1a1a; +} +#custom-right-arrow-light, +#custom-left-arrow-light { + color: #292b2e; + background: #1a1a1a; +} + +#workspaces, +#clock.1, +#clock.2, +#clock.3, +#pulseaudio, +#memory, +#cpu, +#battery, +#disk, +#network, +#tray { + background: #1a1a1a; +} + +#workspaces button { + padding: 0 2px; + color: #fdf6e3; +} +#workspaces button.focused { + color: #268bd2; +} +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; +} +#workspaces button:hover { + background: #1a1a1a; + border: #1a1a1a; + padding: 0 3px; +} + +#pulseaudio { + color: #268bd2; +} +#memory { + color: #2aa198; +} +#cpu { + color: #6c71c4; +} +#battery { + color: #859900; +} +#disk { + color: #b58900; +} +#network { + color: #fcac35; +} + +#clock, +#pulseaudio, +#memory, +#cpu, +#battery, +#network, +#disk { + padding: 0 10px; +} |
