From 34d867e9b532c27e6113768f0f4802f098bddd2e Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 6 Sep 2021 01:45:06 +0200 Subject: [PATCH] Fix visuals in rofi and zsh theme --- .config/rofi/dracula.rasi | 55 +++++++++++--------- .config/zsh/custom/themes/serguzim.zsh-theme | 2 +- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.config/rofi/dracula.rasi b/.config/rofi/dracula.rasi index e2eb674..ad65033 100644 --- a/.config/rofi/dracula.rasi +++ b/.config/rofi/dracula.rasi @@ -13,26 +13,26 @@ bordercolor: @active-background; } -#window { +window { background-color: @background; border: 1; border-radius: 6; border-color: @bordercolor; padding: 5; } -#mainbox { +mainbox { border: 0; padding: 0; } -#message { +message { border: 1px dash 0px 0px ; border-color: @separatorcolor; padding: 1px ; } -#textbox { +textbox { text-color: @foreground; } -#listview { +listview { fixed-height: 0; border: 2px dash 0px 0px ; border-color: @bordercolor; @@ -40,81 +40,88 @@ scrollbar: false; padding: 2px 0px 0px ; } -#element { +element { border: 0; padding: 1px ; } -#element.normal.normal { +element-text { + background-color: inherit; + text-color: inherit; +} +element-icon { + background-color: inherit; +} +element.normal.normal { background-color: @background; text-color: @foreground; } -#element.normal.urgent { +element.normal.urgent { background-color: @urgent-background; text-color: @urgent-foreground; } -#element.normal.active { +element.normal.active { background-color: @active-background; text-color: @foreground; } -#element.selected.normal { +element.selected.normal { background-color: @selected-background; text-color: @foreground; } -#element.selected.urgent { +element.selected.urgent { background-color: @selected-urgent-background; text-color: @foreground; } -#element.selected.active { +element.selected.active { background-color: @selected-active-background; text-color: @foreground; } -#element.alternate.normal { +element.alternate.normal { background-color: @background; text-color: @foreground; } -#element.alternate.urgent { +element.alternate.urgent { background-color: @urgent-background; text-color: @foreground; } -#element.alternate.active { +element.alternate.active { background-color: @active-background; text-color: @foreground; } -#scrollbar { +scrollbar { width: 2px ; border: 0; handle-width: 8px ; padding: 0; } -#sidebar { +sidebar { border: 2px dash 0px 0px ; border-color: @separatorcolor; } -#button.selected { +button.selected { background-color: @selected-background; text-color: @foreground; } -#inputbar { +inputbar { spacing: 0; text-color: @foreground; padding: 1px ; } -#case-indicator { +case-indicator { spacing: 0; text-color: @foreground; } -#entry { +entry { spacing: 0; text-color: @foreground; } -#prompt { +prompt { spacing: 0; text-color: @foreground; } -#inputbar { +inputbar { children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; } -#textbox-prompt-colon { +textbox-prompt-colon { expand: false; str: ":"; margin: 0px 0.3em 0em 0em ; diff --git a/.config/zsh/custom/themes/serguzim.zsh-theme b/.config/zsh/custom/themes/serguzim.zsh-theme index 17e0f64..ead98f6 100644 --- a/.config/zsh/custom/themes/serguzim.zsh-theme +++ b/.config/zsh/custom/themes/serguzim.zsh-theme @@ -5,7 +5,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg_bold[yellow]%}✘ " PROMPT='%(?, ,%{$fg[red]%}RETURN: $?%{$reset_color%} ) -%{$fg[default]%}%* %{$fg[yellow]%}%n%{$reset_color%}@%{$fg[magenta]%}%M%{$reset_color%}: %{$fg_bold[blue]%}%~$(git_prompt_info) +%{$fg[default]%}%D{%T} %{$fg[yellow]%}%n%{$reset_color%}@%{$fg[magenta]%}%M%{$reset_color%}: %{$fg_bold[blue]%}%~$(git_prompt_info) %{$fg[green]%}$%{$reset_color%} ' #RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'