+ Added rofi director

This commit is contained in:
ziro 2020-04-19 14:32:48 +07:00
parent 08332199a2
commit 217c2ef0f1
14 changed files with 933 additions and 0 deletions

2
.config/rofi/config Executable file
View file

@ -0,0 +1,2 @@
rofi.icon-theme: "oomox-dark"
rofi.m: 0

3
.config/rofi/config.rasi Executable file
View file

@ -0,0 +1,3 @@
configuration {
}

View file

@ -0,0 +1,22 @@
/*
* Change the colorscheme for every menu simply by editing this file...
*
* Available Color Schemes
* // Dark
* material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange
* material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green
* material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal
* material-dark/yellow
* // Light
* material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange
* material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green
* material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal
* material-light/yellow
*
* // Other
* adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark
* armchair, darkpink, fresh, inside, party, sirin
*
*/
@import "../colorschemes/ziDark.rasi"

View file

@ -0,0 +1,111 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
@import "colors.rasi"
* {
/* General */
text-font: "Comfortaa 12";
icon-font: "feather 18";
option-6-listview-spacing: 6px;
menu-window-padding: 6px 6px;
menu-element-padding: 20px 0px 15px -10px;
}
#window {
width: 6%;
height: 46.6%;
anchor: east;
location: east;
x-offset: -1%;
y-offset: 0%;
border: 0px;
border-radius: 12px;
}
* {
background-color: @background;
text-color: @foreground;
font: @icon-font;
}
#horibox {
children: [ listview ];
}
#listview {
layout: vertical;
}
#element {
border: 0px;
border-radius: 10px;
padding: @option-element-padding;
background-color: @background-light;
}
#element.selected {
background-color: @accent;
text-color: @background;
}
* {
font: @text-font;
}
#window {
padding: @menu-window-padding;
children: [ inputbar, horibox ];
}
#inputbar {
enabled: false;
children: [ textbox-prompt-colon, prompt ];
margin: @menu-inputbar-margin;
}
#listview {
spacing: @option-6-listview-spacing;
lines: 3;
}
#element {
font: @icon-font;
border: @menu-element-border;
padding: @menu-element-padding;
border-color: @background-light;
}
#element.selected {
border-color: @accent;
}
element.active,
element.selected.urgent {
background-color: @on;
text-color: @background;
border-color: @on;
}
element.selected.urgent {
border-color: @accent;
}
element.urgent,
element.selected.active {
background-color: @off;
text-color: @background;
border-color: @off;
}
element.selected.active {
border-color: @accent;
}

View file

@ -0,0 +1,110 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
@import "colors.rasi"
* {
/* General */
text-font: "Comfortaa 12";
icon-font: "feather 18";
option-6-listview-spacing: 5px 5px 5px 5px;
menu-window-padding: 6px 6px;
menu-element-padding: 20px 0px 15px -10px;
}
#window {
width: 6%;
height: 37%;
anchor: east;
location: east;
x-offset: -1%;
y-offset: 0%;
border: 0px;
border-radius: 12px;
}
* {
background-color: @background;
text-color: @foreground;
font: @icon-font;
}
#horibox {
children: [ listview ];
}
#listview {
layout: vertical;
}
#element {
border: 0px;
border-radius: 10px;
padding: @option-element-padding;
background-color: @background-light;
}
#element.selected {
background-color: @accent;
text-color: @background;
}
* {
font: @text-font;
}
#window {
padding: @menu-window-padding;
children: [ inputbar, horibox ];
}
#inputbar {
enabled: false;
children: [ textbox-prompt-colon, prompt ];
margin: @menu-inputbar-margin;
}
#listview {
spacing: @option-6-listview-spacing;
lines: 3;
}
#element {
font: @icon-font;
border: @menu-element-border;
padding: @menu-element-padding;
border-color: @background-light;
}
#element.selected {
border-color: @accent;
}
element.active,
element.selected.urgent {
background-color: @on;
text-color: @background;
border-color: @on;
}
element.selected.urgent {
border-color: @accent;
}
element.urgent,
element.selected.active {
background-color: @off;
text-color: @background;
border-color: @off;
}
element.selected.active {
border-color: @accent;
}

