From d4b314be4c52b7c1de2ad3bc84937fd4455bca50 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 23 Jun 2011 02:22:18 +0000 Subject: [PATCH] document autorun --- scrotwm.1 | 6 ++++++ scrotwm.conf | 3 +++ 2 files changed, 9 insertions(+) diff --git a/scrotwm.1 b/scrotwm.1 index 25762da..39c7a41 100644 --- a/scrotwm.1 +++ b/scrotwm.1 @@ -79,6 +79,12 @@ Enabling or disabling an option is done by using 1 or 0 respectively. The file supports the following keywords: .Pp .Bl -tag -width "title_class_enabledXXX" -offset indent -compact +.It Cm autorun +Launch an application in a specified workspace at start-of-day. +Currently this option does not support arguments so if those are required one +must use a wrapper script. +Defined in the format ws[]:application, e.g. ws[2]:xterm launches and +xterm in workspace 2 .It Cm color_focus Border color of the currently focussed window. .It Cm color_unfocus diff --git a/scrotwm.conf b/scrotwm.conf index ede67d9..e0eb51e 100644 --- a/scrotwm.conf +++ b/scrotwm.conf @@ -41,6 +41,9 @@ dialog_ratio = 0.6 # region = screen[1]:1280x1024+0+0 # region = screen[1]:1280x1024+1280+0 +# Launch applications in a workspace of choice +# autorun = ws[1]:xterm + # mod key, (windows key is Mod4) (apple key on OSX is Mod2) # modkey = Mod1 -- 1.7.10.4