Update rofi config files to new format
This commit is contained in:
parent
11be25cc20
commit
97af03266a
|
@ -1,23 +0,0 @@
|
|||
! vim: set ft=xdefaults:
|
||||
! General settings
|
||||
rofi.levenshtein-sort: false
|
||||
rofi.matching: fuzzy
|
||||
rofi.modi: drun,ssh
|
||||
|
||||
! Styling
|
||||
rofi.color-window: #1d2021,#665c54
|
||||
rofi.color-normal: #1d2021,#665c54,#1d2021,#665c54,#1d2021
|
||||
rofi.bc: #1d2021
|
||||
rofi.location: 0
|
||||
rofi.lines: 10
|
||||
rofi.bw: 0
|
||||
rofi.hide-scrollbar: true
|
||||
rofi.font: Pragmata Pro 13
|
||||
rofi.separator-style: none
|
||||
rofi.show-icons: false
|
||||
|
||||
! Running
|
||||
rofi.terminal: terminator
|
||||
rofi.ssh-command: {terminal} -x "{ssh-client} {host}"
|
||||
rofi.run-command: {cmd}
|
||||
rofi.run-shell-command: {terminal} -c "{cmd}"
|
|
@ -0,0 +1,14 @@
|
|||
configuration {
|
||||
modi: "drun,ssh";
|
||||
fixed-num-lines: true;
|
||||
font: "Pragmata Pro 13";
|
||||
location: 0;
|
||||
show-icons: false;
|
||||
terminal: "terminator";
|
||||
ssh-command: "{terminal} -x "{ssh-client} {host}"";
|
||||
run-command: "{cmd}";
|
||||
run-shell-command: "{terminal} -c "{cmd}"";
|
||||
matching: "fuzzy";
|
||||
}
|
||||
|
||||
@import "gruvbox.rasi"
|
|
@ -0,0 +1,127 @@
|
|||
/* ==========================================================================
|
||||
File: gruvbox-common.rasi
|
||||
Desc: Shared rules between all gruvbox themes
|
||||
Author: bardisty <b@bah.im>
|
||||
Source: https://github.com/bardisty/gruvbox-rofi
|
||||
Modified: Mon Feb 12 2018 06:06:47 PST -0800
|
||||
========================================================================== */
|
||||
|
||||
window {
|
||||
background-color: @background;
|
||||
border: 2;
|
||||
padding: 2;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
message {
|
||||
border: 2px 0 0;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
highlight: @highlight;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
listview {
|
||||
border: 2px solid 0 0;
|
||||
padding: 2px 0 0;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px;
|
||||
scrollbar: @scrollbar;
|
||||
}
|
||||
|
||||
element {
|
||||
border: 0;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
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: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
|
||||
element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
|
||||
element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
width: 4px;
|
||||
border: 0;
|
||||
handle-color: @scrollbar-handle;
|
||||
handle-width: 8px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
sidebar {
|
||||
border: 2px 0 0;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 2px;
|
||||
children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
|
||||
}
|
||||
|
||||
case-indicator,
|
||||
entry,
|
||||
prompt,
|
||||
button {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
||||
button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
|
||||
textbox-prompt-sep {
|
||||
expand: false;
|
||||
str: ":";
|
||||
text-color: @normal-foreground;
|
||||
margin: 0 0.3em 0 0;
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
* {
|
||||
/* Theme settings */
|
||||
highlight: bold italic;
|
||||
scrollbar: false;
|
||||
|
||||
/* Gruvbox dark colors */
|
||||
gruvbox-dark-bg0-soft: #1d2021;
|
||||
gruvbox-dark-bg1: #3c3836;
|
||||
gruvbox-dark-fg0: #1d2021;
|
||||
gruvbox-dark-fg1: #665c54;
|
||||
gruvbox-dark-red-dark: #cc241d;
|
||||
gruvbox-dark-red-light: #fb4934;
|
||||
gruvbox-dark-yellow-dark: #d79921;
|
||||
gruvbox-dark-yellow-light: #fabd2f;
|
||||
gruvbox-dark-gray: #a89984;
|
||||
|
||||
/* Theme colors */
|
||||
background: @gruvbox-dark-bg0-soft;
|
||||
background-color: @background;
|
||||
foreground: @gruvbox-dark-fg1;
|
||||
border-color: @background;
|
||||
separatorcolor: @border-color;
|
||||
scrollbar-handle: @border-color;
|
||||
|
||||
normal-background: @background;
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: @background;
|
||||
alternate-normal-foreground: @foreground;
|
||||
selected-normal-background: @gruvbox-dark-fg1;
|
||||
selected-normal-foreground: @gruvbox-dark-fg0;
|
||||
|
||||
active-background: @gruvbox-dark-yellow-dark;
|
||||
active-foreground: @background;
|
||||
alternate-active-background: @active-background;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
selected-active-background: @gruvbox-dark-yellow-light;
|
||||
selected-active-foreground: @active-foreground;
|
||||
|
||||
urgent-background: @gruvbox-dark-red-dark;
|
||||
urgent-foreground: @background;
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
selected-urgent-background: @gruvbox-dark-red-light;
|
||||
selected-urgent-foreground: @urgent-foreground;
|
||||
}
|
||||
|
||||
@import "gruvbox-common.inc"
|
|
@ -212,6 +212,7 @@ function! UserConfig()
|
|||
|
||||
augroup filetypedetect
|
||||
autocmd BufNew,BufNewFile,BufRead *.network,*.netdev :setfiletype systemd
|
||||
autocmd BufNew,BufNewFile,BufRead *.rasi setf css
|
||||
augroup END
|
||||
|
||||
" Don't insert title into new files
|
||||
|
|
Loading…
Reference in New Issue