Vincent Bernat
ebf43cbbc5
wallpaper: also provide symlinks to the used images
...
Useful if something want a random wallpaper.
2016-04-17 19:17:53 +02:00
Vincent Bernat
01d65673ca
xsettings: when using display port adapter, keep HiDPI settings too
...
In fact, we should detect we have some videoprojector and do that.
2016-04-17 19:07:04 +02:00
Vincent Bernat
cb7763f070
xsettings: when using HDMI output only, keep HiDPI
...
The HDMI output is used mostly for presentations.
2016-03-30 14:48:14 +02:00
Vincent Bernat
f3f3754336
xsettings: compatibility with modeset driver
2016-02-19 10:06:22 +01:00
Vincent Bernat
c37d80aae4
Revert "lock: when going to sleep, clear ssh-agent keys"
...
This reverts commit b149d0a07a
.
2016-01-24 13:41:37 +01:00
Vincent Bernat
b149d0a07a
lock: when going to sleep, clear ssh-agent keys
2016-01-17 10:18:14 +01:00
Vincent Bernat
d5d723a350
lock: show number of failed attempts
2015-10-13 21:29:57 +02:00
Vincent Bernat
8476535739
input: prefix log message with something greppable
2015-09-08 12:10:36 +02:00
Vincent Bernat
f5954001cf
xsettings: handle connected but unused screens as well
2015-08-05 19:09:39 +02:00
Vincent Bernat
d9008f094d
xsettings: do not rely on a primary screen
...
It is likely that we don't have one.
2015-08-05 09:36:26 +02:00
Vincent Bernat
b0d555ff98
xsettings: just hard-code appropriate DPI settings
2015-07-23 21:42:32 +02:00
Vincent Bernat
e0ceb40259
xsettings: use xrandr to compute appropriate DPI
2015-07-23 13:23:09 +02:00
Vincent Bernat
5710a37455
xsettings: keep using xdpyinfo if override not present
2015-07-23 09:02:08 +02:00
Vincent Bernat
f253d81ef5
xsettings: grab DPI from xsettings.dpi
...
Some applications, like Chromium don't like the X server to use an
appropriate DPI setting. Dunno why. See:
https://code.google.com/p/chromium/issues/detail?id=511580
This is a workaround for that.
2015-07-23 09:00:02 +02:00
Vincent Bernat
86c36c91c6
lock: more generic way to stop an audio player
2015-07-12 21:54:03 +02:00
Vincent Bernat
93a5cf16ba
Revert "spotify: try to support the new version of Spotify"
...
This reverts commit 6c8985a9ae
. Well, keep
old version of Spotify until MPRIS DBus support is updated.
2015-07-12 21:26:41 +02:00
Vincent Bernat
6c8985a9ae
spotify: try to support the new version of Spotify
...
It doesn't provide a DBus interface. Try to use xdotool instead. For
some reason, not working.
2015-07-12 11:31:13 +02:00
Vincent Bernat
eafed94545
lock: wait a bit more before kicking DPMS
2015-06-20 13:58:42 +02:00
Vincent Bernat
742d8ddbf4
lock: set lock timeout to 5 minutes
2015-06-17 08:46:28 +02:00
Vincent Bernat
3f71120489
lock: tile the image for i3lock
...
This can be useful if the screen resolution changes during locking.
2015-02-06 13:44:42 +01:00
Vincent Bernat
648c75cc9f
wallpaper: save the wallpaper as a PNG image
2015-02-05 12:53:09 +01:00
Vincent Bernat
9b0995552b
wallpaper: don't append root path twice
...
This works with absolute directories but not with relative ones.
2015-02-05 09:27:27 +01:00
Vincent Bernat
b205223f63
wallpaper: use a temporary file to save current wallpaper
...
Otherwise, other utilities (like i3lock) may get a corrupted image.
2015-02-05 09:26:17 +01:00
Vincent Bernat
30a6a9a4dc
wallpaper: remove unused import
2015-02-05 09:17:45 +01:00
Vincent Bernat
07a1739172
input: use a larger middle button
2015-01-01 22:05:43 +01:00
Vincent Bernat
942d758731
input: use an arithmetic expression for better documentation
2015-01-01 22:03:44 +01:00
Vincent Bernat
27599fedcc
lock: stop spotify when locking
2014-12-11 08:32:21 +01:00
Vincent Bernat
58cea06e8e
xsettings: also fallback to xrdb
...
LibreOffice doesn't use xsettings...
2014-11-05 13:40:31 +01:00
Vincent Bernat
c86781c262
input: don't put docking logic inside input handling
...
We use an external binary (in `~/bin`).
2014-09-29 11:01:45 +02:00
Vincent Bernat
8b72b4f80e
compton: kill compton before calling xrandr
2014-09-26 10:06:00 +02:00
Vincent Bernat
e4ee166056
compton: kill compton before restarting awesome
2014-09-26 10:05:42 +02:00
Vincent Bernat
e3f653acb5
dock: sleep a bit more when docking before restarting awesome
2014-09-25 11:55:32 +02:00
Vincent Bernat
05486739e9
dock: when docking, disable wifi
2014-09-25 09:30:48 +02:00
Vincent Bernat
4cc87d1cce
input: disable synaptics except for click
...
I don't have time to patch the driver at each upgrade. Moreover, I don't
use scrolling that much.
2014-09-21 09:55:09 +02:00
Vincent Bernat
d84574ebc3
dock: don't try to detect undocking, that doesn't work
...
Unplugging the dock while running seems harmful currently. Just use a
special command for that before undocking. On the other hand, docking
should just work.
2014-09-18 14:58:51 +02:00
Vincent Bernat
62c3f6a7f4
dock: restart awesome after reconfiguring
...
It is likely that awesome missed the second xrandr event.
2014-09-18 09:28:00 +02:00
Vincent Bernat
7f29fd3235
dock: configure dual screen when docking with two commands
...
xrandr doesn't handle the configuration in one go. Moreover, we cannot
just disable internal panel first then configure dual screens.
2014-09-18 09:25:59 +02:00
Vincent Bernat
6f7d274cca
dock: fix xrandr invocation when undocking
2014-09-18 09:25:46 +02:00
Vincent Bernat
6f73015d1d
dock: also configure the keyboard as expected
2014-09-18 07:31:02 +02:00
Vincent Bernat
1251eccf6d
dock: try to do the change in one command
2014-09-18 07:29:40 +02:00
Vincent Bernat
4134170f6c
dock: use USB keyboard to detect dock
2014-09-17 18:33:07 +02:00
Vincent Bernat
b30a00e7e3
xsettings: fix invocation of xsettings
2014-09-17 18:02:03 +02:00
Vincent Bernat
f10cb9fb84
xsettings: use some helper to configure xsettingsd
2014-09-17 10:39:22 +02:00
Vincent Bernat
bd807d5f4c
lock: don't dim, use a notification
...
One time out of two, the screen will stay black. Moreover, since this is
not incorruptible, it is cumbersome to cancel it.
2014-09-14 18:55:57 +02:00
Vincent Bernat
863f117243
lock: add date/time to messages
2014-09-14 11:03:45 +02:00
Vincent Bernat
9d9234e4dd
lock: workaround race condition with dimming
...
For some reason, the race condition is here. Dunno how to fix it. Just
workaround it with another race condition... :(
2014-09-14 08:41:18 +02:00
Vincent Bernat
e251895730
lock: set minimum brightness to 1
...
This is done to avoid turning off the screen.
2014-09-14 08:39:37 +02:00
Vincent Bernat
83c49d1222
lock: avoid race condition with xbacklight
2014-09-13 20:33:17 +02:00
Vincent Bernat
8dc196e60d
lock: ensure that dim stops before end of period
...
Otherwise, we have concurrent xbacklight processes
2014-09-13 20:31:09 +02:00
Vincent Bernat
e0b246bee9
lock: add some debugging
2014-09-13 07:33:37 +02:00