From bf9e720177d14ac36dae51df9e6b2aa8b4f1acb5 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Sat, 29 Jun 2024 15:51:01 +0330 Subject: [PATCH] refactor: eww styles moved to assets folder --- .../hyprland/eww/{ => assets}/scss/global.scss | 0 .../eww/{ => assets}/scss/themes/biscuit.scss | 0 .../scss/themes/biscuit_light.scss | 0 .../eww/{ => assets}/scss/themes/camellia.scss | 0 .../{ => assets}/scss/themes/catppuccin.scss | 0 .../scss/themes/catppuccin_latte.scss | 0 .../{ => assets}/scss/themes/everblush.scss | 0 .../{ => assets}/scss/themes/feverblush.scss | 0 .../{ => assets}/scss/themes/fullerene.scss | 0 .../{ => assets}/scss/themes/oxocarbon.scss | 0 .../scss/themes/oxocarbon_light.scss | 0 .../eww/{ => assets}/scss/themes/rosepine.scss | 0 .../eww/{ => assets}/scss/themes/swamp.scss | 0 .../eww/{ => assets}/scss/widgets/clock.scss | 0 .../eww/{ => assets}/scss/windows/vbar.scss | 0 hypr-configs/hyprland/eww/eww.scss | 16 ++++++++-------- hypr-configs/hyprland/eww/format.sh | 1 + hypr-configs/hyprland/eww/src/dock/main.yuck | 18 +++++++++--------- 18 files changed, 18 insertions(+), 17 deletions(-) rename hypr-configs/hyprland/eww/{ => assets}/scss/global.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/biscuit.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/biscuit_light.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/camellia.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/catppuccin.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/catppuccin_latte.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/everblush.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/feverblush.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/fullerene.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/oxocarbon.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/oxocarbon_light.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/rosepine.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/themes/swamp.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/widgets/clock.scss (100%) rename hypr-configs/hyprland/eww/{ => assets}/scss/windows/vbar.scss (100%) create mode 100755 hypr-configs/hyprland/eww/format.sh diff --git a/hypr-configs/hyprland/eww/scss/global.scss b/hypr-configs/hyprland/eww/assets/scss/global.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/global.scss rename to hypr-configs/hyprland/eww/assets/scss/global.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/biscuit.scss b/hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/biscuit.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/biscuit_light.scss b/hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/biscuit_light.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/camellia.scss b/hypr-configs/hyprland/eww/assets/scss/themes/camellia.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/camellia.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/camellia.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/catppuccin.scss b/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/catppuccin.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/catppuccin_latte.scss b/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/catppuccin_latte.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/everblush.scss b/hypr-configs/hyprland/eww/assets/scss/themes/everblush.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/everblush.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/everblush.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/feverblush.scss b/hypr-configs/hyprland/eww/assets/scss/themes/feverblush.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/feverblush.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/feverblush.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/fullerene.scss b/hypr-configs/hyprland/eww/assets/scss/themes/fullerene.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/fullerene.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/fullerene.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/oxocarbon.scss b/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/oxocarbon.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/oxocarbon_light.scss b/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/oxocarbon_light.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/rosepine.scss b/hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/rosepine.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss diff --git a/hypr-configs/hyprland/eww/scss/themes/swamp.scss b/hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/themes/swamp.scss rename to hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss diff --git a/hypr-configs/hyprland/eww/scss/widgets/clock.scss b/hypr-configs/hyprland/eww/assets/scss/widgets/clock.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/widgets/clock.scss rename to hypr-configs/hyprland/eww/assets/scss/widgets/clock.scss diff --git a/hypr-configs/hyprland/eww/scss/windows/vbar.scss b/hypr-configs/hyprland/eww/assets/scss/windows/vbar.scss similarity index 100% rename from hypr-configs/hyprland/eww/scss/windows/vbar.scss rename to hypr-configs/hyprland/eww/assets/scss/windows/vbar.scss diff --git a/hypr-configs/hyprland/eww/eww.scss b/hypr-configs/hyprland/eww/eww.scss index 3bad027..4eee709 100644 --- a/hypr-configs/hyprland/eww/eww.scss +++ b/hypr-configs/hyprland/eww/eww.scss @@ -1,18 +1,18 @@ -@import "./scss/themes/feverblush.scss"; +@import "./assets/scss/themes/feverblush.scss"; -@import "./scss/global.scss"; +@import "./assets/scss/global.scss"; -@import "./scss/windows/vbar.scss"; +@import "./assets/scss/windows/vbar.scss"; -@import "./src/control-panel/styles.scss"; +@import "./assets/src/control-panel/styles.scss"; -@import "./src/dashboard/styles.scss"; +@import "./assets/src/dashboard/styles.scss"; -@import "./src/dock/styles.scss"; +@import "./assets/src/dock/styles.scss"; -@import "./src/desktop/styles.scss"; +@import "./assets/src/desktop/styles.scss"; -@import "./src/notification/styles.scss"; +@import "./assets/src/notification/styles.scss"; * { all: unset; diff --git a/hypr-configs/hyprland/eww/format.sh b/hypr-configs/hyprland/eww/format.sh new file mode 100755 index 0000000..3c2a726 --- /dev/null +++ b/hypr-configs/hyprland/eww/format.sh @@ -0,0 +1 @@ +echo "Shit" diff --git a/hypr-configs/hyprland/eww/src/dock/main.yuck b/hypr-configs/hyprland/eww/src/dock/main.yuck index a461818..9479cdb 100644 --- a/hypr-configs/hyprland/eww/src/dock/main.yuck +++ b/hypr-configs/hyprland/eww/src/dock/main.yuck @@ -1,9 +1,9 @@ (defwindow dock :geometry (geometry - :x 0 - :y 0 - :width 10 - :height 54 + :x 0 + :y 0 + :width 10 + :height 54 :anchor "bottom center") :monitor 0 (dockstruct)) @@ -17,7 +17,7 @@ :space-evenly false :valign "end" (box - :height 4) + :height 4) (revealer :reveal revealDock :transition "slideup" @@ -43,8 +43,8 @@ (image :image-width iconsize :image-height iconsize - :path {task.path}) - + :path {task.path}) + (scroll :hscroll true :vscroll false @@ -58,6 +58,6 @@ :class "dockindicate" :hexpand false :width { focus ? 10 : 5 } - :height 3)))) - ))))) + :height 3)))) + )))))