dotfiles/rofi/.config/rofi/themes/settings.rasi
Marty Oehme ad8decb4ef Integrate dynamic colorschemes into applications
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.

Ignore dynamically generated colorschemes in .gitignore file.
2020-02-01 11:01:26 +01:00

42 lines
1.4 KiB
Plaintext

/**
* Changing this file allows all other theme files to be affected since
* they all get their default settings from here.
* Idea cribbed from: https://gitlab.com/vahnrr/rofi-menus
*
* Structure (what goes where) should be set in specific theme files, which pull from more general layouts/ files
* Color (what has which accent) can be added with colorschemes/ files, and then set globally from here
*
* if a layout needs a *very* specific colorscheme it can also be set in the layouts/theme files
* but try to keep the two separated as much as possible, so we can adjust global options easily from here
*/
//default import
@import "colorschemes/gruvbox-dark.rasi"
* {
/* General */
text-font: "Iosevka Nerd Font";
text-font-mono: "Iosevka Nerd Font";
icon-font: "Iosevka Nerd Font";
icon-font-small: "Iosevka Nerd Font";
}
/**
* In case rofi gets started without a specific theme
* try to match the imported theme colors as best we
* can to any general purpose.
*/
* {
background-color: @background;
text-color: @foreground;
font: @text-font;
}
#element {
background-color: @background-nofocus;
text-color: @foreground-nofocus;
}
#element.selected {
background-color: @background-focus;
text-color: @foreground-focus;
}