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
|
#region Hooks
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def autostart():
|
def autostart():
|
||||||
processes = [
|
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||||
['nitrogen','--restore'],
|
subprocess.call([home])
|
||||||
['dunst'],
|
|
||||||
['nextcloud'],
|
|
||||||
['redshift-gtk'],
|
|
||||||
['udiskie']
|
|
||||||
]
|
|
||||||
for process in processes:
|
|
||||||
subprocess.Popen(process)
|
|
||||||
|
|
||||||
#region miscelanious
|
#region miscelanious
|
||||||
dgroups_key_binder = None
|
dgroups_key_binder = None
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
# This is a test file for anything.
|
# This is a test file for anything.
|
||||||
|
import os
|
||||||
import subprocess
|
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