Merge branch 'master' into master

This commit is contained in:
Rasmus Steinke 2020-02-15 10:17:10 +01:00 committed by GitHub
commit b82a291831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 276 additions and 13 deletions

View file

@ -30,3 +30,6 @@
#### slate
![slate](https://53280.de/rofi/slate.png)
#### flamingo
![flamingo](https://53280.de/rofi/flamingo.png)

View file

@ -97,7 +97,7 @@
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
#sidebar {
#mode-switcher {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}

144
User Themes/flamingo.rasi Normal file
View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -105,7 +105,7 @@ scrollbar {
handle-width: 8px;
padding: 0;
}
sidebar {
mode-switcher {
border: 2px dash 0px 0px;
border-color: @separatorcolor;
}

View file

@ -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;

View file

@ -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

View file

@ -53,7 +53,7 @@ window {
mainbox {
spacing: 0.8em;
children: [ entry,listview,sidebar ];
children: [ entry,listview,mode-switcher ];
}
button { padding: 5px 2px; }

View file

@ -130,7 +130,7 @@ scrollbar {
handle-width: 8px ;
padding: 0;
}
sidebar {
mode-switcher {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}

View file

@ -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