file get_updated
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from libqtile import hook, qtile
|
||||
|
||||
# Startup applications
|
||||
@hook.subscribe.startup_once
|
||||
def autostart():
|
||||
if qtile.core.name == "x11":
|
||||
autostartscript = "~/.config/qtile/scripts/x11-autostart.sh"
|
||||
elif qtile.core.name == "wayland":
|
||||
autostartscript = "~/.config/qtile/scripts/wayland-autostart.sh"
|
||||
|
||||
home = os.path.expanduser(autostartscript)
|
||||
subprocess.Popen([home])
|
||||
|
||||
Reference in New Issue
Block a user