Commit graph

679 commits

Author SHA1 Message Date
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
03cc98a4e8 xsession: reenable rfkill
Not handled by systemd. However, backlight is kept between reboots.
2014-09-12 15:02:23 +02:00
Vincent Bernat
61dfa49fb7 lock: start xss-lock in xsession
It seems that spawning it will just crash awesome.
2014-09-12 15:01:52 +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
2c19d0021f xsession: don't rfkill/xbacklight
Recent versions of systemd handle that without anything special.
2014-09-12 13:36:28 +02:00
Vincent Bernat
90ed6a3127 tags: don't make keepassx special anymore 2014-08-30 17:08:42 +02:00
Vincent Bernat
c09e38673a start: don't use KeepassX anymore 2014-08-24 14:19:16 +02:00
Vincent Bernat
6d9f31eb98 lock: make i3lock ignore empty password 2014-08-20 19:24:20 +02:00
Vincent Bernat
472801975d shifty: handle position being null 2014-08-05 09:28:05 +02:00
Vincent Bernat
ab60407f8a start: try another option combinaison for compton
`--vsync drm` was worst.
2014-07-23 09:20:08 +02:00
Vincent Bernat
9ac4d200db start: use --vsync drm instead of OpenGL for compton
With OpenGL backend, sometimes, i3lock is not painted when locking the
screen. This is quite disturbing.
2014-07-23 08:54:35 +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
d0dbe38a14 start: run udisks-glue
This is a way to automount disks.
2014-07-20 13:31:56 +02:00
Vincent Bernat
4909f5bde6 start: use glx backend for compton and enable vsync
This avoids tearing for videos. However, the power consumption may be
increased...
2014-07-12 11:33:00 +02:00
Vincent Bernat
2dbfdde5a8 xsession: remove use of _JAVA_OPTIONS
There is no way to suppress those annoying warnings. See:
 https://bugs.openjdk.java.net/browse/JDK-8039152

Let's just use wrapper when we need it.
2014-07-03 23:24:48 +02:00
Vincent Bernat
fa1e03624c input: make trackpoint snappier 2014-07-03 11:11:29 +02:00
Vincent Bernat
f7d82d5c52 lock: enable locking with modkey + delete
Some keyboards are missing a lot of keys...
2014-07-01 16:17:11 +02:00
Vincent Bernat
626ceabf48 xresources: don't blink cursor in rxvt
The number of wake-ups per second is high when this option is enabled.
2014-07-01 11:38:20 +02:00
Vincent Bernat
4343cd6bd0 xresources: fix hintstyle
`hintlight` should be spelled `hintslight`. Otherwise, some fonts look
too bold.
2014-06-30 21:33:01 +02:00
Vincent Bernat
505a575614 widgets: remove unneeded mountpoints to watch 2014-06-29 11:27:09 +02:00
Vincent Bernat
b0c4a6d43f input: make the trackpoint speedier 2014-06-21 08:36:23 +02:00
Vincent Bernat
7cb545877a xsession: also set DPI through XFT
Most desktop stuff, including modern ones, will respect that.
2014-06-17 22:45:42 +02:00
Vincent Bernat
b302b70787 theme: adapt to "hidpi" screens
We use a scale factor. We are expected to have something sensible set
for DPI.
2014-06-17 22:22:47 +02:00
Vincent Bernat
52b70e4046 xsession: enable hidpi 2014-06-17 22:06:26 +02:00
Vincent Bernat
d1d9960c24 xsession: don't check full path of various utilities 2014-06-15 15:00:59 +02:00
Vincent Bernat
2bf4642d88 keys: disable synaptics motion but keep gestures 2014-06-15 14:18:39 +02:00
Vincent Bernat
fcd7b59c07 keys: transform Ctrl_L into a Escape key for X1 2014-06-14 19:48:44 +02:00
Vincent Bernat
d79a3d0f5c widgets: enable battery widget on zoro 2014-06-13 16:32:49 +02:00
Vincent Bernat
6a28acc5fa keys: disable touchscreen on Carbon X1 2014-06-11 17:53:13 +02:00
Vincent Bernat
bcf2f66102 keys: disable clickpad by using "huge" buttons 2014-06-11 17:41:21 +02:00
Vincent Bernat
c6c6fca6d2 brightness: control brightness
On the X1, the brightness is controlled by the OS. On other machines, if
it is not, we will double the requested changes. We can live with that.
2014-06-11 17:25:47 +02:00
Vincent Bernat
7b4de27bc8 urxvt: use a more transparent background by default
On a HiDPI screen, the previous transparency was almost not transparent.
2014-06-11 17:12:30 +02:00
Vincent Bernat
b31742b740 keys: don't use replace keys when defining new symbols
It seems that this is incompatible with a per-device mapping.
2014-06-11 17:11:55 +02:00
Vincent Bernat
712c1f3362 start: don't try to start xcompmgr
compton takes some time to start and meanwhile, xcompmgr will be
started...
2014-06-11 10:30:02 +02:00
Vincent Bernat
d654f1e874 keys: fix custom symbols for X1 Carbon 2014-06-10 21:23:44 +02:00
Vincent Bernat
a6506a223f keys: remove keyboard configuration from Lua code
Everything is now handled by inputplug.
2014-06-10 21:23:37 +02:00
Vincent Bernat
3e9a3f8662 xsession: fix path to input event script 2014-06-10 07:51:27 +02:00
Vincent Bernat
41bfe7fa0d keys: use inputplug to configure keyboards 2014-06-10 01:44:42 +02:00
Vincent Bernat
b7c2ca10e7 bindings: use Mod+Tab to switch to the previous tag
It was previously assigned to switch between two windows. I never used
it as is.
2014-06-09 19:56:22 +02:00
Vincent Bernat
0a4342794a keys: remove more keyboard/mouse configuration to xorg.conf.d 2014-06-09 17:54:39 +02:00
Vincent Bernat
069fe75157 keys: remove keyboard/mouse configuration to xorg.conf.d 2014-06-09 16:50:04 +02:00
Vincent Bernat
41d21fb10a keys: remap Carbon X1 keys
Well, many keys are missing. Let's try to recover the useful ones.

 1. Replace Esc by backquote/tilde. The escape key is at the wrong
    position. However, there is no other key to replace escape. So, we just
    don't bind it. There is only one shortcut using escape. I think I
    can live without it.
 2. Replace the previous backquote/tilde key (between alt and ctrl) by
    insert. I use this key for pasting into terminals.
 3. Replace both Home and End by Ctrl_L. It seems that End is hardly
    used. Maybe there is a way to replace it by something else.
2014-06-08 23:09:18 +02:00
Vincent Bernat
21f9dd0237 xsession: set X1 resolution to 1920x1080
HiDPI support is not quite here in Linux
2014-06-08 11:24:08 +02:00