Add initial surf configuration files - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset b6a70280cbc1d32b23b10d035a12df01cab6327b
 (DIR) parent 48daead1710ea4410a1fc14b2eb22bb38c1692ab
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sun,  2 Jun 2019 00:46:33 
       
       Add initial surf configuration files
       
       Diffstat:
        surf/surf-setprop |  12 ++++++++++++
        1 files changed, 12 insertions(+), 0 deletions(-)
       ---
       diff -r 48daead1710e -r b6a70280cbc1 surf/surf-setprop
       --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
       +++ b/surf/surf-setprop Sun Jun 02 00:46:33 2019 +0200
       @@ -0,0 +1,12 @@
       +#!/bin/sh
       +
       +winid=$1
       +readprop=$2
       +setprop=$3
       +prompt=$4
       +
       +prop=$(xprop -id ${winid} ${readprop} | 
       +    sed -e "s/^${readprop}(STRING) = //" -e 's/^"//' -e 's/"$//' |
       +    dmenu -p "${prompt}" -w "${winid}")
       +
       +xprop -id "${winid}" -f "${setprop}" 8s -set "${setprop}" "${prop}"