moved autostart to shell script
This commit is contained in:
Executable
+10
@@ -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 &
|
||||
@@ -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
|
||||
|
||||
@@ -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])
|
||||
Reference in New Issue
Block a user