New backup 2025-03-05 14:45:02
This commit is contained in:
parent
c821d6f844
commit
83331c2450
3 changed files with 5 additions and 19 deletions
|
@ -1,24 +1,7 @@
|
||||||
(deflisten workspacesArray :initial "${[1]}"
|
|
||||||
`~/.config/eww/scripts/getWorkspaces.sh`)
|
|
||||||
|
|
||||||
(include "modules/bar.yuck")
|
(include "modules/bar.yuck")
|
||||||
|
|
||||||
(include "modules/bar/workspaces.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
|
(defpoll active_profile :initial false
|
||||||
:interval "1s"
|
:interval "1s"
|
||||||
"sp-profile-icon")
|
"sp-profile-icon")
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
(deflisten workspacesArray :initial "${[1]}"
|
||||||
|
`~/.config/eww/scripts/getWorkspaces.sh`)
|
||||||
|
|
||||||
(defwidget workspaces [array]
|
(defwidget workspaces [array]
|
||||||
(box :class "workspaces"
|
(box :class "workspaces"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
|
|
@ -5,8 +5,8 @@ output eDP-1 {
|
||||||
position 0 0
|
position 0 0
|
||||||
# bg $HOME/.config/sway/assets/wallpaper/eDP-1/_default.jpg fill
|
# 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 open --screen "0x0A31" bar
|
||||||
exec_always sleep 1;eww show --screen "0x0A31" widgets
|
exec_always sleep 1;eww open --screen "0x0A31" widgets
|
||||||
|
|
||||||
output DP-7 {
|
output DP-7 {
|
||||||
scale 1
|
scale 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue