i3: move to rofi instead of dmenu
This commit is contained in:
@@ -13,6 +13,7 @@ set $mod Mod4
|
|||||||
|
|
||||||
#set $main_color #11ea11
|
#set $main_color #11ea11
|
||||||
set $main_color #ff0000
|
set $main_color #ff0000
|
||||||
|
set $bg_color #000000
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
@@ -46,13 +47,10 @@ bindsym $mod+Return exec alacritty
|
|||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start rofi (a program launcher)
|
||||||
bindsym $mod+d exec --no-startup-id dmenu_run -i -nb \#000000 -nf \$main_color -sb \$main_color -sf \#000000
|
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
|
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
|
# change focus
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
|
|||||||
Reference in New Issue
Block a user