mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 09:14:25 +02:00
picom: use a wrapper script to template picom configuration file
This commit is contained in:
parent
9371fff442
commit
3770929742
5 changed files with 20 additions and 5 deletions
|
@ -3,5 +3,7 @@ Description=Compositor for X11
|
|||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/picom
|
||||
ExecStartPre=%h/.config/i3/bin/picom-configure
|
||||
ExecStart=/usr/bin/picom --config ${XDG_RUNTIME_DIR}/i3/picom.conf
|
||||
ExecReload=%h/.config/i3/bin/picom-configure
|
||||
Restart=on-failure
|
||||
|
|
|
@ -10,5 +10,6 @@ ExecReload=%h/.config/i3/bin/xsettingsd-setup
|
|||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||
# Restart i3 (it uses Xft.dpi)
|
||||
ExecReload=-/usr/bin/i3-msg restart
|
||||
# Restart polybar (it uses an environment variable)
|
||||
# Restart polybar and reload picom (they use an environment variable)
|
||||
ExecReload=/bin/systemctl --user try-restart polybar.service
|
||||
ExecReload=/bin/systemctl --user try-reload picom.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue