I find the usual black text on white background a bit harsh to view. If I reduce the active window's opacity to say, 60%, the text is still clear but the white background is now less intense (because I have a plain dark desktop background).
I can make the changes by right-clicking on the application's title bar and choosing more actions > specific application settings > appearance and fixes > active opacity. But that's a bit cumbersome in case I need to revert to 100% opacity for whatever reason.
What I'm hoping for is a script which I can assign to a keyboard shortcut which will let me toggle the active window's opacity from 100% to 60% and back.
I've used toggle scripts for other things hence my question:
where "styles-on" and "styles-off" are two scripts.
I can make the changes by right-clicking on the application's title bar and choosing more actions > specific application settings > appearance and fixes > active opacity. But that's a bit cumbersome in case I need to revert to 100% opacity for whatever reason.
What I'm hoping for is a script which I can assign to a keyboard shortcut which will let me toggle the active window's opacity from 100% to 60% and back.
I've used toggle scripts for other things hence my question:
Code:
#!/bin/bash TOGGLE=$HOME/.toggle if [ ! -e $TOGGLE ]; then touch $TOGGLE styles-on & else rm $TOGGLE styles-off & fi exit 0
Comment