From 67b60c84e0de1d45009216eabd94cf1f0d8ce1c5 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Wed, 22 Aug 2018 01:55:05 +0200 Subject: [PATCH] [terminal] Switch back to xfce4-terminal st is waaaaay to laggy in its rendering to my taste. cmatrix doesn't even run on it well. It was a great learning experience however. For instance I learned how the terminal title is determined and could improve it to make my terminal.sh work more reliably. --- polybar/clock.py | 4 +-- polybar/config.ini | 10 +++---- xfce4-terminal/accels.scm | 56 +++++++++++++++++++++++++++++++++++++++ xfce4-terminal/terminalrc | 46 ++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 xfce4-terminal/accels.scm create mode 100644 xfce4-terminal/terminalrc diff --git a/polybar/clock.py b/polybar/clock.py index b600edf..0b27b49 100755 --- a/polybar/clock.py +++ b/polybar/clock.py @@ -50,8 +50,8 @@ try: localcolor = color_for(localnow) - khal_link = lambda x: "%{A1:i3-sensible-terminal -e khal interactive &:}" + x + "%{A}" - clock_link = lambda x, args: "%{A1:i3-sensible-terminal -e tty-clock -cC3 " + args + " &:}" + x + "%{A}" + khal_link = lambda x: "%{A1:i3-sensible-terminal -x khal interactive &:}" + x + "%{A}" + clock_link = lambda x, args: "%{A1:i3-sensible-terminal -x tty-clock -cC3 " + args + " &:}" + x + "%{A}" print( khal_link( diff --git a/polybar/config.ini b/polybar/config.ini index e3938b6..af283f7 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -229,7 +229,7 @@ card = intel_backlight type = internal/cpu interval = 3 ;format-prefix = " " -format = "%{A1:i3-sensible-terminal -e htop &:}%{A}%{O-22}" +format = "%{A1:i3-sensible-terminal -x htop &:}%{A}%{O-22}" format-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt} @@ -261,7 +261,7 @@ type = internal/memory interval = 3 format = "