Commit graph

2599 commits

Author SHA1 Message Date
Dave Davenport
6a01c9c9f8 Set WM_CLASS. Fixes #549 2017-01-29 21:29:26 +01:00
Moritz Maxeiner
6b9dc1d081 Combi mode: Bang mode prefixes with len>1 (#542)
* Combi mode: Bang mode prefixes with len>1

This is required to match on modes that share a prefix.
Let 'power' and 'pass' be such modes for the following explanation:
Previously, only the first character of after the bang was compared,
so '!p' would always be matched to the 'pass' mode and there was no
way to limit selection in combi mode to the 'power' mode.
Now we can use prefixes of arbitrary length following the bang
such as '!po' (matches 'power' mode), or '!pa' (matches 'pass' mode).
Prefixes of length 1 are unchanged compared to the previous
behaviour, i.e. '!p' will still match 'pass'.

* Combi-mode prefixes should be utf-8 aware
2017-01-26 19:46:46 +01:00
Dave Davenport
9941efa5f4 Fix textbox test 2017-01-26 17:40:46 +01:00
Dave Davenport
b63e417e38 Add configurable fonts for testing. #544 2017-01-24 08:40:37 +01:00
Dave Davenport
2060ba8fd8 Fix theme selector removing of prev entry. Small improvement DarkBlue. 2017-01-23 08:35:03 +01:00
Dave Davenport
46db427735 Update DPI detection method. 2017-01-22 14:58:59 +01:00
Dave Davenport
2306e58a25 Output detected DPI to debug system. 2017-01-21 13:05:57 +01:00
Dave Davenport
0ebd6a260b Add auto-detect option to DPI setting. 2017-01-21 12:58:52 +01:00
Dave Davenport
b0870e02f7 Center the arthur theme 2017-01-21 12:13:01 +01:00
Dave Davenport
4686d0ef96 Update spec. with screenshots 2017-01-20 09:40:40 +01:00
Dave Davenport
be9ae4490c Don't release keyboard on FOCUS-out event.. for some reason we do not always get focus-in event 2017-01-19 19:12:28 +01:00
Dave Davenport
0825479710 Add sidebar and paper-float theme 2017-01-19 18:58:07 +01:00
Dave Davenport
13a83e3495 Give a visible (popup) error message when failed to open theme 2017-01-19 18:49:55 +01:00
Dave Davenport
46f1e6f107 Add arthur as theme 2017-01-19 09:26:16 +01:00
Dave Davenport
823d1b4651 Convert built-in themes to new format. 2017-01-19 09:19:14 +01:00
Dave Davenport
3a7fde924a Add -theme and -theme-str to manpage. 2017-01-18 18:12:54 +01:00
Dave Davenport
22c0892534 Add screenshotting script for new theme format. 2017-01-18 17:57:37 +01:00
Dave Davenport
b5d094fa35 Update theme specifcation documentation. 2017-01-18 09:43:58 +01:00
Dave Davenport
253724c85c Ignore empty path.
Not in spec. but lets ignore it.

Fix: #539
2017-01-17 20:00:00 +01:00
Dave Davenport
37c20740e4 Structure picture of widgets. 2017-01-17 08:42:48 +01:00
Dave Davenport
c23562e98c Add first draft of structure svg to theme doc. 2017-01-16 18:53:42 +01:00
Dave Davenport
cc7a27fbea Move some files, add small theme convert document. 2017-01-16 08:51:56 +01:00
Dave Davenport
8f1b8b18d8 Add some examples to the themer.md. 2017-01-16 08:41:17 +01:00
Dave Davenport
30f7846e4c Give error when multiple (non-modifier) keys are hit. 2017-01-15 21:14:43 +01:00
Dave Davenport
0e1b02d2f4 Add transparency section to tutorial 2017-01-12 18:17:32 +01:00
Dave Davenport
7749353c5b Update doc about x/y-offset. 2017-01-12 00:31:42 +01:00
Dave Davenport
63d8bfb071 Updates 2017-01-11 23:19:29 +01:00
Dave Davenport
d8ca3e01de fzf matching remove debug 2017-01-11 09:43:24 +01:00
Dave Davenport
19b023b221 Split sorting option. one for sorting. One to force levenshtein. 2017-01-11 09:42:37 +01:00
Dave Davenport
4452b08288 Move fzf matcher into helper 2017-01-11 09:20:19 +01:00
Dave Davenport
56c787690f Move full algorithm in function. 2017-01-11 09:14:01 +01:00
Dave Davenport
bfae111579 Fix indenting and header commenting. 2017-01-11 09:11:19 +01:00
Fangrui Song
d1edf0dc08 Revise fuzzy finding algorithm for -matching fuzzy 2017-01-11 08:59:34 +01:00
Dave Davenport
547bac0dc8 Update themer documentation. 2017-01-10 19:05:24 +01:00
Dave Davenport
b3a52d4703 Update themer.md
Update formatting.
2017-01-10 18:32:59 +01:00
Dave Davenport
3c7c1b3b40 Update themer.md with specs (unfinished). 2017-01-10 17:35:28 +01:00
Dave Davenport
15cc7c5fb4 Update theme3-tutorial.md
Fix images.
2017-01-10 11:23:50 +01:00
Dave Davenport
17155867a1 Add a quick theme tutorial. 2017-01-10 11:20:38 +01:00
Dave Davenport
268b0fa3b0 Super-1..10 keybinding activates row 1..10.
Allowing fore quick switching to entry.
https://forum.qtools.org/t/select-entry-by-offset/84/5
2017-01-10 07:41:37 +01:00
Dave Davenport
d88a5197b5 Fix tests. 2017-01-09 23:15:45 +01:00
Dave Davenport
a5d2db256e Clear theme memory on close, free temporary widget 2017-01-09 23:08:11 +01:00
Dave Davenport
cf1940f8cb Reset theme if parsing fails, so we don't display using 1/2 parsed theme 2017-01-09 23:01:09 +01:00
Dave Davenport
25dff63006 Improve error handling string. 2017-01-09 22:40:11 +01:00
Dave Davenport
ca01af6338 Try to improve error handling and messages 2017-01-09 22:29:31 +01:00
lbonn
b010da57d7 Misc man page changes (#535)
* Manpage: review the window section

* rename "Window Mode" to "Window switcher settings" for more
  consistency
* put `-window-command` in the correct section
* move the window switcher settings section up

* Manpage: minor markup/syntax fix

* Manpage: mention `-show keys` in `-show` section

* Manpage: fix some markup problems

Some parts were over-indented and interpreted as verbatim blocks

* Manpage: note about dmenu async mode disabling

Stay voluntarily vague about the exact list of confliction options to
avoid keeping it in sync with the code
2017-01-09 20:32:31 +01:00
Dave Davenport
854aa55453 Better error reporting (1) 2017-01-09 18:32:26 +01:00
Dave Davenport
a199fa3275 Improve error message theme a little bit 2017-01-09 08:55:51 +01:00
Dave Davenport
5188e36147 Remove unused functions and other small fixes 2017-01-09 08:39:02 +01:00
Dave Davenport
f42e4ffbd7 Remove old cairo color set functions 2017-01-09 08:32:16 +01:00
Dave Davenport
78916c6a94 Give up and quit rofi after failed to grab keyboard in <5 sec. 2017-01-09 08:17:16 +01:00