From 3f9127a5c472e7cd119962570aa5cae0d5c9464f Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Mon, 11 Jul 2022 17:38:28 +0200 Subject: [PATCH] rofi: use dracula-sidebar theme --- .config/rofi/config.rasi | 2 +- .local/share/rofi/themes/dracula-sidebar.rasi | 114 ++++++++++++++++ .local/share/rofi/themes/dracula.rasi | 129 ------------------ 3 files changed, 115 insertions(+), 130 deletions(-) create mode 100644 .local/share/rofi/themes/dracula-sidebar.rasi delete mode 100644 .local/share/rofi/themes/dracula.rasi diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 5c0b0db..741b5c9 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -6,4 +6,4 @@ configuration { icon-theme: "candy-icons"; combi-modi: "drun,nheko,window,run"; } -@theme "/home/lordmzte/.local/share/rofi/themes/dracula.rasi" +@theme "dracula-sidebar.rasi" diff --git a/.local/share/rofi/themes/dracula-sidebar.rasi b/.local/share/rofi/themes/dracula-sidebar.rasi new file mode 100644 index 0000000..f524ec2 --- /dev/null +++ b/.local/share/rofi/themes/dracula-sidebar.rasi @@ -0,0 +1,114 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + text-color: #f8f8f2; + background-color: #282a3630; + dark: #282a36; + // Black + black: #282a36; + lightblack: #44475a; + // + // Red + red: #ff5555; + lightred: #ff6e6e; + // + // Green + green: #50fa7b; + lightgreen: #69ff94; + // + // Yellow + yellow: #f1fa8c; + lightyellow: #ffffa5; + // + // Blue + blue: #bd93f9; + lightblue: #d6acff; + // + // Magenta + magenta: #ff79c6; + lightmagenta: #ff92df; + // + // Cyan + cyan: #8be9fd; + lightcyan: #a4ffff; + // + // White + white: #f8f8f2; + lightwhite: #ffffff; + // + // Bold, Italic, Underline + highlight: bold #ffffff; +} +window { + height: 100%; + width: 30em; + location: west; + anchor: west; + border: 0px 2px 0px 0px; + text-color: @lightwhite; +} +mode-switcher { + border: 2px 0px 0px 0px; + background-color: @lightblack; + padding: 4px; +} +button selected { + border-color: @lightgreen; + text-color: @lightgreen; +} +inputbar { + background-color: @lightblack; + text-color: @lightgreen; + padding: 4px; + border: 0px 0px 2px 0px; +} +mainbox { + expand: true; + background-color: #1c1c1cee; + spacing: 1em; +} +listview { + padding: 0em 0.4em 0em 1em; + dynamic: false; + lines: 0; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected normal { + background-color: @blue; +} +element normal active { + text-color: @lightblue; +} +element normal urgent { + text-color: @lightred; +} +element alternate normal { +} +element alternate active { + text-color: @lightblue; +} +element alternate urgent { + text-color: @lightred; +} +element selected active { + background-color: @lightblue; + text-color: @dark; +} +element selected urgent { + background-color: @lightred; + text-color: @dark; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.local/share/rofi/themes/dracula.rasi b/.local/share/rofi/themes/dracula.rasi deleted file mode 100644 index f3fa661..0000000 --- a/.local/share/rofi/themes/dracula.rasi +++ /dev/null @@ -1,129 +0,0 @@ -/*Dracula theme based on the Purple official rofi theme*/ -/*Modified*/ - -* { - foreground: #f8f8f2; - background-color: #282a36; - active-background: #6272a4; - urgent-background: #ff5555; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @active-background; -} - -window { - background-color: @background; - border: 1; - border-radius: 0; - border-color: @bordercolor; - padding: 5; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 2px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; -} -element { - border: 0; - padding: 1px ; -} -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 { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @foreground; -} -element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @foreground; -} -element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -button.selected { - background-color: @selected-background; - text-color: @foreground; -} -inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -case-indicator { - spacing: 0; - text-color: @foreground; -} -entry { - spacing: 0; - text-color: @foreground; -} -prompt { - spacing: 0; - text-color: @foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @foreground; -}