summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host:openwide-desktop/Exec.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/host:openwide-desktop/Exec.zsh b/host:openwide-desktop/Exec.zsh
new file mode 100644
index 0000000..19fe3c3
--- /dev/null
+++ b/host:openwide-desktop/Exec.zsh
@@ -0,0 +1,6 @@
+
+[ "$USER" != openwide ] && (
+ echo -n "sudo openwide ? [Y/n] " ; read answer
+ [ "$answer" != "n" ] && sudo -u openwide -s
+)
+