script change
This commit is contained in:
parent
766ea8fba5
commit
49026f870a
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
eww/sh/osd/osd.pid
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pidfile="~/.config/eww/sh/osd/osd.pid"
|
pidfile="/home/lcm/.config/eww/sh/osd/osd.pid"
|
||||||
osd_id="$1"
|
osd_id="$1"
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
@ -18,4 +18,4 @@ if [[ -n "$active" ]]; then
|
|||||||
else
|
else
|
||||||
eww open osd --arg osdtype=$osd_id --id $osd_id > /dev/null;
|
eww open osd --arg osdtype=$osd_id --id $osd_id > /dev/null;
|
||||||
fi;
|
fi;
|
||||||
close & echo $! > $pidfile;
|
close & echo $! > $pidfile;
|
||||||
|
Loading…
Reference in New Issue
Block a user