Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dru8274
dru8274 / FuBar
Last active March 10, 2024 23:08
Statusbar for FVWM
## 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
@dru8274
dru8274 / Iconificate
Created January 3, 2016 23:53
Fvwm Thumbnail Icons
#!/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 / MusicPlayer
Created January 4, 2016 00:26
Fvwm Ncmpcpp
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
#!/usr/bin/perl
## FvwmGraphs - 03/12/2015
use strict ;
use warnings ;
use lib `fvwm-perllib dir` ;
use FVWM::Module ;
use Sys::Statistics::Linux ;
@dru8274
dru8274 / WallBrowser
Last active April 1, 2016 08:48
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.