aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Jeff Peeler <jpeeler@gmail.com>2019-07-15 10:06:05 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-05 22:10:36 -0400
commit140ce785fe52c511b220a0d74997466c995db695 (patch)
treebd7cfa0c6d2422691443e28aa18e80a270e35ccd /sway/sway.5.scd
parentinput/libinput: typo fixes (get -> get_default) (diff)
downloadsway-140ce785fe52c511b220a0d74997466c995db695.tar.gz
sway-140ce785fe52c511b220a0d74997466c995db695.tar.zst
sway-140ce785fe52c511b220a0d74997466c995db695.zip
cmd_opacity: add relative opacity changes
This enhances the opacity command to support relative assignment as well as the currently implemented absolute assignment. The syntax is copied from the same format that gaps uses for relative and absolute setting. An example usage in a sway config looks like: // relative change (this feature) bindsym button4 opacity plus .1 bindsym button5 opacity minus .1 // absolute change (this feature) bindsym button4 opacity set 1 bindsym button5 opacity set .3 // old way, still supported bindsym button4 opacity 1 bindsym button5 opacity .3
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 3e445e0e..768f125e 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -664,9 +664,9 @@ The default colors are:
664 Any mark that starts with an underscore will not be drawn even if 664 Any mark that starts with an underscore will not be drawn even if
665 *show_marks* is yes. The default is _yes_. 665 *show_marks* is yes. The default is _yes_.
666 666
667*opacity* <value> 667*opacity* [set|plus|minus] <value>
668 Set the opacity of the window between 0 (completely transparent) and 1 668 Adjusts the opacity of the window between 0 (completely transparent) and
669 (completely opaque). 669 1 (completely opaque). If the operation is omitted, _set_ will be used.
670 670
671*tiling_drag* enable|disable|toggle 671*tiling_drag* enable|disable|toggle
672 Sets whether or not tiling containers can be dragged with the mouse. If 672 Sets whether or not tiling containers can be dragged with the mouse. If