i3: make $MyPreferredTerminal $TERMINAL

This commit is contained in:
Aminda Suomalainen 2019-02-17 14:53:23 +02:00
parent 111da89d4a
commit 73c4dcf0d5
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
set $mod Mod4 set $mod Mod4
# Stop repeating the same thing everywhere! # Stop repeating the same thing everywhere!
set $MyPreferredTerminal xfce4-terminal set $TERMINAL xfce4-terminal
# Font for window titles. Will also be used by the bar unless a different # Font for window titles. Will also be used by the bar unless a different
# font is used in the bar {} block below. # font is used in the bar {} block below.
@ -36,7 +36,7 @@ floating_modifier $mod
# start a terminal # start a terminal
#bindsym $mod+Return exec i3-sensible-terminal #bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec $MyPreferredTerminal bindsym $mod+Return exec $TERMINAL
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@ -45,11 +45,11 @@ bindsym $mod+Shift+q kill
# wrapper around dmenu supporting .desktop (flatpak) # wrapper around dmenu supporting .desktop (flatpak)
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# j4-dmenu-desktop is supposedly more than 25 times faster # j4-dmenu-desktop is supposedly more than 25 times faster
bindsym $mod +d exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$MyPreferredTerminal bindsym $mod +d exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$TERMINAL
# for j4-dmenu-desktop daemon mode (unreleased version) # for j4-dmenu-desktop daemon mode (unreleased version)
# https://github.com/enkore/j4-dmenu-desktop/pull/80/commits/87f6b8b03dabbd83ad0f5d889a75da1b99cdff03 # https://github.com/enkore/j4-dmenu-desktop/pull/80/commits/87f6b8b03dabbd83ad0f5d889a75da1b99cdff03
#exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$MyPreferredTerminal --wait-on=~/.config/j4ddfifo #exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$TERMINAL --wait-on=~/.config/j4ddfifo
#bindsym $mod+d exec --no-startup-id echo > ~/.config/j4ddfifo #bindsym $mod+d exec --no-startup-id echo > ~/.config/j4ddfifo
# change focus # change focus