diff --git a/User Themes/README.md b/User Themes/README.md index 009c12b..30fedda 100644 --- a/User Themes/README.md +++ b/User Themes/README.md @@ -29,4 +29,7 @@ ![rezlooks](https://53280.de/rofi/rezlooks.png) #### slate -![slate](https://53280.de/rofi/slate.png) \ No newline at end of file +![slate](https://53280.de/rofi/slate.png) + +#### flamingo +![flamingo](https://53280.de/rofi/flamingo.png) \ No newline at end of file diff --git a/User Themes/arc-red-dark.rasi b/User Themes/arc-red-dark.rasi index 8361a44..a5f57e2 100644 --- a/User Themes/arc-red-dark.rasi +++ b/User Themes/arc-red-dark.rasi @@ -97,7 +97,7 @@ background-color: @alternate-active-background; text-color: @alternate-active-foreground; } -#sidebar { +#mode-switcher { border: 2px 0px 0px ; border-color: @separatorcolor; } diff --git a/User Themes/flamingo.rasi b/User Themes/flamingo.rasi new file mode 100644 index 0000000..35f9997 --- /dev/null +++ b/User Themes/flamingo.rasi @@ -0,0 +1,144 @@ +/** + * User: keystroke3 + * Copyright: keystroke3 + * + */ + +configuration { + display-drun: ""; + display-run: ""; + display-window: ""; + display-ssh: "~#"; + show-icons: true; + sidebar-mode: false; + font: "Source Code Pro 15"; +} + +* { + 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: 25%; + 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: @active-background; + 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-active-background; + 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; + text-color: @active-foreground; +} diff --git a/User Themes/flat-orange.rasi b/User Themes/flat-orange.rasi index 4171276..5ab2f55 100644 --- a/User Themes/flat-orange.rasi +++ b/User Themes/flat-orange.rasi @@ -31,7 +31,7 @@ window { mainbox { background-color: @blackdarkest; spacing:0px; - children: [inputbar, message, sidebar, listview]; + children: [inputbar, message, mode-switcher, listview]; } message { @@ -110,7 +110,7 @@ scrollbar { handle-width: 15px; } -sidebar { +mode-switcher { background-color: @blackwidget; } diff --git a/User Themes/material.rasi b/User Themes/material.rasi index 844f376..c2a1b18 100644 --- a/User Themes/material.rasi +++ b/User Themes/material.rasi @@ -40,7 +40,7 @@ window { } mainbox { - children: [inputbar, message, sidebar, listview]; + children: [inputbar, message, mode-switcher, listview]; spacing: 30px; /*margin: 20%;*/ padding: 30px 0; @@ -72,7 +72,7 @@ case-indicator { text-color: @base0F; } -sidebar, message { +mode-switcher, message { border: 1px 0; border-color: @base0D; } diff --git a/User Themes/oxide.rasi b/User Themes/oxide.rasi index 26081ec..028916f 100644 --- a/User Themes/oxide.rasi +++ b/User Themes/oxide.rasi @@ -105,7 +105,7 @@ scrollbar { handle-width: 8px; padding: 0; } -sidebar { +mode-switcher { border: 2px dash 0px 0px; border-color: @separatorcolor; } diff --git a/User Themes/rezlooks.rasi b/User Themes/rezlooks.rasi index 7dcbd3f..44bc933 100644 --- a/User Themes/rezlooks.rasi +++ b/User Themes/rezlooks.rasi @@ -54,7 +54,7 @@ } #tabcontent { - children: [ topborder, sidebar, mainbox ]; + children: [ topborder, mode-switcher, mainbox ]; background-color: transparent; spacing: 0; border: 8px; @@ -162,7 +162,7 @@ handle-width: 8px ; padding: 0; } -#sidebar { +#mode-switcher { border: 0px 0px 0px 1px; border-color: @dark-border-color; spacing: 0px; diff --git a/User Themes/sidetab-adapta.rasi b/User Themes/sidetab-adapta.rasi new file mode 100644 index 0000000..84d0295 --- /dev/null +++ b/User Themes/sidetab-adapta.rasi @@ -0,0 +1,116 @@ +/* + * sidetab-adapta theme, + * based on sidetab theme by deadguy. + * + * This theme has been dedicated to the public domain. + * + */ + +configuration { + show-icons: true; + sidebar-mode: true; +} + +* { + background-color: #222d32; + text-color: #ffffff; + + accent-color: #00bcd4; + accent2-color: #4db6ac; + hover-color: #39454b; + urgent-color: #ff5252; + window-color: #ffffff; + + selected-normal-foreground: @window-color; + normal-foreground: @text-color; + selected-normal-background: @hover-color; + normal-background: @background-color; + + selected-urgent-foreground: @background-color; + urgent-foreground: @text-color; + selected-urgent-background: @urgent-color; + urgent-background: @background-color; + + selected-active-foreground: @window-color; + active-foreground: @text-color; + selected-active-background: @hover-color; + active-background: @accent-color; +} + +#window { + anchor: west; + location: west; + width: 384px; + height: 100%; +} + +#mainbox { + children: [ entry, listview, mode-switcher ]; +} + +entry { + expand: false; + margin: 8px; +} + +element { + padding: 8px; +} + +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; + border: 0 4px solid 0 0; + border-color: @accent2-color; +} + +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: @normal-background; + text-color: @normal-foreground; +} + +element alternate.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element alternate.active { + background-color: @active-background; + text-color: @active-foreground; +} + +button { + padding: 8px; +} + +button selected { + background-color: @active-background; + text-color: @background-color; +} + +/* vim: ft=css diff --git a/User Themes/sidetab.rasi b/User Themes/sidetab.rasi index c465e26..693dbc4 100644 --- a/User Themes/sidetab.rasi +++ b/User Themes/sidetab.rasi @@ -53,7 +53,7 @@ window { mainbox { spacing: 0.8em; - children: [ entry,listview,sidebar ]; + children: [ entry,listview,mode-switcher ]; } button { padding: 5px 2px; } diff --git a/User Themes/solarized-darker.rasi b/User Themes/solarized-darker.rasi index 041c6c1..6381958 100644 --- a/User Themes/solarized-darker.rasi +++ b/User Themes/solarized-darker.rasi @@ -130,7 +130,7 @@ scrollbar { handle-width: 8px ; padding: 0; } -sidebar { +mode-switcher { border: 2px dash 0px 0px ; border-color: @separatorcolor; } diff --git a/install.sh b/install.sh index ee69fcd..3ae4e62 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -xdg=${${XDG_DATA_HOME}:-${HOME}/.local/share} -DIRECTORY="${xdg}/rofi/themes/}" +xdg=${XDG_DATA_HOME:-${HOME}/.local/share} +DIRECTORY="${xdg}/rofi/themes/" if [ ! -d "${DIRECTORY}" ] then