From 3647be366f30bd037d31786bf0b8e735b8217a87 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Wed, 9 Feb 2022 19:50:26 -0800 Subject: [PATCH] remove flamingo theme and add nord2 --- ani-cli | 8 +- aniwrapper | 8 +- themes/aniwrapper-flamingo.rasi | 141 -------------------------------- themes/aniwrapper-nord2.rasi | 113 +++++++++++++++++++++++++ 4 files changed, 121 insertions(+), 149 deletions(-) delete mode 100644 themes/aniwrapper-flamingo.rasi create mode 100644 themes/aniwrapper-nord2.rasi diff --git a/ani-cli b/ani-cli index b137d9c..9e0feab 100755 --- a/ani-cli +++ b/ani-cli @@ -4,7 +4,7 @@ CFG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/aniwrapper" HISTORY_DB="$CFG_DIR/history.sqlite3" ROFI_CFG="$CFG_DIR/themes/aniwrapper.rasi" ROFI_THEME="aniwrapper.rasi" -THEMES="aniwrapper (default)|dracula|doomone|fancy|flamingo|material|nord|onedark" +THEMES="aniwrapper (default)|dracula|doomone|fancy|material|nord|nord2|onedark" ANIWRAPPER_ICON_PATH="$CFG_DIR/icons/icon-64.png" MAISAN_ICON_PATH="$CFG_DIR/icons/MYsan.png" DPI=96 @@ -738,15 +738,15 @@ parse_args() { fancy) ROFI_THEME=aniwrapper-fancy.rasi ;; - flamingo) - ROFI_THEME=aniwrapper-flamingo.rasi - ;; material) ROFI_THEME=aniwrapper-material.rasi ;; nord) ROFI_THEME=aniwrapper-nord.rasi ;; + nord2) + ROFI_THEME=aniwrapper-nord2.rasi + ;; onedark) ROFI_THEME=aniwrapper-onedark.rasi ;; diff --git a/aniwrapper b/aniwrapper index 729ab16..b6ce480 100755 --- a/aniwrapper +++ b/aniwrapper @@ -10,7 +10,7 @@ CFG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/aniwrapper" CFG_FILE="$CFG_DIR/themes/aniwrapper.rasi" DEFAULT_DOWNLOAD="$HOME/Videos/sauce" ROFI_THEME="aniwrapper.rasi" -THEMES="aniwrapper (default)|dracula|doomone|fancy|flamingo|material|nord|onedark" +THEMES="aniwrapper (default)|dracula|doomone|fancy|material|nord|nord2|onedark" QUALITIES="1. best|2. 1080p|3. 720p|4. 360p|5. worst" SUPPORTED_PLAYERS="mpv|mplayer|vlc" QUALITY=best @@ -154,15 +154,15 @@ set_theme() { fancy) ROFI_THEME=aniwrapper-fancy.rasi ;; - flamingo) - ROFI_THEME=aniwrapper-flamingo.rasi - ;; material) ROFI_THEME=aniwrapper-material.rasi ;; nord) ROFI_THEME=aniwrapper-nord.rasi ;; + nord2) + ROFI_THEME=aniwrapper-nord2.rasi + ;; onedark) ROFI_THEME=aniwrapper-onedark.rasi ;; diff --git a/themes/aniwrapper-flamingo.rasi b/themes/aniwrapper-flamingo.rasi deleted file mode 100644 index 4049830..0000000 --- a/themes/aniwrapper-flamingo.rasi +++ /dev/null @@ -1,141 +0,0 @@ -/** - * User: keystroke3 - * Copyright: keystroke3 - * - */ - -configuration { - sidebar-mode: false; - font: "Open Sans 12"; -} - -* { - text-color: @foreground; - active-background: rgb(170, 70, 104); - active-foreground: @foreground; - normal-background: @background; - normal-foreground: @foreground; - urgent-background: #9E2A5E; - urgent-foreground: @foreground; - alternate-active-background: @background; - alternate-active-foreground: @foreground; - alternate-normal-background: @background; - alternate-normal-foreground: @foreground; - alternate-urgent-background: @background; - alternate-urgent-foreground: @foreground; - selected-active-background: #9E2A5E; - selected-active-foreground: @foreground; - selected-normal-background: rgb(170, 70, 104); - selected-normal-foreground: #0c0816; - selected-urgent-background: #9D596B; - selected-urgent-foreground: @foreground; - background-color: #0c0816; - background: #D03C6E30; - foreground: #8fc5c6; - spacing: 0; -} - -window { - location: west; - anchor: west; - height: 70%; - width: 45%; - orientation: vertical; - children: [mainbox]; - border: 2px 2px 2px 0px; - border-color: @active-background; - hide-scrollbar: true; -} - -mainbox { - spacing: 0.2em; - children: [inputbar, listview]; -} - - - -listview { - spacing: 0.6em; - dynamic: false; - cycle: true; - padding: 0px 5px 0px 5px; -} - -inputbar { - border-radius: 50%; - padding: 5px; - border-spacing: 5px 0 0 0; - border: 1px; - spacing: 10px; - margin: 5px 0 10px; - border-color: @foreground; - -} - -entry{ - padding: 2px; -} - - -prompt{ - padding: 5px; - background-color: @foreground; - text-color: @background-color; - border: 1px; - border-radius: 50%; - -} - - -element { - padding: 10px; - border-radius: 50%; -} - -element normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -element normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -element normal.active { - background-color: #0390fc; - text-color: @active-foreground; -} - -element selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; - border-color: @active-background; -} - -element selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} - -element selected.active { - background-color: @selected-normal-background; - text-color: #0390fc; - /* text-color: @selected-active-foreground; */ -} - -element alternate.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -element alternate.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -element alternate.active { - /* background-color: @active-background; */ - background-color: #0390fc; - text-color: @active-foreground; -} diff --git a/themes/aniwrapper-nord2.rasi b/themes/aniwrapper-nord2.rasi new file mode 100644 index 0000000..0b3a3f4 --- /dev/null +++ b/themes/aniwrapper-nord2.rasi @@ -0,0 +1,113 @@ +/******************************************************************************* + * ROUNDED THEME FOR ROFI + * User : LR-Tech + * Theme Repo : https://github.com/lr-tech/rofi-themes-collection + *******************************************************************************/ + +* { + font: "Roboto 12"; + + background-color: transparent; + text-color: @fg0; + + margin: 0px; + padding: 0px; + spacing: 0px; + bg0: #2E3440F2; + bg1: #3B4252; + bg2: #4C566A80; + bg3: #88C0D0F2; + fg0: #D8DEE9; + fg1: #ECEFF4; + fg2: #D8DEE9; + fg3: #4C566A; +} + +window { + location: center; + width: 80%; + border-radius: 24px; + background-color: @bg0; + anchor: center; +} + +mainbox { + padding: 12px; +} + +inputbar { + background-color: @bg1; + border-color: @bg3; + + border: 2px; + border-radius: 16px; + + padding: 8px 16px; + spacing: 8px; + children: [ prompt, entry, case-indicator ]; +} + +prompt { + text-color: @fg2; +} + +entry { + placeholder: "Search"; + placeholder-color: @fg3; + text-color: @fg0; +} + +case-indicator { + spacing: 0; + text-color: @bg3; +} + +message { + margin: 12px 0 0; + border-radius: 16px; + border-color: @bg2; + background-color: @bg2; +} + +textbox { + padding: 8px 24px; +} + +listview { + background-color: transparent; + + margin: 12px 0 0; + lines: 12; + columns: 2; + + fixed-height: false; + scrollbar: false; +} + +element { + padding: 8px 16px; + spacing: 8px; + border-radius: 16px; +} + + +element normal active, element alternate active { + background-color: @bg3; +} + +element selected normal, element selected active { + background-color: @bg3; + text-color: @bg1; +} + +element-icon { + size: 1em; + vertical-align: 0.5; +} + +element-text { + text-color: inherit; +} +element selected { + text-color: @bg1; +}