From 8361eae6018eecb70f188fe22d0308d5de11749c Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 17 Jun 2022 00:03:37 +0200 Subject: [PATCH] Rofi config --- alacritty/.config/alacritty/alacritty.yml | 27 +-- rofi/.config/rofi/config.rasi | 210 ++++++++++++++++++++++ rofi/.config/rofi/doomsidebar.rasi | 119 ++++++++++++ 3 files changed, 330 insertions(+), 26 deletions(-) create mode 100644 rofi/.config/rofi/config.rasi create mode 100644 rofi/.config/rofi/doomsidebar.rasi diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 847ca3a..e9fcd0f 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -65,35 +65,10 @@ font: # If `true`, bold text is drawn using the bright color variants. draw_bold_text_with_bright_colors: true -# Colors -#colors: -# primary: -# background: '0x272a34' -# foreground: '0xFFFFFF' -# normal: -# black: '0x1F2229' -# red: '0xEC0101' -# green: '0x47D4B9' -# yellow: '0xFF8A18' -# blue: '0x277FFF' -# magenta: '0xD71655' -# cyan: '0x05A1F7' -# white: '0xFFFFFF' -# bright: -# black: '0x1F2229' -# red: '0xD41919' -# green: '0x5EBDAB' -# yellow: '0xFEA44C' -# blue: '0x367bf0' -# magenta: '0xBF2E5D' -# cyan: '0x49AEE6' -# white: '0xFFFFFF' - -# Colors (Doom One) colors: # Default colors primary: - background: '0x282c34' + background: '0x272a34' foreground: '0xbbc2cf' # Normal colors diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi new file mode 100644 index 0000000..5d198fa --- /dev/null +++ b/rofi/.config/rofi/config.rasi @@ -0,0 +1,210 @@ +configuration { +/* modi: "window,run,ssh";*/ + font: "IBM Plex Mono 12"; +/* location: 0;*/ +/* yoffset: 0;*/ +/* xoffset: 0;*/ +/* fixed-num-lines: true;*/ +/* show-icons: false;*/ +/* terminal: "rofi-sensible-terminal";*/ +/* ssh-client: "ssh";*/ +/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ +/* run-command: "{cmd}";*/ +/* run-list-command: "";*/ +/* run-shell-command: "{terminal} -e {cmd}";*/ +/* window-command: "wmctrl -i -R {window}";*/ +/* window-match-fields: "all";*/ +/* icon-theme: ;*/ +/* drun-match-fields: "name,generic,exec,categories,keywords";*/ +/* drun-categories: ;*/ +/* drun-show-actions: false;*/ +/* drun-display-format: "{name} [({generic})]";*/ +/* drun-url-launcher: "xdg-open";*/ +/* disable-history: false;*/ +/* ignored-prefixes: "";*/ +/* sort: false;*/ +/* sorting-method: "normal";*/ +/* case-sensitive: false;*/ +/* cycle: true;*/ +/* sidebar-mode: false;*/ +/* hover-select: false;*/ +/* eh: 1;*/ +/* auto-select: false;*/ +/* parse-hosts: false;*/ +/* parse-known-hosts: true;*/ +/* combi-modi: "window,run";*/ +/* matching: "normal";*/ +/* tokenize: true;*/ +/* m: "-5";*/ +/* filter: ;*/ +/* dpi: -1;*/ +/* threads: 0;*/ +/* scroll-method: 0;*/ +/* window-format: "{w} {c} {t}";*/ +/* click-to-exit: true;*/ +/* max-history-size: 25;*/ +/* combi-hide-mode-prefix: false;*/ +/* combi-display-format: "{mode} {text}";*/ +/* matching-negate-char: '-' /* unsupported */;*/ +/* cache-dir: ;*/ +/* window-thumbnail: false;*/ +/* drun-use-desktop-cache: false;*/ +/* drun-reload-desktop-cache: false;*/ +/* normalize-match: false;*/ +/* steal-focus: false;*/ +/* application-fallback-icon: ;*/ +/* pid: "/run/user/1000/rofi.pid";*/ +/* display-window: ;*/ +/* display-windowcd: ;*/ +/* display-run: ;*/ +/* display-ssh: ;*/ +/* display-drun: ;*/ +/* display-combi: ;*/ +/* display-keys: ;*/ +/* display-filebrowser: ;*/ +/* 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-up: "Up,Control+p,ISO_Left_Tab";*/ +/* kb-row-down: "Down,Control+n";*/ +/* kb-row-tab: "Tab";*/ +/* 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";*/ + timeout { + action: "kb-cancel"; + delay: 0; + } + filebrowser { + directories-first: true; + sorting-method: "name"; + } + +} +* { + fnt: "IBM Plex Mono 12"; + + bg: #272a36; + bg-alt: #44475a; + fg: #f8f8f8; + blue: #6272a4; + purple: #bd93f0; + + background-color: @bg; + border: 0; + margin: 0; + padding: 0; + spacing: 0; +} + +element { + padding: 12; + text-color: @blue; +} + +element selected { + text-color: @purple; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +entry { + background-color: @blue; + padding: 12 0 12 3; + text-color: @fg; +} + +inputbar { + children: [prompt, entry]; +} + +listview { + columns: 1; + lines: 8; +} + +mainbox { + children: [inputbar, listview]; +} + +prompt { + background-color: @blue; + enabled: true; + font: @fnt; + padding: 12 0 0 12; + text-color: @fg; +} + +window { + transparency: "real"; + background-color: @bg; +} +@theme "/usr/share/rofi/themes/sidebar.rasi" diff --git a/rofi/.config/rofi/doomsidebar.rasi b/rofi/.config/rofi/doomsidebar.rasi new file mode 100644 index 0000000..0f9ae74 --- /dev/null +++ b/rofi/.config/rofi/doomsidebar.rasi @@ -0,0 +1,119 @@ +* { + text-color: #f6f6f6; + background-color: rgba(1,0,0,0); + dark: #282c34; + border-color: #1d1f21; + // Black + black: #272a34; + blackop: #272a34ef; + lightblack: #272a34; + // + // Red + red: #ff6c6b; + lightred: #ff6c6b; + // + // Green + green: #98be65; + lightgreen: #98be65; + // + // Yellow + yellow: #ecbe7b; + lightyellow: #ecbe7b; + // + // Blue + blue: #5f819d; + lightblue: #5f819d; + // + // Magenta + magenta: #c678dd; + lightmagenta: #c678dd; + // + // Cyan + cyan: #5f819d; + lightcyan: #5f819d; + // + // White + white: #bbc2cf; + lightwhite: #bbc2cf; + // + // Bold, Italic, Underline + highlight: bold #ffffff; +} +window { + height: 100%; + width: 30em; + location: west; + anchor: west; + text-color: @lightwhite; +} +mode-switcher { + border: 0px 0px 0px 0px; + background-color: @lightblack; + padding: 4px; +} +button selected { + border-color: @lightgreen; + text-color: @lightgreen; +} +inputbar { + background-color: @black; + text-color: @lightgreen; + padding: 5px; + height: 32px; +} +entry { +} +prompt { + margin: 0 0.4em 0 0; +} +mainbox { + expand: true; + background-color: @blackop; + spacing: 1em; +} +listview { + padding: 0em 0.4em 0em 1em; + dynamic: false; + lines: 0; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element { + padding: 4px; + border-radius: 2px; +} +element selected normal { + background-color: @blue; +} +element normal active { + text-color: @lightblue; +} +element normal urgent { + text-color: @lightred; +} +element alternate normal { +} +element alternate active { + text-color: @lightblue; +} +element alternate urgent { + text-color: @lightred; +} +element selected active { + background-color: @lightblue; + text-color: @dark; +} +element selected urgent { + background-color: @lightred; + text-color: @dark; +} +error-message { + expand: true; + background-color: @black; + text-color: #f00; + border-color: darkred; + border: 2px; + padding: 1em; +}