aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-02-22 21:21:39 -0500
committertdro <tdro@users.noreply.github.com>2022-02-22 22:19:32 -0500
commitfc927568751efa4c4a420c69ba53ad44f715231a (patch)
treed1896daad4b2328a6afbb630e3e12d75be3c2082
parent576fadaebf8136186df68dd92916a918864d29f4 (diff)
downloaddotfiles-fc927568751efa4c4a420c69ba53ad44f715231a.tar.gz
dotfiles-fc927568751efa4c4a420c69ba53ad44f715231a.tar.bz2
dotfiles-fc927568751efa4c4a420c69ba53ad44f715231a.zip
.config/rofi: Dump and use old theme
Rofi version 1.7.0 deprecates old theme configuration. rofi -dump-config > theme.rasi
-rw-r--r--.config/rofi/config.rasi24
-rw-r--r--.config/rofi/theme.rasi168
-rw-r--r--.vimrc1
3 files changed, 180 insertions, 13 deletions
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
index ffb93d1..b4b8fea 100644
--- a/.config/rofi/config.rasi
+++ b/.config/rofi/config.rasi
@@ -1,15 +1,13 @@
configuration {
- bw: 0;
- disable-history: false;
- separator-style: "none";
- hide-scrollbar: true;
- fake-transparency: false;
- color-normal: "argb:00000000, #FFFFFF, argb:00000000, #FAC863, #1B2B34";
- color-urgent: "argb:00000000, #F99157, argb:00000000, #F99157, #1B2B34";
- color-active: "argb:00000000, #FFFFFF, argb:00000000, #6699CC, #1B2B34";
- color-window: "argb:cc222222, #FAC863, #FAC863";
- kb-remove-to-eol: "";
- kb-row-up: "Up,Control+k";
- kb-row-down: "Down,Control+j";
- kb-accept-entry: "Control+m,Return,KP_Enter";
+ bw: 0;
+ kb-remove-to-eol: "";
+ hide-scrollbar: true;
+ disable-history: false;
+ fake-transparency: false;
+ separator-style: "none";
+ kb-row-up: "Up,Control+k";
+ kb-row-down: "Down,Control+j";
+ kb-accept-entry: "Control+m,Return,KP_Enter";
}
+
+@theme "theme"
diff --git a/.config/rofi/theme.rasi b/.config/rofi/theme.rasi
new file mode 100644
index 0000000..8869f36
--- /dev/null
+++ b/.config/rofi/theme.rasi
@@ -0,0 +1,168 @@
+* {
+ red: rgba (220, 50, 47, 100 %);
+ selected-active-foreground: rgba (27, 43, 52, 100 %);
+ lightfg: rgba (88, 104, 117, 100 %);
+ separatorcolor: rgba (250, 200, 99, 100 %);
+ urgent-foreground: rgba (249, 145, 87, 100 %);
+ alternate-urgent-background: rgba (0, 0, 0, 0 %);
+ lightbg: rgba (238, 232, 213, 100 %);
+ background-color: rgba (0, 0, 0, 0 %);
+ border-color: rgba (250, 200, 99, 100 %);
+ normal-background: rgba (0, 0, 0, 0 %);
+ selected-urgent-background: rgba (249, 145, 87, 100 %);
+ alternate-active-background: rgba (0, 0, 0, 0 %);
+ spacing: 2;
+ blue: rgba (38, 139, 210, 100 %);
+ alternate-normal-foreground: var(foreground);
+ urgent-background: rgba (0, 0, 0, 0 %);
+ selected-normal-foreground: rgba (27, 43, 52, 100 %);
+ active-foreground: rgba (255, 255, 255, 100 %);
+ background: rgba (34, 34, 34, 80 %);
+ selected-active-background: rgba (102, 153, 204, 100 %);
+ active-background: rgba (0, 0, 0, 0 %);
+ selected-normal-background: rgba (250, 200, 99, 100 %);
+ alternate-normal-background: rgba (0, 0, 0, 0 %);
+ foreground: rgba (255, 255, 255, 100 %);
+ selected-urgent-foreground: rgba (27, 43, 52, 100 %);
+ normal-foreground: var(foreground);
+ alternate-urgent-foreground: var(urgent-foreground);
+ alternate-active-foreground: var(active-foreground);
+}
+element {
+ padding: 1px;
+ spacing: 5px;
+ border: 0;
+}
+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-text {
+ background-color: rgba (0, 0, 0, 0 %);
+ highlight: inherit;
+ text-color: inherit;
+}
+element-icon {
+ background-color: rgba (0, 0, 0, 0 %);
+ size: 1em;
+ text-color: inherit;
+}
+window {
+ padding: 15;
+ background-color: var(background);
+ border: 1px;
+}
+mainbox {
+ padding: 0;
+ border: 0;
+}
+message {
+ padding: 1px;
+ border-color: var(separatorcolor);
+ border: 0;
+}
+textbox {
+ text-color: var(foreground);
+}
+listview {
+ padding: 2px 0 0;
+ scrollbar: false;
+ border-color: var(separatorcolor);
+ spacing: 2px;
+ fixed-height: 0;
+ border: 0;
+}
+scrollbar {
+ width: 4px;
+ padding: 0;
+ handle-width: 8px;
+ border: 0;
+ handle-color: var(normal-foreground);
+}
+sidebar {
+ border-color: var(separatorcolor);
+ border: 2px dash 0 0;
+}
+button {
+ spacing: 0;
+ text-color: var(normal-foreground);
+}
+button selected {
+ background-color: var(selected-normal-background);
+ text-color: var(selected-normal-foreground);
+}
+num-filtered-rows {
+ expand: false;
+ text-color: rgba (128, 128, 128, 100 %);
+}
+num-rows {
+ expand: false;
+ text-color: rgba (128, 128, 128, 100 %);
+}
+textbox-num-sep {
+ expand: false;
+ str: "/";
+ text-color: rgba (128, 128, 128, 100 %);
+}
+inputbar {
+ padding: 1px;
+ spacing: 0;
+ text-color: var(normal-foreground);
+ children: [ prompt, textbox-prompt-colon, entry, num-filtered-rows,
+ textbox-num-sep, num-rows, case-indicator ];
+}
+case-indicator {
+ spacing: 0;
+ text-color: var(normal-foreground);
+}
+entry {
+ text-color: var(normal-foreground);
+ spacing: 0;
+ placeholder-color: rgba (128, 128, 128, 100 %);
+ placeholder: "Type to filter";
+}
+prompt {
+ spacing: 0;
+ text-color: var(normal-foreground);
+}
+textbox-prompt-colon {
+ margin: 0 0.3em 0em 0em;
+ expand: false;
+ str: ":";
+ text-color: inherit;
+}
+mode-switcher {
+ border: 0;
+}
diff --git a/.vimrc b/.vimrc
index 90da095..bddb341 100644
--- a/.vimrc
+++ b/.vimrc
@@ -331,6 +331,7 @@ augroup AutoCommands
" Set file types.
autocmd BufRead,BufNewFile *.nims set filetype=nim
+ autocmd BufRead,BufNewFile *.rasi set filetype=css
" Clear notification on cursor movement.
autocmd CursorMoved * silent! call popup_clear()