mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
systemd: add some documentation
This commit is contained in:
parent
b770f06714
commit
714f2aa0fc
2 changed files with 10 additions and 3 deletions
12
README.md
12
README.md
|
@ -11,9 +11,6 @@ yet. Have a look at
|
||||||
[@P-EB pull request](https://github.com/vincentbernat/awesome-configuration/pull/5)
|
[@P-EB pull request](https://github.com/vincentbernat/awesome-configuration/pull/5)
|
||||||
for 3.5 support.
|
for 3.5 support.
|
||||||
|
|
||||||
I rely on machine hostname for some configuration parts (see
|
|
||||||
`rc/start.lua`) for the most important part.
|
|
||||||
|
|
||||||
Here some of the things you may be interested in:
|
Here some of the things you may be interested in:
|
||||||
|
|
||||||
- It is modular. I am using `config` as a table to pass different
|
- It is modular. I am using `config` as a table to pass different
|
||||||
|
@ -52,6 +49,15 @@ Here some of the things you may be interested in:
|
||||||
|
|
||||||
- On the debug front, I am quite happy with `dbg()` in
|
- On the debug front, I am quite happy with `dbg()` in
|
||||||
`rc/debug.lua`.
|
`rc/debug.lua`.
|
||||||
|
|
||||||
|
- Many stuff is handled by systemd. The session is still expected to
|
||||||
|
be handled by Xsession but we invoke a custom display-specific
|
||||||
|
`xsession@.target` which binds to a display-specific
|
||||||
|
`graphical-session@.target`. This is different from the
|
||||||
|
`graphical-session.target` shipped by distributions because I
|
||||||
|
wanted it to be display-specific. Also, unit activation is bundled
|
||||||
|
directly into `graphical-session@.target` while dependencies are
|
||||||
|
mostly handled in `awesome@.service`.
|
||||||
|
|
||||||
Also, I am using my custom terminal (`vbeterm`). You need to change
|
Also, I am using my custom terminal (`vbeterm`). You need to change
|
||||||
that in `rc.lua`. You can also find the sources on
|
that in `rc.lua`. You can also find the sources on
|
||||||
|
|
1
xsession
1
xsession
|
@ -19,6 +19,7 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||||
# Environment variables
|
# Environment variables
|
||||||
[ -e ~/.zshenv ] && . ~/.zshenv
|
[ -e ~/.zshenv ] && . ~/.zshenv
|
||||||
|
|
||||||
|
# Services are started with systemd
|
||||||
systemctl --user import-environment
|
systemctl --user import-environment
|
||||||
systemd-run -q --scope --user tmux start-server
|
systemd-run -q --scope --user tmux start-server
|
||||||
mkdir -p ~/.config/systemd
|
mkdir -p ~/.config/systemd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue