Commit Graph

279 Commits

Author SHA1 Message Date
Nikos Ntarmos 4db1146f6c Remember the focused window on tag changes
a. Adds a get_current_tag_number function to allow for above updates
and teaches get_current_layout(...) and arrange(...) to use it.
b. Adds an extra client_sel entry in struct Tag, updated on
focus(...), manage(...), and unmanage(...), and used in arrange(...).
2007-10-25 20:20:13 +02:00
Julien Danjou 842eed01c0 remove current_layout, insert get_current_layout() to get it dynamicly 2007-10-16 22:33:15 +02:00
Julien Danjou b1e22e1d8b cosmetic 2007-10-15 17:33:28 +02:00
Julien Danjou 14ea2dc0ae minimal tab support 2007-10-15 16:28:36 +02:00
Julien Danjou a74ca1d1de tabswidth is 4 not 6 2007-10-15 13:56:24 +02:00
Julien Danjou 4e0acfa99a add coding style stuff 2007-10-15 13:40:52 +02:00
Julien Danjou 4a7acf821e remove Regs struct, use Rules 2007-10-15 12:40:45 +02:00
Julien Danjou 77609263dc move txtlenwidth initlization in initstatusbar() 2007-10-15 12:06:43 +02:00
Julien Danjou d75a512f5d fix headers inclusion 2007-10-15 11:53:10 +02:00
Nikos Ntarmos 23bbe21428 float lowering 2007-10-12 17:15:08 +02:00
Julien Danjou a6781157b6 allow to execute uicb function via awesome control fifo 2007-10-12 17:10:36 +02:00
Julien Danjou daee37199b move #define of config file name in config.c 2007-10-12 13:09:59 +02:00
Julien Danjou 445479cf8b use Cairo for rendering square instead of Xlib 2007-10-10 19:59:14 +02:00
Julien Danjou 503e2050c5 bugfix: don't check for current_layout a this moment
fix regression introduced by myself with latest patch from daniel
2007-10-10 19:03:23 +02:00
daniel@brinkers.de 9d95d4691c tags default layout
this patch should consider the tags default layout, given in the config
file. It also set the layout to default, when awesome is restarted.
2007-10-10 18:57:26 +02:00
Julien Danjou e733af41ec remove drawcontext everywhere 2007-10-10 14:09:36 +02:00
Julien Danjou f57d275df1 move font to awesomeconf 2007-10-10 13:34:25 +02:00
Julien Danjou 1a755ff245 simplify color handling 2007-10-10 13:07:12 +02:00
Julien Danjou 08033b1643 bugfix: print layout symbol in status bar
Thanks to Daniel Brinkers
2007-10-09 17:31:44 +02:00
Julien Danjou de45017b5d switch to libconfuse instead of libconfig 2007-10-08 18:45:05 +02:00
Julien Danjou 3046af6f54 new feature: add option to center pointer on focused client 2007-10-08 14:26:43 +02:00
Julien Danjou 46cde2d95c bugfix: resize_hint is a bool, not a float 2007-10-08 10:26:47 +02:00
Julien Danjou 96e80f1e83 bugfix: die nicely if no default layout 2007-10-05 09:37:40 +02:00
Julien Danjou 97a2085705 cosmetic: remove lines with empty spaces at end 2007-10-03 17:26:14 +02:00
Julien Danjou 272f4b1c2a Xft support 2007-10-01 19:22:57 +02:00
Julien Danjou 9c747d1986 store display in awesomeconf 2007-10-01 15:31:43 +02:00
Julien Danjou 8c531e2a81 store phys_screen 2007-10-01 15:23:05 +02:00
Julien Danjou a6943aa3f3 add uicb_exec 2007-09-28 13:39:46 +02:00
Julien Danjou 6efc6de67e use get_real_screen() in initcolor() 2007-09-28 11:37:36 +02:00
Julien Danjou ca363aa248 add uicb_movetoscreen() 2007-09-27 22:29:09 +02:00
Julien Danjou ecf79693a2 use real_screen for X functions, not logical screen 2007-09-27 17:13:31 +02:00
Julien Danjou 9dad2fd85c add -c option to specify configuration file 2007-09-26 21:22:30 +02:00
Julien Danjou c81d40f15e change initcolor() proto 2007-09-26 20:21:09 +02:00
Julien Danjou 6f3e0a3a2d change initfont proto 2007-09-26 20:18:49 +02:00
Julien Danjou bf0ddca247 remove set_default_configuration() 2007-09-26 20:16:04 +02:00
Julien Danjou a22b4c1008 new feature: add swap{next,prev} for reordering visible windows 2007-09-25 12:41:36 +02:00
Julien Danjou 256717c792 add a_strncmp() to util.h and use a_str*() functions everywhere 2007-09-24 17:58:50 +02:00
Julien Danjou 595eba78d7 create a Tag struct type and use it 2007-09-24 15:37:52 +02:00
Julien Danjou 32654ce496 new feature: add focus{next,prev}screen ui_callback functions
this allows to switch focused screen in multi-head (zaphod) mode
2007-09-24 14:21:49 +02:00
Julien Danjou 40384806fd use a_strcmp() instead of strcmp() 2007-09-21 17:32:00 +02:00
Julien Danjou c80855836a new feature: add max layout 2007-09-21 00:30:32 +02:00
Julien Danjou 03ee9ce9d1 rename some tag_view UI callback functions and add uicb_tag_viewprev uicb_tag_viewnext as bindable 2007-09-20 22:24:52 +02:00
Julien Danjou 2f43209c34 fix toggle floating with Button2 in tileleft layout, and prefix layout functions with layouts_ 2007-09-20 22:07:59 +02:00
Julien Danjou 8965fd87d2 fix font loading on failure 2007-09-19 18:00:21 +02:00
Julien Danjou 9919ba2d4b add uicb_setborder to change conf borderpx while running 2007-09-18 23:36:52 +02:00
Julien Danjou 57bb886dae remove spiral from layouts 2007-09-18 22:59:16 +02:00
Julien Danjou 62a43c0f8c allow awesome to be run without configuration file 2007-09-18 22:49:46 +02:00
Julien Danjou c3bb58f47a stop making awesomelibconf global and store screen number in awesome_configs
we strdup elems and p_delete them in cleanup
2007-09-16 23:13:34 +02:00
Julien Danjou 6e7eb17404 try to load fixed font if other fails 2007-09-15 21:40:57 +02:00
Julien Danjou 3e3f213b72 move uicb_togglebar to statusbar.c 2007-09-15 15:34:28 +02:00
Julien Danjou 56a387ec5c move updatebarpos to statusbar.c 2007-09-15 15:26:51 +02:00
Julien Danjou fe89aa31b0 create statusbar.c and move things from draw.c 2007-09-15 15:16:53 +02:00
Julien Danjou c5211cc8d1 change key for statusbar position config 2007-09-15 15:00:42 +02:00
Julien Danjou bc3f70e0fa add uicb_setncols(), clean config, really use config in tile.c 2007-09-15 13:04:36 +02:00
Julien Danjou 9a1201c7a5 remove grid layout 2007-09-15 12:39:33 +02:00
Julien Danjou ceb7e60ee0 remove bstack layout 2007-09-15 12:37:34 +02:00
Julien Danjou 2535e92ff6 fix bug with parsing barpos 2007-09-13 23:17:50 +02:00
Julien Danjou 4925ff0c7a rename spawn to uicb_spawn and fix buggy proto 2007-09-12 18:19:28 +02:00
Julien Danjou 8fb0e0e73e remove uicb_reload functions, cannot work for now 2007-09-12 17:25:51 +02:00
Julien Danjou 9897e5a839 remove DC from global in draw.c 2007-09-12 16:55:47 +02:00
Julien Danjou 7659289b9e chance license to GPLv2 2007-09-12 14:29:51 +02:00
Julien Danjou 6085246aa8 change incnmaster to setnmaster 2007-09-11 15:53:03 +02:00
Julien Danjou 9f56ade4e9 use more safe functions and update #inlcude 2007-09-11 14:00:49 +02:00
Julien Danjou baa1e422fe rename last jdwm to awesome and make config a little more robust 2007-09-10 16:11:57 +02:00
Julien Danjou 6f528063be rename jdwm to awesome 2007-09-10 12:06:54 +02:00
Julien Danjou 604ab3e702 cosmetic 2007-09-10 12:02:45 +02:00
Julien Danjou e3c0478434 add resize_hints config 2007-09-10 12:01:36 +02:00
Julien Danjou 80c119a873 remove global var screen, compute it 2007-09-07 17:25:10 +02:00
Julien Danjou d61ca0da62 move bpos to Statusbar struct and change name of default_statubar_position in jdwmconf 2007-09-07 16:35:46 +02:00
Julien Danjou a6a705dd85 remove global bh/blw and add a Statusbar type 2007-09-07 16:13:59 +02:00
Julien Danjou 2eaadb39e7 remove initlayout function 2007-09-07 15:04:02 +02:00
Julien Danjou 02bd4f8974 document set_default_config 2007-09-07 14:59:20 +02:00
Julien Danjou a4449818f3 remove useless string.h inclusion 2007-09-07 11:48:30 +02:00
Julien Danjou de225777b2 cosmetic: remove useless ; 2007-09-06 23:29:50 +02:00
Julien Danjou 274f1270e6 add taglayouts in jdwmconf as tag_layouts 2007-09-06 21:53:45 +02:00
Julien Danjou 2ef846164c move prevtags in jdwmconf also 2007-09-06 19:09:09 +02:00
Julien Danjou e5f2ed3f22 remove extern seltags, put it in jdwmconf 2007-09-06 19:05:26 +02:00
Julien Danjou 24e15433b7 remove bpos from global var, added in jdwmconf 2007-09-05 20:39:11 +02:00
Julien Danjou f7173bd79d first import 2007-09-05 20:15:00 +02:00