aboutsummaryrefslogtreecommitdiff
path: root/config/fish/functions/screensoff.fish
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:37:05 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:37:05 +0200
commit006cfb945ea1cf0725df0278509593aae046b32e (patch)
tree96140164f48288b6368cfe6afd572d8dd40d083f /config/fish/functions/screensoff.fish
parentc4b52af8618073c604aba61dd57544a85463e690 (diff)
downloaddotfiles-006cfb945ea1cf0725df0278509593aae046b32e.tar.gz
dotfiles-006cfb945ea1cf0725df0278509593aae046b32e.zip
add screensaver and dpms toogle functions
Diffstat (limited to 'config/fish/functions/screensoff.fish')
-rw-r--r--config/fish/functions/screensoff.fish3
1 files changed, 3 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