diff options
| author | Dominik <stuff@basedmail.xyz> | 2023-11-04 13:33:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-04 12:33:18 +0000 |
| commit | 031938a792ac3107a512e89504929ef9e3e8ed6a (patch) | |
| tree | 5a34e24aec0cbde3956d206fe0569f0a36c6a8b9 /.local | |
| parent | ea3e1e14cc49d68c9900fb05d9ee7bb9e719688e (diff) | |
| download | eibhear-031938a792ac3107a512e89504929ef9e3e8ed6a.tar.gz eibhear-031938a792ac3107a512e89504929ef9e3e8ed6a.tar.zst eibhear-031938a792ac3107a512e89504929ef9e3e8ed6a.zip | |
Update dmenurecord (#1370)
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/dmenurecord | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord index 990b7b3..ca6b011 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -9,7 +9,7 @@ # # If there is already a running instance, user will be prompted to end it. -getdim() { xrandr | sed -n "s/\s*\([0-9]\+x[0-9]\+\).*\*.*/\1/p" ;} +getdim() { xrandr | grep -oP '(?<=current ).*(?=,)' | tr -d ' ' ;} updateicon() { \ echo "$1" > /tmp/recordingicon |