View file

@ -0,0 +1,102 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
configuration {
drun-display-format: "{icon} {name}";
display-drun: "Applications";
show-icons: true;
icon-theme: "oomox-dark";
location: 0;
yoffset: 0;
xoffset: 0;
columns: 2;
fake-transparency: false;
hide-scrollbar: true;
bw: 0;
fullscreen: false;
show-icons: true;
terminal: "termite";
sidebar-mode: false;
}
@import "colors.rasi"
* {
text-font: "Iosevka 12";
inputbar-margin: 3px 3px;
prompt-padding: 10px 10px;
entry-padding: 10px 0px 10px 0px;
list-element-padding: 10px;
list-element-margin: @inputbar-margin;
list-element-border: 0px 4px 0px 4px;
apps-textbox-prompt-colon-padding: 10px -5px 0px 0px;
}
#window {
width: 50%;
height: 60%;
padding: 40px 40px;
border: 0px;
border-radius: 14px;
}
* {
background-color: @background;
text-color: @foreground;
font: @text-font;
}
inputbar,
prompt,
textbox-prompt-colon,
entry {
background-color: @background-light;
border: 0px;
border-radius: 10px;
}
#inputbar {
children: [ prompt, textbox-prompt-colon, entry ];
margin: @inputbar-margin;
}
#prompt {
padding: @prompt-padding;
background-color: @accent;
text-color: @background;
}
#textbox-prompt-colon {
expand: false;
str: " :: ";
padding: @apps-textbox-prompt-colon-padding;
}
#entry {
text-color: @accent;
padding: @entry-padding;
}
#element {
padding: @list-element-padding;
margin: @list-element-margin;
border: @list-element-border;
background-color: @background-light;
border-color: @background-light;
border-radius: 10px;
}
#element.selected {
background-color: @background-focus;
text-color: @accent;
border-color: @accent;
border-radius: 10px;
}

View file

@ -0,0 +1,121 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
configuration {
drun-display-format: "{icon}";
display-drun: "Apps";
show-icons: true;
icon-theme: "Papirus";
location: 0;
yoffset: 0;
xoffset: 0;
fake-transparency: false;
hide-scrollbar: true;
bw: 0;
fullscreen: false;
show-icons: true;
terminal: "termite";
sidebar-mode: false;
}
// light
/*
* {
ac: #5294E2;
bg: #ffffff;
bg-alt: #EAEAEA;
fg: #ffffff;
}
*/
// dark
* {
ac: #37b0ff;
bg: #2f3640;
bg-alt: #434758;
fg: #f5f6fa;
}
// blur
/*
* {
ac: #0000008c;
bg: #00000080;
bg-alt: #00000040;
fg: #e5e5e5;
}
*/
* {
background-color: #00000000;
font: "FantasqueSansMono Nerd Font 36";
}
window {
height: 52%;
width: 20%;
anchor: east;
location: east;
x-offset: -1%;
transparency: "real";
}
mainbox {
children: [ inputbar, listview ];
padding: 0% 0% 0% 0%;
background-color: @bg;
border: 0;
border-radius: 12;
border-color: @bg;
}
listview {
columns: 3;
padding: 8;
spacing: 10;
}
element {
border: 0;
text-color: @fg;
background-color: @bg-alt;
orientation: vertical;
padding: 12 12 12 16;
border-radius: 8;
}
element selected {
background-color: @ac;
border-color: @bg;
text-color: @fg;
}
inputbar {
children: [entry];
padding: 4 4 4 4;
margin: 1% 0.5%;
/* change this colors to change style*/
background-color: @ac;
border: 0 0 0 0;
border-radius: 8;
border-color: @fg;
}
prompt {
enabled: false;
}
entry {
font: "FantasqueSansMono Nerd Font 12";
text-color: @fg;
padding: 8 12 8 12;
}

