Vincent Bernat
8689e2583a
input: make compose work with any right key
2018-08-22 19:44:50 +02:00
Vincent Bernat
c3f44fb0c3
wallpaper: python3 compatibility
2018-08-05 22:37:42 +02:00
Vincent Bernat
197e5cdb1d
wallpaper: favor bigger images
2018-08-02 23:21:36 +02:00
Vincent Bernat
2588551af0
wallpaper: handle wide wallpapers
2018-08-01 14:24:53 +02:00
Vincent Bernat
bf0483f610
xsettings: correctly compute Gdk/UnscaledDPI value
...
For fractional scaling factor, it's not always 96dpi.
2018-07-29 00:02:45 +02:00
Vincent Bernat
d52488e1c9
xsettings: always set Gdk/* properties
...
It shouldn't hurt if we use 1 as scaling factor.
2018-07-27 22:53:54 +02:00
Vincent Bernat
387c6d0078
xsettings: use xsettings to set scale factor
2018-07-27 22:50:05 +02:00
Vincent Bernat
1aa03a9044
xsettings: configure neo for new 4K screens
2018-07-27 21:44:16 +02:00
Vincent Bernat
846cd2f680
input-event: fix accel of trackpoint
2018-07-22 12:15:01 +02:00
Vincent Bernat
c46a44d646
input: try to handle undocking too
2018-07-04 18:46:38 +02:00
Vincent Bernat
faabca55e2
input: try natural scrolling for synaptics touchpad
2016-07-31 13:45:58 +02:00
Vincent Bernat
66b9debba1
lock: i3lock is now able to use XSS_SLEEP_LOCK_FD directly
2016-06-06 10:20:15 +02:00
Vincent Bernat
3596d903eb
input: switch to libinput
...
Out-of-the-box, libinput works fine. We even get scrolling using middle
button.
2016-05-18 13:56:14 +02:00
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