diff --git a/config b/config index fa88bf4..f271f54 100644 --- a/config +++ b/config @@ -58,7 +58,7 @@ bindsym $mod+Return exec exec $term bindsym $mod+x kill # execute command -bindsym $mod+r exec --no-startup-id exec j4-dmenu-desktop --no-generic +bindsym $mod+r exec --no-startup-id exec rofi -show drun -show-icons -drun-match-fields name -sidebar-mode -modi drun#run # change focus bindsym $mod+$left focus left diff --git a/dotfiles/rofi.conf b/dotfiles/rofi.conf new file mode 100644 index 0000000..fe47649 --- /dev/null +++ b/dotfiles/rofi.conf @@ -0,0 +1,105 @@ +/* -*- css -*- */ +/* All options can be found with "rofi -dump-config" */ +configuration { + dpi: 0; +} + +/* + * ROFI One Dark + * + * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) + * + * Author: Benjamin Stauss + * User: me-benni + * + */ +* { + black: #000000; + red: #eb6e67; + green: #95ee8f; + yellow: #f8c456; + blue: #6eaafb; + mangenta: #d886f3; + cyan: #6cdcf7; + emphasis: #50536b; + text: #dfdfdf; + text-alt: #b2b2b2; + fg: #abb2bf; + bg: #282c34; + + spacing: 0; + background-color: transparent; + + font: "Iosevka 12"; + text-color: @text; +} + +window { + transparency: "real"; + background-color: #282c34ff; +} + +mainbox { + padding: 1%; +} + +inputbar { + margin: 0px 0px 20px 0px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @blue; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + text-color: @text-alt; +} + +entry { + margin: 0px 10px; +} + +listview { + spacing: 5px; + dynamic: true; + scrollbar: false; +} + +element { + padding: 5px; + text-color: @text-alt; + highlight: bold #95ee8f; /* green */ + border-radius: 3px; +} + +element selected { + background-color: @emphasis; + text-color: @text; +} + +element urgent, element selected urgent { + text-color: @red; +} + +element active, element selected active { + text-color: @purple; +} + +message { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; + border: 1px; + border-color: @cyan; +} +mode-switcher { + margin: 20px 0 0 0; +} +button selected { + padding: 5px; + border-radius: 5px; + background-color: @emphasis; +} diff --git a/dotfiles/xsession b/dotfiles/xsession index f305c34..58e82d5 100644 --- a/dotfiles/xsession +++ b/dotfiles/xsession @@ -33,6 +33,7 @@ systemd .config/systemd/user dunstrc .config/dunst/dunstrc picom.conf .config/picom.conf polybar.conf .config/polybar/config +rofi.conf .config/rofi/config.rasi EOF rm -f ~/.config/gtk-3.0/settings.ini