Introduces eww bar
This commit is contained in:
parent
75bc7eb6a7
commit
e58899e4ae
30 changed files with 279 additions and 1147 deletions
11
.config/eww/widgets/bar/scripts/workspaces.sh
Executable file
11
.config/eww/widgets/bar/scripts/workspaces.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
|
||||
jq --null-input \
|
||||
--argjson activeWorkspace "$(hyprctl -j activeworkspace)" \
|
||||
--argjson workspaces "$(hyprctl -j workspaces)" \
|
||||
--argjson monitors "$(hyprctl -j monitors)" \
|
||||
--argjson clients "$(hyprctl -j clients)" \
|
||||
--argjson clientIcons "$(cat "$SCRIPT_DIR/clientIcons.json")" \
|
||||
--from-file "$SCRIPT_DIR/workspaces.jq"
|
||||
Loading…
Add table
Add a link
Reference in a new issue