i3: move to xfce4-terminal & introduce $MyPreferredTerminal

xfce4-terminal does the same things I had urxvt do and works with emojis
that were my problem with urxvt and even does copy-pasting with
Ctrl-Shift-C/V which terminology for some reason failed to do and is
probably even lighter.

I also disliked the idea of having to change the story of what is my
preferred terminal emulator everywhere, so now there is a single
variable which I can throw around as I need.
This commit is contained in:
Aminda Suomalainen 2019-02-16 17:22:06 +02:00
parent e4d2d751dc
commit 3182319685
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Debian: i3 suckless-tools rxvt-unicode-256color j4-dmenu-desktop
# gnome-screenshot i3lock sudo hibernate playerctl pulseaudio-utils
# galculator network-manager-gnome redshift-gtk x11-xserver-utils
# pasystray feh rofi pulsemixer libnotify-bin xcompmgr terminology
# pasystray feh rofi pulsemixer libnotify-bin xcompmgr xfce4-terminal
#
# Debian theming: lxappearance gtk-chtheme qt4-qtconfig
# https://askubuntu.com/a/600946
@ -13,6 +13,9 @@
#Super
set $mod Mod4
# Stop repeating the same thing everywhere!
set $MyPreferredTerminal xfce4-terminal
# Font for window titles. Will also be used by the bar unless a different
# font is used in the bar {} block below.
font pango:monospace 8
@ -33,7 +36,7 @@ floating_modifier $mod
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec terminology
bindsym $mod+Return exec $MyPreferredTerminal
# kill focused window
bindsym $mod+Shift+q kill
@ -42,11 +45,11 @@ bindsym $mod+Shift+q kill
# wrapper around dmenu supporting .desktop (flatpak)
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# 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="terminology"
bindsym $mod +d exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$MyPreferredTerminal
# for j4-dmenu-desktop daemon mode (unreleased version)
# 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="terminology" --wait-on=~/.config/j4ddfifo
#exec --no-startup-id j4-dmenu-desktop --display-binary --no-generic --dmenu="rofi -dmenu -i" --term=$MyPreferredTerminal --wait-on=~/.config/j4ddfifo
#bindsym $mod+d exec --no-startup-id echo > ~/.config/j4ddfifo
# change focus