diff options
author | 2019-07-15 10:06:05 -0400 | |
---|---|---|
committer | 2019-08-05 22:10:36 -0400 | |
commit | 140ce785fe52c511b220a0d74997466c995db695 (patch) | |
tree | bd7cfa0c6d2422691443e28aa18e80a270e35ccd /swaymsg/swaymsg.1.scd | |
parent | input/libinput: typo fixes (get -> get_default) (diff) | |
download | sway-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 'swaymsg/swaymsg.1.scd')
0 files changed, 0 insertions, 0 deletions