Use rofi's built in config instead of setting it on the command line

This commit is contained in:
Adam Goldsmith 2019-06-18 10:48:57 -04:00
parent 304cc7c281
commit 39e82c3a09

View File

@ -59,13 +59,10 @@ mode "launch" {
} }
bindsym $mod+x mode "launch" bindsym $mod+x mode "launch"
# Rofi bindsym $mod+space exec --no-startup-id "rofi -show drun"
set $rofiOptions -show-icons -i -modi drun,run,sworkspace:~/.config/i3/switch_workspace.sh,mworkspace:~/.config/i3/move_to_workspace.sh,window,monitor:~/.config/i3/monitor_layout.sh -sidebar-mode bindsym $mod+d exec --no-startup-id "rofi -show run"
bindsym $mod+t exec --no-startup-id "rofi -show sworkspace"
bindsym $mod+space exec --no-startup-id "rofi $rofiOptions -show drun" bindsym $mod+Shift+t exec --no-startup-id "rofi -show mworkspace"
bindsym $mod+d exec --no-startup-id "rofi $rofiOptions -show run"
bindsym $mod+t exec --no-startup-id "rofi $rofiOptions -show sworkspace"
bindsym $mod+Shift+t exec --no-startup-id "rofi $rofiOptions -show mworkspace"
bindsym $mod+n exec $config_dir/rename_workspace.py bindsym $mod+n exec $config_dir/rename_workspace.py
bindsym $mod+c exec --no-startup-id rofi-pass --last-used bindsym $mod+c exec --no-startup-id rofi-pass --last-used