Skip to content

Instantly share code, notes, and snippets.

View WallBrowser
#!/usr/bin/perl
## I tried to rewrite this using ->event_loop and ->terminate, to query
## FVWM's configuration database to obtain its settings and vars. But
## it confounded me. It seems that commands were sent to FVWM, but only
## processed by FVWM after the initial wallpaper menu was exited. If
## this module was not part of a MissingSubmenuFunction menu, I doubt
## this problem would occur. So I have now resolved to not obtain this
## module'ssettings from the configuration database.
View FvwmGraphs
#!/usr/bin/perl
## FvwmGraphs - 03/12/2015
use strict ;
use warnings ;
use lib `fvwm-perllib dir` ;
use FVWM::Module ;
use Sys::Statistics::Linux ;
View MusicPlayer
Colorset 130 TiledPixmap "digital-tile-2.png"
#Colorset 131 hi #274A66, sh #274A66, Pixmap "term-tile.png"
Colorset 131 hi #274A66, sh #274A66, bg grey9
#Colorset 132 bg #1F1E1C, VGradient 20 grey11 grey18
Colorset 132 bg grey9
Colorset 133 bg orange
Colorset 140 fg SteelBlue4, bg SteelBlue4
DestroyModuleConfig Ncmpcpp: *
*Ncmpcpp: Geometry 778x384
@dru8274
dru8274 / Iconificate
Created Jan 3, 2016
Fvwm Thumbnail Icons
View Iconificate
#!/usr/bin/perl
use strict ;
use warnings ;
use v5.18 ;
use lib `fvwm-perllib dir`;
use FVWM::Module;
use Data::Dump qw( dump ) ;
use Image::Magick ; ## libimage-magick-perl
@dru8274
dru8274 / FuBar
Last active Jan 3, 2016
Statusbar for FVWM
View FuBar
## vim: syntax=fvwm:
##
## FBBar - a combined system-tray and status-bar.
##
## The statusbar is implemented as an FvwmButtons module. An fvwmperl
## module FuBarStats uses Sys::Statistics::Linux to monitor system info,
## and to keep FuBar updated with the info.
DestroyModuleConfig FuBar: *
*FuBar: Geometry 1366x20