diff --git a/hypr-configs/hyprland/eww/eww.scss b/hypr-configs/hyprland/eww/eww.scss index b6afb0d..c8eb3f6 100644 --- a/hypr-configs/hyprland/eww/eww.scss +++ b/hypr-configs/hyprland/eww/eww.scss @@ -1,6 +1,8 @@ -@import "./assets/themes/fullerene.scss"; +@import "./scss/themes/oxocarbon.scss"; -@import "./src/sidebar/styles.scss"; +@import "./scss/global.scss"; + +@import "./src/widgets/vbar/styles.scss"; @import "./src/control-panel/styles.scss"; diff --git a/hypr-configs/hyprland/eww/eww.yuck b/hypr-configs/hyprland/eww/eww.yuck index 4a90c78..9214e36 100644 --- a/hypr-configs/hyprland/eww/eww.yuck +++ b/hypr-configs/hyprland/eww/eww.yuck @@ -1,7 +1,7 @@ (include "./src/utils/_revealer.yuck") (include "./src/_definitions.yuck") -(include "./src/sidebar/main.yuck") +(include "./setups/sidebar.yuck") (include "./src/control-panel/main.yuck") (include "./src/wallpapers/main.yuck") (include "./src/dashboard/main.yuck") diff --git a/hypr-configs/hyprland/eww/scripts/__pycache__/iconfetch.cpython-312.pyc b/hypr-configs/hyprland/eww/scripts/__pycache__/iconfetch.cpython-312.pyc index cb7f7f3..ba411fc 100644 Binary files a/hypr-configs/hyprland/eww/scripts/__pycache__/iconfetch.cpython-312.pyc and b/hypr-configs/hyprland/eww/scripts/__pycache__/iconfetch.cpython-312.pyc differ diff --git a/hypr-configs/hyprland/eww/scss/global.scss b/hypr-configs/hyprland/eww/scss/global.scss new file mode 100644 index 0000000..2bc2c28 --- /dev/null +++ b/hypr-configs/hyprland/eww/scss/global.scss @@ -0,0 +1,11 @@ +@mixin widget() { + padding: 5px 5px; + border-radius: 5px; + background-color: $surface0; + margin: 5px 2px; + color: $white0; +} + +.widget { + @include widget; +} diff --git a/hypr-configs/hyprland/eww/assets/themes/biscuit.scss b/hypr-configs/hyprland/eww/scss/themes/biscuit.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/biscuit.scss rename to hypr-configs/hyprland/eww/scss/themes/biscuit.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/biscuit_light.scss b/hypr-configs/hyprland/eww/scss/themes/biscuit_light.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/biscuit_light.scss rename to hypr-configs/hyprland/eww/scss/themes/biscuit_light.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/camellia.scss b/hypr-configs/hyprland/eww/scss/themes/camellia.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/camellia.scss rename to hypr-configs/hyprland/eww/scss/themes/camellia.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/catppuccin.scss b/hypr-configs/hyprland/eww/scss/themes/catppuccin.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/catppuccin.scss rename to hypr-configs/hyprland/eww/scss/themes/catppuccin.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/catppuccin_latte.scss b/hypr-configs/hyprland/eww/scss/themes/catppuccin_latte.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/catppuccin_latte.scss rename to hypr-configs/hyprland/eww/scss/themes/catppuccin_latte.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/everblush.scss b/hypr-configs/hyprland/eww/scss/themes/everblush.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/everblush.scss rename to hypr-configs/hyprland/eww/scss/themes/everblush.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/feverblush.scss b/hypr-configs/hyprland/eww/scss/themes/feverblush.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/feverblush.scss rename to hypr-configs/hyprland/eww/scss/themes/feverblush.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/fullerene.scss b/hypr-configs/hyprland/eww/scss/themes/fullerene.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/fullerene.scss rename to hypr-configs/hyprland/eww/scss/themes/fullerene.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/oxocarbon.scss b/hypr-configs/hyprland/eww/scss/themes/oxocarbon.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/oxocarbon.scss rename to hypr-configs/hyprland/eww/scss/themes/oxocarbon.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/oxocarbon_light.scss b/hypr-configs/hyprland/eww/scss/themes/oxocarbon_light.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/oxocarbon_light.scss rename to hypr-configs/hyprland/eww/scss/themes/oxocarbon_light.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/rosepine.scss b/hypr-configs/hyprland/eww/scss/themes/rosepine.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/rosepine.scss rename to hypr-configs/hyprland/eww/scss/themes/rosepine.scss diff --git a/hypr-configs/hyprland/eww/assets/themes/swamp.scss b/hypr-configs/hyprland/eww/scss/themes/swamp.scss similarity index 100% rename from hypr-configs/hyprland/eww/assets/themes/swamp.scss rename to hypr-configs/hyprland/eww/scss/themes/swamp.scss diff --git a/hypr-configs/hyprland/eww/setups/sidebar.yuck b/hypr-configs/hyprland/eww/setups/sidebar.yuck new file mode 100644 index 0000000..4d13921 --- /dev/null +++ b/hypr-configs/hyprland/eww/setups/sidebar.yuck @@ -0,0 +1,11 @@ +(include "./src/widgets/vbar/main.yuck") + +(defwindow bar + :geometry (geometry + :x "0%" + :y "0%" + :anchor "center left") + :exclusive true + :monitor 0 + :wm-ignore false + (vbar)) \ No newline at end of file diff --git a/hypr-configs/hyprland/eww/src/sidebar/main.yuck b/hypr-configs/hyprland/eww/src/sidebar/main.yuck deleted file mode 100644 index 939bd4b..0000000 --- a/hypr-configs/hyprland/eww/src/sidebar/main.yuck +++ /dev/null @@ -1,349 +0,0 @@ - -(defwindow bar - :geometry (geometry - :x "0%" - :y "0%" - :anchor "center left") - ; :reserve (struts :distance "60" :side "left") - ;; :stacking "bg" - :exclusive true - :monitor 0 - ;; :windowtype "dock" - :wm-ignore false - (barstruct)) - - -(defwidget barstruct [] - (box - :orientation "h" - :space-evenly false - (revealer - :transition "slideleft" - :reveal revealControlpanel - (control_widget)) - (centerbox - :class "barwidget" - :orientation "v" - :height "1080" - ;; :space-evenly true - (top) - (middle) - (bottom) - ))) - -(defwidget top [] (box - :orientation "v" - :space-evenly false - :valign "start" - :class "top_modules" - :height "450" - :vexpand false - (home) - (workspaces) - (hiddenctl) - )) - -(defwidget middle [] - (box - :orientation "v" - :space-evenly false - :valign "center" - :vexpand false - :class "center_modules" - :height "180" - (playerctl) - )) - -(defwidget bottom [] - (box - :orientation "v" - :space-evenly false - :valign "end" - :class "bottom_modules" - :vexpand false - :hexpand false - ; (systemtray) - (sliders) - (clock) - ; (battery) - )) - -(defwidget workspaces [] - (eventbox - :cursor "pointer" - :onscroll "./scripts/workspace/set-active {} ${current_workspace}" - :onhover "${EWW_CMD} update show_no_of_windows=true" - :onhoverlost "${EWW_CMD} update show_no_of_windows=false" - (box - :class "workspaces" - :space-evenly false - :orientation "v" - - (for workspace in {workspacesjson} - (button - :onclick "hyprctl dispatch workspace ${workspace.id}" - (box - :height 30 - :class "workspace ${workspace.id == current_workspace ? "workspacethingactive" : "workspacething"}" - - (revealer - :reveal { workspace.id == current_workspace } - :transition "slideup" - :duration 500 - - (box - :height 45 - ) - ) - ) - - ) - ) - ) - ) - ) - -(defwidget home [] - (box - :class "widget" - :hexpand false - :vexpand false - (eventbox - ;; :onclick "~/.config/eww/meowidgets/scripts/launch" - ;; :onclick "~/.config/eww/meowayland/scripts/launch" - ;; :onclick "./scripts/pop control" - :onclick "${EWW_CMD} update revealControlpanel=${ !revealControlpanel }" - :onrightclick "${EWW_CMD} open wallpaperselect --toggle" - :cursor "pointer" - (label :text "" :halign "center" :class "launchicon" :style "padding: 2px 0px;")))) - -(defwidget systemtray [] - (box - :class "widget" - :space-evenly false - :valign "end" - :orientation "v" - (eventbox - :onclick "${EWW_CMD} update revealSystray=${!revealSystray}" - (label :angle {!revealSystray ? 90 : 270} :class "revealtouch" :tooltip "reveal systray" :text "")) - - (revealer - :reveal revealSystray - :transition "slideup" - (systray - :icon_size 6 - :prepend-new true - )) - )) - -(defwidget clock [] - (eventbox - :cursor "pointer" - :onclick "${EWW_CMD} open calendar --toggle" - (box - :orientation "v" - :space-evenly false - :class "widget clock" - - (label :text thour) - (label :text tmin) - (label :text tpm)))) - -(defwidget battery [] - (box - :orientation "v" - :space-evenly false - :class "widget" - (overlay - (scale - :class "${EWW_BATTERY.BAT0.status == 'Charging' ? 'charging': bat0 < 16 ? 'dying': 'normal'} bat_scale" - :value "${bat0}" - :orientation "v" - :max 100 - :min 0 - :active false - :flipped true) - (label - :class "lightning" - :visible {EWW_BATTERY.BAT0.status == "Charging"} - :text "󱐋")) - (label :text "${EWW_BATTERY.BAT0.capacity}%" :limit-width 3 :show-truncated false))) - -(defwidget hiddenctl [] - (eventbox - :cursor "pointer" - :onclick {reveal3 ? "${EWW_CMD} update reveal3=false" : "${EWW_CMD} update reveal3=true"} - (box - :orientation "v" - :class "widget" - :space-evenly false - (revealer - :reveal reveal3 - :transition "slideup" - :duration "500ms" - (box - :class "touch" - :orientation "v" - :spacing 5 - (button :onclick "swaymsg kill" - (label :class "icon" :text "󰅙")) - (button :onclick "wofi --show=drun -i -I" - (label :class "icon" :text "󰀻")) - (button :onclick "./scripts/touchkey.sh" - (label :class "icon" :text "󰌌")))) - (label :angle {reveal3 ? 90 : 270} :class "revealtouch" :tooltip "touch control" :text "") - (revealer - :reveal {!reveal3} - :transition "slidedown" - ;; (tasklist))))) - )))) - -(defwidget playerctl [] - (eventbox - :cursor "pointer" - (box - :class "playerctl widget" - :orientation "v" - :space-evenly true - :spacing 6 - - (eventbox - :onclick "${EWW_CMD} open music --toggle" - (image :path { pcover == "" ? "./assets/image/emptympd.png" : pcover } :image-width 20 :image-height 20)) - (button :onclick "playerctl previous" - (label :class "picon" :text "󰒮")) - (button :onclick "playerctl play-pause" - (label :class "picon" :text { pstatus == "Playing" ? "" : "" })) - (button :onclick "playerctl next" - (label :class "picon" :text "󰒭")) - ))) - -(defwidget sliders [] - (box - :class "widget" - :orientation "v" - :space-evenly false - :spacing 5 - :valign "end" - (button :onclick "alacritty -e nmtui" :tooltip wifi_essid - (label :class "icon" :style "font-size: 18px;" :text wifi_icon)) - - (reveal_on_hover - :var revealVolume - :varname "revealVolume" - (box - :orientation "v" - :space-evenly false - :class "sound" - (label :class "icon" :text {volumemute == 'false' ? "󰕾" : "󰖁"}) - ;; {volumemute == 'no' ? volume : " Muted"}) - ) - (scale - :class "volslide" - :value volume - :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%" - :orientation "v" - :tooltip "${volume}%" - :max 101 - :min 0 - :flipped true)) - - (reveal_on_hover - :var revealMicrophone - :varname "revealMicrophone" - (box - :orientation "v" - :space-evenly false - :class "sound" - (label :class "icon" :text {volumemute == 'false' ? "" : "󰖁"})) - (scale - :class "volslide" - :value mic_volume - :onchange "pactl set-source-volume @DEFAULT_SOURCE@ {}%" - :orientation "v" - :tooltip "${mic_volume}%" - :max 101 - :min 0 - :flipped true)) - - (reveal_on_hover - :var revealBrightness - :varname "revealBrightness" - (box - :orientation "v" - :space-evenly false - :class "bright" - (label :class "icon" :text "󰃞")) - (scale - :class "brislide" - :onchange "brightnessctl set {}%" - :value brightness - :orientation "v" - :tooltip "${brightness}%" - :max 100 - :min 0 - :flipped true)) - )) - -;; other windows -(defwindow calendar - :geometry (geometry :x "0" - :y "0" - :width "100" - :height "35" - :anchor "bottom left") - :stacking "overlay" - :monitor 0 - (box - :class "popup" - (box - :class "unbarwidget" - (calendar :day calendar_day :year calendar_year :class "cal")))) - -(defwindow music - :geometry (geometry :x "0" - :y "0" - :width "440" - :height "200" - :anchor "center left") - :stacking "overlay" - :monitor 0 - (box - :class "popup" - (box - :orientation "h" - :class "unbarwidget" - :space-evenly false - :spacing 20 - (image :style "margin: 5px;" :image-height 190 :image-width 190 :path { pcover == "" ? "./assets/image/emptympd.png" : pcover }) - (box - :orientation "v" - :space-evenly false - :width 210 - :height 200 - (scroll - :hscroll true - :vscroll false - (label :class "mtitle" :text psong)) - (scroll - :hscroll true - :vscroll false - (label :class "mauthor" :text partist)) - (box - :orientation "h" - :class "mpd_controls" - :style "margin-top: 10px;" - (button :onclick "playerctl previous" - (label :text "󰒮")) - (button :style "padding-right: 3px;" :onclick "playerctl play-pause" - (label :text { pstatus == "Playing" ? "" : ""} )) - (button :onclick "playerctl next" (label :text "󰒭"))) - (scale - :class "seektime" - :value { ptime.position } - :orientation "h" - ;; :onchange "playerctl position {}" - :min 0 - :max { ptime.duration } - :tooltip { ptime.readable })) - ))) diff --git a/hypr-configs/hyprland/eww/src/widgets/vbar/main.yuck b/hypr-configs/hyprland/eww/src/widgets/vbar/main.yuck new file mode 100644 index 0000000..d67ffcf --- /dev/null +++ b/hypr-configs/hyprland/eww/src/widgets/vbar/main.yuck @@ -0,0 +1,336 @@ +(defwidget vbar [] + (box + :orientation "h" + :space-evenly false + :vexpand true + :height "1080" + + (revealer + :transition "slideleft" + :reveal revealControlpanel + (control_widget)) + (centerbox + :class "vbar" + :orientation "v" + + ;; :space-evenly true + (top) + (middle) + (bottom) + ))) + + (defwidget top [] (box + :orientation "v" + :space-evenly false + :valign "start" + :vexpand false + (home) + (workspaces) + (hiddenctl) + )) + + (defwidget middle [] + (box + :orientation "v" + :space-evenly false + :valign "center" + :vexpand false + :class "center_modules" + :height "180" + (playerctl) + )) + + (defwidget bottom [] + (box + :orientation "v" + :space-evenly false + :valign "end" + :class "bottom_modules" + :vexpand false + :hexpand false + ; (systemtray) + (sliders) + (clock) + ; (battery) + )) + + (defwidget workspaces [] + (eventbox + :cursor "pointer" + :onscroll "./scripts/workspace/set-active {} ${current_workspace}" + :onhover "${EWW_CMD} update show_no_of_windows=true" + :onhoverlost "${EWW_CMD} update show_no_of_windows=false" + (box + :class "workspaces" + :space-evenly false + :orientation "v" + + (for workspace in {workspacesjson} + (button + :onclick "hyprctl dispatch workspace ${workspace.id}" + (box + :height 30 + :class "workspace ${workspace.id == current_workspace ? "workspacethingactive" : "workspacething"}" + + (revealer + :reveal { workspace.id == current_workspace } + :transition "slideup" + :duration 500 + + (box + :height 45 + ) + ) + ) + + ) + ) + ) + ) + ) + + (defwidget home [] + (box + :class "widget" + :hexpand false + :vexpand false + (eventbox + ;; :onclick "~/.config/eww/meowidgets/scripts/launch" + ;; :onclick "~/.config/eww/meowayland/scripts/launch" + ;; :onclick "./scripts/pop control" + :onclick "${EWW_CMD} update revealControlpanel=${ !revealControlpanel }" + :onrightclick "${EWW_CMD} open wallpaperselect --toggle" + :cursor "pointer" + (label :text "" :halign "center" :class "launchicon" :style "padding: 2px 0px;")))) + + (defwidget systemtray [] + (box + :class "widget" + :space-evenly false + :valign "end" + :orientation "v" + (eventbox + :onclick "${EWW_CMD} update revealSystray=${!revealSystray}" + (label :angle {!revealSystray ? 90 : 270} :class "revealtouch" :tooltip "reveal systray" :text "")) + + (revealer + :reveal revealSystray + :transition "slideup" + (systray + :icon_size 6 + :prepend-new true + )) + )) + + (defwidget clock [] + (eventbox + :cursor "pointer" + :onclick "${EWW_CMD} open calendar --toggle" + (box + :orientation "v" + :space-evenly false + :class "widget clock" + + (label :text thour) + (label :text tmin) + (label :text tpm)))) + + (defwidget battery [] + (box + :orientation "v" + :space-evenly false + :class "widget" + (overlay + (scale + :class "${EWW_BATTERY.BAT0.status == 'Charging' ? 'charging': bat0 < 16 ? 'dying': 'normal'} bat_scale" + :value "${bat0}" + :orientation "v" + :max 100 + :min 0 + :active false + :flipped true) + (label + :class "lightning" + :visible {EWW_BATTERY.BAT0.status == "Charging"} + :text "󱐋")) + (label :text "${EWW_BATTERY.BAT0.capacity}%" :limit-width 3 :show-truncated false))) + + (defwidget hiddenctl [] + (eventbox + :cursor "pointer" + :onclick {reveal3 ? "${EWW_CMD} update reveal3=false" : "${EWW_CMD} update reveal3=true"} + (box + :orientation "v" + :class "widget" + :space-evenly false + (revealer + :reveal reveal3 + :transition "slideup" + :duration "500ms" + (box + :class "touch" + :orientation "v" + :spacing 5 + (button :onclick "swaymsg kill" + (label :class "icon" :text "󰅙")) + (button :onclick "wofi --show=drun -i -I" + (label :class "icon" :text "󰀻")) + (button :onclick "./scripts/touchkey.sh" + (label :class "icon" :text "󰌌")))) + (label :angle {reveal3 ? 90 : 270} :class "revealtouch" :tooltip "touch control" :text "") + (revealer + :reveal {!reveal3} + :transition "slidedown" + ;; (tasklist))))) + )))) + + (defwidget playerctl [] + (eventbox + :cursor "pointer" + (box + :class "playerctl widget" + :orientation "v" + :space-evenly true + :spacing 6 + + (eventbox + :onclick "${EWW_CMD} open music --toggle" + (image :path { pcover == "" ? "./assets/image/emptympd.png" : pcover } :image-width 20 :image-height 20)) + (button :onclick "playerctl previous" + (label :class "picon" :text "󰒮")) + (button :onclick "playerctl play-pause" + (label :class "picon" :text { pstatus == "Playing" ? "" : "" })) + (button :onclick "playerctl next" + (label :class "picon" :text "󰒭")) + ))) + + (defwidget sliders [] + (box + :class "widget" + :orientation "v" + :space-evenly false + :spacing 5 + :valign "end" + (button :onclick "alacritty -e nmtui" :tooltip wifi_essid + (label :class "icon" :style "font-size: 18px;" :text wifi_icon)) + + (reveal_on_hover + :var revealVolume + :varname "revealVolume" + (box + :orientation "v" + :space-evenly false + :class "sound" + (label :class "icon" :text {volumemute == 'false' ? "󰕾" : "󰖁"}) + ;; {volumemute == 'no' ? volume : " Muted"}) + ) + (scale + :class "volslide" + :value volume + :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%" + :orientation "v" + :tooltip "${volume}%" + :max 101 + :min 0 + :flipped true)) + + (reveal_on_hover + :var revealMicrophone + :varname "revealMicrophone" + (box + :orientation "v" + :space-evenly false + :class "sound" + (label :class "icon" :text {volumemute == 'false' ? "" : "󰖁"})) + (scale + :class "volslide" + :value mic_volume + :onchange "pactl set-source-volume @DEFAULT_SOURCE@ {}%" + :orientation "v" + :tooltip "${mic_volume}%" + :max 101 + :min 0 + :flipped true)) + + (reveal_on_hover + :var revealBrightness + :varname "revealBrightness" + (box + :orientation "v" + :space-evenly false + :class "bright" + (label :class "icon" :text "󰃞")) + (scale + :class "brislide" + :onchange "brightnessctl set {}%" + :value brightness + :orientation "v" + :tooltip "${brightness}%" + :max 100 + :min 0 + :flipped true)) + )) + + ;; other windows + (defwindow calendar + :geometry (geometry :x "0" + :y "0" + :width "100" + :height "35" + :anchor "bottom left") + :stacking "overlay" + :monitor 0 + (box + :class "popup" + (box + :class "unbarwidget" + (calendar :day calendar_day :year calendar_year :class "cal")))) + + (defwindow music + :geometry (geometry :x "0" + :y "0" + :width "440" + :height "200" + :anchor "center left") + :stacking "overlay" + :monitor 0 + (box + :class "popup" + (box + :orientation "h" + :class "unbarwidget" + :space-evenly false + :spacing 20 + (image :style "margin: 5px;" :image-height 190 :image-width 190 :path { pcover == "" ? "./assets/image/emptympd.png" : pcover }) + (box + :orientation "v" + :space-evenly false + :width 210 + :height 200 + (scroll + :hscroll true + :vscroll false + (label :class "mtitle" :text psong)) + (scroll + :hscroll true + :vscroll false + (label :class "mauthor" :text partist)) + (box + :orientation "h" + :class "mpd_controls" + :style "margin-top: 10px;" + (button :onclick "playerctl previous" + (label :text "󰒮")) + (button :style "padding-right: 3px;" :onclick "playerctl play-pause" + (label :text { pstatus == "Playing" ? "" : ""} )) + (button :onclick "playerctl next" (label :text "󰒭"))) + (scale + :class "seektime" + :value { ptime.position } + :orientation "h" + ;; :onchange "playerctl position {}" + :min 0 + :max { ptime.duration } + :tooltip { ptime.readable })) + ))) + \ No newline at end of file diff --git a/hypr-configs/hyprland/eww/src/sidebar/styles.scss b/hypr-configs/hyprland/eww/src/widgets/vbar/styles.scss similarity index 72% rename from hypr-configs/hyprland/eww/src/sidebar/styles.scss rename to hypr-configs/hyprland/eww/src/widgets/vbar/styles.scss index f3874fa..083c208 100644 --- a/hypr-configs/hyprland/eww/src/sidebar/styles.scss +++ b/hypr-configs/hyprland/eww/src/widgets/vbar/styles.scss @@ -1,17 +1,28 @@ -.widget { - padding: 5px 5px; - border-radius: 5px; - background-color: $surface0; - margin: 5px 2px; - color: $white0; - // border-style: solid; - // border-color: $white0; - // border-width: 2px; -} - -.barwidget { +.vbar { + min-width: 2.4em; + padding: 0.5em; background-color: $base; - padding: 5px; + + .workspaces { + @include widget; + + * { + transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 500ms; + } + + .workspace { + margin: 6px; + border-radius: 4px; + } + + .workspacething { + background-color: $surface2; + } + + .workspacethingactive { + background-color: $accent; + } + } } .icon { @@ -28,33 +39,6 @@ color: $surface2; } -.workspaces { - @extend .widget; - - * { - transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 500ms; - } - - .workspace { - margin: 6px; - border-radius: 4px; - } - - .workspacething { - background-color: $surface2; - } - - .workspacethingactive { - background-color: $accent; - } - - .label { - // font-size: 18; - // padding-right: 5px; - // padding: 2px 5px 2px 0px; - } -} - .clock label { font-size: 20px; }