mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +00:00
qtile/picom: fix bar rounded corner issue
for some reason, the picom needs to start after the bar is already there, so added a bit of a delay on startup and restart picom (also delayed) along with qtile
This commit is contained in:
parent
626033c750
commit
7fb79ca781
@ -7,7 +7,7 @@
|
||||
/usr/bin/numlockx
|
||||
|
||||
# Start compositor
|
||||
picom --experimental-backends &
|
||||
(sleep 1 && picom --experimental-backends) &
|
||||
|
||||
# Start notification server
|
||||
dunst &
|
||||
|
||||
@ -395,6 +395,10 @@ def autostart():
|
||||
autostart_script = os.path.expanduser("~/.config/qtile/autostart.sh")
|
||||
subprocess.call([autostart_script])
|
||||
|
||||
@hook.subscribe.restart
|
||||
def restart_hook():
|
||||
os.system(os.path.expanduser("~/.config/qtile/on_restart.sh"))
|
||||
|
||||
|
||||
@hook.subscribe.client_new
|
||||
def try_swallow(window):
|
||||
|
||||
4
.config/qtile/on_restart.sh
Executable file
4
.config/qtile/on_restart.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Restart picom so qtile bar does not get round corners
|
||||
killall picom ; sleep 1 && picom --experimental-backends &
|
||||
Loading…
Reference in New Issue
Block a user