Launcher revisited

Added configureable fonts, window modes and proper multihead handling
Added by Christoph Kappel about 6 years ago

Time (r65) to get rid of some annoying aspects of the launcher.

These changes require at least subtle r2470 or higher.

Fonts

Fonts can now be configured once after load and work in the same way as in subtle:

Numbers: on /off 1 begin
 2   require "#{ENV["HOME"]}/path/to/launcher.rb" 
 3 
 4   # Set fonts
 5   Subtle::Contrib::Launcher.fonts = [
 6     "xft:DejaVu Sans Mono:pixelsize=80:antialias=true",
 7     "xft:DejaVu Sans Mono:pixelsize=12:antialias=true" 
 8   ]
 9 rescue LoadError => error
10   puts error
11 end

Window modes

Besides tags and views, the launcher can set window modes directly. E.g. ^urxvt will open a floating urxvt. Following windows modes are possible and can be intermixed:

Mode Meaning
+ Full screen mode
^ Floating mode
* Sticky mode

Multihead

On multihead displays, the launcher will now appear on the current screen.


Comments

Added by jan harshal almost 5 years ago

I like this concept. I visited your blog for the first time and just been your fan. Keep posting as I am gonna come to read it everyday top home fashion

Added by maya jan almost 5 years ago

I hope you have a nice day! Very good article, well written and very thought out. I am looking forward to reading more of your posts in the future aFASHION-TRENDSCOM