From 3d6a361bcd7088fa0d325bb3df87761cbf2919ba Mon Sep 17 00:00:00 2001 From: c0de Date: Wed, 17 Aug 2022 16:41:31 -0500 Subject: [PATCH] Switch rofi to Nord --- home/.config/rofi/config.rasi | 2 +- home/.config/rofi/themes/.gitkeep | 0 home/.config/rofi/themes/iceberg-dark.rasi | 205 --------------------- install.sh | 5 +- 4 files changed, 4 insertions(+), 208 deletions(-) create mode 100644 home/.config/rofi/themes/.gitkeep delete mode 100644 home/.config/rofi/themes/iceberg-dark.rasi diff --git a/home/.config/rofi/config.rasi b/home/.config/rofi/config.rasi index 09602b3..71297b6 100644 --- a/home/.config/rofi/config.rasi +++ b/home/.config/rofi/config.rasi @@ -1,5 +1,5 @@ configuration { font: "Source Code Pro Semibold 10.5"; } -@theme "iceberg-dark" +@theme "nord" diff --git a/home/.config/rofi/themes/.gitkeep b/home/.config/rofi/themes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/home/.config/rofi/themes/iceberg-dark.rasi b/home/.config/rofi/themes/iceberg-dark.rasi deleted file mode 100644 index 21cefff..0000000 --- a/home/.config/rofi/themes/iceberg-dark.rasi +++ /dev/null @@ -1,205 +0,0 @@ -/******************************************************************************* - * ROFI Color Theme - * User: Sheepla - * Copyleft: Sheepla - *******************************************************************************/ - -* { - highlight: bold italic; - scrollbar: true; - - /* Color palette from iceberg.vim and iceberg-dark - * https://github.com/cocopon/iceberg.vim - * https://github.com/gkeep/iceberg-dark - */ - palette-bg0: #161821; - palette-bg1: #1e2132; - palette-bg2: #444b71; - palette-fg0: #c6c8d1; - palette-fg1: #aeb4cc; - palette-red: #e27878; - palette-green: #b4be82; - palette-yellow: #e2a478; - palette-blue: #84a0c6; - palette-purple: #a093c7; - palette-cyan: #89b8c2; - palette-grey: #c0bfc9; - - /* Base colors */ - background: @palette-bg0; - background-color: @background; - foreground: @palette-fg1; - - /* Normal colors */ - normal-background: @background; - normal-foreground: @foreground; - alternate-normal-background: @palette-bg1; - alternate-normal-foreground: @foreground; - selected-normal-background: @palette-bg2; - selected-normal-foreground: @palette-fg0; - - /* Active window colors */ - active-background: @normal-background; - active-foreground: @palette-blue; - alternate-active-background: @alternate-normal-background; - alternate-active-foreground: @active-foreground; - selected-active-background: @palette-blue; - selected-active-foreground: @normal-background; - - /* Urgent colors */ - urgent-background: @background; - urgent-foreground: @palette-yellow; - alternate-urgent-background: @alternate-normal-background; - alternate-urgent-foreground: @urgent-foreground; - selected-urgent-background: @urgent-foreground; - selected-urgent-foreground: @normal-background; - - /* Other colors */ - border-color: @palette-bg2; - separatorcolor: @border-color; - scrollbar-handle: @palette-bg2; - - text-color: @alternate-normal-foreground; -} - -#window { - background-color: @background-color; - children: [mainbox]; -} - -#mainbox { - border: 0; - orientation: vertical; - children: [ entry, message, listview, mode-switcher ]; -} - -#entry { - expand: false; - text-color: @normal-foreground; - /* Padding between 2 lines */ - padding: 10px 0px 10px 10px; - border: 0 0 2px; - border-color: @palette-bg2; - margin: 10px; -} - -#sidebar { - expand: false; -} - -/* Message box */ -#textbox { - horizontal-align: 0; - background-color: @palette-bg2; - padding: 10px 20px 10px 20px ; - text-color: @palette-fg0; -} - -#listview { - border: 0px 0px 0px ; - border-color: @palette-bg2; - padding: 0px 0px 5px 0px; - scrollbar: @scrollbar; - columns: 3; - lines: 5; -} - - -#mode-switcher { - border: 3px 0px 0px 0px; - border-color: @palette-bg2; -} - -button { - padding: 5px; -} - -#button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} - -#element { - border: 0; - padding: 3px 10px 3px 10px ; -} - -#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: @active-background; - text-color: @active-foreground; -} - -#element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} - -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} - -#element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} - -#element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} - -#element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} - -#element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} - -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 2px; - children: [ textbox-prompt-sep, entry, case-indicator ]; -} - -case-indicator, -entry, -button { - spacing: 0; - text-color: @normal-foreground; -} - -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} - -textbox-prompt-sep { - expand: false; - str: ":"; - text-color: @normal-foreground; - margin: 0 0.3em 0 0; -} - -prompt { - padding:6px 9px; - background-color: @palette-bg2; -} - -#element-icon { - size: 18; -} \ No newline at end of file diff --git a/install.sh b/install.sh index 9ff081e..7cdd579 100755 --- a/install.sh +++ b/install.sh @@ -80,7 +80,6 @@ symlink "${DF_HOME}/.functions" "${HOME}/.functions" symlink "${DF_HOME}/.gitconfig" "${HOME}/.gitconfig" symlink "${DF_HOME}/.gtkrc.mine" "${HOME}/.gtkrc.mine" symlink "${DF_HOME}/.gtkrc-2.0" "${HOME}/.gtkrc-2.0" -symlink "${DF_HOME}/.stalonetrayrc" "${HOME}/.stalonetrayrc" symlink "${DF_HOME}/.tmux.conf" "${HOME}/.tmux.conf" symlink "${DF_HOME}/.tmux/iceberg.tmux.conf" "${HOME}/.tmux/iceberg.tmux.conf" symlink "${DF_HOME}/.vimrc" "${HOME}/.vimrc" @@ -99,10 +98,12 @@ symlink "${DF_CONFIG}/nitrogen" "${HOME}/.config/nitrogen" symlink "${DF_CONFIG}/terminator" "${HOME}/.config/terminator" symlink "${DF_CONFIG}/ranger" "${HOME}/.config/ranger" symlink "${DF_CONFIG}/viewnior" "${HOME}/.config/viewnior" -symlink "${DF_CONFIG}/volumeicon" "${HOME}/.config/volumeicon" symlink "${DF_CONFIG}/mimeapps.list" "${HOME}/.config/mimeapps.list" symlink "${DF_CONFIG}/Code/User/settings.json" "${HOME}/.config/Code/User/settings.json" +echo "Installing Nord rofi theme" +wget https://raw.githubusercontent.com/undiabler/nord-rofi-theme/master/nord.rasi -O "${HOME}/.config/rofi/themes/rofi.rasi" + echo "Installing Iceberg Icon pack..." # symlink "${DF_HOME}/.themes/oomox-iceberg" "${HOME}/.themes/oomox-iceberg" symlink "${DF_HOME}/.icons/oomox-iceberg" "${HOME}/.icons/oomox-iceberg"