Commit Graph

27 Commits

Author SHA1 Message Date
QC 838c838d31 Try to fix #234 2015-09-27 12:57:54 +02:00
QC 6061e046de Get color type. 2015-09-27 11:46:19 +02:00
QC 31fe5759b8 More line fixing. 2015-09-19 21:00:06 +02:00
QC b18d68eff2 Adjust new editor width 2015-09-19 12:57:48 +02:00
QC 442e235c24 Some cleanups, tweak uncrustify. 2015-09-19 12:21:30 +02:00
QC 558bb38630 Fix normal mode keyboard grab. 2015-09-16 21:01:40 +02:00
Dave Davenport d9a9d2489a Add separator color and style option. 2015-08-26 18:11:53 +02:00
Thorsten Wißmann cf731b1504 Monitor -2 stands for the focused window
When setting rofi's monitor to -2, rofi is placed over the focused
window.
2015-08-17 18:32:17 +02:00
QC 77e5541ba5 Bug #200 implement `-m` mode 2015-08-02 15:45:52 +02:00
Dave Davenport dffc27e5aa Try to make things more robust, e.g. try to recover before giving up. 2015-07-31 12:23:41 +02:00
Dave Davenport c68ab67dd8 Add some comments and cleanups, allow reeloading of keybindings at run-time 2015-07-29 09:37:40 +02:00
QC 1de8d448f7 Make color parsing more robust, report failing of parsing color.
Involves: #181
2015-07-07 21:51:15 +02:00
QC 652a6ed7d2 Fix clang-tidy warnings. 2015-05-14 19:39:30 +02:00
QC 8d4e1ee8fa Rasi patch, allowing special keys, modifying return value.
In dmenu pressing alt-[1-9 will return the selected entry and set the return value to the
        pressed number.
2015-05-03 13:04:03 +02:00
QC a974db887a Fix issue #153. 2015-05-02 12:42:36 +02:00
Dave Davenport a70404f128 First part of infrastructure for Issue: #131 customizable keybindings. 2015-04-30 21:52:30 +02:00
QC a38ddb3b06 Fix space. 2015-04-14 22:12:21 +02:00
QC c1a8735e24 Re-enable background/foreground. Make theming method an option. 2015-04-11 12:04:14 +02:00
QC 2590ecf7e5 ADd new coloring scheme. 2015-04-06 17:13:26 +02:00
Georgios Bitzes 07df49a5af Fix bugs relating to hotkeys with modifiers
This commit makes the following changes:
1) Fix a bad check introduced in dee0bfb, which checks the modstate of the
event with the keysym of the switcher, not its modmask:

        modstate & ( switchers[i].keysym )

I think it was broken before as well, a binary AND between the two masks
will not tell much about whether they are equal. Instead, the masks are
now checked for equality after removing LockMask and NumlockMask.

2) Stop binding to AnyModifier when none is used. This conflicts with the case
in which we want to bind different modes to the same key, but different
modifiers.

for example, rofi -key-run F2 -key-ssh alt+F2 -key-window shift+F2

Binding F2 with AnyModifier would prevent alt+F2 and shift+F2 from being used.

3) Remove UngrabKey from x11_grab_key to make the above example possible.
4) Refactor search for any of the global keybindings into function locate_switcher.
2015-02-16 03:20:28 +02:00
QC dee0bfb821 Fix #128: Better handling of keybindings and remove deprecated launching.
See manpage.
2015-02-15 21:15:16 +01:00
QC b6652a0221 Small move 2015-02-14 19:42:04 +01:00
QC 877c8051c6 Update copyright license. 2015-02-12 22:34:06 +01:00
Dave Davenport 605fe4911c Refactor code, split out window switcher code. 2015-02-12 22:16:32 +01:00
Dave Davenport c5f95d4e25 Small comment updates. 2015-02-10 08:12:03 +01:00
QC 67cbd48c8b Add some comments, rename. 2015-02-09 20:05:30 +01:00
Dave Davenport 682907d340 Splitting over more files. 2015-02-09 19:35:51 +01:00