Commit 22645baa authored by Gabriele Musco's avatar Gabriele Musco
Browse files

reload sway after applying

parent b2058f9b
Pipeline #114910 passed with stage
in 22 seconds
......@@ -2,6 +2,7 @@ from gi.repository import Gio
from PIL import Image
from PIL.ImageOps import fit
from os import environ as Env
from subprocess import run
import re
TMP_DIR = '/tmp/HydraPaper/'
......@@ -71,3 +72,4 @@ def set_wallpaper_sway(monitors, lockscreen=False):
with open(SWAY_CONF_PATH, 'w') as fd:
fd.write(n_conf)
fd.close()
run('sway reload'.split(' '))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment