New backup 2025-03-05 21:00:06

This commit is contained in:
Penelope Gwen 2025-03-05 21:00:06 -08:00
parent 83c29da075
commit 35400bcd09
20 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,7 @@
(defvar reveal_bluetooth false)
(defpoll bluetooth_active :initial true
:interval "5s"
'scripts/bt-status')
'scripts/bar/bt-status')
(defwidget bluetooth []
(revealer-on-hover
:revealvar reveal_bluetooth
@ -13,7 +13,7 @@
(defpoll btDeviceArray :initial "${[1]}"
:interval "5s"
'scripts/bt-devices')
'scripts/bar/bt-devices')
(defwidget bluetooth_children [array]
(box :class "reveal_children"
:orientation "h"

View file

@ -1,8 +1,8 @@
(defpoll inhibit_active :initial false
:interval "1s"
"scripts/inhibit-status")
"scripts/bar/inhibit-status")
(defwidget idleinhibit []
(button :onclick {inhibit_active ? 'killall eww-idle-inhibit' : 'systemd-inhibit --what="idle" --mode="block" scripts/eww-idle-inhibit'}
(button :onclick {inhibit_active ? 'killall eww-idle-inhibit' : 'systemd-inhibit --what="idle" --mode="block" scripts/bar/eww-idle-inhibit'}
:class {inhibit_active ? "active" : ""}
{inhibit_active ? "" : ""}))

View file

@ -1,9 +1,9 @@
(defpoll wireless_active :initial false
:interval "1s"
"scripts/network-status wireless")
"scripts/bar/network-status wireless")
(defpoll wired_active :initial false
:interval "1s"
"scripts/network-status ethernet")
"scripts/bar/network-status ethernet")
(defvar reveal_network false)
(defwidget network []
(revealer-on-hover

View file

@ -9,7 +9,7 @@
(defpoll volume :initial 0
:interval "1s"
"scripts/volume-status")
"scripts/bar/volume-status")
(defwidget volume_children []
(box :class "reveal_children"
:orientation "h"

View file

@ -1,6 +1,6 @@
(defpoll vpn_active :initial false
:interval "5s"
"scripts/vpn-status")
"scripts/bar/vpn-status")
(defvar reveal_vpn false)
(defwidget vpn []
@ -14,11 +14,11 @@
(defpoll home_vpn_active :initial false
:interval "5s"
"scripts/vpn-status Home")
"scripts/bar/vpn-status Home")
(defpoll proton_vpn_active :initial false
:interval "5s"
"scripts/vpn-status Proton")
"scripts/bar/vpn-status Proton")
(defwidget vpn_children []
(box :class "reveal_children"

View file

@ -1,6 +1,6 @@
(deflisten active_window_name :initial ""
:interval "1s"
"scripts/activewindow")
"scripts/bar/activewindow")
(defwidget windowtitle []
(box :class {active_window_name != "" ? "active_window" : ""}
{active_window_name}))

View file

@ -1,5 +1,5 @@
(deflisten workspacesArray :initial "${[1]}"
`~/.config/eww/scripts/getWorkspaces.sh`)
'scripts/bar/getworkspaces')
(defwidget workspaces [array]
(box :class "workspaces"

View file

@ -1,5 +1,5 @@
(defpoll rat_image :interval "60s"
'scripts/randomrat')
'scripts/widgets/randomrat')
(defwidget rat []
(box
:class "rat"