moved autostart to shell script

This commit is contained in:
paul-loedige
2021-02-06 15:08:28 +01:00
parent 218e9dd4cc
commit 0f05b0d129
3 changed files with 15 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
nitrogen --restore &
bash .screenlayout/layout.sh &
pulseaudio-ctl set 50 &
dunst &
nextcloud &
timeshift &
numlockx &
redshift-gtk -t 6500:3600 &
udiskie &
+2 -9
View File
@@ -18,15 +18,8 @@ from Screens import screens
#region Hooks
@hook.subscribe.startup_once
def autostart():
processes = [
['nitrogen','--restore'],
['dunst'],
['nextcloud'],
['redshift-gtk'],
['udiskie']
]
for process in processes:
subprocess.Popen(process)
home = os.path.expanduser('~/.config/qtile/autostart.sh')
subprocess.call([home])
#region miscelanious
dgroups_key_binder = None
+3 -1
View File
@@ -1,4 +1,6 @@
# This is a test file for anything.
import os
import subprocess
p = subprocess.run(["bash","/home/paul/.config/qtile/screenshot.sh"])
home = os.path.expanduser('~/.config/qtile/autostart.sh')
subprocess.call([home])