From d892db0826b4dbd49e90867e1dc35e9d4536d8ff Mon Sep 17 00:00:00 2001 From: therbron Date: Thu, 16 Jul 2020 13:55:22 +0200 Subject: [PATCH] Update rofi configs --- .config/i3/config | 2 +- .config/rofi/bak.config | 9 -- .config/rofi/config.rasi | 96 +++++++++++++++++- .config/rofi/themes/backlight.rasi | 139 -------------------------- .config/rofi/themes/battery.rasi | 135 ------------------------- .config/rofi/themes/colors.rasi | 9 -- .config/rofi/themes/drun.rasi | 149 ---------------------------- .config/rofi/themes/screenshot.rasi | 126 ----------------------- .config/rofi/themes/volume.rasi | 126 ----------------------- .config/rofi/themes/window.rasi | 130 ------------------------ 10 files changed, 92 insertions(+), 829 deletions(-) delete mode 100644 .config/rofi/bak.config delete mode 100644 .config/rofi/themes/backlight.rasi delete mode 100644 .config/rofi/themes/battery.rasi delete mode 100644 .config/rofi/themes/colors.rasi delete mode 100644 .config/rofi/themes/drun.rasi delete mode 100644 .config/rofi/themes/screenshot.rasi delete mode 100644 .config/rofi/themes/volume.rasi delete mode 100644 .config/rofi/themes/window.rasi diff --git a/.config/i3/config b/.config/i3/config index 81a60ac..3452b40 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -93,7 +93,7 @@ bindsym $mod+Return exec /usr/bin/alacritty ## Launch // Browser // <> Enter ## bindsym $mod+Shift+Return exec gtk-launch $(xdg-settings get default-web-browser) -set_from_resource $rofiTheme rofi.theme /etc/regolith/styles/lascaille/rofi.rasi +set_from_resource $rofiTheme rofi.theme ~/.config/rofi/config.rasi ## Launch // Application // <> Space ## set_from_resource $i3-wm.program.launcher.app i3-wm.program.launcher.app rofi -show drun -theme $rofiTheme diff --git a/.config/rofi/bak.config b/.config/rofi/bak.config deleted file mode 100644 index cb25950..0000000 --- a/.config/rofi/bak.config +++ /dev/null @@ -1,9 +0,0 @@ -rofi.font: SFNS Display bold 14 -rofi.columns: 6 -rofi.lines: 10 -rofi.width: 1000 -rofi.align: center -rofi.display-drun: App -rofi.show-icons: true -rofi.icon-themes: papirus -rofi.theme: /usr/share/rofi/themes/blurry_full.rasi diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 0a13fc6..b9cae27 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,11 +1,97 @@ /** Configured For Applets **/ configuration { - modi: "window,drun,run,ssh"; show-icons: true; - icon-theme: "Papirus"; - terminal: "kitty"; - drun-match-fields: "name,generic,exec,categories"; + icon-theme: "Papirus-Dark"; + display-drun: " "; + drun-display-format: "{name}"; } -@import "/home/tanguy/.local/share/rofi/themes/slate.rasi" +* { + background-color: transparent; + background: #1F243099; + background-alt: #E5E9F047; + text-color: #D8DEE9; + selected-text-color: #000000; + primary: #A3BE8C; + urgent: #BF616A; +} + +window { + height: 100%; + width: 100%; + transparency: "real"; + background-color: @background; +} + +inputbar { + background-color: #FFFFFF20; + text-color: @foreground; + border-radius: 12; + padding: 1.3%; + margin: 5% 30%; +} + +prompt { + enabled: true; + margin: 0 1% 0 0; +} + +entry { + placeholder-color: #999999; + placeholder: "Search application"; + blink: true; +} + +mainbox { + children: [inputbar, listview]; + padding: 5%; +} + +listview { + columns: 5; + layout: vertical; + spacing: 100; + margin: 5% 7%; +} + +element { + orientation: vertical; + padding: 2% 0; + border-radius: 4; +} + +element-icon { + size: 6%; +} + +element normal.urgent, element alternate.urgent { + background-color: @urgent; +} + +element normal.active, element alternate.active { + background-color: @background-alt; + color: @selected-text-color; +} + +element selected { + background-color: @background-alt; + color: @selected-text-color; +} + +element selected.urgent { + background-color: @urgent; +} + +element selected.active { + background-color: @background-alt; + color: @selected-text-color; +} + +element-text { + padding: 10 0 0 0; + text-color: inherit; + horizontal-align: 0.5; +} + +/* vim:ft=css diff --git a/.config/rofi/themes/backlight.rasi b/.config/rofi/themes/backlight.rasi deleted file mode 100644 index 1bb08f9..0000000 --- a/.config/rofi/themes/backlight.rasi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * - * Author : Aditya Shakya (adi1090x) - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Reddit : @adi1090x - * - */ - -@import "colors.rasi" - -/* ########### */ - -* { - /* General */ - text-font: "GoogleSans Nerd Font 12"; - icon-font: "GoogleSans Nerd Font 32"; - icon-font-small: "GoogleSans Nerd Font 24"; - - option-6-listview-spacing: 5px; - - menu-window-padding: 5px 15px; - menu-inputbar-margin: 10px 0px; - menu-prompt-padding: 10px 20px 10px 20px; - menu-prompt-margin: 0px 0px 0px -2px; - menu-element-border: 10px; - menu-element-padding: 3px 8px -1px -40px; -} - -/* ########### */ - -#window { - width: 18%; - height: 20%; -} - -/* ########### */ - -* { - background-color: @background; - text-color: @foreground; - font: @icon-font; -} - -#horibox { - children: [ listview]; -} - -#listview { - layout: horizontal; -} - -#element { - padding: @option-element-padding; - background-color: @background; -} - -#element.selected { - background-color: @accent; - text-color: @background; -} - -/* ########### */ - -* { - font: @text-font; -} - -#window { - padding: @menu-window-padding; - children: [ inputbar, horibox]; -} - -#inputbar { - children: [ textbox-prompt-colon, prompt]; - margin: @menu-inputbar-margin; -} - -prompt, -textbox-prompt-colon { - padding: @menu-prompt-padding; - border: 2px; - border-color: @accent; -} - -#prompt { - margin: @menu-prompt-margin; - background-color: @background; - text-color: @accent; -} - -#textbox-prompt-colon { - expand: false; - str: "Brightness"; - background-color: @accent; - text-color: @background; -} - -#horibox { - padding: 0px; -} - -#listview { - spacing: @option-6-listview-spacing; - lines: 3; -} - -#element { - font: @icon-font; - border: @menu-element-border; - padding: @menu-element-padding; - border-color: @background; -} - -#element.selected { - border-color: @accent; -} - -element.active, -element.selected.urgent { - background-color: @on; - text-color: @background; - border-color: @on; -} - -element.selected.urgent { - border-color: @accent; -} - -element.urgent, -element.selected.active { - background-color: @off; - text-color: @background; - border-color: @off; -} - -element.selected.active { - border-color: @accent; -} \ No newline at end of file diff --git a/.config/rofi/themes/battery.rasi b/.config/rofi/themes/battery.rasi deleted file mode 100644 index c087b56..0000000 --- a/.config/rofi/themes/battery.rasi +++ /dev/null @@ -1,135 +0,0 @@ - -@import "colors.rasi" - -/** Configured For Applets **/ - - -/* ########### */ - -* { - /* General */ - text-font: "GoogleSans Nerd Font 12"; - icon-font: "GoogleSans Nerd Font 28"; - icon-font-small: "GoogleSans Nerd Font 28"; - - option-6-listview-spacing: 0px; - - menu-window-padding: 0px 0px; - menu-inputbar-margin: 0px 0px; - menu-prompt-padding: 10px 55px 10px 20px; - menu-prompt-padding-2: 10px 20px 10px 20px; - menu-prompt-margin: 0px 0px 0px -2px; - menu-element-border: 0px; - menu-element-padding: 10px 15px 15px -15px; -} - - -#window { - width: 12.4%; - height: 11%; - transparency: "real"; - border-radius: 3px; -} - -* { - background-color: @background; - text-color: @foreground; - font: @icon-font; -} - -#horibox { - children: [listview]; -} - -#listview { - layout: horizontal; -} - -#element { - padding: @option-element-padding; - background-color: @background-light; -} - -#element.selected { - background-color: @accent; - text-color: @foreground; -} - - -#window { - padding: @menu-window-padding; - children: [ inputbar, horibox]; -} - -#inputbar { - children: [ textbox-prompt-colon, prompt]; - margin: @menu-inputbar-margin; -} - -prompt, textbox-prompt-colon { - padding: @menu-prompt-padding; - border: 2px; - border-color: @background-light; - font: @text-font; -} - -#prompt { - margin: @menu-prompt-margin; - padding: @menu-prompt-padding-2; - background-color: @background-light; - text-color: @foreground; - font: @text-font; - -} - -#textbox-prompt-colon { - expand: false; - str: "\tBattery"; - background-color: @accent; - text-color: @foreground; - font: @text-font; -} - -#horibox { - padding: 0px; -} - -#listview { - spacing: @option-6-listview-spacing; - lines: 3; -} - -#element { - font: @icon-font; - border: @menu-element-border; - padding: @menu-element-padding; - border-color: @background-light; -} - -#element.selected { - border-color: @accent; -} - -element.active { - /* background-color: @on; */ - text-color: @on; - border-color: @on; -} - -element.selected.urgent { - /* background-color: @off; */ - text-color: @foreground; - border-color: @accent; -} - -element.urgent, element.selected.active { - /* background-color: @off; */ - text-color: @foreground; - border-color: @off; -} - -element.selected.active { - /* background-color: @on; */ - text-color: @on; - border-color: @accent; -} \ No newline at end of file diff --git a/.config/rofi/themes/colors.rasi b/.config/rofi/themes/colors.rasi deleted file mode 100644 index 46ff30b..0000000 --- a/.config/rofi/themes/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - accent: #125891a6; - background: #383c4a27; - background-light: #00000000; - foreground: #E4E4E4; - on: #8BC34A; - off: #eb342e; - } - \ No newline at end of file diff --git a/.config/rofi/themes/drun.rasi b/.config/rofi/themes/drun.rasi deleted file mode 100644 index 5f3b5e8..0000000 --- a/.config/rofi/themes/drun.rasi +++ /dev/null @@ -1,149 +0,0 @@ -/* - * - * Author : Aditya Shakya (adi1090x) - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Reddit : @adi1090x - * - */ - -configuration { - font: "GoogleSans Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: " "; - drun-display-format: "{name}"; - threads: 0; - scroll-method: 0; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; - -} - -* { - background: #19172700; - background-color: #00000066; - background-entry: #00000033; - background-alt: #f2f2f215; - foreground: #f2f2f2EE; - foreground-selected: #ffffffFF; - urgent: #E91E6366; - urgent-selected: #E91E6377; - border-radius: 7px; -} - -window { - transparency: "real"; - background-color: @background; - text-color: @foreground; - border-radius: 0px; - height: 60%; - width: 50%; - location: center; - anchor: center; - x-offset: 0; - y-offset: 0; - -} - -prompt { - enabled: true; - padding: 0px 0px 0px 0px; - background-color: @background; - text-color: @foreground; - font: "NovaMono Nerd Font 16"; -} - -inputbar { - background-color: @background-alt; - text-color: rgb(105, 105, 105); - expand: false; - border-radius: 6px; - margin: 0px 0px 0px 0px; - padding: 10px 10px 10px 10px; - position: center; -} - - -entry { - background-color: @background; - text-color: @foreground; - placeholder-color: @foreground; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - blink: true; -} - -case-indicator { - background-color: @background; - text-color: @foreground; - spacing: 0; -} - - -listview { - background-color: @background; - columns: 5; - spacing: 4px; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background-color; - children: [ inputbar, listview]; - spacing: 15px; - padding: 30px 25px 15px 25px; -} - -element { - background-color: @background; - text-color: @foreground; - orientation: vertical; - border-radius: 6px; - padding: 10px 0px 10px 0px; -} - -element-icon { - size: 65px; - border: 0px; -} - -element-text { - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 5px 10px 0px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; - border-radius: 9px; -} - -element normal.active, -element alternate.active { - background-color: @background-alt; - text-color: @foreground; -} - -element selected { - background-color: @background-alt; - text-color: @foreground-selected; -} - -element selected.urgent { - background-color: @urgent-selected; - text-color: @foreground; -} - -element selected.active { - background-color: @background-alt; - color: @foreground-selected; -} \ No newline at end of file diff --git a/.config/rofi/themes/screenshot.rasi b/.config/rofi/themes/screenshot.rasi deleted file mode 100644 index 47033da..0000000 --- a/.config/rofi/themes/screenshot.rasi +++ /dev/null @@ -1,126 +0,0 @@ -@import "colors.rasi" - - -* { - /* General */ - text-font: "GoogleSans Nerd Font 12"; - icon-font: "GoogleSans Nerd Font 28"; - icon-font-small: "GoogleSans Nerd Font 28"; - - option-6-listview-spacing: 0px; - - menu-window-padding: 0px 0px; - menu-inputbar-margin: 0px 0px; - menu-prompt-padding: 10px 250px 10px 20px; - menu-prompt-padding-2: 10px 20px 10px 20px; - menu-prompt-margin: 0px 0px 0px -4px; - menu-element-border: 0px; - menu-element-padding: 10px 15px 15px -15px; -} - - - -#window { - width: 11.95%; - height: 10.6%; - transparency: "real"; - border-radius: 3px; - } - - -* { - background-color: @background; - text-color: @foreground; - font: @icon-font; -} - -#horibox { - children: [ listview]; -} - -#listview { - layout: horizontal; -} - -#element { - padding: @option-element-padding; - background-color: @background-light; -} - -#element.selected { - background-color: @accent; - text-color: @foreground; -} - - -#window { - padding: @menu-window-padding; - children: [ inputbar, horibox]; -} - -#inputbar { - children: [ textbox-prompt-colon, prompt]; - margin: @menu-inputbar-margin; -} - -prompt, textbox-prompt-colon { - padding: @menu-prompt-padding; - border: 0px; - border-color: @accent; - font: @text-font; -} - -#prompt { - margin: @menu-prompt-margin; - background-color: @background; - text-color: @foreground; - font: @text-font; -} - -#textbox-prompt-colon { - expand: false; - str: "Screenshot"; - background-color: @accent; - text-color: @foreground; - font: @text-font; -} - -#horibox { - padding: 0px; -} - -#listview { - spacing: @option-6-listview-spacing; - lines: 3; -} - -#element { - font: @icon-font; - border: @menu-element-border; - padding: @menu-element-padding; - border-color: @background-light; -} - -#element.selected { - border-color: @accent; -} - -element.active, element.selected.urgent { - background-color: @on; - text-color: @foreground; - border-color: @on; -} - -element.selected.urgent { - border-color: @accent; -} - -element.urgent, element.selected.active { - background-color: @off; - text-color: @background; - border-color: @off; -} - -element.selected.active { - border-color: @accent; -} \ No newline at end of file diff --git a/.config/rofi/themes/volume.rasi b/.config/rofi/themes/volume.rasi deleted file mode 100644 index a68ed00..0000000 --- a/.config/rofi/themes/volume.rasi +++ /dev/null @@ -1,126 +0,0 @@ -@import "colors.rasi" - -* { - text-font: "GoogleSans Nerd Font 12"; - icon-font: "GoogleSans Nerd Font 28"; - icon-font-small: "GoogleSans Nerd Font 28"; - - option-6-listview-spacing: 0px; - - menu-window-padding: 0px 0px; - menu-inputbar-margin: 0px 0px; - menu-prompt-padding: 10px 50px 10px 20px; - menu-prompt-padding-2: 10px 20px 10px 20px; - menu-prompt-margin: 0px 0px 0px -4px; - menu-element-border: 0px; - menu-element-padding: 10px 15px 15px -15px; -} - - -#window { - width: 305px; - height: 10.7%; - transparency: "real"; - border-radius: 3px; - } - - -* { - background-color: @background; - text-color: @foreground; - font: @icon-font; -} - -#horibox { - children: [ listview]; -} - -#listview { - layout: horizontal; -} - -#element { - padding: @option-element-padding; - background-color: @background-light; -} - -#element.selected { - background-color: @accent; - text-color: @foreground; -} - - -#window { - padding: @menu-window-padding; - children: [ inputbar, horibox]; -} - -#inputbar { - children: [ textbox-prompt-colon, prompt]; - margin: @menu-inputbar-margin; - font: @text-font; -} - -prompt, textbox-prompt-colon { - padding: @menu-prompt-padding; - border: 0px; - border-color: @accent; - font: @text-font; -} - -#prompt { - margin: @menu-prompt-margin; - background-color: @background-light; - text-color: @foreground; - font: @text-font; -} - -#textbox-prompt-colon { - expand: false; - str: "\tVolume"; - background-color: @accent; - text-color: @foreground; - font: @text-font; -} - -#horibox { - padding: 0px; -} - -#listview { - spacing: @option-6-listview-spacing; - lines: 4; -} - -#element { - font: @icon-font; - border: @menu-element-border; - padding: @menu-element-padding; - border-color: @background-light; -} - -#element.selected { - border-color: @accent; -} - -element.active, -element.selected.urgent { - /* background-color: @on; */ - text-color: rgb(15, 15, 15); - border-color: @on; -} - -element.selected.urgent { - border-color: @accent; -} - -element.urgent, -element.selected.active { - /* background-color: @off; */ - text-color: rgb(15, 15, 15); - border-color: @off; -} - -element.selected.active { - border-color: @accent; -} \ No newline at end of file diff --git a/.config/rofi/themes/window.rasi b/.config/rofi/themes/window.rasi deleted file mode 100644 index abd8f56..0000000 --- a/.config/rofi/themes/window.rasi +++ /dev/null @@ -1,130 +0,0 @@ -configuration { - font: "NovaMono Nerd Font 14"; - show-icons: true; - icon-theme: "Papirus"; - drun-display-format: "{icon} {name}"; - threads: 0; - scroll-method: 0; - disable-history: true; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @background; - text-color: @foreground; - height: 50%; - width: 55%; - location: center; - anchor: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0% 0.5% 0% 0%; - background-color: @background-light; - text-color: @foreground; - font: "NovaMono Nerd Font 16"; -} - - -inputbar { - background-color: rgba(0, 0, 0, 0); - text-color: @foreground; - expand: false; - margin: 1% 0% 0% 0%; - padding: 10px; - position: center; -} - - -entry { - background-color: @background-light; - text-color: @foreground; - placeholder-color: @foreground; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 10px; - blink: true; -} - -case-indicator { - background-color: @background; - text-color: @foreground; - spacing: 0; -} - - -listview { - background-color: @background-light; - columns: 1; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview]; - spacing: 1%; - padding: 1% 1% 1% 1%; -} - -element { - background-color: @background; - text-color: @foreground; - orientation: vertical; - border-radius: 7px; - padding: 1% 0% 1% 0%; -} - -element-icon { - size: 34px; - border: 0px; - horizontal-align: 0.05; -} - -element-text { - expand: true; - horizontal-align: 0.05; - vertical-align: 0.5; - margin: 2px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @on; - text-color: @foreground; - border-radius: 1%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @foreground; - border-radius: 3px; -} - -element selected { - background-color: @accent; - text-color: @foreground; - border-radius: 3px; -} - -element selected.urgent { - background-color: @on; - text-color: @foreground; -} - -element selected.active { - background-color: @background-alt; - color: @foreground; -} \ No newline at end of file