fix: Update eww to match hyprland
This commit is contained in:
parent
bd75c46a27
commit
e147a91d84
5 changed files with 42 additions and 45 deletions
|
|
@ -4,7 +4,7 @@ ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
|
|||
|
||||
|
||||
if [ "$ISOPEN" = "" ]; then
|
||||
MONITOR=$(hyprctl monitors | grep -B 10 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
|
||||
MONITOR=$(hyprctl monitors | grep -B 11 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
|
||||
eww open cockpit_window_"$MONITOR"
|
||||
else
|
||||
eww close "$ISOPEN"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue