mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 15:49:40 +01:00
21 lines
394 B
Python
21 lines
394 B
Python
import subprocess
|
|
|
|
from libqtile import hook
|
|
from libqtile.command.client import InteractiveCommandClient
|
|
|
|
|
|
@hook.subscribe.startup
|
|
def autostart():
|
|
subprocess.call(["autostart.sh"])
|
|
|
|
|
|
@hook.subscribe.startup_complete
|
|
def focus_group():
|
|
c = InteractiveCommandClient()
|
|
c.group["4"].toscreen()
|
|
|
|
|
|
@hook.subscribe.client_managed
|
|
def show_window(window):
|
|
window.group.cmd_toscreen()
|