diff --git a/modules/ewwbar/eww-config/dashboard/dashboard.scss b/modules/ewwbar/eww-config/dashboard/dashboard.scss index cf65e49..886c2a9 100644 --- a/modules/ewwbar/eww-config/dashboard/dashboard.scss +++ b/modules/ewwbar/eww-config/dashboard/dashboard.scss @@ -6,6 +6,8 @@ .dash_clock { // background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a); border-radius: 16px; + background-repeat: no-repeat; + background-size: 400px 150px; } .dash_clock_bg { @@ -15,10 +17,28 @@ .dash_clock_time { font-size: 30px; + text-shadow: + -1px -1px 0 #000, + 0 -1px 0 #000, + 1px -1px 0 #000, + 1px 0 0 #000, + 1px 1px 0 #000, + 0 1px 0 #000, + -1px 1px 0 #000, + -1px 0 0 #000; } .dash_clock_date { font-size: 20px; + text-shadow: + -1px -1px 0 #000, + 0 -1px 0 #000, + 1px -1px 0 #000, + 1px 0 0 #000, + 1px 1px 0 #000, + 0 1px 0 #000, + -1px 1px 0 #000, + -1px 0 0 #000; } .btn_logout, .btn_restart, .btn_shutdown, .btn_switch_windows { diff --git a/modules/ewwbar/eww-config/dashboard/dashboard.yuck b/modules/ewwbar/eww-config/dashboard/dashboard.yuck index 2acb8a2..a8a2c6a 100644 --- a/modules/ewwbar/eww-config/dashboard/dashboard.yuck +++ b/modules/ewwbar/eww-config/dashboard/dashboard.yuck @@ -23,11 +23,13 @@ (defwidget dash_clock_bg [] (box :class "dash_clock_bg" + ;; :style "background-image: ${clock_gradient}" :style "background-image: ${clock_gradient}" )) (defwidget dash_clock [] (box :class "dash_clock" + :style "background-image: url('images/dash_clock_bg.png');" :orientation "v" :vexpand "false" :hexpand "false" @@ -38,7 +40,7 @@ (label :class "dash_clock_date" :halign "center" :text {formattime(EWW_TIME, "%B, %d %Y")}) - (box :vexpand "true") + ;; (box :vexpand "true") )) (defwidget logout [] diff --git a/modules/ewwbar/eww-config/images/dash_clock_bg.png b/modules/ewwbar/eww-config/images/dash_clock_bg.png new file mode 100755 index 0000000..96b612d Binary files /dev/null and b/modules/ewwbar/eww-config/images/dash_clock_bg.png differ