i3: Add ranger shortcut

This commit is contained in:
Sijmen 2018-11-27 15:40:43 +01:00
parent cf6b24f09e
commit 41927c01bb

View file

@ -14,7 +14,8 @@ font pango:Ubuntu, Icons 10
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal && ~/.config/i3/cursor.sh
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
bindsym $mod+Ctrl+Return exec --no-startup-id i3-sensible-terminal -- 'ranger'
bindsym $mod+Shift+Return exec --no-startup-id emacsclient -nc
# kill focused window
@ -152,7 +153,7 @@ bindsym XF86Calculator exec --no-startup-id gnome-calculator
bindsym Print exec --no-startup-id escrotum -sC && notify-send --urgency=low "Screenshot taken"
bindsym $mod+Print exec --no-startup-id $HOME/.config/i3/screenrecord.sh
bindsym $mod+t exec --no-startup-id gnome-terminal -t i3tree -e 'bash -c "perl -Mutf8 -CS $(which i3tree) | less"'
bindsym $mod+t exec --no-startup-id i3-sensible-terminal -t i3tree -- bash -c "perl -Mutf8 -CS $(which i3tree) | less"
for_window [title="^i3tree$"] floating enable
for_window [class="^Gpick$"] floating enable