some small ew fixes

This commit is contained in:
2025-05-13 09:22:21 +02:00
parent ce136de488
commit 5101718c2a
3 changed files with 10 additions and 27 deletions

View File

@@ -1,20 +1,20 @@
@import 'widgets'; @import "widgets";
* { * {
all: unset; all: unset;
} }
tooltip { tooltip {
background: #2E3440; background: #2e3440;
color: #E5E6E7; color: #e5e6e7;
border-radius: 1.5rem 1rem; border-radius: 1.5rem 1rem;
border: 1px solid #6F7175; border: 1px solid #6f7175;
} }
.popup { .popup {
background: #2E3440; background: #2e3440;
color: #E5E6E7; color: #e5e6e7;
border: 1px solid #6F7175; border: 1px solid #6f7175;
} }
.popup menuitem:hover { .popup menuitem:hover {
@@ -26,22 +26,9 @@ window {
color: transparent; color: transparent;
* { * {
font-family: 'Inconsolata Go Nerd Font'; font-family: "Inconsolata Go Nerd Font";
font-size: 0.85rem; font-size: 0.85rem;
border-radius: 1.5rem 1rem; border-radius: 1.5rem 1rem;
padding: 2px 6px; padding: 2px 6px;
} }
/* Modules */
.left {
//background: orange;
}
.center {
//background: blue;
}
.right {
//background: yellow;
}
} }

View File

@@ -3,7 +3,7 @@
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "0%" :y "0%"
:width "90%" :width "90%"
:height "10px" :height "1%"
:anchor "top center") :anchor "top center")
:stacking "bg" :stacking "bg"
:exclusive true :exclusive true
@@ -32,7 +32,6 @@
:class 'center' :class 'center'
:space-evenly false :space-evenly false
:spacing 5 :spacing 5
(media)
(hyprscreencast) (hyprscreencast)
(sysmon))) (sysmon)))
@@ -41,7 +40,7 @@
:orientation 'h' :orientation 'h'
:class 'right' :class 'right'
:space-evenly false :space-evenly false
:spacing 5 :spacing 2
:halign 'end' :halign 'end'
(hyprsunset) (hyprsunset)
(datetime) (datetime)

View File

@@ -11,6 +11,3 @@
? "eww update display-fix=on && nohup hyprsunset -t ${temperature} > /dev/null 2>&1 &" ? "eww update display-fix=on && nohup hyprsunset -t ${temperature} > /dev/null 2>&1 &"
: "eww update display-fix=off && pkill hyprsunset"}` : "eww update display-fix=off && pkill hyprsunset"}`
`${display-fix == "off" ? "󰛨 Off" : "󱩌 On"}`))) `${display-fix == "off" ? "󰛨 Off" : "󱩌 On"}`)))