From 8b449a95c1f3d747d214d3012333325df1d3e41d Mon Sep 17 00:00:00 2001 From: Cian Bagshaw Date: Mon, 18 Sep 2023 21:30:25 +0100 Subject: [PATCH] Added rofi config Wrote a proper rofi configuration/theme file and fixed calls in i3 config file. --- .config/i3 | 4 ++-- .config/rofi | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .config/rofi diff --git a/.config/i3 b/.config/i3 index cd07643..c510f7a 100755 --- a/.config/i3 +++ b/.config/i3 @@ -20,8 +20,8 @@ bindsym $mod+Shift+Return exec alacritty --config-file "$XDG_CONFIG_HOME/alacrit bindsym $mod+Shift+q kill # rofi menu -bindsym $mod+d exec rofi -show run -icon-theme "Papirus" -show-icons -bindsym $mod+n exec spass sel rofi -dmenu +bindsym $mod+d exec rofi -show drun -show-icons -config "$XDG_CONFIG_HOME/rofi" +bindsym $mod+n exec spass sel rofi -dmenu -p "logins:" -config "$XDG_CONFIG_HOME/rofi" # gaps gaps outer 2 diff --git a/.config/rofi b/.config/rofi new file mode 100644 index 0000000..e65757e --- /dev/null +++ b/.config/rofi @@ -0,0 +1,25 @@ +// vim: ft=css + +configuration { display-drun: "Applications:"; } + +@theme "/dev/null" + +* { + lines: 10; + width: 400px; + spacing: 0; + + bg: rgb(30, 30, 45); fg: rgb(125, 130, 155); + bg-sel: rgb(90, 90, 110); fg-sel: rgb(205, 215, 245); +} + +window { background-color: @bg; text-color: @fg; width: @width; } +mainbox { background-color: inherit; text-color: inherit; } +inputbar { background-color: @bg-sel; text-color: @fg-sel; children: [prompt, entry]; } +prompt { background-color: inherit; text-color: inherit; padding: 12px 0px 0px 12px; } +entry { background-color: inherit; text-color: inherit; padding: 12px; } +listview { background-color: inherit; text-color: inherit; lines: @lines; } +element { background-color: inherit; text-color: inherit; padding: 8px 12px 8px 12px; } +element selected { background-color: @bg-sel; text-color: @fg-sel; } +element-text { background-color: inherit; text-color: inherit; } +element-icon { background-color: inherit; text-color: inherit; padding: 0px 10px 0px 0px; size: 14px; } -- 2.20.1