gasraey.blogg.se

Guake 타이틀
Guake 타이틀




guake 타이틀
  1. #GUAKE 타이틀 HOW TO#
  2. #GUAKE 타이틀 WINDOWS#

Way to remember what the ‘real’ last-used window should be.As a programmer I spend a good chunk of my working day in a terminal and have up until recently used iTerm2 for MacOS. Storing the value in *real-other-window* gives us a Urxvt (if none currently exists), or raises the currently running Switches back to window that was active when rxvt-quake was invoked,Īnd then it calls the urxvt function which either launches a new ‘over-writing’ the actual last-used-window we want to keep). Last-used-window isn’t itself urxvt - otherwise we’ll sometime end up Of this window in *real-other-window* (but only if this If it’s not, it first switches to theĬurrently last used window with (other-window) and stores the number So this function indeed checks to see whether the current window is ( defcommand rxvt-quake () () "Toggle rxvt-quake window." ( if ( equal ( window-title ( current-window )) "urxvt" ) if the current window is quake ( progn ( other-window ) switch back to window quake was called from ( select-window-by-number *real-other-window* ) switch to the 'real' "other-window" ( other-window )) switch back to the original window - this way after quake finishes, the original configuration is restored ( progn otherwise, if the current window is NOT quake ( other-window ) first switch the current "other-window" ( if ( not ( equal ( window-title ( current-window )) "urxvt" )) if the current "other-window" is quake itself, do nothing ( setf *real-other-window* ( window-number ( current-window )))) otherwise store the window-number of the current other-window ( other-window ) switch back to the window originally called from ( urxvt )))) run-or-raise urxvt I tried a number of different things, and this may still not be the Switch to the last used window that’s not the Quake drop-down. Muck that up because it will often end up being the last used Why this creates a problem is because our Quake terminal will Me is s-f s-f (Super+F, twice), but by default is C-t C- (Ctrl+t Pull-hidden-other and it is invoked with “prefix prefix”, which for Used, so it can be a nice feature for switching back and forth between The trouble is that StumpWM has a nice feature which is similar toĭoing C-x b RET in Emacs: it essentially switches to the last window

guake 타이틀

Theīasic thing we need for this is (if (equal (window-title (current-window)) "urxvt"). Then switch back to the last used window before urxvt was called. The urxvt function defined above, and if the current window is urxvt

guake 타이틀

On-and-off: essentially if the current window is not urxvt, then call What we want then is a function that toggles our Quake terminal My drop-down terminal, with my regular terminal being xterm.) “quake”, so I’ve side-stepped the whole issue by just using urxvt for

#GUAKE 타이틀 WINDOWS#

Somehow I ended up also sporadically re-titling other windows as Tried setting the window title in the above function to “quake”, but I know windows can be retitled, and I initially

#GUAKE 타이틀 HOW TO#

(I’m cheating here a bit because I’m not quite sure how to handle ( defcommand urxvt () () "Start an urxvt instance or switch to it, if it is already running." ( run-or-raise "urxvt" ' ( :title "urxvt" )))






Guake 타이틀