chore: desktop variant

This commit is contained in:
Fabio Lenherr / DashieTM 2023-01-01 23:51:07 +01:00
parent 20deee09db
commit a2011eab8c
51 changed files with 0 additions and 541 deletions

View file

@ -0,0 +1,11 @@
#! /bin/bash
ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
if [ "$ISOPEN" = "" ]; then
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 "$ISOPEN"
fi