updated eww files and bash scripts

This commit is contained in:
willifan 2024-06-01 17:20:15 +02:00
parent 5a419c03f3
commit cd7e93374e
11 changed files with 119 additions and 60 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
#!/usr/bin/env bash
unset id name horizontal vertical scale activeWorkspace
i=0
@ -34,6 +35,6 @@ for ((i = 0; i < ${#id[@]}; i++)); do
monitorID=$(xrandr --listactivemonitors | grep +"${name[$i]}" | awk '{sub(/.$/,"",$1); print $1}')
eww open bar --id bar"${monitorID}" --arg monitor="${monitorID}" --arg width="${new_width}" --arg height=25
eww open bar --id bar"${monitorID}" --arg monitor="${monitorID}" --arg width="${new_width}" --arg height=30
sleep 2
done