diff options
Diffstat (limited to '.config/rofi')
-rw-r--r-- | .config/rofi/config.rasi | 141 | ||||
-rw-r--r-- | .config/rofi/dmenu.rasi | 65 | ||||
-rwxr-xr-x | .config/rofi/launcher.rasi | 87 | ||||
-rwxr-xr-x | .config/rofi/test.rasi | 132 | ||||
-rw-r--r-- | .config/rofi/theme.rasi | 139 |
5 files changed, 435 insertions, 129 deletions
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 36cd043..469c80e 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,133 +1,16 @@ -@import "default" +configuration { + scroll-method: 1; + normalize-match: true; + //matching: "fuzzy"; + //drun-show-actions: true; + monitor: "-1"; + terminal: "sakura"; + combi-hide-mode-prefix: true; -* { - bg: #191724; - cur: #1f1d2e; - fgd: #e0def4; - cmt: #6e6a86; - cya: #9ccfd8; - grn: #31748f; - ora: #ebbcba; - pur: #c4a7e7; - red: #eb6f92; - yel: #f6c177; + modi: "drun"; - font: "JetBrainsMono NF 9"; - - foreground: @fgd; - background: @bg; - active-background: @grn; - urgent-background: @red; - - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @ora; + display-drun: "Run"; + display-dmenu: "Select"; } -#window { - background-color: @background; - border-color: @bordercolor; - padding: 5; -} -#mainbox { - border: 0; - padding: 5; -} -#message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; -} -#textbox { - text-color: @foreground; -} -#listview { - fixed-height: 0; - border: 1px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; -} -#element { - border: 0; - padding: 1px ; -} -#element.normal.normal { - background-color: @background; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -#element.normal.active { - background-color: @active-background; - text-color: @background; -} -#element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -#element.selected.active { - background-color: @selected-active-background; - text-color: @background; -} -#element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; -} -#inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; -} -#entry { - spacing: 0; - text-color: @cya; -} -#prompt { - spacing: 0; - text-color: @grn; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -#textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @grn; -} +@theme "theme.rasi" diff --git a/.config/rofi/dmenu.rasi b/.config/rofi/dmenu.rasi new file mode 100644 index 0000000..6e14fe4 --- /dev/null +++ b/.config/rofi/dmenu.rasi @@ -0,0 +1,65 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + width: 30%; + + //colors catppuccin + //bg: #EFF1F5; + //fg: #4C4F69; + //act: #EA76CB; + //brd: #1e66f5; + + bg: #191724; + fg: #e0def4; + act: #eb6f92; + brd: #c4a7e7; + + //colors tokyonight + //bg: #1a1b26; + //fg: #c0caf5; + //act: #c678dd; + //brd: #7aa2f7; + + background-color: @bg; + text-color: @fg; + font: "Jetbrains Mono 10"; + font: "Symbols Nerd Font 10"; + + border-color: @brd; + text-color: @fg; +} +window { + anchor: north; + location: north; + width: 100%; + padding: 4px; + children: [ horibox ]; +} +horibox { + orientation: horizontal; + children: [ prompt, entry, listview ]; +} +listview { + layout: horizontal; + spacing: 5px; + lines: 100; +} +entry { + expand: false; + width: 10em; +} +element { + padding: 0px 2px; +} +element selected { + background-color: @act; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/.config/rofi/launcher.rasi b/.config/rofi/launcher.rasi new file mode 100755 index 0000000..92ec59b --- /dev/null +++ b/.config/rofi/launcher.rasi @@ -0,0 +1,87 @@ +* { + //colors catppuccin + //bg: #EFF1F5; + //fg: #4C4F69; + //act: #EA76CB; + //brd: #1e66f5; + + bg: #191724; + fg: #e0def4; + act: #eb6f92; + brd: #c4a7e7; + + //colors tokyonight + //bg: #1a1b26; + //fg: #c0caf5; + //act: #c678dd; + //brd: #7aa2f7; + + background-color: @bg; + text-color: @fg; + font: "Jetbrains Mono 10"; + font: "Symbols Nerd Font 10"; +} + +window { + width: 100%; + + location: south; + font: "JetBrains Mono"; + border-color: @act; + //border: 1px; + transparecy: "real"; + children: [ listview, inputbar ]; +} + +inputbar { + //margin: 5px; + background-color: @act; +} + +case-indicator { + enabled: false; +} + +prompt { + padding: 5px 0px 5px 10px; + background-color: @act; + text-color: @bg; +} + +entry { + text-color: @bg; + background-color: @act; + padding: 5px; +} + +listview { + dynamic: true; + fixed-height: false; + cycle: true; + padding: 5px; + reverse: true; +} + +button { + padding: 5px 2px; +} + +button.selected { + background-color: @brd; + text-color: @bg; +} + +element { + padding: 0px 10px; +} + +element.selected { + border: 0 2px 0 2px; + border-color: @brd; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; + padding: 5px; +} diff --git a/.config/rofi/test.rasi b/.config/rofi/test.rasi new file mode 100755 index 0000000..271d0e6 --- /dev/null +++ b/.config/rofi/test.rasi @@ -0,0 +1,132 @@ +/* + * Documentation: https://github.com/davatorium/rofi/wiki + * Config created by Aditya Shakya https://github.com/adi1090x + * Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles + */ + +configuration { + font: "Roboto mono 11"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "~/.config/rofi/colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px 4px 0px 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 25%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "Roboto mono 11"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0; + border-color: @ac; + margin: 3% 1% 1% 1%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 4; + lines: 3; + spacing: 0%; + cycle: true; + dynamic: false; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + horizontal-align: 0.5; + size: 49px; + border: 0px; + background-color: @bg; +} + +element-text { + background-color: @bg; + text-color: @fg; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0; + border-color: @bg; +} + +element-icon selected { + size: 49px; + border: 0px; + background-color: @se; +} + +element-text selected { + background-color: @se; + text-color: @fg; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} diff --git a/.config/rofi/theme.rasi b/.config/rofi/theme.rasi new file mode 100644 index 0000000..b9fc16c --- /dev/null +++ b/.config/rofi/theme.rasi @@ -0,0 +1,139 @@ +@import "default" + +* { + bg: #191724; + cur: #1f1d2e; + fgd: #e0def4; + cmt: #6e6a86; + cya: #9ccfd8; + grn: #31748f; + ora: #ebbcba; + pur: #c4a7e7; + red: #eb6f92; + yel: #f6c177; + + font: "JetBrains Mono 10"; + + foreground: @fgd; + background: @bg; + active-background: @grn; + urgent-background: @red; + + selected-background: @active-background; + selected-urgent-background: @urgent-background; + selected-active-background: @active-background; + separatorcolor: @active-background; + bordercolor: @ora; +} + +window { + background-color: @background; + border-color: @bordercolor; + padding: 5; + anchor: north; + location: north; + y-offset: 25%; +} +mainbox { + border: 0; + padding: 5; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: false; + border: 2px dash 0px 0px ; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-icon { + size: 14; +} +element.normal.normal { + background-color: @background; + text-color: @foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @background; +} +element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @background; +} +element.alternate.normal { + background-color: @background; + text-color: @foreground; +} +element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-background; + text-color: @foreground; +} +inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @foreground; +} +entry { + spacing: 0; + text-color: @cya; +} +prompt { + spacing: 0; + text-color: @grn; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em; + text-color: @grn; +} |