diff --git a/config.ini b/config.ini index da609a3..48375ef 100644 --- a/config.ini +++ b/config.ini @@ -19,6 +19,13 @@ when: host.has('kitty') files: kitty/kitty.conf > .config/kitty/kitty.conf +[link-files rofi] +when: host.has('rofi') +target_root: ~/.config +files: + rofi + + # [run vim-plugins] # when: host.has('vim') # cmd: vim +PluginInstall +qall diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..4a1eca1 --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,15 @@ +configuration { + modes: [ combi ]; + combi-modes: [ run, ssh ]; + + timeout { + action: "kb-cancel"; + delay: 0; + } + filebrowser { + directories-first: true; + sorting-method: "name"; + } +} + +@theme "material" diff --git a/rofi/material.rasi b/rofi/material.rasi new file mode 100644 index 0000000..c74fe21 --- /dev/null +++ b/rofi/material.rasi @@ -0,0 +1,126 @@ +* { + base00: #263238; + base01: #2E3C43; + base02: #314549; + base03: #546E7A; + base04: #B2CCD6; + base05: #EEFFFF; + base06: #EEFFFF; + base07: #FFFFFF; + base08: #F07178; + base09: #F78C6C; + base0A: #FFCB6B; + base0B: #C3E88D; + base0C: #89DDFF; + base0D: #82AAFF; + base0E: #C792EA; + base0F: #FF5370; + + /*base0D: #00BCD4;*/ + + spacing: 0; + background-color: transparent; +} + +window { + transparency: "real"; + background-color: #263238CC; /*base00 + CC (80% opacity)*/ +} + +mainbox { + children: [inputbar, message, mode-switcher, listview]; + spacing: 30px; + padding: 30px 0; + border: 1px; + border-color: @base0D; +} + +inputbar { + padding: 0 30px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @base0D; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0 1ch 0 0; + text-color: @base0D; +} + +entry { + text-color: @base07; +} + +case-indicator { + text-color: @base0F; +} + +mode-switcher, message { + border: 1px 0; + border-color: @base0D; +} + +button, textbox { + background-color: @base03; + text-color: @base07; + padding: 5px; +} + +button selected { + background-color: @base0D; +} + +listview { + scrollbar: true; + margin: 0 10px 0 30px; +} + +scrollbar { + background-color: @base03; + handle-color: @base0D; + handle-width: 10px; + border: 0 1px; + border-color: @base0D; + margin: 0 0 0 20px; +} + +element { + padding: 5px; + spacing: 5px; + highlight: bold underline; + children: [element-icon, element-text]; +} +element-text, element-icon { + background-color : inherit; + text-color : inherit; + foreground-color : inherit; +} + +element normal { + background-color: transparent; +} + +element selected { + background-color: @base0D; +} + +element alternate { + /*background-color: @base03;*/ +} + +element normal normal, element selected normal, element alternate normal { + text-color: @base07; +} + +element normal urgent, element selected urgent, element alternate urgent { + text-color: @base0F; +} + +element normal active, element selected active, element alternate active { + text-color: @base0B; +} +