Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-12-22 10:31:14

mdcsvt
Member
Registered: 2012-12-22
Posts: 1

script to shade/unshade inactive windows

Little stupid one for people with large screens who want to concentrate on active window by hiding all others with a key stroke and want them back later with another stroke

#!/bin/bash
# toggles shade inactive
opacity=`xfconf-query -c xfwm4 -p /general/inactive_opacity`
if [ $opacity -eq "100" ]; then
xfconf-query -c xfwm4 -p /general/inactive_opacity -s 0
else
xfconf-query -c xfwm4 -p /general/inactive_opacity -s 100
fi
# changes value in file
# ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml


bye
Salvatore

Offline

Board footer

Powered by FluxBB