New backup 2025-03-05 14:45:02

This commit is contained in:
Penelope Gwen 2025-03-05 14:45:02 -08:00
parent c821d6f844
commit 83331c2450
3 changed files with 5 additions and 19 deletions

View file

@ -1,24 +1,7 @@
(deflisten workspacesArray :initial "${[1]}"
`~/.config/eww/scripts/getWorkspaces.sh`)
(include "modules/bar.yuck")
(include "modules/bar/workspaces.yuck")
(deflisten workspacesArray :initial "${[1]}"
`~/.config/eww/scripts/getWorkspaces.sh`)
(defwidget workspaces [array]
(box :class "workspaces"
:orientation "h"
:space-evenly true
:halign "start"
(for entry in array
(button :onclick `swaymsg workspace "${entry.name}"`
:class {entry.focused ? "focused" : ""}
`${replace(entry.name,".*:","")}`))))
(defpoll active_profile :initial false
:interval "1s"
"sp-profile-icon")

View file

@ -1,3 +1,6 @@
(deflisten workspacesArray :initial "${[1]}"
`~/.config/eww/scripts/getWorkspaces.sh`)
(defwidget workspaces [array]
(box :class "workspaces"
:orientation "h"

View file

@ -5,8 +5,8 @@ output eDP-1 {
position 0 0
# bg $HOME/.config/sway/assets/wallpaper/eDP-1/_default.jpg fill
}
exec_always sleep 1;eww show --screen "0x0A31" bar
exec_always sleep 1;eww show --screen "0x0A31" widgets
exec_always sleep 1;eww open --screen "0x0A31" bar
exec_always sleep 1;eww open --screen "0x0A31" widgets
output DP-7 {
scale 1