Skip to content

Instantly share code, notes, and snippets.

@tef
Created September 2, 2017 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tef/f9efa1e50408f4e948a9319a6e5817bb to your computer and use it in GitHub Desktop.
Save tef/f9efa1e50408f4e948a9319a6e5817bb to your computer and use it in GitHub Desktop.
## tef's theme
#
# How to use my key config.
#
# On Desktop Windows
# Meta+Mouse1 = Move or Raise
# Meta+Mouse2 = Hide
# Meta+Mouse3 = Resize or Lower
#
# On Icon Bar
# Mouse1 = Show and Raise and Focus
# Mouse2 = Window Options
# Mouse3 = Toggle Hidden/Shown
#
# On Root Menu / Background
# Mouse1 = Main Menu (Applications)
# Mouse2 = Window Menu
# Mouse3 = TWM Windows Menu.
#
## tef - 12/Feb/2002
NoDefaults
AutoRelativeResize
NoGrabServer
DecorateTransients
RandomPlacement
Autoraise { "TWM Icon Manager" "xclock" }
NoTitle
MoveDelta 3
BorderWidth 0
ForceIcons
IconManagerGeometry "=1150x20+0+0" 12
IconManagerDontShow { "xclock" "xconsole" }
IconifyByUnmapping
DontIconifyByUnmapping { "xclock" "xconsole" }
NoCaseSensitive
ShowIconManager
WarpUnmapped
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
Color {
BorderColor "#284870"
MenuBackground "#284870"
MenuForeground "white"
MenuTitleBackground "#284870"
MenuTitleForeground "white"
IconManagerBackground "#284870"
IconManagerForeground "gray90"
IconManagerHighlight "#284870"
IconBackground "#284870"
IconForeground "white"
IconBorderColor "#284870"
}
NoHighlight
NoMenuShadows
DefaultForeground "#284870"
DefaultBackground "#284870"
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "resize-or-lower" { f.resize f.deltastop f.lower }
Function "uber-raise" {f.deiconify f.raise}
DefaultFunction f.nop
Button1 = : root : f.menu "mainmenu"
Button2 = : root : f.menu "window"
Button3 = : root : f.menu "TwmWindows"
Button1 = : iconmgr : f.function "uber-raise"
Button2 = : iconmgr : f.menu "window"
Button3 = : iconmgr : f.iconify
Button1 = m : window | icon : f.function "move-or-raise"
Button2 = m : window | icon : f.iconify
Button3 = m : window | icon : f.function "resize-or-lower"
"F1" = :all: f.warpto "TWM Icon Manager"
menu "mainmenu" {
"main" f.title
"term" f.exec "exec term &"
"mosaic" f.exec "exec mozilla &"
"gvim" f.exec "gvim&"
"" f.nop
"rehash" f.restart
"" f.nop
"xlock" f.exec "xlock -mode matrix&"
"" f.nop
"" f.nop
"logout" f.quit
}
menu "window" {
"window" f.title
"iconify" f.iconify
"delete" f.delete
"kill" f.destroy
"info" f.identify
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment