diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2015-07-13 13:37:05 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2015-07-13 13:37:05 +0200 |
| commit | 006cfb945ea1cf0725df0278509593aae046b32e (patch) | |
| tree | 96140164f48288b6368cfe6afd572d8dd40d083f /config/fish | |
| parent | c4b52af8618073c604aba61dd57544a85463e690 (diff) | |
| download | dotfiles-006cfb945ea1cf0725df0278509593aae046b32e.tar.gz dotfiles-006cfb945ea1cf0725df0278509593aae046b32e.zip | |
add screensaver and dpms toogle functions
Diffstat (limited to 'config/fish')
| -rw-r--r-- | config/fish/functions/screensoff.fish | 3 | ||||
| -rw-r--r-- | config/fish/functions/screenson.fish | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/fish/functions/screensoff.fish b/config/fish/functions/screensoff.fish new file mode 100644 index 0000000..e984536 --- /dev/null +++ b/config/fish/functions/screensoff.fish @@ -0,0 +1,3 @@ +function screensoff + xset s off; xset -dpms; and echo 'xcreensaver and dpms disabled' $argv; +end diff --git a/config/fish/functions/screenson.fish b/config/fish/functions/screenson.fish new file mode 100644 index 0000000..10af988 --- /dev/null +++ b/config/fish/functions/screenson.fish @@ -0,0 +1,3 @@ +function screenson + xset s on; xset +dpms; and echo 'xscreensaver and dpms enabled' $argv; +end |
