From 601b92aca6e816369dea1ef05c653cbbe0855283 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Sun, 18 Jul 2021 21:53:02 -0400 Subject: [PATCH] add CTWM rc --- dotfiles-old/.ctwmrc | 110 +++++++++++++++++++++++++++++++++++++ dotfiles-old/manifest_file | 1 + 2 files changed, 111 insertions(+) create mode 100644 dotfiles-old/.ctwmrc diff --git a/dotfiles-old/.ctwmrc b/dotfiles-old/.ctwmrc new file mode 100644 index 0000000..27f4176 --- /dev/null +++ b/dotfiles-old/.ctwmrc @@ -0,0 +1,110 @@ +# BEGIN ctwmrc +# thanks to https://datagubbe.se/twm/ +NoDefaults +DontShowWelcomeWindow + +# fonts +TitleFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" +ResizeFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" +MenuFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" +IconFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" +IconManagerFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" + +Color { + TitleBackground "#FFDBDB" + TitleForeground "#000000" + BorderColor "#FFDBDB" + BorderTileBackground "#206090" + BorderTileForeground "#206090" + + MenuBackground "Gray" + MenuForeground "Black" + MenuShadowColor "#004070" + MenuTitleBackground "#C06077" + MenuTitleForeground "White" +} + +WindowRing +WindowRingExclude { + "xload" + "xclock" +} + +Cursors { + Frame "left_ptr" + Title "left_ptr" + Icon "left_ptr" + IconMgr "hand2" + Move "fleur" + Resize "fleur" + Menu "sb_left_arrow" + Button "hand2" + Wait "watch" + Select "dot" + Destroy "pirate" +} + +NoBorder { + "xclock" + "xload" +} + +NoTitle { + "TWM Icon Manager" + "xload" + "xclock" + "feh" + "xeyes" +} + +Function "move-and-raise" { + f.move + f.deltastop + f.raise +} + +Function "deiconify-and-raise" { + f.deiconify + f.raise +} +Function "next-and-raise" { + f.downiconmgr + f.raise +} + +Button3 = : root : f.menu "apps" + +Button1 = : title : f.function "move-and-raise" +Button2 = : title : f.delete +Button3 = : title : f.menu "winops" +Button1 = : frame : f.function "move-and-raise" +Button2 = : frame : f.nop +Button3 = : frame : f.resize + +Button1 = : iconmgr : f.function "deiconify-and-raise" +Button2 = : iconmgr : f.lower +Button3 = : iconmgr : f.iconify + +# on NetBSD with non-modular Xorg, bitmaps are stored in +# /usr/X11R7/include/X11/bitmaps +LeftTitleButton ":xlogo" = f.menu "winops" +RightTitleButton "vertmax.xbm" = f.zoom +RightTitleButton "close.xbm" = f.delete + +menu "winops" { + "Delete" f.delete + "Destroy" f.destroy + "Fullscreen Zoom" f.fullscreenzoom + "Full Zoom" f.fullzoom + "Identify" f.identify + "Initial size" f.initsize +} + +# Workspace Menu +menu "apps" { + "Workspace" f.title + "Restart" f.restart + "Exit" f.quit +} + +# END twmrc diff --git a/dotfiles-old/manifest_file b/dotfiles-old/manifest_file index 4d31250..9415670 100644 --- a/dotfiles-old/manifest_file +++ b/dotfiles-old/manifest_file @@ -1,5 +1,6 @@ .Xresources .aliases +.ctwmrc .env .profile .vimrc