Commit graph

78 commits

Author SHA1 Message Date
Vincent Bernat
95dd95e4ce systemd: use systemd to start tmux server 2020-01-29 05:45:38 +01:00
Vincent Bernat
714f2aa0fc systemd: add some documentation 2020-01-19 20:37:28 +01:00
Vincent Bernat
b770f06714 systemd: be sure to reread user files on start 2020-01-19 20:33:57 +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
Vincent Bernat
0ba52f0e03 xsession: prepare for use of user systemd to start most services
See:
 - <https://goral.net.pl/post/systemd-x-sessions/>
 - <https://www.lukeshu.com/blog/x11-systemd.html>
2020-01-19 08:08:49 +01:00
Vincent Bernat
825f7b5b27 compton: move to an helper binary 2020-01-17 09:58:07 +01:00
Vincent Bernat
76a2ce3511 xsession: use autorandr to setup X server 2020-01-15 16:25:24 +01:00
Vincent Bernat
510fd7146d xsession: update redshift coordinates for Paris 2019-09-08 17:39:45 +02:00
Vincent Bernat
bc59486217 xsession: swap displays for neo 2019-08-25 12:57:54 +02:00
Vincent Bernat
43a8e78c88 xkb: set default keyboard to US
Then, inputplug will configure per-keyboards bindings.
2019-05-11 07:01:33 +02:00
Vincent Bernat
0292fdc9d3 xsession: simplify compton invocation
Same command-line for everyone. No point in keeping outdated/false
instructions for Nvidia.
2019-05-02 14:29:29 +02:00
Vincent Bernat
262355792a xsession: don't daemonize compton
It seems it may break on some configuration, like with amdgpu driver.
It is stated it could do that in the manual page.
2019-05-01 12:09:25 +02:00
Vincent Bernat
5177891bbb xsession: update configuration for Radeon graphic card 2019-05-01 12:08:47 +02:00
Vincent Bernat
57566b4941 xsession: switch back to xrender
It's not that I am becoming crazy with all this stuff...
2019-03-02 14:18:34 +01:00
Vincent Bernat
d305e9259d xsession: more nVidia settings for compton
This seems to work now!
2019-02-08 08:21:52 +01:00
Vincent Bernat
41e9521201 xsession: more compton magic
Inspired from https://github.com/jEsuSdA/the-perfect-desktop/blob/master/compton/compton.conf
2019-02-07 21:24:46 +01:00
Vincent Bernat
6199690a80 xsession: disable compton on nVidia
It makes everything slow.
2019-02-05 09:55:36 +01:00
Vincent Bernat
c056d836ce Revert "xsession: use same compton parameters everywhere"
This reverts commit 2e9f68f6d4. This is
still noticeably slower than the xrender backend.
2018-12-27 12:24:27 +01:00
Vincent Bernat
2e9f68f6d4 xsession: use same compton parameters everywhere 2018-12-27 12:22:39 +01:00
Vincent Bernat
c7a3a44b37 xsession: more changes for compton 2018-08-04 10:55:31 +02:00
Vincent Bernat
f6486dff94 xsession: daily change of compton command-line 2018-08-03 07:59:41 +02:00
Vincent Bernat
93fe3e3cef xsession: with nvidia, just use xrender backend
GLX backend just triggers bugs everytime. It seems I don't need to use
a vsync method as there is no tearing as is.
2018-08-01 11:09:38 +02:00
Vincent Bernat
a73094f48c xsession: renable compton's glx-no-rebind-pixmap
With more recent nvidia drivers (396.x instead of 390.x), it now works.
2018-08-01 08:54:10 +02:00
Vincent Bernat
6e5ed5605b xsession: starts xiccd on start 2018-07-30 18:44:07 +02:00
Vincent Bernat
99f840b872 Revert "xsession: enable --unredir-if-possible compton option"
This reverts commit 08d310408a. Bad idea
as it will bring back tearing.
2018-07-29 00:40:58 +02:00
Vincent Bernat
08d310408a xsession: enable --unredir-if-possible compton option 2018-07-28 22:35:15 +02:00
Vincent Bernat
731ea82793 xsession: remove GDM hack 2018-07-28 22:35:09 +02:00
Vincent Bernat
06bbd3f418 xsession: parse ~/.zshenv to get path 2018-07-28 21:09:51 +02:00
Vincent Bernat
b9f6e1b7b2 xsession: do not use compton's --glx-no-rebind-pixmap
Cause some issues in Emacs.
2018-07-28 12:56:37 +02:00
Vincent Bernat
7c8c7b2401 xsession: enable QT autoscaling according to screen DPI
This seems to work great!
2018-07-28 11:12:16 +02:00
Vincent Bernat
13ecec71a9 xsession: different compton configuration for nvidia
Use of --glx-no-stencil introduces flickering.
2018-07-28 11:11:55 +02:00
Vincent Bernat
d589657246 xsession: use a faster method in compton for GLX swap 2018-07-28 10:33:32 +02:00
Vincent Bernat
bce16c6d6a xsession: on neo, set primary screen
Default primary is DP-0.
2018-07-28 10:29:21 +02:00
Vincent Bernat
23581a2bcd xsession: make compton settings depend on GLX driver 2018-07-28 10:28:27 +02:00
Vincent Bernat
387c6d0078 xsettings: use xsettings to set scale factor 2018-07-27 22:50:05 +02:00
Vincent Bernat
461223a0a3 xsession: on neo, help with scaling on GTK/GDK 2018-07-27 22:31:18 +02:00
Vincent Bernat
87ab994252 xsession: fix DPI for neo 2018-07-27 22:06:02 +02:00
Vincent Bernat
1aa03a9044 xsettings: configure neo for new 4K screens 2018-07-27 21:44:16 +02:00
Vincent Bernat
4f0a973cba xsession: disable radios through NM too
NetworkManager will sync its state with rfkill now...
2018-07-13 09:06:25 +02:00
Vincent Bernat
a7919941b3 xsession: lower redshift night temperature 2017-04-18 22:16:23 +02:00
Vincent Bernat
1644387efe xsession: make systemd-run quiet 2016-06-01 08:09:14 +02:00
Vincent Bernat
be1fd6a21d xsession: ensure tmux session won't be killed on logout 2016-06-01 07:32:50 +02:00
Vincent Bernat
614d3c604f xsession: fix coordinates for redshift 2016-05-08 19:34:04 +02:00
Vincent Bernat
3662be4751 xsession: lower night temperature for redshift
Otherwise, the change is quite invisible.
2016-05-07 21:36:01 +02:00
Vincent Bernat
aa48a79e13 xsession: output rename with recent intel 2016-01-28 19:52:20 +01:00
Vincent Bernat
9244f9de10 xsession: import environment into user systemd
It's some way to emulate a per-session systemd. Not really used yet.
2015-09-06 16:00:42 +02:00
Vincent Bernat
b2da623de0 xsession: alucard doesn't exist anymore 2015-05-14 09:48:51 +02:00
Vincent Bernat
4a21b21bd7 xsession: HDMI interface names have changed for neo 2015-05-14 09:48:28 +02:00
Vincent Bernat
2e7df6eda0 Revert "xsession: set SHELL to /bin/sh"
This reverts commit 10c9c02975. This has
the bad side effect of not using the user shell... Keep the SHELL
variable as is.
2015-03-23 10:00:47 +01:00
Vincent Bernat
10c9c02975 xsession: set SHELL to /bin/sh
`/bin/sh` doesn't set the SHELL variable itself. We don't need bash
here.
2015-03-20 19:34:20 +01:00