View file

@ -0,0 +1,110 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
@import "colors.rasi"
* {
/* General */
text-font: "Comfortaa 12";
icon-font: "feather 18";
option-6-listview-spacing: 6px;
menu-window-padding: 6px 6px;
menu-element-padding: 20px 0px 15px -10px;
}
#window {
width: 6%;
height: 55.6%;
anchor: east;
location: east;
x-offset: -1%;
y-offset: 0%;
border: 0px;
border-radius: 12px;
}
* {
background-color: @background;
text-color: @foreground;
font: @icon-font;
}
#horibox {
children: [ listview ];
}
#listview {
layout: vertical;
}
#element {
border: 0px;
border-radius: 10px;
padding: @option-element-padding;
background-color: @background-light;
}
#element.selected {
background-color: @accent;
text-color: @background;
}
* {
font: @text-font;
}
#window {
padding: @menu-window-padding;
children: [ inputbar, horibox ];
}
#inputbar {
enabled: false;
children: [ textbox-prompt-colon, prompt ];
margin: @menu-inputbar-margin;
}
#listview {
spacing: @option-6-listview-spacing;
lines: 3;
}
#element {
font: @icon-font;
border: @menu-element-border;
padding: @menu-element-padding;
border-color: @background-light;
}
#element.selected {
border-color: @accent;
}
element.active,
element.selected.urgent {
background-color: @on;
text-color: @background;
border-color: @on;
}
element.selected.urgent {
border-color: @accent;
}
element.urgent,
element.selected.active {
background-color: @off;
text-color: @background;
border-color: @off;
}
element.selected.active {
border-color: @accent;
}

View file

@ -0,0 +1,110 @@
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
@import "colors.rasi"
* {
/* General */
text-font: "Comfortaa 12";
icon-font: "feather 18";
option-6-listview-spacing: 6px;
menu-window-padding: 6px 6px;
menu-element-padding: 20px 0px 15px -10px;
}
#window {
width: 6%;
height: 28.2%;
anchor: east;
location: east;
x-offset: -1%;
y-offset: 0%;
border: 0px;
border-radius: 12px;
}
* {
background-color: @background;
text-color: @foreground;
font: @icon-font;
}
#horibox {
children: [ listview ];
}
#listview {
layout: vertical;
}
#element {
border: 0px;
border-radius: 10px;
padding: @option-element-padding;
background-color: @background-light;
}
#element.selected {
background-color: @accent;
text-color: @background;
}
* {
font: @text-font;
}
#window {
padding: @menu-window-padding;
children: [ inputbar, horibox ];
}
#inputbar {
enabled: false;
children: [ textbox-prompt-colon, prompt ];
margin: @menu-inputbar-margin;
}
#listview {
spacing: @option-6-listview-spacing;
lines: 3;
}
#element {
font: @icon-font;
border: @menu-element-border;
padding: @menu-element-padding;
border-color: @background-light;
}
#element.selected {
border-color: @accent;
}
element.active,
element.selected.urgent {
background-color: @on;
text-color: @background;
border-color: @on;
}
element.selected.urgent {
border-color: @accent;
}
element.urgent,
element.selected.active {
background-color: @off;
text-color: @background;
border-color: @off;
}
element.selected.active {
border-color: @accent;
}

52
.config/rofi/theme/askpass.rasi Executable file
View file

