From 4033ccd2999a2a6bd9f599331e274e95a6756018 Mon Sep 17 00:00:00 2001 From: Pavel Senchanka Date: Sat, 6 Jul 2019 16:58:32 +0200 Subject: [PATCH 1/6] Change 'sidebar' to 'mode-switcher' in user themes. (#38) * Change 'sidebar' to 'mode-switcher' in flat-orange. This fixes the theme in Rofi 1.5.3. * Change 'sidebar' to 'mode-switcher' in all user themes. --- User Themes/arc-red-dark.rasi | 2 +- User Themes/flat-orange.rasi | 4 ++-- User Themes/material.rasi | 4 ++-- User Themes/oxide.rasi | 2 +- User Themes/rezlooks.rasi | 4 ++-- User Themes/sidetab.rasi | 2 +- User Themes/solarized-darker.rasi | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) 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/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.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; } From 2088c73e4006f4b17d6ce75758c6f021e612d1c2 Mon Sep 17 00:00:00 2001 From: laferuben <51298028+laferuben@users.noreply.github.com> Date: Thu, 25 Jul 2019 12:18:19 +0000 Subject: [PATCH 2/6] Add sidetab-adapta theme (#39) --- User Themes/sidetab-adapta.rasi | 116 ++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 User Themes/sidetab-adapta.rasi 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 From ee21053c05a9ec9ef8c6bf7e40bfa7de0d96fc67 Mon Sep 17 00:00:00 2001 From: keystroke3 Date: Wed, 4 Dec 2019 22:13:32 +0300 Subject: [PATCH 3/6] Add theme Flamingo --- User Themes/README.md | 3 + User Themes/flamingo.rasi | 144 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 User Themes/flamingo.rasi diff --git a/User Themes/README.md b/User Themes/README.md index ccad783..007bb4d 100644 --- a/User Themes/README.md +++ b/User Themes/README.md @@ -27,3 +27,6 @@ #### rezlooks ![rezlooks](https://53280.de/rofi/rezlooks.png) + +#### flamingo +![flamingo](https://raw.githubusercontent.com/keystroke3/dotfiles/master/rofi/flamingo.png) \ No newline at end of file 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; +} From eda086af949c80a8e037e1d4064914285db3d448 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Wed, 4 Dec 2019 22:01:12 +0100 Subject: [PATCH 4/6] Update README.md --- User Themes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/User Themes/README.md b/User Themes/README.md index 007bb4d..da7c30f 100644 --- a/User Themes/README.md +++ b/User Themes/README.md @@ -29,4 +29,4 @@ ![rezlooks](https://53280.de/rofi/rezlooks.png) #### flamingo -![flamingo](https://raw.githubusercontent.com/keystroke3/dotfiles/master/rofi/flamingo.png) \ No newline at end of file +![flamingo](https://53280.de/rofi/flamingo.png) From c711ede644fb26b910b2f0dad643a759ebf9bb29 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Wed, 1 Jan 2020 15:21:58 +0100 Subject: [PATCH 5/6] fix setting of default variable --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ee69fcd..465f664 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -xdg=${${XDG_DATA_HOME}:-${HOME}/.local/share} +xdg=${XDG_DATA_HOME:-${HOME}/.local/share} DIRECTORY="${xdg}/rofi/themes/}" if [ ! -d "${DIRECTORY}" ] From 81f89494084c4d1679f4cf4013e79382d73e143e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 2 Jan 2020 09:25:24 +0100 Subject: [PATCH 6/6] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 465f664..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/}" +DIRECTORY="${xdg}/rofi/themes/" if [ ! -d "${DIRECTORY}" ] then