Commit graph

650 commits

Author SHA1 Message Date
Vincent Bernat
58d7c0fcfa widgets: fix calendar widget 2012-08-01 10:28:30 +02:00
Vincent Bernat
e6ac80e75b theme: set DejaVu Sans for all naughty presets 2012-07-31 21:11:21 +02:00
Vincent Bernat
79cd569c33 signals: better handling of sloppy focus and mouse follows focus
It may happend that a client is focused on `mouse::enter` without the
`focus` event being fired. Therefore, the next client to be focused
will not get the mouse on its top left corner because we think that
the focus comes from sloppy focus.

We circumvent this by:
 1. giving sloppy focus only if we don't have focus
 2. keeping track of the client getting the focus through sloppy focus
    and checking it if we get the same client on focus event
2012-07-31 20:46:55 +02:00
Vincent Bernat
c8e9e2512d signals: mouse follows focus also on geometry change 2012-07-31 20:30:42 +02:00
Vincent Bernat
2467776a58 theme: include directory for icons inside the theme 2012-07-31 07:03:22 +02:00
Vincent Bernat
ffde6bd222 widget: display calendar widget on current screen 2012-07-31 07:00:20 +02:00
Vincent Bernat
e975da83f9 theme: don't rely on an external theme
We mostly redefine the theme. Just redefine everything.
2012-07-31 06:59:26 +02:00
Vincent Bernat
6bc35992f2 appearance: don't use Terminus as default GTK+ font 2012-07-31 06:41:59 +02:00
Vincent Bernat
254af5b260 signals: don't move mouse to dialog corners 2012-07-30 14:52:10 +02:00
Vincent Bernat
066f82611b widgets: add a calendar widget 2012-07-30 00:10:23 +02:00
Vincent Bernat
1612439fdb theme: don't use terminus for notifications
This font has no bold at this size. We use a classic proportional font
instead.
2012-07-29 23:16:54 +02:00
Vincent Bernat
5f9c6aa756 theme: remove unused colors 2012-07-29 22:53:01 +02:00
Vincent Bernat
04dfe644d7 debug: increase hover timeout
Hover timeout is triggered even when the mouse is already inside the
surface. This is quite problematic. We increase it in the meantime.
2012-07-29 22:47:54 +02:00
Vincent Bernat
7b1de40744 widget: free more space when using one screen 2012-07-29 22:40:29 +02:00
Vincent Bernat
a749a63a61 widgets: display window names even with one screen
Icons are useless alone. We display window names even with one
screen. We try to make some space by removing less useful widgets like
icons, netgraph and some others...
2012-07-29 20:41:58 +02:00
Vincent Bernat
73b86a65a5 tags: when only one screen, don't display tag names
With the addition of icons, tag list became a bit long. If we have
only one screen, don't display names.
2012-07-29 20:29:38 +02:00
Vincent Bernat
1c96367c6a widgets: reduce CPU usage 2012-07-29 20:10:13 +02:00
Vincent Bernat
d1d27691f0 widgets: reduce used space by displaying only currently tagged windows 2012-07-29 17:37:29 +02:00
Vincent Bernat
bb6ad3907e widgets: fix battery widget (remove extra label) 2012-07-29 17:33:46 +02:00
Vincent Bernat
f7d2280d22 theme: steal more icons from anxrc 2012-07-29 17:15:38 +02:00
Vincent Bernat
4a92816897 quake: use instance name instead of icon name
It seems that xterm does not keep the appropriate icon name. The
instance name seems to work for both xterm and rxvt.
2012-07-29 17:00:09 +02:00
Vincent Bernat
36cea762bd widgets: add battery icon 2012-07-29 16:59:33 +02:00
Vincent Bernat
782c1ff0da widgets: use less aggressive colors for netgraph 2012-07-29 16:43:36 +02:00
Vincent Bernat
2d5c5892b1 widgets: add many icons 2012-07-29 16:36:31 +02:00
Vincent Bernat
548ed82f2d theme: switch to Terminus 8 2012-07-29 15:43:22 +02:00
Vincent Bernat
e05bf1f83c xresources: switch to Terminus-9 via Xft
It is narrower but at this size, there is no bold. We'll see how it
works.
2012-07-29 08:59:43 +02:00
Vincent Bernat
c37020e544 signals: mouse follows focus even on different screen 2012-07-25 21:14:06 +02:00
Vincent Bernat
881d41cdb8 widgets: add a (long) timeout for battery notification 2012-07-25 18:31:31 +02:00
Vincent Bernat
315f902728 bindings: use own screen_focus function that do not move the mouse after focusing the client
This allows a signal to put the mouse in the upper left corner of a
newly focused window on another screen.
2012-07-25 12:27:50 +02:00
Vincent Bernat
57a6917b5b rules: pidgin dialog boxes can be on any screen 2012-07-24 18:20:29 +02:00
Vincent Bernat
ad9f9852b3 signals: mouse follows focus except when focus followed mouse
We generalize "mouse follows focus" by keeping the mouse in the top
left corner of any focused window except when the window has been
focused because of sloppy focus.
2012-07-23 22:05:33 +02:00
Vincent Bernat
d81bd1bb38 bindings: provide a security margin when moving mouse to corner 2012-07-23 21:59:02 +02:00
Vincent Bernat
6dd938deb3 xsession: on first start, kill radios and set backlight 2012-07-21 21:55:12 +02:00
Vincent Bernat
12c3e37fbc rules: non browser windows should be slave
This includes the developer tools pane. Also, we rely on the class
name instead of the window name (which may change).
2012-07-21 19:05:11 +02:00
Vincent Bernat
a2451c2a04 bindings: make mouse follow focused window
This only happens if we change window focus using key bindings.
2012-07-21 10:54:43 +02:00
Vincent Bernat
ec5d1683c1 README: no more kbdd 2012-07-20 22:23:41 +02:00
Vincent Bernat
63eb3ff794 keyboard: use XKB groups to switch between layouts
The use of XKB groups allow to switch between layouts with a key
combination (RCTRL + RSHIFT in our case). I don't need kbdd since I am
not really interested in switching keyboard layout per window.
2012-07-20 18:35:14 +02:00
Vincent Bernat
dad27fe5d0 xresources: invert scrollWithBuffer for urxvt 2012-07-19 22:07:40 +02:00
Vincent Bernat
a8f5c2ec7d xrandr: turn off disconnected outputs
When an output is disconnected, it is not automatically turned off by
our xrandr command which only accounts for connected output.
2012-07-19 20:12:00 +02:00
Vincent Bernat
0537902fe8 bindings: screenshots are now saved in JPG format 2012-07-18 21:35:30 +02:00
Vincent Bernat
ed8adcd4c4 bindings: fix toggle_window() function
There was a potential infinite loop because we didn't walk the stack
correctly.
2012-07-18 18:47:41 +02:00
Vincent Bernat
a89042b5d3 start: fix keyboard layouts 2012-07-18 16:06:47 +02:00
Vincent Bernat
fe97049cff rules: add firefox download window to slave windows 2012-07-17 11:29:00 +02:00
Vincent Bernat
a2a3a19e54 bindings: switch "jump to urgent" to "toggle pidgin conversation"
Moreover, we define a more generic function to toggle a window that
can be used for windows with urgency hint or for any group of
windows. The undo stack will skip windows that cannnot be restored
yet (not visible) and will be cleaned up if it becomes too large.
2012-07-17 10:59:47 +02:00
Vincent Bernat
3669b73aaa bindings: change the way we jump to the urgent window
Pull the first window with urgent flag in the current workspace if not
displayed. If displayed, just raise it. If no urgent window, push back
the previous urgent window to its original tag.
2012-07-16 22:37:45 +02:00
Vincent Bernat
3b55053257 bindings: add a binding to make a window sticky 2012-07-16 21:40:13 +02:00
Vincent Bernat
f7f6104f4b xresources: yet another color scheme for rxvt, with more contrast 2012-07-16 19:46:24 +02:00
Vincent Bernat
f5aa2a1b51 keyboard: simplify configuration
xmodmap seems to modify the layout and will be kept if we switch to
another layout. Therefore, we only need to call it on start. Just move
the keyboard configuration to `start.lua`. `keyboard.lua` is just here
to manage kbdd.
2012-07-16 17:59:23 +02:00
Vincent Bernat
e66a4e79da start: call xrdb -merge on start 2012-07-16 17:39:12 +02:00
Vincent Bernat
f2996e1b03 keyboard: call xmodmap on start, don't wait for a layout change 2012-07-16 17:30:16 +02:00