@ -0,0 +1,52 @@
/*
* by Siddharth Dushantha 2020
* A very minimal graphical helper for sudo's askpass.
*
* Preview: https://0x0.st/iu4y.png
*
* WARNING: This is by no means the most secure method
* to implement a graphical interface for askpass
*
* Put the code below in a location such as ~/bin/askpass-rofi
* #!/usr/bin/env bash
* rofi -dmenu\
* -password\
* -i\
* -no-fixed-num-lines\
* -p "Password:"\
* -theme ~/.config/rofi/themes/askpass.rasi
*
* Then the code below in your bashrc, zshrc, or something similar
* SUDO_ASKPASS=~/bin/askpass-rofi
*
*/
* {
background-color: #111116;
text-color: #D8DEE9;
font: "SF Mono 12";
}
#window {
/* Change the this according to your screen width */
width: 380px;
/* Change this value according to your screen height */
y-offset: -10%;
/* This padding is given just for aesthetic purposes */
padding: 40px;
}
#entry {
/*
* For some reason, without this option, a dash/hyphen appears
* at the end of the entry
*/
expand: true;
/* Keeping using 200px so that long passwords can be typed */
width: 200px;
}

View file

@ -0,0 +1,8 @@
* {
accent: #5294E2;
background: #FFFFFF;
background-light: #E7E8EB;
foreground: #333333;
on: #44ad4d;
off: #e34039;
}

View file

@ -0,0 +1,8 @@
* {
accent: #37b0ff;
background: #2f3640;
background-light: #434758;
foreground: #f5f6fa;
on: #2affb9;
off: #e84118;
}

39
.config/rofi/theme/prompt.rasi Executable file
View file

@ -0,0 +1,39 @@
/**
* This theme is intended for a 5 items wide menu on a 1920x1080 pixels resolution.
* You may have to tweak values such as the window padding if you have a different resolution.
*/
* {
font: "Ubuntu Nerd Font 45";
}
#window {
background-color: #353b48;
text-color: transparent;
width: 100%;
height: 35%;
padding: 43px 80px;
children: [ horibox ];
}
#prompt{
font: "Ubuntu Nerd Font 10";
}
#horibox {
background-color: transparent;
children: [ listview ];
}
#listview {
background-color: transparent;
layout: horizontal;
spacing: 50px;
margin: 0px;
lines: 8;
}
#element {
anchor: center;
text-color: #dcdde1;
padding: 60px 70px 55px -9px;
background-color: rgba(0,0,0,0.5);
}
#element.selected {
background-color: #00a8ff;
text-color: #f5f6fa;
}

135
.config/rofi/theme/sidebar.rasi Executable file
View file

@ -0,0 +1,135 @@
/**
* User: OG by deadguy, Modded by ZiRO
* Copyright: deadguy
*/
configuration {
modi: "drun,run,window";
display-drun: "Activate";
display-run: "Execute";
display-window: "Window";
show-icons: true;
icon-theme: "oomox-dark";
sidebar-mode: true;
}
* {
background-color: #2f3640;
text-color: #f5f6fa;
selbg: #00a8ff;
actbg: #0097e6;
urgbg: #e84118;
winbg: #f5f6fa;
selected-normal-foreground: @winbg;
normal-foreground: @text-color;
selected-normal-background: @actbg;
normal-background: @background-color;
selected-urgent-foreground: @background-color;
urgent-foreground: @text-color;
selected-urgent-background: @urgbg;
urgent-background: @background-color;
selected-active-foreground: @winbg;
active-foreground: @text-color;
selected-active-background: @actbg;
active-background: @selbg;
line-margin: 2;
line-padding: 2;
separator-style: "none";
hide-scrollbar: "true";
margin: 0;
padding: 0;
}
window {
location: west;
anchor: west;
height: 100%;
width: 22%;
orientation: horizontal;
children: [mainbox];
font: "Iosevka 10";
}
mainbox {
spacing: 0.8em;
children: [ entry,listview,mode-switcher ];
}
button { padding: 5px 2px; }
button selected {
background-color: @active-background;
text-color: @active-foreground;
}
inputbar {
padding: 5px;
spacing: 5px;
}
listview {
padding: 2px;
spacing: 0em;
dynamic: false;
cycle: true;
}
element { padding: 8px; }
entry {
expand: false;
text-color: @normal-foreground;
vertical-align: 1;
padding: 5px;
}
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: @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;
}