Commit graph

679 commits

Author SHA1 Message Date
Vincent Bernat
432acddc23 shifty: when a tag is has the same name than its position, don't duplicate 2012-09-11 02:23:12 +02:00
Vincent Bernat
3380eded5a shifty: don't ask name for a new tag if we have the position
Just use the position.
2012-09-11 02:22:18 +02:00
Vincent Bernat
c897b8c837 tags: ensure we can send a client to a new tag
When creating a tag, the current client may lose focus. We put it in a
variable to be able to move it when the tag is created.
2012-09-11 02:21:29 +02:00
Vincent Bernat
f84187228d shifty: automatically add a position if there is a free one 2012-09-10 22:45:46 +02:00
Vincent Bernat
62db148161 shifty: auto prefix position to tag name 2012-09-10 22:26:15 +02:00
Vincent Bernat
f6db47d7e1 shifty: add a small TODO list 2012-09-10 21:47:59 +02:00
Vincent Bernat
91b1e6ee10 shifty: remove unwanted features
This is easier to make modifications if I don't have to ensure that
all features still work. The idea is that I will keep using
`awful.rules.rules` for most tasks except tag related tasks.

Also, fix the "startup" stuff to allow to specify a tag which will be
only used on startup.
2012-09-10 21:45:55 +02:00
Vincent Bernat
6328444f01 tags: copy shifty 2012-09-10 19:52:55 +02:00
Vincent Bernat
c31b1b848a start: associate default browser to text/html too 2012-09-09 13:31:39 +02:00
Vincent Bernat
8ef6690f60 bindings: remove some binding descriptions to save space 2012-09-09 13:15:03 +02:00
Vincent Bernat
67fec3c149 tags: keepassx can appear on exclusive tags 2012-09-09 13:07:59 +02:00
Vincent Bernat
7b8cd43daf tags: add back specific position
It seems that position guessing only works for initialized tags.
2012-09-09 01:14:32 +02:00
Vincent Bernat
45951e9dc1 tags: only browser window have to go in "www" tag. Ditto for "im".
Other kind of windows may go wherever they want.
2012-09-08 23:27:27 +02:00
Vincent Bernat
961719eadd tags: use icons only with multiple screens 2012-09-08 23:08:10 +02:00
Vincent Bernat
f07f7c9fc6 tags: with guess_position, we don't need to move to specify position 2012-09-08 23:06:04 +02:00
Vincent Bernat
a89fb71d6e tags: allow to create/delete tags 2012-09-08 22:59:25 +02:00
Vincent Bernat
48d9839de4 tags: start browser on second screen 2012-09-08 22:56:34 +02:00
Vincent Bernat
7bc4e62635 bindings: do not send a window to a screen without no tag 2012-09-08 22:47:57 +02:00
Vincent Bernat
ea09188897 tags: switch to shifty 2012-09-08 22:47:35 +02:00
Vincent Bernat
a780d481c2 xresources: switch to DejaVu Sans Mono to get bold.
Not having bold is troublesome.
2012-09-04 19:37:29 +02:00
Vincent Bernat
dbecbb1890 xresources: try to show bold in a different color 2012-09-04 19:33:42 +02:00
Vincent Bernat
4ce181df0a start: start and define the "default" browser
To setup the default browser, the appropriate commands are:
 xdg-mime default conkeror.desktop x-scheme-handler/http
 xdg-mime default conkeror.desktop x-scheme-handler/https

See:
 http://blog.radevic.com/2012/02/how-to-set-default-apps-aka-how-to-use.html
2012-08-16 21:06:08 +02:00
Vincent Bernat
05b845ff66 widget: with one screen, better keep battery icon than volume icon 2012-08-15 13:46:40 +02:00
Vincent Bernat
7e32c7456c rules: handle browser a bit differently
Only "browser" windows should go to tags.www. Other window can go
anywhere. Moreover, recent version of xulrunner do not set correctly
the class. We use "Xulrunner-15.0" as an alternative for "Conkeror"
and hope this will be fixed soon.
2012-08-08 22:46:05 +02:00
Vincent Bernat
1662b2e280 rules: add an icon for Conkeror 2012-08-08 00:16:31 +02:00
Vincent Bernat
70d549f7ae start: switch to Conkeror 2012-08-07 22:54:19 +02:00
Vincent Bernat
3fa7bfd185 rules: add Conkeror to the list of browsers 2012-08-06 22:54:27 +02:00
Vincent Bernat
0c8314990d xresources: don't use XFT for Terminus
We could also set the bold font but this is useless since the bold
font is the same as the regular font for 12px size.
2012-08-03 10:12:33 +02:00
Vincent Bernat
112e1cf091 signals: don't follow focus if a mouse button is pressed 2012-08-02 15:46:43 +02:00
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