Commit graph

11 commits

Author SHA1 Message Date
Vincent Bernat
0d7c70a2ec systemd: don't use a script to update defaults
Just update ~/.config/mimeapps.list manually (and sync it).
2020-05-10 16:31:56 +02:00
Vincent Bernat
3ffca01c5a systemd: move XDG MIME defaults to a script 2020-05-10 16:31:24 +02:00
Vincent Bernat
986a795613 systemd: use zathura for PDF/DJVU/PS 2020-02-23 11:43:36 +01:00
Vincent Bernat
66d130e702 systemd: register x-scheme-handler/about with firefox
This way, I can run firefox with `xdg-open about:newtab`. Otherwise,
it fallback to x-www-browser.
2020-02-04 13:45:58 +01:00
Vincent Bernat
8c60ff113f systemd: make emacsmail.desktop default for mailto 2020-01-26 21:59:37 +01:00
Vincent Bernat
243de00594 start: move start commands to systemd misc-x@.service 2020-01-26 09:07:20 +01:00
Vincent Bernat
d1f696e088 systemd: don't run numlockx
I don't have a keyboard with numlock since quite a long time.
2020-01-19 22:47:06 +01:00
Vincent Bernat
0670abf9e3 systemd: fix location of numlockx 2020-01-19 22:45:33 +01:00
Vincent Bernat
47368b46dc systemd: remove all [Install] sections
Instead, we explicitely set dependencies in our own
graphical-session@.target.
2020-01-19 20:30:59 +01:00
Vincent Bernat
2e9fa46f2f systemd: create our own graphical-session@.target
graphical-session.target is an existing target for the system. While I
don't use several X sessions, I prefer to have each service bound to
the right display and therefore, I create my own
graphical-session@.target for this purpose.

Also, I don't like having to use `systemctl --user enable`, so I
enable everything directly in graphical-session@.target. Other
dependencies are ordered from awesome@.service. This seems good
enough.
2020-01-19 20:28:04 +01:00
Vincent Bernat
ae691bb025 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.
2020-01-19 19:06:49 +01:00