Skip to content

Instantly share code, notes, and snippets.

@polkaulfield
Created November 3, 2022 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save polkaulfield/da78879ec78613eef032ddfd11f127dd to your computer and use it in GitHub Desktop.
Save polkaulfield/da78879ec78613eef032ddfd11f127dd to your computer and use it in GitHub Desktop.
#!/bin/sh
use_compositing() {
xfconf-query --channel=xfwm4 --property=/general/use_compositing $1
}
if [ $(use_compositing) == true ]; then
use_compositing --set=false
else
use_compositing --set=true
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment