aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/fish/functions/screensoff.fish3
-rw-r--r--config/fish/functions/screenson.fish3
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