qtile: Move the unity domain reload window to the bottom right corner, less annoying
This commit is contained in:
parent
07f12bb78e
commit
fc0e258887
@ -76,6 +76,13 @@ def toggle_language(qtile):
|
|||||||
def get_current_window_info(qtile):
|
def get_current_window_info(qtile):
|
||||||
logger.warning(qtile.current_window.info())
|
logger.warning(qtile.current_window.info())
|
||||||
|
|
||||||
|
@hook.subscribe.client_new
|
||||||
|
def new_client(client):
|
||||||
|
if "Unity" in client.get_wm_class() and "Unity" == client.name:
|
||||||
|
padding = 10
|
||||||
|
x = client.group.screen.width - client.width - padding
|
||||||
|
y = client.group.screen.height - client.height - padding - 22
|
||||||
|
client.set_position_floating(x,y)
|
||||||
|
|
||||||
keys = [
|
keys = [
|
||||||
# A list of available commands that can be bound to keys can be found
|
# A list of available commands that can be bound to keys can be found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user