diff options
| author | eric.marin <maarin.eric@gmail.com> | 2025-03-07 20:59:53 +0100 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2025-03-07 21:00:09 +0100 |
| commit | 2fc4260287471e5fb985411ea3f60d6eb0a854dc (patch) | |
| tree | 13c0113b6eafde7e8f7f9c1d6c41e08812b4150c /waybar | |
| parent | 6d95f092e30737d49b650891e93de518498523a3 (diff) | |
| download | dotfiles-2fc4260287471e5fb985411ea3f60d6eb0a854dc.tar.gz dotfiles-2fc4260287471e5fb985411ea3f60d6eb0a854dc.zip | |
waybar modification
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config | 80 | ||||
| -rw-r--r-- | waybar/macchiato.css | 29 | ||||
| -rw-r--r-- | waybar/style.css | 178 |
3 files changed, 92 insertions, 195 deletions
diff --git a/waybar/config b/waybar/config index ef7c4b6..2909de5 100644 --- a/waybar/config +++ b/waybar/config @@ -1,45 +1,32 @@ { "layer": "top", - "margin": 2, - "spacing": 2, + "spacing": 0, + "margin": 0, "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, - "on-click": "~/.config/scripts/set_random ~/Pictures/Backgrounds/" - }, - "hyprland/workspaces": { - "persistent-workspaces": { - "*": 5 - }, - "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>", - "format-icons": { - "empty": "", - "default": "", - } - }, + "modules-left": ["clock", "network", "bluetooth", "backlight", "pulseaudio"], + "modules-center": ["tray"], + "modules-right": ["cpu", "memory", "temperature", "disk", "battery"], "tray": { "icon-size": 20, "spacing": 5, }, "bluetooth": { - "format": "", - "format-connected": "<span color='#8aadf4' font-family='Symbols Nerd Font Mono'></span>", - "tooltip-format": "{device_alias}", + "format-on": "<span font-family='Symbols Nerd Font Mono'></span>", + "format-off": "<span font-family='Symbols Nerd Font Mono'></span>", + "format-connected": "<span font-family='Symbols Nerd Font Mono'></span>", + "tooltip-format-connecte": "{device_alias}", + "tooltip-format-connected-battery": "{device_alias} ({device_battery_percentage}%)", "on-click": "foot 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>", + "format-wifi": "<span font-family='Symbols Nerd Font Mono'></span>", + "format-disconnected": "<span font-family='Symbols Nerd Font Mono'></span>", "tooltip-format": "{essid}", "on-click": "foot -T nmtui -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": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", + "format-muted": "<span font-family='Symbols Nerd Font Mono'></span> {volume}%", "format-icons": { "default": ["", "", ""], }, @@ -47,22 +34,22 @@ }, "backlight": { "device": "intel_backlight", - "format": "<span color='#ffffff' font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%", + "format": "<span 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": "<span 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>" + "<span>▁</span>", + "<span>▂</span>", + "<span>▃</span>", + "<span>▄</span>", + "<span>▅</span>", + "<span>▆</span>", + "<span>▇</span>", + "<span>█</span>" ], "on-click": "foot -T btop -o pad=0x0 btop", }, @@ -70,35 +57,32 @@ "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}°", + "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {temperatureC}°", + "format-critical": "<span 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", + "format": "<span 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}%", + "format": "<span 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": ["", "", "", "", ""], + "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-charging": "<span font-family='Symbols Nerd Font Mono'></span> {capacity}%", + "format-icons": ["","","","","","","","","","",""], }, "clock": { - "format": "<span color='#ed8796' font-family='Symbols Nerd Font Mono'></span> {:%H:%M}", + "format": "<span 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 deleted file mode 100644 index 70c6bf9..0000000 --- a/waybar/macchiato.css +++ /dev/null @@ -1,29 +0,0 @@ -: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 index 5fa4d4c..226ae92 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,148 +1,90 @@ -/* -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; + background: #212118; + color: #F1EFDA; +} + +.modules-left, .modules-center, .modules-right { + padding: 1px; } -tooltip, -.modules-left, -.modules-right { - background: #24253a; - border-radius: 10px; - border-color: #ed8796; +#clock,#network,#bluetooth,#backlight,#pulseaudio, +#battery,#disk,#temperature,#memory,#cpu, +#tray { + padding-left: 3px; + padding-right: 3px; + border-color: #64645B; border-style: solid; border-width: 1px; - padding-left: 2px; - padding-right: 2px; } - -tooltip { - background: #181926; +#network,#bluetooth,#backlight,#pulseaudio { + border-left-width: 0px; } - -tooltip label { - color: #cad3f5; +#disk,#temperature,#memory,#cpu { + border-right-width: 0px; } -.modules-left { - padding-right: 0px; -} - -#custom-cat, -#workspaces, -#tray, -#bluetooth.connected, -#network, -#pulseaudio, -#backlight, -#cpu, -#temperature, -#memory, -#disk, -#battery, #clock { - /*background: #181926;*/ - border-radius: 7px; - padding-left: 7px; - padding-right: 7px; - margin-top: 2px; - margin-bottom: 2px; + background: #A95758; } - -#custom-cat { - font-size: 22px; - background: #cad3f5; - border-radius: 7px; - margin: 3px; - margin-left: 1px; - margin-right: 3px; - padding: 5px; +#network { + background: #928982; } - -#workspaces { - padding: 0px; - margin: 3px; +#bluetooth { + background: #CE5B5D; } - -#tray { - margin-right: 2px; +#backlight { + background: #8B8A92; } - -#tray menu { - background: #181926; - color: #cad3f5; - border-radius: 10px; +#pulseaudio { + background: #8D7C66; } - -#temperature.critical { - background: #ed8796; - color: #181926; +#battery { + background: #A95758; } - -#battery.warning { - background: #f5a97f; - color: #181926; +#disk { + background: #928982; } - -#battery.critical { - background: #ed8796; - color: #181926; +#temperature { + background: #CE5B5D; } - -#battery.charging { - background: #a6da95; - color: #181926; +#memory { + background: #8B8A92; } - -#workspaces button { - color: #6e738d; - border-radius: 7px; - /*background: #181926;*/ - border-width: 0px; +#cpu { + background: #8D7C66; +} +#tray { + background: #45453A; } -#workspaces button.active { - color: #cad3f5; +tooltip { + background: #45453A; +} +tooltip label { + color: #F1EFDA; } -#workspaces button.urgent { - color: #181926; - background: #ed8796; +#tray menu { + background: #45453A; + color: #F1EFDA; } -#workspaces button:hover { - color: #181926; - background: #cad3f5; +#bluetooth.off, #pulseaudio.muted, #network.disconnected, #battery.warning { + background: #45453A; +} +#bluetooth.off { + color: #CE5B5D; +} +#pulseaudio.muted { + color: #8D7C66; +} +#network.disconnected { + color: #928982; +} +#battery.warning { + color: #A95758; } |
