all the updates

This commit is contained in:
Chris Cochrun 2023-05-18 17:03:15 -05:00
parent d0a9186a62
commit 6aa8643a16
6 changed files with 152 additions and 411 deletions

View file

@ -85,7 +85,7 @@
:space-evenly "false"
(button
:class "app-button"
:onclick "hyprctl dispatch togglefloating 1" "")
:onclick "hyprctl dispatch togglefloating 1" "")
(button
:class "app-button"
:onclick "hyprctl dispatch fullscreen 1" "")
@ -171,7 +171,7 @@
:onclick "scripts/pop system"
:class "iconbat"
:tooltip "${EWW_BATTERY["BAT1"].capacity}% battery left"
"")
"")
(label
:text "${round(EWW_BATTERY['BAT1'].capacity, 0)}%"
:class "bat_label")))
@ -216,7 +216,7 @@
:class "iconvol"
:onclick "scripts/pop audio"
:tooltip "${volume_percent}%"
"")
"󰕾")
(label
:text volume_percent
:class "vol_label")))
@ -230,7 +230,7 @@
:onclick "scripts/pop system"
:class "iconcpu"
:tooltip "using ${EWW_CPU.avg}% of cpu"
"")
"")
(label
:text "${round(EWW_CPU.avg, 0)}%"
:class "cpu_label")))
@ -276,7 +276,7 @@
(button
:onclick "if ${EWW_CMD} state | grep 'rightside: false' ; then ${EWW_CMD} update rightside=true ; else ${EWW_CMD} update rightside=false ; fi"
(label
:text ""))))
:text "󰅽"))))
(defwidget nextcloud_button []
(box
@ -286,7 +286,7 @@
(button
:onclick "nextcloud"
(label
:text ""))))
:text "󰅠"))))
(defwidget sep []
(box

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
#define icons for workspaces 1-9
ic=(0    )
ic=(0   󰍨 󰈙)
#initial check for occupied workspaces
for num in $(hyprctl workspaces | grep ID | awk '{print $3}'); do