figured out how to make workspaces look prettier
parent
1ab9e5685a
commit
499f29d856
|
|
@ -63,9 +63,10 @@
|
||||||
:width 20
|
:width 20
|
||||||
(for i in {workspaces[monitor].workspaces}
|
(for i in {workspaces[monitor].workspaces}
|
||||||
(button
|
(button
|
||||||
|
:width 20
|
||||||
:onclick "hyprctl dispatch workspace ${i.id}"
|
:onclick "hyprctl dispatch workspace ${i.id}"
|
||||||
:class "${i.class}"
|
:class "${i.class}"
|
||||||
"${i.name}")))))
|
"${i.name}")))))
|
||||||
|
|
||||||
|
|
||||||
(deflisten workspace-old "scripts/workspace")
|
(deflisten workspace-old "scripts/workspace")
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
#define icons for workspaces 1-9
|
#define icons for workspaces 1-9
|
||||||
ic=(0 1 2 3 4 5 6 7 8 9)
|
ic=("W0" "W1" "W2" "W3" "W4" "W5" "W6" "W7" "W8" "W9")
|
||||||
|
|
||||||
#initial check for occupied workspaces
|
#initial check for occupied workspaces
|
||||||
for num in $(hyprctl workspaces | grep ID | sed 's/()/(1)/g' | awk 'NR>1{print $1}' RS='(' FS=')'); do
|
for num in $(hyprctl workspaces | grep ID | sed 's/()/(1)/g' | awk 'NR>1{print $1}' RS='(' FS=')'); do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue