mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-12 11:14:21 +02:00
systemd: tentative to manage session with systemd
To me, I think it was cleaner to have a parameter with the current display. This way, the session is specific to the current display. It seems BindsTo doesn't think this way.
This commit is contained in:
parent
d5b72851ec
commit
ae691bb025
20 changed files with 132 additions and 82 deletions
14
xsession
14
xsession
|
@ -21,14 +21,6 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|||
|
||||
systemctl --user import-environment
|
||||
systemd-run -q --scope --user tmux start-server
|
||||
|
||||
autorandr --change
|
||||
~/.config/awesome/bin/xsettingsd-setup
|
||||
~/.config/awesome/bin/compton &
|
||||
~/.config/awesome/bin/xss-lock start &
|
||||
xiccd --edid &
|
||||
setxkbmap us
|
||||
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
||||
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
|
||||
|
||||
exec awesome
|
||||
mkdir -p ~/.config/systemd
|
||||
ln -nsf ~/.config/awesome/systemd ~/.config/systemd/user
|
||||
exec systemctl --user start --wait xsession@$(systemd-escape -- "$DISPLAY").target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue