Commit graph

679 commits

Author SHA1 Message Date
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
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
95113f1927 wallpaper: log the files used to build the wallpaper 2012-07-16 15:06:13 +02:00
Vincent Bernat
e3fd83eab4 xresources: move URxvt configuration into ~/.Xresources 2012-07-16 11:30:55 +02:00
Vincent Bernat
966d341c7c config: change default configuration of rxvt 2012-07-16 11:09:50 +02:00
Vincent Bernat
efcb1f5a50 config: better document rxvt command line 2012-07-16 08:01:29 +02:00
Vincent Bernat
dc6ade853d README: explain how to use things in lib/ 2012-07-15 22:25:48 +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
8e531b9ca1 README: update with all the latest additions 2012-07-15 17:02:57 +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
66a35b384e quake: remove common window bindings for the quake console
We don't want to maximize it or anything like this.
2012-07-15 13:13:37 +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
b031b9b62b quake: explain why we need the reattach timer 2012-07-15 12:55:30 +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