mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
systemd: revert to use of a specific target activated by i3
This commit is contained in:
parent
ab7ab873b0
commit
4fc09dda39
6 changed files with 9 additions and 13 deletions
2
config
2
config
|
@ -153,4 +153,4 @@ for_window [instance=$quake] move window to scratchpad
|
||||||
bindsym $mod+grave exec ~/.config/i3/bin/quake --name $quake --term $term
|
bindsym $mod+grave exec ~/.config/i3/bin/quake --name $quake --term $term
|
||||||
|
|
||||||
# start stuff
|
# start stuff
|
||||||
exec_always --no-startup-id systemctl --user start --no-block wallpaper.service
|
exec_always --no-startup-id systemctl --user start --no-block i3-session.target
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=i3 companion
|
Description=i3 companion
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
Requires=i3.socket
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/.config/i3/bin/i3-companion
|
ExecStart=%h/.config/i3/bin/i3-companion
|
||||||
|
|
7
dotfiles/systemd/i3-session.target
Normal file
7
dotfiles/systemd/i3-session.target
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=i3 session
|
||||||
|
BindsTo=graphical-session.target
|
||||||
|
Wants=wallpaper.service
|
||||||
|
Wants=wallpaper.timer
|
||||||
|
Wants=polybar.service
|
||||||
|
Wants=i3-companion.service
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=i3 window manager
|
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Socket]
|
|
||||||
ListenStream=%t/i3.sock
|
|
||||||
ExecStartPost=/bin/systemctl --user set-environment I3SOCK=%t/i3.sock
|
|
|
@ -1,7 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Status bar for i3
|
Description=Status bar for i3
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
Requires=i3.socket
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/.config/i3/bin/polybar
|
ExecStart=%h/.config/i3/bin/polybar
|
||||||
|
|
|
@ -3,17 +3,15 @@ Description=X session
|
||||||
BindsTo=graphical-session.target
|
BindsTo=graphical-session.target
|
||||||
Wants=autorandr.service
|
Wants=autorandr.service
|
||||||
Wants=dunst.socket
|
Wants=dunst.socket
|
||||||
Wants=i3-companion.service
|
Wants=i3.service
|
||||||
Wants=inputplug.service
|
Wants=inputplug.service
|
||||||
Wants=misc-x.service
|
Wants=misc-x.service
|
||||||
Wants=picom.service
|
Wants=picom.service
|
||||||
Wants=policykit-agent.service
|
Wants=policykit-agent.service
|
||||||
Wants=polybar.service
|
|
||||||
Wants=pulseaudio.service
|
Wants=pulseaudio.service
|
||||||
Wants=redshift.service
|
Wants=redshift.service
|
||||||
Wants=ssh-agent.service
|
Wants=ssh-agent.service
|
||||||
Wants=tmux.service
|
Wants=tmux.service
|
||||||
Wants=wallpaper.timer
|
|
||||||
Wants=xiccd.service
|
Wants=xiccd.service
|
||||||
Wants=xsettingsd.service
|
Wants=xsettingsd.service
|
||||||
Wants=xss-lock.service
|
Wants=xss-lock.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue