Commit graph

3145 commits

Author SHA1 Message Date
Dave Davenport
1a77cae593 When mode not found, show gui, not only on commandline. 2019-03-24 02:39:57 +01:00
Dave Davenport
e17d63f5ae [Lexer] Fix nested () in variable default field.
- var ( a, rgba(0,0,0,0)) was broke

Fixes: #936
2019-03-21 10:33:50 +01:00
Dave Davenport
6fffe427c4 Change sidebar in theme to mode-switcher.
Fixes: #930
2019-03-19 22:45:10 +01:00
Dave Davenport
beeb9c8b27 [SSH] Use \x1F as separator between host/command and port.
Fixes: #932
2019-03-08 13:46:10 +01:00
Dave Davenport
2728e4ad23 [Theme] Make 'sidebar' settable by theme.
Now it needs a configuration option to enable, this should be just part
of the theme now.

Sidebar is the "sidebar" widget.

If not set by theme, old behaviour is still followed.
2019-03-05 10:11:34 +01:00
Dany Marcoux
ee0d3d828e Refer to sorting-method in 1.5.2 release (#929)
Instead of `sort-method`, which is wrong.
2019-03-05 00:15:41 +01:00
Dave Davenport
ec81a17c41 [SSH] Expand path and use right strcmp.
Issue: #928
2019-03-04 23:16:14 +01:00
Dave Davenport
906a48f566 [SSH] Add support for UserKnownHostsFile
Issue: #928
2019-03-04 22:05:08 +01:00
Dave Davenport
df10eb2735 Add note to manpage about new config format filename.
Fixes: #926
2019-03-04 17:13:23 +01:00
Tobia De Koninck
b1336e983e Add installation instructions for openSUSE (#924) 2019-03-01 15:49:34 +01:00
Michael Stapelberg
6bbbd08941 Fix RandR 1.5 check: use RANDR_PREF_MINOR_VERSION (#918)
XCB_RANDR_MAJOR_VERSION/XCB_RANDR_MINOR_VERSION are the maximum supported (in code) version.

Before this commit, the check verified that your libxcb did not support a newer RandR version than your running server.
After this commit, the check verifies the server’s RandR version is at least 1.5.
2019-02-21 16:03:34 +01:00
Dave Davenport
335adc30b3 [DRun] Fix sorting of drun.
Thanks to ChrisJAllan
2019-02-17 20:42:14 +01:00
Dave Davenport
3c56761a76 [Helper] Add more error checking/reporting. 2019-02-10 14:32:21 +01:00
Dave Davenport
f49866bd8b [Doc] Update documentation to match changed functions. 2019-02-10 14:26:06 +01:00
Dave Davenport
fbd34c9635 [DRun] Sort the (non history) entries by name. Escape for pango. 2019-02-10 14:15:35 +01:00
Dave Davenport
f879062417 [SSH] Add support for parsing port number from known hosts file.
* Store port number in history.
* Parse the [host]:port format.
* Update default ssh command to (optionally) add -p {port}.

Fixes: #580
2019-02-10 13:56:44 +01:00
Dave Davenport
9af5cac65b Update test for added cache-dir config option. 2019-02-08 21:13:01 +01:00
Dave Davenport
52204a527c Add option to change location of cache dir.
-cache-dir

Fixes: #769
2019-02-08 20:43:53 +01:00
Dave Davenport
94ebd7e635 [Script] cleanup unnecessary $ from arithmetic variables. 2019-02-02 12:52:23 +01:00
Codacy Badger
60fb2c19c2 Add Codacy badge (#910) 2019-02-02 12:43:50 +01:00
Dave Davenport
f7daa9b1b1 [Scripts] Remove cat for pipe. 2019-02-02 12:39:41 +01:00
Dave Davenport
b30b50dc5a [Scripts] Do some fixes. 2019-02-02 12:35:37 +01:00
Dave Davenport
83995a738a [Scripts] Removed unused variables 2019-02-02 12:12:35 +01:00
Dave Davenport
2f2abffb98 [CodeCY] More cleanup. 2019-02-02 12:07:36 +01:00
Dave Davenport
804f130d5b [CodeCY] Cleanup some more warnings given by CodeCY. 2019-02-02 11:53:33 +01:00
Dave Davenport
658f3993ba [TESTS] Remove (pointless) warning from helper tokenize. 2019-02-02 11:45:28 +01:00
Dave Davenport
c7243da062 [TESTS] Fix scrollbar/history-test assert argument format. 2019-02-02 11:38:33 +01:00
Dave Davenport
9f1a19b21e [TESTS] Fix helper-test assert argument format. 2019-02-02 11:34:54 +01:00
Dave Davenport
d506c09f85 [TEST] box-test fix commit polution. (oops). 2019-02-02 11:19:43 +01:00
Dave Davenport
63edf012bd [TESTS] Fix format data type in test asserts. 2019-02-02 11:17:50 +01:00
Dave Davenport
4e3a33acda [TESTS] Fix format data type in box-test asserts. 2019-02-02 11:12:01 +01:00
Dave Davenport
2053818466 [Themes] Re-fix sidebar theme to not go fullscreen. 2019-01-29 21:46:40 +01:00
Dave Davenport
40da1b25e2 [Theme3.0] Change reference to use the CSS like var() syntax.
Supports defaults var(name, default); var(name);
Where default can be another property.
(https://www.w3schools.com/css/css3_variables.asp)

This deprecates the @name syntax.

Fixes: #876
2019-01-29 17:56:45 +01:00
Dave Davenport
964af7ad35 [DRUN] Fix small memory leak loading desktop files. 2019-01-29 09:29:47 +01:00
Dave Davenport
0dfc671bcc [GrammarParser] Fix memory leak of Property after parsing config entry. 2019-01-29 07:32:07 +01:00
Dave Davenport
640cf28d65 [Script] Add updating prompt to example script. 2019-01-29 07:16:00 +01:00
Quentin Glidic
3dfbf1c631
[Theme] Fix transparency property values
An old sed change "background" to "background-color".

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-01-27 13:25:06 +01:00
Dave Davenport
274f2297aa Fix creating config file if none exists.
Fixes: #895
2019-01-22 15:53:12 +01:00
Dave Davenport
cac2eb1a7f change default alt. window command to bring to current desktop.
Xkill is duplicate of shift-del (build in close). This is more useful.
Fix test-case.

Fixes: #902
2019-01-21 18:09:34 +01:00
Dave Davenport
41e15539b4 Fix modi->mode when refering to singular 2019-01-12 23:33:46 +01:00
Dave Davenport
76273798e4 [MANPAGE] Add comment that only fields in -drun-match-fields can be used in format string.
Fixes: #892
2019-01-11 21:56:31 +01:00
Dave Davenport
1b605ec188 [MANPAGE] Mention that pango markup can be used for drun-display-format.
Fixes: #896
2019-01-11 15:03:24 +01:00
Dave Davenport
f42cffe962 Return EX_DATAERR when fails to parse theme.
This way a script can check if there was an error, otherwise you can
wind up in a loop.
2019-01-07 17:21:31 +01:00
Dave Davenport
89715ef567 Return EX_DATAERR when fails to parse theme.
This way a script can check if there was an error, otherwise you can
wind up in a loop.
2019-01-07 17:19:33 +01:00
moonrisewarrior
9465d189f7 Fix grammar, spelling, and formatting in readme (#888)
* Fix grammar and formatting mistakes in readme

* Missed a full stop
2019-01-02 10:51:59 +01:00
Yoav
238648b5b2 Add history ignore (#846) 2018-12-31 00:35:00 +01:00
Dave Davenport
aacb570850 Setup dev for next release. 2018-12-30 13:17:27 +01:00
Dave Davenport
19279f5a42 Release 1.5.2 2018-12-30 13:14:51 +01:00
Dave Davenport
7a5af2a0e6 Add release title 2018-12-30 13:06:27 +01:00
Dave Davenport
ce7ee4e692 Update release notes. 2018-12-30 12:58:59 +01:00