From e6db792de40257832e5e1b6df82c4d99241290e5 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Thu, 5 Sep 2024 23:40:44 +0200 Subject: [PATCH] waybar: prettier.io test run --- config/dot-config/waybar/config.jsonc | 22 ++++++++++++++-------- config/dot-config/waybar/style.css | 24 +++++++++++------------- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/config/dot-config/waybar/config.jsonc b/config/dot-config/waybar/config.jsonc index 897d1d4e..235dfb4f 100644 --- a/config/dot-config/waybar/config.jsonc +++ b/config/dot-config/waybar/config.jsonc @@ -1,4 +1,4 @@ -//# kak: filetype=json:ts=2:iw=2 +// vim ft=json:ts=2:sw=2 { "layer": "top", // Waybar at top layer "position": "top", // Waybar position (top|bottom|left|right) @@ -8,13 +8,19 @@ "modules-left": ["custom/launcher", "hyprland/workspaces", "mpd"], "modules-center": ["hyprland/window"], "modules-right": [ - "tray", "custom/pipespacer", + "tray", + "custom/pipespacer", "cpu", - "memory", "custom/pipespacer", - "group/temps", "custom/pipespacer", - "group/gammarelay", "custom/pipespacer", - "pulseaudio", "custom/pipespacer", - "idle_inhibitor", "custom/pipespacer", + "memory", + "custom/pipespacer", + "group/temps", + "custom/pipespacer", + "group/gammarelay", + "custom/pipespacer", + "pulseaudio", + "custom/pipespacer", + "idle_inhibitor", + "custom/pipespacer", "clock", "custom/notification", ], @@ -250,7 +256,7 @@ }, }, -/* "none": "", */ + /* "none": "", */ "custom/notification": { "tooltip": false, diff --git a/config/dot-config/waybar/style.css b/config/dot-config/waybar/style.css index ef6b275e..0bfa74bb 100644 --- a/config/dot-config/waybar/style.css +++ b/config/dot-config/waybar/style.css @@ -23,10 +23,10 @@ background-color: transparent; } -#waybar>box { - padding-left: 4px; - padding-right: 4px; - background: none; +#waybar > box { + padding-left: 4px; + padding-right: 4px; + background: none; } tooltip { @@ -63,7 +63,7 @@ tooltip label { margin-left: 1px; margin-right: 1px; margin-bottom: 2px; - background-color: alpha(@brightblack,0.3); + background-color: alpha(@brightblack, 0.3); font-size: 13pt; background: none; } @@ -150,7 +150,7 @@ window#waybar { border-left: 1px solid @brightblack; border-right: 1px solid @brightblack; border-bottom: 1px solid @brightblack; - background-color: alpha(@background, 0.80); + background-color: alpha(@background, 0.8); transition-property: background-color; transition-duration: 0.5s; /*background-image: url("/home/andy/dotfiles/config/waybar/textures/D_0.65.png"); @@ -159,13 +159,12 @@ window#waybar { */ } - /* ------------------------------------ modules right ------------------------------ */ #tray { padding-left: 8px; padding-right: 8px; color: @brightblack; - background-color: alpha(@brightblack,0.3); + background-color: alpha(@brightblack, 0.3); background: none; border: none; } @@ -184,7 +183,7 @@ window#waybar { #mpd#volume { padding-left: 0px; color: @white; - background: alpha(@brightblack,0.3); + background: alpha(@brightblack, 0.3); padding-right: 4px; background: none; border: none; @@ -279,9 +278,9 @@ window#waybar { } #custom-pipespacer { - background: none; - border: none; - color: @foreground; + background: none; + border: none; + color: @foreground; } #custom-notification { @@ -297,4 +296,3 @@ window#waybar { border-radius: 8px 2px 8px 2px; font-size: 14pt; } - -- 2.51.2