aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww/workspaces.sh
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-26 22:49:00 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:30 +0530
commitc306d53594a6cefc2ecc39dd8d29f9edf1b8ed77 (patch)
tree1966c04ec41ea302717f8f7eab5d27c250025155 /modules/desktop/eww/workspaces.sh
parent84125094b25c2e5c03f2c65b87167f8291aaab5f (diff)
downloadhome-manager-config-c306d53594a6cefc2ecc39dd8d29f9edf1b8ed77.tar.gz
home-manager-config-c306d53594a6cefc2ecc39dd8d29f9edf1b8ed77.zip
desktop: showing the icon of the currently focused window in workspaces
- showing the icon of the currently focused window in the workspaces button for each workspace
Diffstat (limited to 'modules/desktop/eww/workspaces.sh')
-rw-r--r--modules/desktop/eww/workspaces.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/modules/desktop/eww/workspaces.sh b/modules/desktop/eww/workspaces.sh
deleted file mode 100644
index 18193fa..0000000
--- a/modules/desktop/eww/workspaces.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-set -euo pipefail
-
-print_workspaces() {
- niri msg -j workspaces | jq -c --unbuffered 'sort_by(.idx)'
-}
-
-print_workspaces
-
-niri msg -j event-stream | while IFS= read -r line; do
- case "$line" in
- *WorkspacesChanged*|*WorkspaceActivated*|*WorkspaceUrgencyChanged*|*WorkspaceActiveWindowChanged*)
- print_workspaces
- ;;
- esac
-done