added screensaver scripts to eww config
This commit is contained in:
parent
48bff4b697
commit
b59cb9d671
2 changed files with 18 additions and 0 deletions
10
eww/scripts/screensaver.sh
Executable file
10
eww/scripts/screensaver.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
if [ "$(pgrep -x xscreensaver)" ]; then
|
||||
#echo ""
|
||||
echo ""
|
||||
else
|
||||
#echo ""
|
||||
echo ""
|
||||
fi
|
||||
|
8
eww/scripts/toggle_screensaver.sh
Executable file
8
eww/scripts/toggle_screensaver.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
if [ "$(pgrep -x xscreensaver)" ]; then
|
||||
killall xscreensaver
|
||||
else
|
||||
xscreensaver --no-splash &
|
||||
fi
|
||||
|
Loading…
Reference in a new issue