From 36644e1ee58c00db3942c6039df7f2c737fbb950 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Thu, 4 Nov 2021 21:32:03 +0100 Subject: Fix rofi config for newer versions --- rofi/.config/rofi/config.rasi | 63 +--------------- rofi/.config/rofi/theme.rasi | 171 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 173 insertions(+), 61 deletions(-) create mode 100644 rofi/.config/rofi/theme.rasi diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index ae36e8d..30fd2cc 100755 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -1,70 +1,11 @@ configuration { -/* modi: "window,run,ssh";*/ - width: -64; - lines: 16; -/* columns: 1;*/ font: "Hack 12"; - bw: 0; -/* location: 0;*/ - padding: 5; -/* yoffset: 0;*/ -/* xoffset: 0;*/ -/* fixed-num-lines: true;*/ show-icons: true; terminal: "alacritty"; -/* ssh-client: "ssh";*/ -/* ssh-command: "{terminal} -e {ssh-client} {host}";*/ -/* run-command: "{cmd}";*/ -/* run-list-command: "";*/ -/* run-shell-command: "{terminal} -e {cmd}";*/ -/* window-command: "xkill -id {window}";*/ -/* window-match-fields: "all";*/ -// backlight: #ccffeedd; -// background-color: transparent; -// drun-icon-theme: "breath"; -/* drun-match-fields: "name,generic,exec,categories";*/ -/* disable-history: false;*/ -/* sort: false;*/ -/* levenshtein-sort: false;*/ -/* case-sensitive: false;*/ -/* cycle: true;*/ -/* sidebar-mode: false;*/ -// eh: 1; -/* auto-select: false;*/ -/* parse-hosts: false;*/ -/* parse-known-hosts: true;*/ -/* combi-modi: "window,run";*/ matching: "fuzzy"; -/* tokenize: true;*/ -/* m: "-5";*/ - line-margin: 3; -/* line-padding: 1;*/ -/* filter: ;*/ - separator-style: "solid"; -/* hide-scrollbar: false;*/ -/* fullscreen: false;*/ -/* fake-transparency: false;*/ -/* dpi: 100;*/ threads: 0; - scrollbar-width: 5; -/* scroll-method: 0;*/ -/* fake-background: "screenshot";*/ -/* window-format: "{w} {i}{c} {t}";*/ -/* click-to-exit: true;*/ -/* show-match: true;*/ -// theme: "/usr/share/rofi/themes/Adapta-Nokto.rasi"; - color-normal: "argb:a5333333, #ffffff, argb:a5262626, argb:a55fafff, #ffffff"; -/* color-urgent: ;*/ -/* color-active: ;*/ - color-window: "argb:a5222222, #3a3a3a, #5fafff"; -/* max-history-size: 25;*/ -/* combi-hide-mode-prefix: false;*/ -/* pid: "/run/user/1000/rofi.pid";*/ -/* display-window: ;*/ -/* display-windowcd: ;*/ display-run: "run"; display-ssh: "ssh"; -/* display-drun: ;*/ -/* display-combi: ;*/ -/* display-keys: ;*/ } + +@import "theme" diff --git a/rofi/.config/rofi/theme.rasi b/rofi/.config/rofi/theme.rasi new file mode 100644 index 0000000..8e797e2 --- /dev/null +++ b/rofi/.config/rofi/theme.rasi @@ -0,0 +1,171 @@ +/** + * rofi -dump-theme output. + * Rofi version: 1.6.1 + **/ +* { + red: rgba ( 220, 50, 47, 100 % ); + selected-active-foreground: var(background); + lightfg: rgba ( 88, 104, 117, 100 % ); + separatorcolor: rgba ( 95, 175, 255, 100 % ); + urgent-foreground: var(red); + alternate-urgent-background: var(lightbg); + lightbg: rgba ( 238, 232, 213, 100 % ); + background-color: rgba ( 0, 0, 0, 0 % ); + border-color: rgba ( 58, 58, 58, 100 % ); + normal-background: rgba ( 51, 51, 51, 65 % ); + selected-urgent-background: var(red); + alternate-active-background: var(lightbg); + spacing: 2; + blue: rgba ( 38, 139, 210, 100 % ); + alternate-normal-foreground: var(foreground); + urgent-background: var(background); + selected-normal-foreground: rgba ( 255, 255, 255, 100 % ); + active-foreground: var(blue); + background: rgba ( 34, 34, 34, 65 % ); + selected-active-background: var(blue); + active-background: var(background); + selected-normal-background: rgba ( 95, 175, 255, 65 % ); + alternate-normal-background: rgba ( 38, 38, 38, 65 % ); + foreground: rgba ( 255, 255, 255, 100 % ); + selected-urgent-foreground: var(background); + normal-foreground: var(foreground); + alternate-urgent-foreground: var(red); + alternate-active-foreground: var(blue); +} +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: 1.0000em ; + text-color: inherit; +} +window { + padding: 5; + background-color: var(background); + border: 0; +} +mainbox { + padding: 0; + border: 0; +} +message { + padding: 1px ; + border-color: var(separatorcolor); + border: 2px 0px 0px ; +} +textbox { + text-color: var(foreground); +} +listview { + padding: 2px 0px 0px ; + scrollbar: true; + border-color: var(separatorcolor); + spacing: 3px ; + fixed-height: 0; + border: 2px 0px 0px ; +} +scrollbar { + width: 4px ; + padding: 0; + handle-width: 5px ; + border: 0; + handle-color: var(normal-foreground); +} +sidebar { + border-color: var(separatorcolor); + border: 2px dash 0px 0px ; +} +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: 0px ; + 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: 0px 0.3000em 0.0000em 0.0000em ; + expand: false; + str: ":"; + text-color: inherit; +} +mode-switcher { + border: 2px 0px 0px ; +} -- cgit v1.2.3