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

View file

@ -1,8 +1,8 @@
(defpoll inhibit_active :initial false (defpoll inhibit_active :initial false
:interval "1s" :interval "1s"
"scripts/inhibit-status") "scripts/bar/inhibit-status")
(defwidget idleinhibit [] (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" : ""} :class {inhibit_active ? "active" : ""}
{inhibit_active ? "" : ""})) {inhibit_active ? "" : ""}))

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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