about summary refs log tree commit diff stats
path: root/src/config/theme.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve color blindness handlingMichael Vetter2019-12-121-2/+2
| | | | Rename some things and use a swtich instead of if.
* Implement Color Vision Deficiencies settingMichael Vetter2019-12-121-1/+11
| | | | | | Implement settings for redgreen and blue blindness. Regards https://github.com/profanity-im/profanity/issues/1191
* XEP-0392: theme, ui: conditionally colorize user nicksAurelien Aptel2019-12-031-0/+6
| | | | | | | | | * add theme_hash_attrs() * when printing a user message check PREF_COLOR_NICK to decide whether to colorize it or not ideally we should hash the jid instead of the nick but this is already a first step.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Change default text colors to default (#1213)Martin2019-10-221-8/+8
| | | | | | | | Change default themes text color Using "default" instead of white makes the default better readable when using a black/dark font on white/light background. May fix #535
* Add option to hilight unread rooms in /wins commandMichael Vetter2019-10-121-0/+2
| | | | | | | In the theme we can now set `cmd.wins.unread` to hvae a special color for the lines of the `/wins` output that have unread messages. Fix https://github.com/profanity-im/profanity/issues/895
* Add coloring of statusbar.current tab in viewDaniel Lublin2019-09-241-0/+3
| | | | | | | | | | | | | | This theme color applies to the tab title text of the statusbar tab that is currently shown. The (somewhat confusingly named) `statusbar.active` theme color now applies to all other tabs (before, it applied to all tabs). Coloring of a tab that is highlighted/has new messages is done as before using the `statusbar.new` theme color. The default color is set to `cyan`, and thus causes no visible change for users -- until modified.
* Set default color for main.text.historyMichael Vetter2019-09-111-0/+1
| | | | Might be related to https://github.com/profanity-im/profanity/issues/1186
* Allow colorization of history messagesMichael Vetter2019-09-101-0/+1
| | | | | | | | History was always printed with `THEME_DEFAULT` we now use `THEME_TEXT_HISTORY` which is accesible in theme files via `main.text.history`. Fix https://github.com/profanity-im/profanity/issues/1170
* Remove unused colour_string_t structMichael Vetter2019-08-231-5/+0
|
* theme: print to log not to consoleMichael Vetter2019-08-231-2/+1
| | | | Seems this can cause trouble in case we cant use the theme properly.
* Notify trying to load 256 colour theme in incapable terminalMichael Vetter2019-08-231-1/+2
|
* Reset color pairs when new theme is loadedMichael Vetter2019-08-231-0/+2
| | | | | | We only need the colour pairs initialized that the theme actually uses. It's otherwise possible that we run over the max value of initialzed pairs.
* Use log_error() instead of g_warning()Michael Vetter2019-08-231-2/+2
|
* Add 256 colors supportAurelien Aptel2019-08-231-104/+7
| | | | | | Themes can now use color names from the xterm color name list [1]. 1: https://jonasjacek.github.io/colors/
* Set foreground color for untrusted messagesPaul Fariello2019-06-201-0/+2
|
* Add myself to copyrightMichael Vetter2019-06-171-0/+1
| | | | Like discussed with James.
* Add omemo.char theme optionMichael Vetter2019-06-051-0/+8
| | | | Thanks to @kaffekanne for noticing this!
* Add occupants charMichael Vetter2019-05-021-0/+10
| | | | | | | `/occupants char` now sets a character that is displayed before the nick in MUCs. Similar like `/roster char` is displaying a char for the roster. Regards #690
* Fix statusbar number in themeMichael Vetter2019-04-241-1/+1
| | | | There is a typo here. So this actually never worked ;-)
* Add occupants wrap optionMichael Vetter2019-04-241-0/+1
| | | | | | | Wrapping for the occupants panel like already exists for the roster panel. See `/occupants wrap on`. Regards https://github.com/boothj5/profanity/issues/690
* Add occupants header charMichael Vetter2019-04-231-0/+10
| | | | | | | | `/occupants header char` now sets a character that is displayed before the role (moderator, visitor..) in a room. Similar to `/roster header char` is displaying a char for the roster. Regards https://github.com/boothj5/profanity/issues/690
* Add /occupants indent commandMichael Vetter2019-04-181-0/+5
| | | | | | | | Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-1/+1
| | | | Configuration windows are now being used by both muc and cmd.
* Fix theme load max tab lengthJames Booth2018-03-111-1/+1
|
* Add max tab length to statusbarJames Booth2018-03-111-0/+5
|
* Add statusbar pref to themesJames Booth2018-03-101-0/+10
|
* Remove empty tabsJames Booth2018-03-091-1/+0
|
* Update themesJames Booth2018-02-101-1/+1
|
* Allow hiding room server in rosterJames Booth2018-01-211-0/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Add theme option for time in a status barLukasz Marcinowski2017-03-221-0/+3
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Added main.help.header theme optionFrank Zschockelt2016-10-291-0/+2
|
* Remove verbose output on window moveJames Booth2016-09-251-7/+12
|
* Allow vertical positioning of all windowsJames Booth2016-09-231-1/+8
|
* Add /inputwin top|bottom commandJames Booth2016-09-191-1/+3
| | | | closes #853
* Move all filepath handling to files.cJames Booth2016-07-241-14/+3
|
* Move xgd functionsJames Booth2016-07-241-1/+1
|
* Add config/files.cJames Booth2016-07-241-2/+3
|
* Tidy headersJames Booth2016-07-241-0/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|/
* Fixed theme defaults memory releaseJames Booth2016-02-141-1/+1
|
* Highlight room trigger termsJames Booth2016-02-131-0/+2
|
* Added roommention.term theme optionJames Booth2016-02-101-0/+2
|