adding some tweaks so eww is different on desktop
This commit is contained in:
parent
cbc30ff9a5
commit
95ca496310
4 changed files with 21 additions and 7 deletions
|
@ -2,14 +2,25 @@
|
|||
|
||||
string=$(eww windows)
|
||||
windows=($string)
|
||||
host=$(hostname)
|
||||
|
||||
|
||||
for i in "${windows[@]}"
|
||||
do
|
||||
if [[ $i = '*bar0' ]]; then
|
||||
eww close bar0
|
||||
return
|
||||
if [[ "$host" = kaladin ]]; then
|
||||
if [[ $i = '*bar1' ]]; then
|
||||
eww close bar1
|
||||
return
|
||||
else
|
||||
eww open bar1
|
||||
fi
|
||||
else
|
||||
eww open bar0
|
||||
if [[ $i = '*bar0' ]]; then
|
||||
eww close bar0
|
||||
return
|
||||
else
|
||||
eww open bar0
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue