Daniel Micay
88f7d39b5e
silence -Wconversion warnings
2012-06-26 21:30:34 -04:00
Daniel Micay
34c041b6f3
consistent brace style
2012-06-25 16:08:53 -04:00
Daniel Micay
f89df13e5a
allow configuration of the whole palette
2012-06-25 16:05:23 -04:00
Daniel Micay
cdc4ad4433
expose both the bold and dim foreground colors
2012-06-25 15:37:06 -04:00
Daniel Micay
169d970ad1
use const for filename
2012-06-25 03:13:09 -04:00
Daniel Micay
b71dd341b1
make colors array const
2012-06-25 03:04:31 -04:00
Daniel Micay
eb5bf78048
make url_regex const
2012-06-25 03:00:18 -04:00
Daniel Micay
e39418eaca
set_colors before foreground/background/dim
2012-06-25 02:18:12 -04:00
Daniel Micay
d92778fd62
use termite as TERM again to allow for some fixes
2012-06-25 00:43:48 -04:00
Daniel Micay
d14a6b3346
add support for dim colors
2012-06-25 00:00:59 -04:00
Daniel Micay
a5fa9c0a05
put the palette size in a constant
2012-06-24 23:15:50 -04:00
Daniel Micay
9bd628d66d
avoid casting the type of panel
2012-06-20 11:25:04 -04:00
Daniel Micay
d3518ff7e2
bubble up the child's exit status
2012-06-19 19:20:59 -04:00
Daniel Micay
61f93b8176
rename tmp -> tag
2012-06-19 19:13:55 -04:00
Daniel Micay
aa1a43378a
rm extra space
2012-06-19 19:01:27 -04:00
Simon Gomizelj
86ecb024a4
Forgot to initialize variable
2012-06-19 18:55:56 -04:00
Simon Gomizelj
422dae672c
Add --version/-v flag
2012-06-19 18:55:02 -04:00
Daniel Micay
94f52426d4
move some common color code to a function
2012-06-19 18:56:00 -04:00
Daniel Micay
5f9a4026e5
error reporting for the rest of the color parsing
2012-06-19 17:37:52 -04:00
Daniel Micay
46f1aa9ea9
rm unnecessary VTE_TERMINAL casts
2012-06-19 16:11:48 -04:00
Daniel Micay
86baaf5508
add error reporting for color parsing
2012-06-19 15:59:36 -04:00
Simon Gomizelj
adf0df826b
Unify the duplicated focus_{in,_out}_cb functions
2012-06-16 03:41:43 -04:00
Simon Gomizelj
85e69bf58c
Merge pull request #27 from dubhater/master
...
Fix for issue #23
2012-06-16 00:40:30 -07:00
Daniel Micay
54172d53bf
rm useless glib typedef usage
2012-06-16 01:02:29 -04:00
Daniel Micay
f075a89078
cleanup
2012-06-16 00:33:19 -04:00
Daniel Micay
b938d4fbce
add an -e switch
2012-06-16 00:31:50 -04:00
cantabile
5f2d073b68
Unset the urgency hint when losing focus
2012-06-15 23:45:39 +03:00
Daniel Micay
dc9abb2244
add geometry switch (size in pixels)
2012-06-11 23:50:45 -04:00
Daniel Micay
eb12f23cc9
allow dynamic setting of transparency
2012-06-11 16:38:01 -04:00
Daniel Micay
ea056cb31b
replace first_run param with check for NULL term
2012-06-11 14:48:51 -04:00
Daniel Micay
546a4d72f9
add keybinding to reload configuration file
2012-06-11 14:45:38 -04:00
Daniel Micay
90d1685188
free old browser_cmd[0]
2012-06-11 14:33:49 -04:00
Daniel Micay
9b6c44f487
use consistent style
2012-06-11 14:26:51 -04:00
Daniel Micay
9a15fb7dcd
free the role string
2012-06-11 00:03:19 -04:00
Daniel Micay
5b27bab6cf
minor cleanup
2012-06-10 14:16:51 -04:00
Daniel Micay
2df06c31a0
get rid of config.h
2012-06-08 16:16:41 -04:00
Simon Gomizelj
34930c19e0
Lots of cleanup work.
2012-06-08 16:08:26 -04:00
Daniel Micay
ca96b678f3
fix write-strings warning
2012-06-08 16:01:36 -04:00
Daniel Micay
dd83a2e6a2
fix getenv usage (string needs to be copied)
2012-06-08 15:48:30 -04:00
Simon Gomizelj
e799a075ff
Make cursor_* case insensitive
2012-06-08 14:52:17 -04:00
Daniel Micay
596672e5ee
document term setting
2012-06-08 14:42:09 -04:00
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
Daniel Micay
2fb67a3f5a
add \t as a separator for completion tokens
2012-06-05 15:24:05 -04:00
Daniel Micay
0e9b3a86ce
insert the current completion on return
2012-06-05 12:51:23 -04:00
Daniel Micay
1e04f80965
add a setting for the cursor color
2012-06-04 14:57:27 -04:00
Daniel Micay
2f75ce63f5
Merge branch 'master' into scrollback-completion
2012-06-04 11:20:41 -04:00
Daniel Micay
2cc781c241
use g_signal_connect_swapped to clean up a bit
2012-06-04 11:19:59 -04:00
Simon Gomizelj
586dff08ec
Clear the entry and use vte_terminal_feed_child.
...
vte_terminal_feed write to the underling vte while
vte_terminal_feed_child properly simulates keyboard input. The later
is needed, otherwise input can't be erased.
2012-06-04 04:46:50 -04:00
Simon Gomizelj
cc8bb5224d
Small formatting changes.
2012-06-04 01:50:59 -04:00
Simon Gomizelj
90bb50597a
You prefer this inlined.
2012-06-04 01:50:58 -04:00
Simon Gomizelj
63293797f3
Add overlay_show to reduce repetition.
2012-06-04 01:50:58 -04:00