News

Launcher revisited (2 comments)

Added by Christoph Kappel about 5 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.

Also available in: Atom