aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-09-27 20:44:36 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-09-28 13:30:54 -0400
commitcc6544c538c5f493cc4cbff4364db79205f210c3 (patch)
tree566439d0979fdd3e688d11656fb1eef66acdb000 /sway/sway.5.scd
parentMerge pull request #2723 from ianyfan/swaybar (diff)
downloadsway-cc6544c538c5f493cc4cbff4364db79205f210c3.tar.gz
sway-cc6544c538c5f493cc4cbff4364db79205f210c3.tar.zst
sway-cc6544c538c5f493cc4cbff4364db79205f210c3.zip
sway.5: update set command information
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd12
1 files changed, 8 insertions, 4 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 927bf55c..5ed20609 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -51,10 +51,6 @@ The following commands may only be used in the configuration file.
51 *wordexp*(3) for details). The same include file can only be included once; 51 *wordexp*(3) for details). The same include file can only be included once;
52 subsequent attempts will be ignored. 52 subsequent attempts will be ignored.
53 53
54*set* $<name> <value>
55 Sets variable $_name_ to _value_. You can use the new variable in the
56 arguments of future commands.
57
58*swaybg\_command* <command> 54*swaybg\_command* <command>
59 Executes custom background _command_. Default is _swaybg_. Refer to 55 Executes custom background _command_. Default is _swaybg_. Refer to
60 *output* below for more information. 56 *output* below for more information.
@@ -536,6 +532,14 @@ You can get a list of output names with *swaymsg -t get\_outputs*. You may also
536match any output by using the output name "\*". Be sure to add this output 532match any output by using the output name "\*". Be sure to add this output
537config after the others, or it will be matched instead of the others. 533config after the others, or it will be matched instead of the others.
538 534
535*set* $<name> <value>
536 Sets variable $_name_ to _value_. You can use the new variable in the
537 arguments of future commands. When the variable is used, it can be escaped
538 with an additional $ (ie $$_name_) to have the replacement happen at run
539 time instead of when reading the config. However, it does not always make
540 sense for the variable to be replaced at run time since some arguments do
541 need to be known at config time.
542
539*show\_marks* yes|no 543*show\_marks* yes|no
540 If *show\_marks* is yes, marks will be displayed in the window borders. 544 If *show\_marks* is yes, marks will be displayed in the window borders.
541 Any mark that starts with an underscore will not be drawn even if 545 Any mark that starts with an underscore will not be drawn even if