aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/default_floating_border.c
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@gmail.com>2019-07-15 10:06:05 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2019-08-05 22:10:36 -0400
commit140ce785fe52c511b220a0d74997466c995db695 (patch)
treebd7cfa0c6d2422691443e28aa18e80a270e35ccd /sway/commands/default_floating_border.c
parent90d8a4df32747161c7218c006bb96e8214d8f7f2 (diff)
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/commands/default_floating_border.c')
0 files changed, 0 insertions, 0 deletions