#!/bin/sh tmp=${XDG_CACHE_HOME:-$HOME/.cache}/leftwm-margin touch $tmp value="$(cat $tmp)" if [ ${value:-0} = 0 ]; then leftwm-command "SetMarginMultiplier 1.0" echo 1 > $tmp else leftwm-command "SetMarginMultiplier 0.0" echo 0 > $tmp fi