home: random configuration changes across apps
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# active workspace
|
||||
current=1
|
||||
list_workspaces() {
|
||||
workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort')
|
||||
workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort' || "[]")
|
||||
}
|
||||
|
||||
workspaces() {
|
||||
@@ -18,7 +18,7 @@ workspaces() {
|
||||
|
||||
list_workspaces
|
||||
workspaces
|
||||
hyprctl dispatch workspace $current || true
|
||||
hyprctl dispatch workspace $current &>/dev/null || true
|
||||
|
||||
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | while read -r event; do
|
||||
case ${event%>>*} in
|
||||
|
@@ -1,4 +1,4 @@
|
||||
(deflisten workspace "bar/hyprworkspaces")
|
||||
(deflisten workspace :initial "{}" "bar/hyprworkspaces")
|
||||
(defvar numerals "[\"१\", \"२\", \"३\", \"४\", \"५\", \"६\", \"७\", \"८\", \"९\", \"०\"]")
|
||||
|
||||
(defwidget workspaces []
|
||||
|
@@ -89,7 +89,6 @@
|
||||
(button
|
||||
:visible {system_net_wifi != ""}
|
||||
:tooltip {system_net_wifi}
|
||||
:onclick "iwgtk &"
|
||||
""))))
|
||||
|
||||
(defwidget system_info []
|
||||
|
Reference in New Issue
Block a user