Vincent Bernat
ffeef58722
wallpaper: change default target name to .png
...
We are using PNG because i3lock is using PNG.
2020-02-06 22:00:58 +01:00
Vincent Bernat
ea3c1fd58b
wallpaper: remove unused import
2020-02-06 21:59:29 +01:00
Vincent Bernat
ab8aea8a55
wallpaper: make awesome trigger a reload of the wallpaper on start
...
That's because we also want to update the wallpaper on xrandr changes.
2020-02-05 08:20:28 +01:00
Vincent Bernat
a528e2f242
wallpaper: replace lua timer by a systemd timer
2020-02-05 08:16:27 +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
a9767ec55e
input: try to be faster by just loading blade profile when docking
2020-02-04 11:26:06 +01:00
Vincent Bernat
a0878c93b6
input: add more debug output
2020-02-04 11:23:19 +01:00
Vincent Bernat
387279800e
tags: use xdg-open
...
This way, Firefox is the default via XDG
2020-02-03 09:48:51 +01:00
Vincent Bernat
2c8bebbd12
tags: use x-www-browser instead of Firefox
2020-02-03 09:44:33 +01:00
Vincent Bernat
9150313d7a
rc: simplify cache dir creation
...
No need to test if directory exists, `mkdir -p` already does that.
2020-02-01 12:32:56 +01:00
Vincent Bernat
0d3dca998b
xsettingsd: fix selected dpi
2020-01-31 10:08:37 +01:00
Vincent Bernat
9eab93570d
xsettingsd: use first screen DPI as DPI for the session
2020-01-31 07:24:52 +01:00
Vincent Bernat
498606b38e
xsettingsd: don't use a subshell when computing DPI
...
This is to be able to use `dpi` variable. Also, for some reason, the
journal doesn't keep the output of short-lived processes.
2020-01-31 07:14:28 +01:00
Vincent Bernat
139af6fed5
xsettingsd: fix typo in case
2020-01-31 00:00:07 +01:00
Vincent Bernat
c944c7855d
xsettingsd: fix inlining of the change() function
2020-01-30 08:22:36 +01:00
Vincent Bernat
6625f42128
xsettingsd: explain more the problem with automatic DPI detection
2020-01-30 08:09:05 +01:00
Vincent Bernat
db5f5743b9
xsettingsd: improve automatic DPI detection
...
For laptops, we don't want the same as for regular screens.
2020-01-29 23:47:03 +01:00
Vincent Bernat
57af83356b
xsettingsd: remove "change()" function
2020-01-29 23:12:55 +01:00
Vincent Bernat
96a9b401a4
xsettingsd: also set RandR DPI
2020-01-29 11:37:23 +01:00
Vincent Bernat
1902a4f0b5
xsettingsd: compute best DPI value for each screen
2020-01-29 11:37:12 +01:00
Vincent Bernat
1411929ead
xsettings: fix DPI computation
2020-01-29 11:34:00 +01:00
Vincent Bernat
08fa9a63d0
xrandr: don't poll hardware when it's not needed
2020-01-29 11:16:05 +01:00
Vincent Bernat
95dd95e4ce
systemd: use systemd to start tmux server
2020-01-29 05:45:38 +01:00
Vincent Bernat
2463736fdc
xrandr: simplify xrandr menu with autorandr
2020-01-29 05:16:25 +01:00
Vincent Bernat
2fa5ff7a38
xsettingsd: compute DPI for each screen
...
We don't use the information yet.
2020-01-29 04:59:12 +01:00
Vincent Bernat
2511f41461
xsettingsd: don't use autorandr --skip-options
...
Instead, move it in settings.ini.
2020-01-29 04:44:46 +01:00
Vincent Bernat
187013de06
firefox: disable webrender
2020-01-27 15:25:47 +01:00
Vincent Bernat
ea1e26d35d
input: fix event-handling in input-event script
2020-01-27 13:18:16 +01:00
Vincent Bernat
a8ece5c7db
firefox: force enable hardware acceleration
2020-01-26 22:00:01 +01:00
Vincent Bernat
8c60ff113f
systemd: make emacsmail.desktop default for mailto
2020-01-26 21:59:37 +01:00
Vincent Bernat
fba67da888
input: don't print anything for removed stuff
2020-01-26 18:39:41 +01:00
Vincent Bernat
243de00594
start: move start commands to systemd misc-x@.service
2020-01-26 09:07:20 +01:00
Vincent Bernat
db92161900
xss-lock: use systemctl kill instead of extracting MainPID
2020-01-25 14:38:19 +01:00
Vincent Bernat
80cd6d2c26
xss-lock: use a simpler process to dim display
...
Just set a low brightness.
2020-01-24 23:02:07 +01:00
Vincent Bernat
9910ae4c11
xss-lock switch to BSOD
2020-01-24 22:49:34 +01:00
Vincent Bernat
84a6752c11
xss-lock: use xscreensaver barcode
2020-01-24 22:44:16 +01:00
Vincent Bernat
a4c82b5b90
tags: don't consider Chromium as intrusive on fullscreen
2020-01-24 22:33:02 +01:00
Vincent Bernat
7cb13811e2
xss-lock: restart on failure
2020-01-24 22:30:45 +01:00
Vincent Bernat
78512cf93a
xss-lock: tentative to use transparency to notify
2020-01-24 21:54:03 +01:00
Vincent Bernat
c2128a109d
xss-lock: revert previous commit but keep systemd changes
2020-01-24 19:59:40 +01:00
Vincent Bernat
340f063b4e
xss-lock: tentative to keep current gamma
...
This doesn't seem to work. It seems xrandr 1.5.0 doesn't set gamma
values correctly, but even xrandr 1.5.1 seems to have an issue setting
the appropriate gamma value from an existing value.
2020-01-24 19:59:37 +01:00
Vincent Bernat
feb4ae0793
xss-lock: restore gamma/brightness on exit
...
redshift may take some time to restore it.
2020-01-24 19:18:18 +01:00
Vincent Bernat
864fd73bf9
firefox: remove some animations
2020-01-24 07:41:36 +01:00
Vincent Bernat
5557622cfb
firefox: fix user.js syntax
2020-01-24 07:37:10 +01:00
Vincent Bernat
81bfcc90c6
firefox: disable full screen warning
2020-01-24 07:32:50 +01:00
Vincent Bernat
f047064ba3
firefox: add a user.js for firefox
2020-01-24 07:30:39 +01:00
Vincent Bernat
2e3364e7ea
xss-lock: sleeps more
...
Otherwise, no time to react.
2020-01-23 09:03:24 +01:00
Vincent Bernat
1a7421baf8
systemd: try to debug xrandr crashing
2020-01-22 22:59:30 +01:00
Vincent Bernat
d1879ae338
xsettingsd: correct DISPLAY for the whole script
2020-01-22 22:38:57 +01:00
Vincent Bernat
95bf8a3723
input: invoke autorandr through systemd when needed
2020-01-22 22:37:42 +01:00