Commit graph

67 commits

Author SHA1 Message Date
Amith Mohanan
e65b90757f
[rofi-theme-selector] prepend newline before specifying new theme (#1791)
* [rofi-theme-selector] prepend newline before specifying new theme

If the EOF is not a newline, new theme setting will fail.

* make sed substitution more readable

* simplify sed substitution
2023-01-30 11:44:28 +01:00
nomoo
6bc7735d14 sed & realpath workaround for BSD and Darwin OS 2023-01-08 00:30:14 +03:00
a1346054
362e3cd6ff
Use command -v instead of which (#1704)
`command -v` is the standardized version of `which`
2022-09-19 17:06:14 +02:00
nomoo
0b72ff2a74
Fix sed binary call with variable (#1707)
* Use variable instead of binary name

* Use variable for sed
2022-09-13 22:41:41 +02:00
Dave Davenport
1af76c1f11 Remove some unused scripts and images. 2022-05-24 23:37:23 +02:00
Dave Davenport
09e0f87658 [rofi-theme-selector] don't remove lines, but comment them. 2021-08-26 16:40:19 +02:00
Dave Davenport
1c5241a6ae [Theme] Update rofi-theme-selector to append '@theme' 2021-08-25 16:32:06 +02:00
a1346054
c62137f8ab
Simple maintenance improvements (#1370)
* rofi moved to libera.chat

* unify some theme headers and whitespace

* consistently use the same hashbang for bash

* improve obsolete way of testing equality

see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation

* use consistent function definitions in bash scripts

* remove duplicated author and fix whitespace

* quote all variables in scripts

fixes many warnings identified through shellcheck

* fix whitespace in scripts

* fix whitespace in non-source files

* fix spelling in non-source files

* fix whitespace and indentation in source files

* fix spelling in source files
2021-08-14 13:03:16 +02:00
Dave Davenport
5c5428bd11 [Theme] Add direction support to linear-gradient. 2021-06-14 15:14:41 +02:00
Dave Davenport
6bf823267e [ThemeSelector] Use rasi config file format, not xresources. 2020-06-17 13:53:18 +02:00
Dave Davenport
2da2a1f4dc [rofi-sensible-terminal] use xfce4-terminal.wrapper instead of xfce4-terminal
xfce4 terminal does not follow the 'default' arguments.
2020-06-09 18:12:00 +02:00
Sebastiaan Lokhorst
1e4409c6b3
Remove gnome-terminal from rofi-sensible-terminal (#1074)
gnome-terminal is no longer compatible, as noted in #1003
2020-03-20 10:01:11 +01:00
Dave Davenport
2a93daec04 [Script] terminal
Remote terminator,termite as it does not work with stock rofi configuration as
it does not support the 'default' assumed commandline interface.

Fixes: #953
2019-04-20 18:54:28 +02:00
Dave Davenport
83995a738a [Scripts] Removed unused variables 2019-02-02 12:12:35 +01:00
Dave Davenport
274f2297aa Fix creating config file if none exists.
Fixes: #895
2019-01-22 15:53:12 +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
Rasmus Steinke
5d50ae45cd Follow symlink before writing config file. Fixes #884 2018-12-22 09:36:48 +01:00
Davide Masserut
f888805ccd Add kitty to rofi-sensible-terminal 2018-09-12 00:12:38 +02:00
Rasmus Steinke
ca1ae5dfcd
Merge pull request #781 from NeQuissimus/XDG_CONFIG_HOME
rofi-theme-selector: Store config in XDG_CONFIG_HOME if set
2018-06-03 12:19:59 +02:00
Rasmus Steinke
ba08df8a3e
Get rid of if condition, honour XDG_DATA_HOME 2018-06-03 08:58:40 +02:00
Espen Henriksen
3c5f605103 Add alacritty to rofi-sensible-terminal (#808) 2018-06-02 15:12:56 +02:00
Tim Steinbach
abeddb6a57
rofi-theme-selector: Store config in XDG_CONFIG_HOME if set 2018-03-11 11:56:14 -04:00
Rafael Cavalcanti
cb36bf3c17 Add konsole to rofi-sensible-terminal (#739) 2017-12-19 10:50:27 +01:00
Rasmus Steinke
2cbbb1606f include $XDG_CONGIG_HOME/rofi/themes 2017-12-10 23:18:20 +01:00
Rasmus Steinke
1ebca2711b update for latest theme format changes 2017-12-09 11:02:07 +01:00
Rasmus Steinke
7446a69ac7 remove duplicated variable 2017-11-01 22:02:33 +01:00
Rasmus Steinke
eff0597625 fix double slashes in path names 2017-10-19 21:40:33 +02:00
Rasmus Steinke
aa0cd52a7f fix user being split from theme name 2017-10-15 17:55:41 +02:00
Rasmus Steinke
743b393f15 fix offset on theme previews 2017-10-15 17:23:30 +02:00
Dave Davenport
4375f9f075 [ThemeSelector] Get only the first mention of user in the file. 2017-10-14 21:34:49 +02:00
Rasmus Steinke
d0da5fcd39 fix spacing 2017-09-09 12:08:30 +02:00
Rasmus Steinke
3f3e4c691f use config.rasi file if present 2017-09-09 12:04:09 +02:00
Rasmus Steinke
799ace6dfd include more terminals and remove duplicates 2017-06-15 15:26:12 +02:00
Dave Davenport
f0775b2918 Don't put g next to 7 char commit has in version.
Hard to select sha in 1.3.1-292-ga5a9473-dirty so
1.3.1-292-git-a5a9473-dirty  is easier

Fixes: #578
2017-03-21 08:37:07 +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
4686d0ef96 Update spec. with screenshots 2017-01-20 09:40:40 +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
22c0892534 Add screenshotting script for new theme format. 2017-01-18 17:57:37 +01:00
Dave Davenport
be0677cf49 Update theme to new format.
- @class state {

}
- #name state {

}
2016-12-12 21:14:57 +01:00
Dave Davenport
ab9330521b Add explicit / after path element when searching themes. 2016-11-28 19:47:06 +01:00
Dave Davenport
c6c7152b6e If no XDG_DATA_DIRS set, try to deduce the dirs from PATH. 2016-11-28 18:42:22 +01:00
Dave Davenport
81613e287b Fix screenshots add : to rofi-theme selector prompt. 2016-11-28 09:07:51 +01:00
Dave Davenport
d245a4e6a1 Add themes, make rofi-theme-selector show highlighted rows. 2016-11-16 09:22:41 +01:00
Dave Davenport
f41d946e33 Add create screenshot. 2016-11-12 19:34:10 +01:00
Dave Davenport
d1d4a8439a Fix selecting of row based on linux num instead of title. 2016-10-29 15:43:26 +02:00
Rasmus Steinke
914d7035d6 Dont reset position on theme preview 2016-10-29 11:19:56 +02:00
Dave Davenport
96b133db82 Small fix for rofi-theme-selector 2016-10-29 11:13:28 +02:00
Dave Davenport
be46caa279 Case insensitive 2016-10-27 21:44:13 +02:00
Dave Davenport
62434f0e8c Make theme selector script a bit more robust 2016-10-27 19:02:21 +02:00