add rofi theme
This commit is contained in:
parent
70815b8e23
commit
f9477acba7
30 changed files with 447 additions and 1101 deletions
|
|
@ -13,11 +13,13 @@ hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager))
|
||||||
hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager2))
|
hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager2))
|
||||||
hl.bind("ALT + Q", hl.dsp.exec_cmd(terminal))
|
hl.bind("ALT + Q", hl.dsp.exec_cmd(terminal))
|
||||||
hl.bind("ALT + N", hl.dsp.exec_cmd("kitty -e nvim"))
|
hl.bind("ALT + N", hl.dsp.exec_cmd("kitty -e nvim"))
|
||||||
hl.bind("ALT + W", hl.dsp.exec_cmd(app_launcher))
|
|
||||||
hl.bind("ALT + F", hl.dsp.exec_cmd(browser))
|
hl.bind("ALT + F", hl.dsp.exec_cmd(browser))
|
||||||
hl.bind("ALT + Z", hl.dsp.exec_cmd("zotero"))
|
hl.bind("ALT + Z", hl.dsp.exec_cmd("zotero"))
|
||||||
hl.bind("ALT + T", hl.dsp.exec_cmd("thunderbird"))
|
hl.bind("ALT + T", hl.dsp.exec_cmd("thunderbird"))
|
||||||
|
-- rofi
|
||||||
|
hl.bind("ALT + W", hl.dsp.exec_cmd(rofi_launcher))
|
||||||
|
hl.bind("ALT + X", hl.dsp.exec_cmd(rofi_window))
|
||||||
|
hl.bind("ALT + C", hl.dsp.exec_cmd(rofi_file))
|
||||||
-- window management
|
-- window management
|
||||||
hl.bind("ALT + V", hl.dsp.window.float({ action = "toggle" }))
|
hl.bind("ALT + V", hl.dsp.window.float({ action = "toggle" }))
|
||||||
hl.bind("ALT + F4", hl.dsp.window.close())
|
hl.bind("ALT + F4", hl.dsp.window.close())
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,10 @@ menu = "wofi --show drun"
|
||||||
home = "/home/afoucaultc/"
|
home = "/home/afoucaultc/"
|
||||||
lockscreen = "hyprlock"
|
lockscreen = "hyprlock"
|
||||||
browser = "zen-beta"
|
browser = "zen-beta"
|
||||||
app_launcher = "~/.config/rofi/launchers/type-1/launcher.sh"
|
-- rofi_launcher = "rofi"
|
||||||
|
rofi_launcher = "rofi -show drun"
|
||||||
|
rofi_window = "rofi -show window"
|
||||||
|
rofi_file = "rofi -show filebrowser"
|
||||||
monitorA = "eDP-1"
|
monitorA = "eDP-1"
|
||||||
monitorB = "HDMI-A-1"
|
monitorB = "HDMI-A-1"
|
||||||
monitorC = "DP-2"
|
monitorC = "DP-2"
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #222D32FF;
|
|
||||||
background-alt: #29353BFF;
|
|
||||||
foreground: #B8C2C6FF;
|
|
||||||
selected: #00BCD4FF;
|
|
||||||
active: #21FF90FF;
|
|
||||||
urgent: #FF4B60FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2F343FFF;
|
|
||||||
background-alt: #383C4AFF;
|
|
||||||
foreground: #BAC5D0FF;
|
|
||||||
selected: #5294E2FF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000000FF;
|
|
||||||
background-alt: #101010FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #62AEEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1D2FFF;
|
|
||||||
background-alt: #282839FF;
|
|
||||||
foreground: #D9E0EEFF;
|
|
||||||
selected: #7AA2F7FF;
|
|
||||||
active: #ABE9B3FF;
|
|
||||||
urgent: #F28FADFF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000B1EFF;
|
|
||||||
background-alt: #0A1528FF;
|
|
||||||
foreground: #0ABDC6FF;
|
|
||||||
selected: #0ABDC6FF;
|
|
||||||
active: #00FF00FF;
|
|
||||||
urgent: #FF0000FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1F29FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #BD93F9FF;
|
|
||||||
active: #50FA7BFF;
|
|
||||||
urgent: #FF5555FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #323D43FF;
|
|
||||||
background-alt: #3C474DFF;
|
|
||||||
foreground: #DAD1BEFF;
|
|
||||||
selected: #7FBBB3FF;
|
|
||||||
active: #A7C080FF;
|
|
||||||
urgent: #E67E80FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #282828FF;
|
|
||||||
background-alt: #353535FF;
|
|
||||||
foreground: #EBDBB2FF;
|
|
||||||
selected: #83A598FF;
|
|
||||||
active: #B8BB26FF;
|
|
||||||
urgent: #FB4934FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1D1F28FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FDFDFDFF;
|
|
||||||
selected: #79E6F3FF;
|
|
||||||
active: #5ADECDFF;
|
|
||||||
urgent: #F37F97FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #021B21FF;
|
|
||||||
background-alt: #0C252BFF;
|
|
||||||
foreground: #F2F1B9FF;
|
|
||||||
selected: #44B5B1FF;
|
|
||||||
active: #7CBF9EFF;
|
|
||||||
urgent: #C2454EFF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2E3440FF;
|
|
||||||
background-alt: #383E4AFF;
|
|
||||||
foreground: #E5E9F0FF;
|
|
||||||
selected: #81A1C1FF;
|
|
||||||
active: #A3BE8CFF;
|
|
||||||
urgent: #BF616AFF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E2127FF;
|
|
||||||
background-alt: #282B31FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #61AFEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06C75FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F1F1F1FF;
|
|
||||||
background-alt: #E0E0E0FF;
|
|
||||||
foreground: #252525FF;
|
|
||||||
selected: #008EC4FF;
|
|
||||||
active: #10A778FF;
|
|
||||||
urgent: #C30771FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #002B36FF;
|
|
||||||
background-alt: #073642FF;
|
|
||||||
foreground: #EEE8D5FF;
|
|
||||||
selected: #268BD2FF;
|
|
||||||
active: #859900FF;
|
|
||||||
urgent: #DC322FFF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Levi Lacoss (fishyfishfish55)
|
|
||||||
* Github : @fishyfishfish55
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #15161EFF;
|
|
||||||
background-alt: #1A1B26FF;
|
|
||||||
foreground: #C0CAF5FF;
|
|
||||||
selected: #33467CFF;
|
|
||||||
active: #414868FF;
|
|
||||||
urgent: #F7768EFF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F5E7DEFF;
|
|
||||||
background-alt: #EBDCD2FF;
|
|
||||||
foreground: #34302DFF;
|
|
||||||
selected: #D97742FF;
|
|
||||||
active: #BF8F60FF;
|
|
||||||
urgent: #B23636FF;
|
|
||||||
}
|
|
||||||
|
|
@ -1,181 +1,30 @@
|
||||||
/**
|
configuration{
|
||||||
*
|
modi: ["drun", "window", "run", "filebrowser"];
|
||||||
* Author : Aditya Shakya (adi1090x)
|
icon-theme: "Papirus-Dark";
|
||||||
* Github : @adi1090x
|
show-icons: true;
|
||||||
*
|
terminal: "kitty";
|
||||||
* Configuration For Rofi Version: 1.7.3
|
drun-display-format: "{icon} {name}";
|
||||||
**/
|
location: 0;
|
||||||
|
disable-history: false;
|
||||||
|
sidebar-mode: false;
|
||||||
|
display-drun: " ";
|
||||||
|
display-run: " ";
|
||||||
|
display-filebrowser: " ";
|
||||||
|
display-window: " ";
|
||||||
|
|
||||||
configuration {
|
//adding vim keybindings
|
||||||
/*---------- General setting ----------*/
|
kb-row-up: "Up,Control+k";
|
||||||
modi: "drun,run,filebrowser,window";
|
kb-row-left: "Left,Control+h";
|
||||||
case-sensitive: false;
|
kb-row-right: "Right,Control+l";
|
||||||
cycle: true;
|
kb-row-down: "Down,Control+j";
|
||||||
filter: "";
|
|
||||||
scroll-method: 0;
|
|
||||||
normalize-match: true;
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
/* cache-dir: ;*/
|
|
||||||
steal-focus: false;
|
|
||||||
/* dpi: -1;*/
|
|
||||||
|
|
||||||
/*---------- Matching setting ----------*/
|
kb-accept-entry: "Control+z,Control+y,Return,KP_Enter";
|
||||||
matching: "normal";
|
|
||||||
tokenize: true;
|
|
||||||
|
|
||||||
/*---------- SSH settings ----------*/
|
//fixing up
|
||||||
ssh-client: "ssh";
|
kb-remove-to-eol: "";
|
||||||
ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";
|
kb-move-char-back: "Control+b";
|
||||||
parse-hosts: true;
|
kb-remove-char-back: "BackSpace";
|
||||||
parse-known-hosts: true;
|
kb-move-char-forward: "Control+f";
|
||||||
|
kb-mode-complete: "Control+o";
|
||||||
/*---------- Drun settings ----------*/
|
|
||||||
drun-categories: "";
|
|
||||||
drun-match-fields: "name,generic,exec,categories,keywords";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
drun-show-actions: false;
|
|
||||||
drun-url-launcher: "xdg-open";
|
|
||||||
drun-use-desktop-cache: false;
|
|
||||||
drun-reload-desktop-cache: false;
|
|
||||||
drun {
|
|
||||||
/** Parse user desktop files. */
|
|
||||||
parse-user: true;
|
|
||||||
/** Parse system desktop files. */
|
|
||||||
parse-system: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Run settings ----------*/
|
|
||||||
run-command: "{cmd}";
|
|
||||||
run-list-command: "";
|
|
||||||
run-shell-command: "{terminal} -e {cmd}";
|
|
||||||
|
|
||||||
/*---------- Fallback Icon ----------*/
|
|
||||||
run,drun {
|
|
||||||
fallback-icon: "application-x-addon";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Window switcher settings ----------*/
|
|
||||||
window-match-fields: "title,class,role,name,desktop";
|
|
||||||
window-command: "wmctrl -i -R {window}";
|
|
||||||
window-format: "{w} - {c} - {t:0}";
|
|
||||||
window-thumbnail: false;
|
|
||||||
|
|
||||||
/*---------- Combi settings ----------*/
|
|
||||||
/* combi-modi: "window,run";*/
|
|
||||||
/* combi-hide-mode-prefix: false;*/
|
|
||||||
/* combi-display-format: "{mode} {text}";*/
|
|
||||||
|
|
||||||
/*---------- History and Sorting ----------*/
|
|
||||||
disable-history: false;
|
|
||||||
sorting-method: "normal";
|
|
||||||
max-history-size: 25;
|
|
||||||
|
|
||||||
/*---------- Display setting ----------*/
|
|
||||||
display-window: "Windows";
|
|
||||||
display-windowcd: "Window CD";
|
|
||||||
display-run: "Run";
|
|
||||||
display-ssh: "SSH";
|
|
||||||
display-drun: "Apps";
|
|
||||||
display-combi: "Combi";
|
|
||||||
display-keys: "Keys";
|
|
||||||
display-filebrowser: "Files";
|
|
||||||
|
|
||||||
/*---------- Misc setting ----------*/
|
|
||||||
terminal: "rofi-sensible-terminal";
|
|
||||||
font: "Mono 12";
|
|
||||||
sort: false;
|
|
||||||
threads: 0;
|
|
||||||
click-to-exit: true;
|
|
||||||
/* ignored-prefixes: "";*/
|
|
||||||
/* pid: "/run/user/1000/rofi.pid";*/
|
|
||||||
|
|
||||||
/*---------- File browser settings ----------*/
|
|
||||||
filebrowser {
|
|
||||||
/* directory: "/home";*/
|
|
||||||
directories-first: true;
|
|
||||||
sorting-method: "name";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Other settings ----------*/
|
|
||||||
timeout {
|
|
||||||
action: "kb-cancel";
|
|
||||||
delay: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Keybindings ----------*/
|
|
||||||
/*
|
|
||||||
kb-primary-paste: "Control+V,Shift+Insert";
|
|
||||||
kb-secondary-paste: "Control+v,Insert";
|
|
||||||
kb-clear-line: "Control+w";
|
|
||||||
kb-move-front: "Control+a";
|
|
||||||
kb-move-end: "Control+e";
|
|
||||||
kb-move-word-back: "Alt+b,Control+Left";
|
|
||||||
kb-move-word-forward: "Alt+f,Control+Right";
|
|
||||||
kb-move-char-back: "Left,Control+b";
|
|
||||||
kb-move-char-forward: "Right,Control+f";
|
|
||||||
kb-remove-word-back: "Control+Alt+h,Control+BackSpace";
|
|
||||||
kb-remove-word-forward: "Control+Alt+d";
|
|
||||||
kb-remove-char-forward: "Delete,Control+d";
|
|
||||||
kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";
|
|
||||||
kb-remove-to-eol: "Control+k";
|
|
||||||
kb-remove-to-sol: "Control+u";
|
|
||||||
kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";
|
|
||||||
kb-accept-custom: "Control+Return";
|
|
||||||
kb-accept-custom-alt: "Control+Shift+Return";
|
|
||||||
kb-accept-alt: "Shift+Return";
|
|
||||||
kb-delete-entry: "Shift+Delete";
|
|
||||||
kb-mode-next: "Shift+Right,Control+Tab";
|
|
||||||
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";
|
|
||||||
kb-mode-complete: "Control+l";
|
|
||||||
kb-row-left: "Control+Page_Up";
|
|
||||||
kb-row-right: "Control+Page_Down";
|
|
||||||
kb-row-down: "Down,Control+n";
|
|
||||||
kb-page-prev: "Page_Up";
|
|
||||||
kb-page-next: "Page_Down";
|
|
||||||
kb-row-first: "Home,KP_Home";
|
|
||||||
kb-row-last: "End,KP_End";
|
|
||||||
kb-row-select: "Control+space";
|
|
||||||
kb-screenshot: "Alt+S";
|
|
||||||
kb-ellipsize: "Alt+period";
|
|
||||||
kb-toggle-case-sensitivity: "grave,dead_grave";
|
|
||||||
kb-toggle-sort: "Alt+grave";
|
|
||||||
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
|
||||||
kb-custom-1: "Alt+1";
|
|
||||||
kb-custom-2: "Alt+2";
|
|
||||||
kb-custom-3: "Alt+3";
|
|
||||||
kb-custom-4: "Alt+4";
|
|
||||||
kb-custom-5: "Alt+5";
|
|
||||||
kb-custom-6: "Alt+6";
|
|
||||||
kb-custom-7: "Alt+7";
|
|
||||||
kb-custom-8: "Alt+8";
|
|
||||||
kb-custom-9: "Alt+9";
|
|
||||||
kb-custom-10: "Alt+0";
|
|
||||||
kb-custom-11: "Alt+exclam";
|
|
||||||
kb-custom-12: "Alt+at";
|
|
||||||
kb-custom-13: "Alt+numbersign";
|
|
||||||
kb-custom-14: "Alt+dollar";
|
|
||||||
kb-custom-15: "Alt+percent";
|
|
||||||
kb-custom-16: "Alt+dead_circumflex";
|
|
||||||
kb-custom-17: "Alt+ampersand";
|
|
||||||
kb-custom-18: "Alt+asterisk";
|
|
||||||
kb-custom-19: "Alt+parenleft";
|
|
||||||
kb-select-1: "Super+1";
|
|
||||||
kb-select-2: "Super+2";
|
|
||||||
kb-select-3: "Super+3";
|
|
||||||
kb-select-4: "Super+4";
|
|
||||||
kb-select-5: "Super+5";
|
|
||||||
kb-select-6: "Super+6";
|
|
||||||
kb-select-7: "Super+7";
|
|
||||||
kb-select-8: "Super+8";
|
|
||||||
kb-select-9: "Super+9";
|
|
||||||
kb-select-10: "Super+0";
|
|
||||||
ml-row-left: "ScrollLeft";
|
|
||||||
ml-row-right: "ScrollRight";
|
|
||||||
ml-row-up: "ScrollUp";
|
|
||||||
ml-row-down: "ScrollDown";
|
|
||||||
me-select-entry: "MousePrimary";
|
|
||||||
me-accept-entry: "MouseDPrimary";
|
|
||||||
me-accept-custom: "Control+MouseDPrimary";
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
@theme "~/.config/rofi/tokyonight_big2.rasi"
|
||||||
|
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
|
||||||
#
|
|
||||||
## Available Styles
|
|
||||||
#
|
|
||||||
## style-1 style-2 style-3 style-4 style-5
|
|
||||||
## style-6 style-7 style-8 style-9 style-10
|
|
||||||
## style-11 style-12 style-13 style-14 style-15
|
|
||||||
|
|
||||||
dir="$HOME/.config/rofi/launchers/type-1"
|
|
||||||
theme='style-7'
|
|
||||||
|
|
||||||
## Run
|
|
||||||
rofi \
|
|
||||||
-show drun \
|
|
||||||
-theme ${dir}/${theme}.rasi
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/onedark.rasi"
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
|
|
@ -1,313 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "mode-switcher", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px 0px 10px 0px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px 2px 2px 2px ;
|
|
||||||
border-radius: 0px 0px 10px 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 6px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 6px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px 0px 2px 0px ;
|
|
||||||
border-radius: 10px 10px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
border: 2px 2px 0px 2px ;
|
|
||||||
border-radius: 10px 10px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px 0px 10px 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
|
|
@ -1,110 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Rofi : Power Menu
|
|
||||||
#
|
|
||||||
## Available Styles
|
|
||||||
#
|
|
||||||
## style-1 styles-2 style-3 style-4 style-5
|
|
||||||
|
|
||||||
# Current Theme
|
|
||||||
dir="$HOME/.config/rofi/powermenu/type-1"
|
|
||||||
theme='style-2'
|
|
||||||
|
|
||||||
# CMDs
|
|
||||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
|
||||||
host=`hostname`
|
|
||||||
|
|
||||||
# Options
|
|
||||||
shutdown='⏻ Shutdown'
|
|
||||||
reboot=' Reboot'
|
|
||||||
lock=' Lock'
|
|
||||||
suspend=' Suspend'
|
|
||||||
logout=' Logout'
|
|
||||||
yes=' Yes'
|
|
||||||
no=' No'
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -dmenu \
|
|
||||||
-p "$host" \
|
|
||||||
-mesg "Uptime: $uptime" \
|
|
||||||
-theme ${dir}/${theme}.rasi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirmation CMD
|
|
||||||
confirm_cmd() {
|
|
||||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \
|
|
||||||
-theme-str 'mainbox {children: [ "message", "listview" ];}' \
|
|
||||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
|
||||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
|
||||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
|
||||||
-dmenu \
|
|
||||||
-p 'Confirmation' \
|
|
||||||
-mesg 'Are you Sure?' \
|
|
||||||
-theme ${dir}/${theme}.rasi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Ask for confirmation
|
|
||||||
confirm_exit() {
|
|
||||||
echo -e "$yes\n$no" | confirm_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
selected="$(confirm_exit)"
|
|
||||||
if [[ "$selected" == "$yes" ]]; then
|
|
||||||
if [[ $1 == '--shutdown' ]]; then
|
|
||||||
systemctl poweroff
|
|
||||||
elif [[ $1 == '--reboot' ]]; then
|
|
||||||
systemctl reboot
|
|
||||||
elif [[ $1 == '--suspend' ]]; then
|
|
||||||
mpc -q pause
|
|
||||||
amixer set Master mute
|
|
||||||
systemctl suspend
|
|
||||||
elif [[ $1 == '--logout' ]]; then
|
|
||||||
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
|
|
||||||
openbox --exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
|
|
||||||
bspc quit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
|
|
||||||
i3-msg exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
|
||||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$shutdown)
|
|
||||||
run_cmd --shutdown
|
|
||||||
;;
|
|
||||||
$reboot)
|
|
||||||
run_cmd --reboot
|
|
||||||
;;
|
|
||||||
$lock)
|
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
|
||||||
betterlockscreen -l
|
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
|
||||||
i3lock
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
$suspend)
|
|
||||||
run_cmd --suspend
|
|
||||||
;;
|
|
||||||
$logout)
|
|
||||||
run_cmd --logout
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/onedark.rasi"
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
|
|
@ -1,161 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 500px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 12px 16px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 12px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
placeholder-color: @foreground;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 5;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
138
dotfiles/rofi/tokyonight.rasi
Normal file
138
dotfiles/rofi/tokyonight.rasi
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
/*
|
||||||
|
* Tokyonight colorscheme for rofi
|
||||||
|
* User: w8ste
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// define colors etc.
|
||||||
|
* {
|
||||||
|
bg: #24283b;
|
||||||
|
hv: #9274ca;
|
||||||
|
primary: #C5C8C6;
|
||||||
|
ug: #0B2447;
|
||||||
|
font: "Monospace 11";
|
||||||
|
background-color: @bg;
|
||||||
|
//dark: @bg;
|
||||||
|
border: 0px;
|
||||||
|
kl: #7aa2f7;
|
||||||
|
black: #000000;
|
||||||
|
|
||||||
|
transparent: rgba(46,52,64,0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// defines different aspects of the window
|
||||||
|
window {
|
||||||
|
width: 700;
|
||||||
|
/*since line wont work with height, i comment it out
|
||||||
|
if you rather control the size via height
|
||||||
|
just comment it out */
|
||||||
|
//height: 500;
|
||||||
|
|
||||||
|
orientation: horizontal;
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
transparency: "screenshot";
|
||||||
|
border-color: @primary;
|
||||||
|
border: 3px;
|
||||||
|
border-radius: 6px;
|
||||||
|
spacing: 0;
|
||||||
|
children: [ mainbox ];
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
spacing: 0;
|
||||||
|
children: [ inputbar, message, listview ];
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
color: @kl;
|
||||||
|
padding: 11px;
|
||||||
|
border: 0 0 2px 0;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
color: @kl;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry, prompt, case-indicator {
|
||||||
|
text-font: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
margin: 0px 5px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
layout: vertical;
|
||||||
|
//spacing: 5px;
|
||||||
|
padding: 8px;
|
||||||
|
lines: 12;
|
||||||
|
columns: 1;
|
||||||
|
dynamic: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 2px;
|
||||||
|
vertical-align: 1;
|
||||||
|
color: @kl;
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
color: @black;
|
||||||
|
background-color: @hv;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal active {
|
||||||
|
background-color: @hv;
|
||||||
|
color: @black;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text, element-icon {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal urgent {
|
||||||
|
background-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected active {
|
||||||
|
background: @hv;
|
||||||
|
foreground: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 6px;
|
||||||
|
color: @primary;
|
||||||
|
horizonatal-align: 0.5;
|
||||||
|
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-radius: 4px 0px 0px 4px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected normal {
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollbar {
|
||||||
|
enabled: true;
|
||||||
|
}
|
||||||
137
dotfiles/rofi/tokyonight_big1.rasi
Normal file
137
dotfiles/rofi/tokyonight_big1.rasi
Normal file
|
|
@ -0,0 +1,137 @@
|
||||||
|
/*
|
||||||
|
* Tokyonight colorscheme (big icons) for rofi
|
||||||
|
* User: w8ste
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// define colors etc.
|
||||||
|
* {
|
||||||
|
bg: #24283b;
|
||||||
|
hv: #9274ca;
|
||||||
|
primary: #C5C8C6;
|
||||||
|
ug: #0B2447;
|
||||||
|
font: "Monospace 11";
|
||||||
|
background-color: @bg;
|
||||||
|
//dark: @bg;
|
||||||
|
border: 0px;
|
||||||
|
kl: #7aa2f7;
|
||||||
|
black: #000000;
|
||||||
|
|
||||||
|
transparent: rgba(46,52,64,0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// defines different aspects of the window
|
||||||
|
window {
|
||||||
|
width: 700;
|
||||||
|
/*since line wont work with height, i comment it out
|
||||||
|
if you rather control the size via height
|
||||||
|
just comment it out */
|
||||||
|
//height: 500;
|
||||||
|
|
||||||
|
orientation: horizontal;
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
transparency: "screenshot";
|
||||||
|
border-color: @transparent;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 6px;
|
||||||
|
spacing: 0;
|
||||||
|
children: [ mainbox ];
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
spacing: 0;
|
||||||
|
children: [ inputbar, message, listview ];
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
color: @kl;
|
||||||
|
padding: 11px;
|
||||||
|
border: 3px 3px 2px 3px;
|
||||||
|
border-color: @primary;
|
||||||
|
border-radius: 6px 6px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 0;
|
||||||
|
border-color: @primary;
|
||||||
|
border: 0px 1px 1px 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry, prompt, case-indicator {
|
||||||
|
text-font: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
margin: 0px 5px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
layout: vertical;
|
||||||
|
//spacing: 5px;
|
||||||
|
padding: 8px;
|
||||||
|
lines: 7;
|
||||||
|
columns: 1;
|
||||||
|
border: 0px 3px 3px 3px;
|
||||||
|
border-radius: 0px 0px 6px 6px;
|
||||||
|
border-color: @primary;
|
||||||
|
dynamic: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 2px;
|
||||||
|
vertical-align: 1;
|
||||||
|
color: @kl;
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
color: @black;
|
||||||
|
background-color: @hv;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal active {
|
||||||
|
background-color: @hv;
|
||||||
|
color: @black;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal urgent {
|
||||||
|
background-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected active {
|
||||||
|
background: @hv;
|
||||||
|
foreground: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 6px;
|
||||||
|
color: @primary;
|
||||||
|
horizonatal-align: 0.5;
|
||||||
|
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-radius: 4px 0px 0px 4px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected normal {
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
137
dotfiles/rofi/tokyonight_big2.rasi
Normal file
137
dotfiles/rofi/tokyonight_big2.rasi
Normal file
|
|
@ -0,0 +1,137 @@
|
||||||
|
/*
|
||||||
|
* Tokyonight colorscheme (big icons) for rofi
|
||||||
|
* User: w8ste
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// define colors etc.
|
||||||
|
* {
|
||||||
|
bg: #24283b;
|
||||||
|
hv: #9274ca;
|
||||||
|
primary: #C5C8C6;
|
||||||
|
ug: #0B2447;
|
||||||
|
font: "Monospace 11";
|
||||||
|
background-color: @bg;
|
||||||
|
//dark: @bg;
|
||||||
|
border: 0px;
|
||||||
|
kl: #7aa2f7;
|
||||||
|
black: #000000;
|
||||||
|
|
||||||
|
transparent: rgba(46,52,64,0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// defines different aspects of the window
|
||||||
|
window {
|
||||||
|
width: 700;
|
||||||
|
/*since line wont work with height, i comment it out
|
||||||
|
if you rather control the size via height
|
||||||
|
just comment it out */
|
||||||
|
//height: 500;
|
||||||
|
|
||||||
|
orientation: horizontal;
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
transparency: "screenshot";
|
||||||
|
border-color: @transparent;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 6px;
|
||||||
|
spacing: 0;
|
||||||
|
children: [ mainbox ];
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
spacing: 0;
|
||||||
|
children: [ inputbar, message, listview ];
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
color: @kl;
|
||||||
|
padding: 11px;
|
||||||
|
border: 3px 3px 2px 3px;
|
||||||
|
border-color: @primary;
|
||||||
|
border-radius: 6px 6px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 0;
|
||||||
|
border-color: @primary;
|
||||||
|
border: 0px 1px 1px 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry, prompt, case-indicator {
|
||||||
|
text-font: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
margin: 0px 5px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
layout: vertical;
|
||||||
|
//spacing: 5px;
|
||||||
|
padding: 8px;
|
||||||
|
lines: 7;
|
||||||
|
columns: 2;
|
||||||
|
border: 0px 3px 3px 3px;
|
||||||
|
border-radius: 0px 0px 6px 6px;
|
||||||
|
border-color: @primary;
|
||||||
|
dynamic: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 2px;
|
||||||
|
vertical-align: 1;
|
||||||
|
color: @kl;
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
color: @black;
|
||||||
|
background-color: @hv;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal active {
|
||||||
|
background-color: @hv;
|
||||||
|
color: @black;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal urgent {
|
||||||
|
background-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected active {
|
||||||
|
background: @hv;
|
||||||
|
foreground: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 6px;
|
||||||
|
color: @primary;
|
||||||
|
horizonatal-align: 0.5;
|
||||||
|
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-radius: 4px 0px 0px 4px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected normal {
|
||||||
|
border: 2px 0px 2px 2px;
|
||||||
|
border-color: @primary;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue