A nice config.h for DWM

Submitted by Fekete Zoltán on Thu, 12/10/2020 - 10:42

/* See LICENSE file for copyright and license details. */

/* appearance */
static const unsigned int borderpx  = 1;        /* border pixel of windows */
static const unsigned int snap      = 32;       /* snap pixel */
static const int showbar            = 1;        /* 0 means no bar */
static const int topbar             = 1;        /* 0 means bottom bar */
static const char *fonts[]          = { "monospace:size=10" };
static const char dmenufont[]       = "monospace:size=10";
static const char col_gray1[]       = "#222222";

My ~/.fvwm/config

Submitted by Fekete Zoltán on Thu, 06/25/2020 - 12:29
AddToFunc StartFunction
+ I Module FvwmBacker
+ I Module FvwmPager 0 3
+ I Module FvwmIconMan
+ I Exec xclock -g 100x100-1+0 -bg "grey95"
+ I Exec xclock -g 100x40-1+101 -strftime "%B %d." -d -bg "grey95"

AddToFunc RestartFunction
+ I Exec killall xclock

EdgeScroll 0 0
DesktopSize 1x1

Style "*" HandleWidth 4,HilightBack brown,HilightFore yellow,MouseFocusClickRaises
Style "FvwmButtons" NoTitle,BorderWidth 0,HandleWidth 0,Sticky,WindowListSkip
Style "FvwmPager" NoTitle,BorderWidth 0,HandleWidth 0,Sticky,WindowListSkip
Style "FvwmIconMan" NoTitle,BorderWidth 0,HandleWidth 0,Sticky,Windo

Tags

Upgrade PIP

Submitted by Fekete Zoltán on Fri, 10/25/2019 - 10:39

Use this command to upgrade all packages in your local pip repository:

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U

NOTE: You have to substitute pip command with the full name of your installed pip version on NetBSD, like this: pip3.7