updated eww files and bash scripts
This commit is contained in:
parent
5a419c03f3
commit
cd7e93374e
11 changed files with 119 additions and 60 deletions
scripts
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue