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
Vincent Bernat
30767bea20
lock: ensure notification happens before timeout
2014-09-12 21:24:10 +02:00
Vincent Bernat
9eb6982085
lock: use more steps to fade screen
2014-09-12 21:23:36 +02:00
Vincent Bernat
35f0a4296b
lock: fade screen during 10 seconds
2014-09-12 21:23:15 +02:00
Vincent Bernat
bfb8c77781
lock: sleep a bit to let i3lock lock the screen
...
We could let i3lock fork to notify us but then, we have to spy on it to
know when the screen is unlocked.
2014-09-12 14:53:59 +02:00
Vincent Bernat
097e076694
lock: use xss-lock instead of xautolock
...
xss-lock features nice integration with standard X screensaver
feature which makes it easy to trigger it or to disable it. Moreover, it
also has some logind integration to lock screen before suspend.
2014-09-12 14:52:36 +02:00
Vincent Bernat
6d9f31eb98
lock: make i3lock ignore empty password
2014-08-20 19:24:20 +02:00
Vincent Bernat
95ecd523b5
Revert "lock: let i3lock handle DPMS"
...
This reverts commit b643e21430
.
2014-07-22 11:15:18 +02:00
Vincent Bernat
b643e21430
lock: let i3lock handle DPMS
...
DPMS is otherwise globally disabled.
2014-07-22 10:48:54 +02:00
Vincent Bernat
fa1e03624c
input: make trackpoint snappier
2014-07-03 11:11:29 +02:00