Last active
June 7, 2022 23:15
-
-
Save ElijahLynn/6a5f6b1ef64e39c40ef3626caacbe95b to your computer and use it in GitHub Desktop.
Script to toggle fullscreen for Guake 0.8.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: utf-8; -*- | |
# Depends on https://github.com/Guake/guake/pull/1446 | |
import dbus | |
try: | |
bus = dbus.SessionBus() | |
remote_object = bus.get_object('org.guake.RemoteControl', '/org/guake/RemoteControl') | |
remote_object.fullscreen_toggle() | |
except dbus.DBusException: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
x-link: Guake/guake#1446