Commit graph

11 commits

Author SHA1 Message Date
9fb9bb39ee Fix rofi layout sizings for fullscreen 2019-09-05 22:07:10 +02:00
8b7de007e9 Add dmenu-like application selector 2019-09-05 21:15:50 +02:00
b28a98c4e4 Add rofi-nerdfont icon picker mode 2019-09-05 19:50:17 +02:00
c6c4161d77 Add rofi-fontawesome icon picker mode 2019-09-05 19:21:55 +02:00
ff6ca7e684 Make rofi-powermenu configurable through env vars
Added Environment variables to show/hide the text and icons, as well as
change the individual commands rofi-powermenu uses to affect the system.
2019-09-05 17:47:15 +02:00
49cacfe787 Refactor powermenu to rofi modus 2019-09-05 16:21:53 +02:00
3d9ea5cffe Configure rofi-powermenu and lockscreen script
Use rofi-powermenu to show options for suspend,reboot, shutdown,
lockscreen, log out. Can be invoked with <M-backspace>. Other power
option shortcuts have been removed from quick access through sxhkd or
i3. Lockscreen can still be quickly set with <M-x>.

Lockscreen now resides in its own script to provide one source of truth,
and in case it is further customized in the future.
2019-09-05 13:31:42 +02:00
16cb8f092e Add dmenu theme 2019-09-05 13:03:51 +02:00
199fbdae4d Add rofi theme scaffolding
Themes are structured in two parts: layout and colorschemes. Both can be
set independently from each other. Layouts can make use of anchored
color values (@background, @background-focus,.. look at colorscheme
files for all available values). Colorscheme files then translate the
values into actual colorcodes.

That way, the colorscheme for all layouts can be changed with one
setting, or independently of each other. Layouts try to specify some
often used structures for rofi menus - right now there is a horizontal
list and a fullscreen options selection (which can make use of icon
fonts).

Any global theme changes should be done in settings.rasi. Any global
function changes can still be done in config.rasi. A rofi-powermenu has
been added as an example of using the theming structure. The powermenu
script loads rofi with the powermenu.rasi theme enabled. The powermenu
theme loads the fullscreen options layout, which in turn loads the
vertical list layout, which loads settings, which sets the correct
colors. Idea and original structure from:
https://gitlab.com/vahnrr/rofi-menus
2019-09-05 10:45:32 +02:00
264e095224 Add initial rofi-bangs script
Can be executed with rofi-bang. It will take a comma-separated list of
commands (for now statically sourced from rofi config dir), show labels
and 'bangs' for them (in the manner of !c or !yt) which, if typed will
instantly execute their command. In this manner, it becomes possible to
create a quickly accessible menu using rofi.

E.g. we could have !b to search bookmarks. As soon as !b is typed the
'bang' instance of rofi exits and executes the associated command. If
the command starts up another, visually identical, rofi instance with a
preselection of different user bookmarks, it appears as if we just
jumped into a bookmark list in the same rofi instance.

Of course, the commands can be anything. They don't have to invoke more
rofi instances.
2019-09-04 23:04:07 +02:00
f1bcae1767 Add simple rofi config file 2019-09-04 19:47:13 +02:00