diff options
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config.jsonc | 90 | ||||
| -rw-r--r-- | waybar/style.css | 75 |
2 files changed, 165 insertions, 0 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc new file mode 100644 index 0000000..ad44574 --- /dev/null +++ b/waybar/config.jsonc @@ -0,0 +1,90 @@ +{ + "layer": "top", + "position": "top", + "expand-center": true, + + "modules-left": [ + "mango/workspaces", + "ext/workspaces" // TODO: change to mango + ], + + "ext/workspaces": { + "on-click": "activate" + }, + + "modules-center": [ + ], + + "modules-right": [ + "tray", + "mpris", + "wireplumber", + "network", + "bluetooth", + "battery", + "clock" + // TODO: notifications + ], + + "mpris": { + "format": "[{status}] {dynamic}", + "title-len": 40, + "dynamic-len": 60 + }, + + "wireplumber": { + "format": "{volume}% {icon} ", + "format-muted": "[muted] ", + "format-icons": ["", "", ""] + }, + + "network": { + "interface": "wlp0s20f3", + "format": "{ifname}", + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ifname} ", + "format-disconnected": "", //An empty format will hide the module. + "format-disconnected": " ", + "tooltip-format": "{ifname}", + "tooltip-format-wifi": "{essid} ({signalStrength}%) ", + "tooltip-format-ethernet": "{ifname} ", + "tooltip-format-disconnected": "Disconnected", + "max-length": 50 + }, + + "blueooth": { + "format": " [{status}]" + }, + + "battery": { + "format": "{capacity}% {icon} ", + "format-icons": ["", "", "", "", ""] + }, + + "clock": { + "format": "{:%H:%M} ", + "format-alt": "{:%A, %B %d, %Y (%R)}", + "tooltip-format": "<tt><small>{calendar}</small></tt>", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "on-click-right": "mode", + "format": { + "months": "<span color='#ffead3'><b>{}</b></span>", + "days": "<span color='#ecc6d9'><b>{}</b></span>", + "weeks": "<span color='#99ffdd'><b>W{}</b></span>", + "weekdays": "<span color='#ffcc66'><b>{}</b></span>", + "today": "<span color='#ff6699'><b><u>{}</u></b></span>" + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" + } + } +} diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..7c476da --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,75 @@ +/* TODO: style + * + * [ ] colors + * + * [ ] workspaces + * [ ] tray + * [ ] mpris + * [ ] wireplumber + * [ ] network + * [ ] bluetooth + * [ ] battery + * [ ] clock + * + * */ + +* { + + background-color: unset; + color: #cfc797; +} + +.modules-right { + background-color: #091919; +} + +#workspaces { + background-color: #091919; +} + +/* doesn't stay background cover when hovering */ +#workspaces button:hover { + background-color: #003136; + box-shadow: inset 0 -3px #cfc797; +} + +#workspaces button.active { + background-color: #438566; + box-shadow: inset 0 -3px #cfc797; +} + +#workspaces button.urgent { + background-color: #732d35; +} + +#tray { + background-color: red; +} + +#mpris { + background-color: #091919; +} + +#wireplumber { + background-color: #643875; + padding: 0.25em; +} + +#network { + background-color: #ab710e; + padding: 0.25em; +} + +#bluetooth { + background-color: #254e76; + padding: 0.25em; +} + +#battery { + padding: 0.25em; +} + +#clock { + background-color: #438566; + padding: 0.25em; +} |
