diff --git a/.config/eww/eww.scss b/.config/eww/eww.scss index ae51ffb..3d9b406 100644 --- a/.config/eww/eww.scss +++ b/.config/eww/eww.scss @@ -316,16 +316,19 @@ tooltip label { font-weight: normal; margin: 2px 0px 0px 0px; background-color: rgba(00, 00, 00, 0.0); + padding-left: 5px; + padding-right: 9px; } .worksbox { - margin-left: 15px; - margin-right: 15px; + font-size: 14px; + padding-left: 15px; + // padding-right: 15px; background-color: rgba(00, 00, 00, 0.0); } .works:hover { - background-color: $base0D; + color: $base0E; } .empty_workspace { diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 02b9d1a..73660b9 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -41,7 +41,7 @@ (box :class "worksbox" :orientation "h" - :spacing 20 + :spacing 10 :space-evenly false :valign "center" (for workspace in workspaces @@ -49,8 +49,11 @@ "${workspace.id == 1 ? "" : workspace.id == 2 ? "" : workspace.id == 3 ? "󰈙" : - workspace.id == 4 ? "󰍨" : + workspace.id == 4 ? "󰭹" : workspace.id == 5 ? "" : + workspace.id == 6 ? "" : + workspace.id == 7 ? "󰕧" : + workspace.id == 8 ? "󰭹" : workspace.id == 9 ? "" : workspace.id}"))))) diff --git a/.config/eww/scripts/get-workspaces b/.config/eww/scripts/get-workspaces index 6aa422e..e786651 100755 --- a/.config/eww/scripts/get-workspaces +++ b/.config/eww/scripts/get-workspaces @@ -2,7 +2,7 @@ spaces (){ WORKSPACE_WINDOWS=$(hyprctl workspaces -j | jq 'map({key: .id | tostring, value: .windows}) | from_entries') - seq 1 5 | jq --argjson windows "${WORKSPACE_WINDOWS}" --slurp -Mc 'map(tostring) | map({id: ., windows: ($windows[.]//0)})' + seq 1 9 | jq --argjson windows "${WORKSPACE_WINDOWS}" --slurp -Mc 'map(tostring) | map({id: ., windows: ($windows[.]//0)})' } spaces