From ab0c103ad963281467f91a662f55608c42fbee3e Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Mon, 28 Apr 2025 23:09:05 +0200 Subject: [PATCH] Adjust style for waybar --- .config/nvim/lazyvim.json | 3 +- .../theming/applications/waybar/style.scss | 34 +++++-------------- .config/waybar/configurations/hidden.json | 2 +- .../xfconf/xfce-perchannel-xml/thunar.xml | 2 +- 4 files changed, 11 insertions(+), 30 deletions(-) diff --git a/.config/nvim/lazyvim.json b/.config/nvim/lazyvim.json index 609158c..6edeb94 100644 --- a/.config/nvim/lazyvim.json +++ b/.config/nvim/lazyvim.json @@ -1,7 +1,6 @@ { "extras": [ - "lazyvim.plugins.extras.coding.yanky", - "lazyvim.plugins.extras.lang.markdown" + "lazyvim.plugins.extras.coding.yanky" ], "install_version": 8, "news": { diff --git a/.config/theming/applications/waybar/style.scss b/.config/theming/applications/waybar/style.scss index da4bfcd..1e7ba7b 100644 --- a/.config/theming/applications/waybar/style.scss +++ b/.config/theming/applications/waybar/style.scss @@ -28,37 +28,19 @@ window { window.semi-hidden { background-color: transparent; + opacity: 1; + transition: opacity 0.3s ease-in-out; + & > box > box > widget { + border-radius: $border-radius; - .modules-left, .modules-center, .modules-right { - border-radius: $border-radius 0 0 $border-radius; - - border-right: none; background-color: $background; - border-bottom: 1px solid rgba($foreground, 0.4); - border-left: 1px solid rgba($foreground, 0.4); - border-top: 1px solid rgba($foreground, 0.4); + border: 1px solid rgba($foreground, 0.4); + box-shadow: $box-shadow-inner-less } - .modules-center { - padding-left: 0.3rem; - } - - .modules-left { - padding-right: 1rem; - } - - #laptop { - border-radius: 0; - padding-bottom: 1px; - border-bottom: 1px solid $foreground; - } - - #app_drawer, - #audio { - border-radius: 0; - padding-bottom: 1px; - border-bottom: 1px dashed $foreground; + .hidden { + opacity: 0; } } diff --git a/.config/waybar/configurations/hidden.json b/.config/waybar/configurations/hidden.json index 4f4ed99..befdc03 100644 --- a/.config/waybar/configurations/hidden.json +++ b/.config/waybar/configurations/hidden.json @@ -11,7 +11,7 @@ "id": "semi-hidden", "start_hidden": true, - "margin-right": 0, + "margin-right": 10, "modules-left": [ "group/app_drawer", diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 7f17a2b..0856af7 100644 --- a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -19,5 +19,5 @@ - +