feat: desktop config as base
This commit is contained in:
parent
d589775634
commit
7dba0b18be
34 changed files with 1148 additions and 890 deletions
|
|
@ -1,8 +1,11 @@
|
|||
#! /bin/bash
|
||||
|
||||
ISOPEN=$(eww windows | grep "*cockpit")
|
||||
ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
|
||||
|
||||
|
||||
if [ "$ISOPEN" = "" ]; then
|
||||
eww open cockpit_window
|
||||
MONITOR=$(hyprctl monitors | grep -B 7 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
|
||||
eww open cockpit_window_"$MONITOR"
|
||||
else
|
||||
eww close cockpit_window
|
||||
eww close "$ISOPEN"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue