Commit graph

117 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Vincent Bernat
94d64ff4fb xrandr: really execute xrandr command on timeout
Also, fixes the use of "--off" switch.
2012-07-16 17:03:19 +02:00
Vincent Bernat
49f302ca34 bindings: change Mod4 + t to raise 2012-07-16 15:10:44 +02:00
Vincent Bernat
335b80262d icons: move icon lookup in a seperate module 2012-07-15 22:24:10 +02:00
Vincent Bernat
52090d90ea rules: start a list of windows that should be floating
Start with ImageMagick.
2012-07-15 21:26:47 +02:00
Vincent Bernat
edfc26accf debug: let dbg() be the universal thing to debug.
Therefore, we can use it directly on client objects. In this case, we
get full details.
2012-07-15 17:10:40 +02:00
Vincent Bernat
aa851d1f11 xrandr: use naughty instead of menus 2012-07-15 16:51:30 +02:00
Vincent Bernat
06150559db xrandr: add a xrandr menu bound to XF86Display 2012-07-15 16:14:39 +02:00
Vincent Bernat
f2883707a1 quake: add an exception of the setslave rule
Otherwise, we get focus problems...
2012-07-15 13:03:02 +02:00
Vincent Bernat
8e2afdd778 quake: if quake console is closed, mark it as not visible 2012-07-15 12:54:34 +02:00
Vincent Bernat
3b3dd0863d quake: new Quake module that handles awesome restart gracefully
The previous RC file is moved as a module. We don't rely on the fact
that the next window to be managed after spawning a new terminal will
be this terminal. Instead, we rely on terminal name to know if we need
to manage them. For each console, we have a manage hook that tries to
identify if the window to manage is the console. In this case, it is
transformed and fitted as a Quake console.

Moreover, we clean things that look like QuakeConsole but that are not
because we already have one. For example, when switching from a
two-screen setup to a single-screen setup.
2012-07-15 12:44:46 +02:00
Vincent Bernat
94960c5c2b keydoc: collapse items of the same group together 2012-07-15 01:02:30 +02:00
Vincent Bernat
381812d843 bindings: add the ability to do a screenshot 2012-07-15 00:21:32 +02:00
Vincent Bernat
4baa928dbc binding: update client information
Some properties were missing and some other did not exist.
2012-07-14 23:38:15 +02:00
Vincent Bernat
ca4b595e49 tags: add back modkey + esc keybinding 2012-07-14 23:21:34 +02:00
Vincent Bernat
4dbb842e7c theme: naughty notification should use a darker background
We use the same background as for a widget.
2012-07-14 21:48:23 +02:00
Vincent Bernat
eb52dfe29e rules: rule for application that shouldn't be master 2012-07-14 21:30:57 +02:00