Commit Graph

149 Commits

Author SHA1 Message Date
Daniel Micay 6797050b75 missing const for string constant 2012-06-08 14:33:22 -04:00
Daniel Micay 3efc9e2c2f Merge branch 'term' of https://github.com/vodik/termite 2012-06-08 14:31:00 -04:00
Simon Gomizelj 2b0cfd4b59 Add a termite.cfg option for setting term.
Quick fix to add a configuration option to override the terminal. Add
something like this to termite.cfg to use:

[terminal]
term = screen-256color

This distinction is to indicate this option won't be reloadable at
runtime. Code needs to be cleaned up.
2012-06-08 14:09:11 -04:00
Daniel Micay fb6193d028 wrap really long line 2012-06-08 13:26:36 -04:00
Daniel Micay 4bde4a1b37 vim modeline 2012-06-08 12:56:46 -04:00
Daniel Micay cfa9ef8f11 make load_config a bit more readable 2012-06-08 12:44:08 -04:00
Daniel Micay f0f135c77d GError var is now only used by the color parsing 2012-06-08 12:39:25 -04:00
Daniel Micay 5f42dec963 fix allow_bold setting 2012-06-08 12:27:16 -04:00
LemonBoy a2e4bda8fc Config option to enable/disable bold font 2012-06-08 12:13:31 -04:00
Daniel Micay 1294bd21ed move transparency setting to config file 2012-06-07 21:05:31 -04:00
Daniel Micay 671b3d7a0e Merge pull request #17 from vodik/config-file
Add browser settings.
2012-06-07 17:19:58 -07:00
Daniel Micay 82bcca3b86 fallback to system config files 2012-06-07 20:09:52 -04:00
Simon Gomizelj 6b122293aa Cleanup 2012-06-07 19:36:59 -04:00
Simon Gomizelj e365aa19db Add a browser configuration setting.
Add "browser" to termite.cfg to hardcode the URL to launch links with.
If its not set, query BROWSER environmental variable.
2012-06-07 19:36:36 -04:00
Simon Gomizelj 8d71f04b58 Call g_getenv only one at startup. 2012-06-07 19:36:35 -04:00
Daniel Micay 94f6ed428f use g_get_user_config_dir to to find the config 2012-06-07 19:25:04 -04:00
Daniel Micay 9b20918e69 cleanup 2012-06-07 17:56:17 -04:00
Daniel Micay f2ffa77845 color parsing fixes 2012-06-07 16:50:52 -04:00
Daniel Micay 00b1b26b59 rm unused macro (CONCAT2) 2012-06-07 16:43:35 -04:00
Daniel Micay ca2f60b977 Merge branch 'master' into config-file
Conflicts:
	config.h
2012-06-07 16:40:18 -04:00
Daniel Micay 83e8399111 make color parsing more robust 2012-06-07 15:26:37 -04:00
Daniel Micay c1ca040f4f simplify color config 2012-06-07 15:23:58 -04:00
Daniel Micay db512e6515 rm colors struct 2012-06-07 15:07:42 -04:00
Daniel Micay f96ea8689d use config file to set colors 2012-06-07 15:01:40 -04:00
Daniel Micay c2d12b7503 move foreground/background color to config file 2012-06-07 14:43:41 -04:00
Daniel Micay a20849d453 set cursor color from config 2012-06-07 14:39:02 -04:00
Daniel Micay c3c5bf131e move setting colors to load_config 2012-06-07 14:36:50 -04:00
Daniel Micay dba6bc7357 move CLICKABLE_URL setting to config 2012-06-07 14:15:31 -04:00
Daniel Micay 859a0b2022 minor cleanup 2012-06-07 14:10:57 -04:00
Daniel Micay 5a0b025f52 move ICON_NAME to config file 2012-06-07 14:10:38 -04:00
Daniel Micay a502d52045 use g_clear_error 2012-06-07 13:59:28 -04:00
Daniel Micay 17275bd887 move URGENT_ON_BEEP and DYNAMIC_TITLE to config 2012-06-07 13:54:15 -04:00
Daniel Micay d1f54e57fc move cursor_blink and cursor_shape to the config 2012-06-07 13:36:03 -04:00
Daniel Micay 727e2e34a5 rm redundant cast 2012-06-07 13:24:05 -04:00
Daniel Micay 4de7c2d2f5 free the font string 2012-06-07 13:23:06 -04:00
Daniel Micay a5cfc12864 set scrollback_lines via config 2012-06-07 12:58:07 -04:00
Daniel Micay abf580c186 set font via termite.cfg 2012-06-07 12:55:08 -04:00
Daniel Micay 9748445778 get rid of code duplication with a macro 2012-06-07 12:43:09 -04:00
Daniel Micay 3a799f80d9 move the rest of the boolean settings to key file 2012-06-07 12:35:01 -04:00
Daniel Micay 226f39f08a start on config file implementation 2012-06-07 12:22:24 -04:00
Daniel Micay ab76e301ed add missing newline to error message 2012-06-07 11:42:17 -04:00
Daniel Micay f3702b392b remove unused for loop variable 2012-06-06 22:06:46 -04:00
Daniel Micay 137e8794bb clean up 2012-06-06 21:26:22 -04:00
Daniel Micay 89a3ddd864 fetch the whole buffer for completion 2012-06-06 21:22:26 -04:00
Daniel Micay 8a4e9f7762 is_selected argument to get_text can just be NULL 2012-06-06 21:06:24 -04:00
Daniel Micay 564b21c2dc free the tree too 2012-06-06 20:54:33 -04:00
Daniel Micay 7b36f70f6f free string used for completion 2012-06-06 19:17:39 -04:00
Daniel Micay a678d559ec Merge branch 'master' into scrollback-completion
Conflicts:
	README.rst
2012-06-06 11:42:51 -04:00
Daniel Micay 8ba2f5361a minor cleanup 2012-06-05 19:39:44 -04:00
Daniel Micay 44d883e04d really fix completion this time 2012-06-05 19:28:55 -04:00