Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strang Font Color #25

Open
ch3n9w opened this issue Feb 26, 2023 · 0 comments
Open

Strang Font Color #25

ch3n9w opened this issue Feb 26, 2023 · 0 comments

Comments

@ch3n9w
Copy link

ch3n9w commented Feb 26, 2023

Thanks for your script and I love it so much. But the font color seems to be weried when I add -theme argument in todofish.conf like the following:

ROFI_BIN="$(command -v rofi) -theme ~/.config/rofi/tokyonight.rasi"

and when I run the script by ./todofi.sh, it outputs:

test

As you can see, some item's text color is not corespond with its priority, I try to change the theme file like https://github.com/newmanls/rofi-themes-collection/blob/master/themes/nord.rasi but the result is same. Here is my theme file:

* {
    font:   "JetBrainsMono Nerd Font Bold 20";
      bg0     : #1a1b26;
      bg1     : #1f2335;
      bg2     : #24283b;
      bg3     : #414868;
      fg0     : #c0caf5;
      fg1     : #a9b1d6;
      fg2     : #737aa2;
      red     : #f7768e;
      green   : #9ece6a;
      yellow  : #e0af68;
      blue    : #7aa2f7;
      magenta : #9a7ecc;
      cyan    : #4abaaf;

      accent: @blue;
      urgent: @yellow;

      background-color : transparent;
      text-color       : @fg0;

      margin  : 0;
      padding : 0;
      spacing : 0;
}

window {
    location:   center;
    width:      1000;
    height:     700;

    background-color:   @bg0;
    /*background-image:   url("/home/ch4ser/Media/Pictures/jarvis.jpg", width);*/

    border:         2px;
    border-color: @bg3;
}

inputbar {
    spacing:    8px; 
    padding:    8px;

    border:         2px;
    border-color: @blue;
    background-color:   @bg1;
}

prompt, entry, element-icon, element-text {
    vertical-align: 0.5;
}

prompt {
    text-color: @accent;
}

textbox {
    padding:            8px;
    background-color:   @bg1;
}

listview {
    padding:    4px 0;
    lines:      8;
    columns:    2;

    fixed-height:   false;
}

element {
    padding:    8px;
    spacing:    8px;
}

element normal normal {
    text-color: @fg0;
}

element normal urgent {
    text-color: @urgent;
}

element normal active {
    text-color: @accent;
}

element selected {
    text-color: @bg0;
}

element selected normal, element selected active {
    background-color:   @accent;
}

element selected urgent {
    background-color:   @urgent;
}

element-icon {
    size:   0.8em;
}

element-text {
    text-color: inherit;
}

Finally, thanks for your contribution and patience again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant