diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:49:39 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:59:47 +0200 |
| commit | 9f20c1f313e20102dd83adeaf091284be1fd82d0 (patch) | |
| tree | d3db386875af532f4fc55c275312c7c787e88f55 /waybar | |
| download | dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.tar.gz dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.zip | |
config
Diffstat (limited to '')
| -rw-r--r-- | waybar/config | 104 | ||||
| -rw-r--r-- | waybar/macchiato.css | 29 | ||||
| -rw-r--r-- | waybar/style.css | 145 |
3 files changed, 278 insertions, 0 deletions
diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..57a5e03 --- /dev/null +++ b/waybar/config @@ -0,0 +1,104 @@ +{ + "layer": "top", + "margin": 2, + "spacing": 2, + "fixed-center": false, + "modules-left": ["custom/cat", "hyprland/workspaces", "tray"], + "modules-center": [], + "modules-right": ["backlight", "pulseaudio", "network", "bluetooth", "cpu", "memory", "temperature", "disk", "battery", "clock"], + "custom/cat": { + "format": "<span color='#181926' font-family='Symbols Nerd Font Mono'></span>", + "tooltip": false, + }, + "hyprland/workspaces": { + "persistent-workspaces": { + "*": 5 + }, + "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>", + "format-icons": { + "empty": "", + "default": "", + } + }, + "tray": { + "icon-size": 20, + "spacing": 5, + }, + "bluetooth": { + "format": "", + "format-connected": "<span color='#8aadf4' font-family='Symbols Nerd Font Mono'></span>", + "tooltip-format": "{device_alias}", + "on-click": "footclient bluetuith" + }, + "network": { + "format-wifi": "<span color='#b7bdf8' font-family='Symbols Nerd Font Mono'></span>", + "format-disconnected": "<span color='#b7bdf4' font-family='Symbols Nerd Font Mono'></span>", + "tooltip-format": "{essid}", + "on-click": "footclient -o pad=0x0 nmtui" + }, + "pulseaudio": { + "format": "<span color='#c6a0f6' font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", + "format-muted": "<span color='#c6a0f6' font-family='Symbols Nerd Font Mono'></span> <span color='#8087a2'>{volume}%</span>", + "format-icons": { + "default": ["", "", ""], + }, + "on-click": "footclient pulsemixer" + }, + "backlight": { + "device": "intel_backlight", + "format": "<span color='#ffffff' font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%", + "format-icons": ["", "", "", "", "", "", "", "", ""], + "tooltip": false + }, + "cpu": { + "interval": 1, + "format": "<span color='#7dc4e4' font-family='Symbols Nerd Font Mono'> </span> {icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}", + "format-icons": [ + "<span color='#c6a0f6'>▁</span>", + "<span color='#8aadf4'>▂</span>", + "<span color='#8bd5ca'>▃</span>", + "<span color='#a6da95'>▄</span>", + "<span color='#eed49f'>▅</span>", + "<span color='#f5a97f'>▆</span>", + "<span color='#ee99a0'>▇</span>", + "<span color='#ed8796'>█</span>" + ], + "on-click": "footclient -o pad=0x0 btop -p 1", + }, + "temperature": { + "interval": 5, + "hwmon-path-abs": "/sys/devices/platform/coretemp.0/hwmon", + "input-filename": "temp1_input", + "format": "<span color='#a6da95' font-family='Symbols Nerd Font Mono'>{icon}</span> {temperatureC}°", + "format-critical": "<span color='#181926' font-family='Symbols Nerd Font Mono'>{icon}</span> {temperatureC}°", + "critical-threshold": 70, + "format-icons": ["", "", "", "", ""], + "tooltip": false + }, + "memory": { + "interval": 5, + "format": "<span color='#8bd5ca' font-family='Symbols Nerd Font Mono'></span> {used:0.1f}GiB", + "tooltip-format": "{used:0.1f}GiB / {total:0.1f}GiB" + }, + "disk": { + "format": "<span color='#eed49f' font-family='Symbols Nerd Font Mono'></span> {percentage_used}%", + "tooltip-format": "{used} / {total}" + }, + "battery": { + "interval": 5, + "states": { + "warning": 25, + "critical": 10 + }, + "format": "<span color='#f5a97f' font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-warning": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-critical": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-charging": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-icons": ["", "", "", "", ""], + }, + "clock": { + "format": "<span color='#ed8796' font-family='Symbols Nerd Font Mono'></span> {:%H:%M}", + "tooltip-format": "{:%A, %B %d, %Y (%R)}" + } +} + diff --git a/waybar/macchiato.css b/waybar/macchiato.css new file mode 100644 index 0000000..70c6bf9 --- /dev/null +++ b/waybar/macchiato.css @@ -0,0 +1,29 @@ +:root { + rosewater: #f4dbd6; + flamingo: #f0c6c6; + pink: #f5bde6; + mauve: #c6a0f6; + red: #ed8796; + maroon: #ee99a0; + peach: #f5a97f; + yellow: #eed49f; + green: #a6da95; + teal: #8bd5ca; + sky: #91d7e3; + sapphire: #7dc4e4; + blue: #8aadf4; + lavender: #b7bdf8; + text: #cad3f5; + subtext1: #b8c0e0; + subtext0: #a5adcb; + overlay2: #939ab7; + overlay1: #8087a2; + overlay0: #6e738d; + surface2: #5b6078; + surface1: #494d64; + surface0: #363a4f; + base: #24273a; + bantle: #1e2030; + crust: #181926; +} + diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..343864f --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,145 @@ +/* +rosewater: #f4dbd6; +flamingo: #f0c6c6; +pink: #f5bde6; +mauve: #c6a0f6; +red: #ed8796; +maroon: #ee99a0; +peach: #f5a97f; +yellow: #eed49f; +green: #a6da95; +teal: #8bd5ca; +sky: #91d7e3; +sapphire: #7dc4e4; +blue: #8aadf4; +lavender: #b7bdf8; +text: #cad3f5; +subtext1: #b8c0e0; +subtext0: #a5adcb; +overlay2: #939ab7; +overlay1: #8087a2; +overlay0: #6e738d; +surface2: #5b6078; +surface1: #494d64; +surface0: #363a4f; +base: #24273a; +mantle: #1e2030; +crust: #181926; +*/ + +* { + font-family: Hack Nerd Font; +} + +window#waybar { + background: transparent; + color: #cad3f5; +} + +tooltip, +.modules-left, +.modules-right { + background: #24253a; + border-radius: 10px; + border-color: #363a4f; + border-style: solid; + border-width: 1px; + padding-left: 2.5px; + padding-right: 2.5px; +} + +tooltip { + background: #181926; +} +tooltip label { + color: #cad3f5; +} + +.modules-left { + padding-right: 0px; +} + +#custom-cat, +#workspaces, +#tray, +#bluetooth.connected, +#network, +#pulseaudio, +#backlight, +#cpu, +#temperature, +#memory, +#disk, +#battery, +#clock { + background: #181926; + border-radius: 7.5px; + padding-left: 7.5px; + padding-right: 7.5px; + margin-top: 2.5px; + margin-bottom: 2.5px; +} + +#custom-cat { + font-size: 20px; + background: #cad3f5; + border-radius: 360px; + margin: 3px; + padding: 5px; +} + +#workspaces { + padding-left: 0px; + padding-right: 0px; +} + +#tray { + margin-right: 2.5px; +} + +#tray menu { + background: #181926; + color: #cad3f5; + border-radius: 10px; +} + +#temperature.critical { + background: #ed8796; + color: #181926; +} + +#battery.warning { + background: #f5a97f; + color: #181926; +} +#battery.critical { + background: #ed8796; + color: #181926; +} + +#battery.charging { + background: #a6da95; + color: #181926; +} + +#workspaces button { + color: #6e738d; + border-radius: 7.5px; + background: #181926; + border-width: 0px; +} + +#workspaces button.active { + color: #cad3f5; +} + +#workspaces button.urgent { + color: #181926; + background: #ed8796; +} + +#workspaces button:hover { + color: #181926; + background: #cad3f5; +} + |
