From 399a8206549a59549ec7be48744ba78601d4a3e9 Mon Sep 17 00:00:00 2001 From: Robert Kmiec Date: Wed, 15 Jan 2020 17:10:30 +0100 Subject: [PATCH] i3: move to rofi instead of dmenu --- .config/i3/config | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index f44cb2a..64f2a18 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,6 +13,7 @@ set $mod Mod4 #set $main_color #11ea11 set $main_color #ff0000 +set $bg_color #000000 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -46,13 +47,10 @@ bindsym $mod+Return exec alacritty # kill focused window bindsym $mod+Shift+q kill -# start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run -i -nb \#000000 -nf \$main_color -sb \$main_color -sf \#000000 +# start rofi (a program launcher) +bindsym $mod+d exec --no-startup-id "rofi -show run -color-normal '$bg_color,$main_color,$bg_color,$main_color,$bg_color' -color-urgent '$main_color,$bg_color,$main_color,$bg_color,$bg_color' -color-active '$main_color,$bg_color,$main_color,$bg_color,$bg_color' -color-window '$bg_color,$main_color,$main_color'" +bindsym $mod+Shift+d exec --no-startup-id "rofi -show window -color-normal '$bg_color,$main_color,$bg_color,$main_color,$bg_color' -color-urgent '$main_color,$bg_color,$main_color,$bg_color,$bg_color' -color-active '$main_color,$bg_color,$main_color,$bg_color,$bg_color' -color-window '$bg_color,$main_color,$main_color'" bindsym $mod+ctrl+d exec passmenu --type -nb \#000000 -nf \$main_color -sb \$main_color -sf \#000000 -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -i -nb \#000000 -nf \$main_color -sb \$main_color -sf \#000000" # change focus bindsym $mod+h focus left