Eww reformatting and fixes

This commit is contained in:
marc
2024-03-02 18:06:17 +01:00
parent 466ddf2cd9
commit d1b63fe326
8 changed files with 23 additions and 47 deletions

View File

@@ -1,5 +1,3 @@
@import './colour-scheme.scss'
*{
all: unset;
font-family: Iosevka;
@@ -42,7 +40,7 @@ tooltip label {
/** Wifi **/
.wifi {
color: $base0C;
color: $base0D;
}
.wifi-text {

View File

@@ -22,7 +22,6 @@
(bar-center)
(bar-right)))
(defwidget bar-left []
(box :halign "start"
:orientation "h"
@@ -32,7 +31,6 @@
(box :halign "center"
:orientation "h"))
(defwidget bar-right []
(box :halign "end"
:orientation "h"

View File

@@ -1,16 +0,0 @@
$base00: #1c2735;
$base01: #3e4856;
$base02: #616a76;
$base03: #838c97;
$base04: #a5adb7;
$base05: #c7cfd7;
$base06: #cfd6dd;
$base07: #d8dde3;
$base08: #ec5b5c;
$base09: #667b87;
$base0A: #547f87;
$base0B: #7c7399;
$base0C: #b25b8e;
$base0D: #b75a80;
$base0E: #d4445b;
$base0F: #5d7aa2;

View File

@@ -1 +1,2 @@
@import './colour-scheme.scss'
@import './bars/top-bar.scss'

View File

@@ -4,22 +4,17 @@
(defvar date-reveal false)
(defwidget clock-module []
(eventbox
:onhover "${EWW_CMD} update date-reveal=true"
(eventbox :onhover "${EWW_CMD} update date-reveal=true"
:onhoverlost "${EWW_CMD} update date-reveal=false"
(box
:class "module clock"
(box :class "module clock"
:orientation "h"
:space-evenly "false"
(label
:text clock-time
(label :text clock-time
:class "clock-time")
(revealer
:transition "slideleft"
(revealer :transition "slideleft"
:duration "750ms"
:reveal {date-reveal}
(box
:orientation "h"
(box :orientation "h"
(label :text clock-date
:class "clock-date")
(label :text clock-year

View File

@@ -6,5 +6,5 @@
:visible false)
(for workspace in workspaces
(eventbox :onclick "hyprctl dispatch workspace ${workspace.id}"
(box :class "workspace-entry ${workspace.id == current_workspace ? "current" : ""} ${workspace.windows > 0 ? "occupied" : "empty"}"
(label :text "${workspace.id == current_workspace ? "" : ""}"))))))
(label :text "${workspace.id == current_workspace ? "" : ""}"
:class "workspace-entry ${workspace.id == current_workspace ? "current" : ""} ${workspace.windows > 0 ? "occupied" : "empty"}")))))

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@@ -3,7 +3,7 @@
with lib;
let
nix-colors-lib = inputs.nix-colors.lib-contrib { inherit pkgs; };
wallpaper = ../../data/wallpapers/globus.jpg;
wallpaper = ../../data/wallpapers/wallhaven/canyon.jpg;
in
{
imports = [