mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
141 lines
3.4 KiB
Plaintext
141 lines
3.4 KiB
Plaintext
#---------------------------------
|
|
# CPI # PROJ. : twmrc
|
|
# # FILE : .twmrc
|
|
# + # VER. : 20170828.0718UTC
|
|
# + # EMAIL : hal@clockworkpi.com
|
|
# +++ # HOST : clockworkpi.com
|
|
#---------------------------------
|
|
|
|
NoGrabServer
|
|
RestartPreviousState
|
|
DecorateTransients
|
|
RandomPlacement
|
|
BorderWidth 1
|
|
NoHighlight
|
|
OpaqueMove
|
|
MenuBorderWidth 1
|
|
NoMenuShadows
|
|
|
|
NoDefaults
|
|
LeftTitleButton "~/launcher/.twm/close" = f.delete
|
|
RightTitleButton "~/launcher/.twm/iconify" = f.iconify
|
|
RightTitleButton "~/launcher/.twm/resize" = f.resize
|
|
RightTitleButton "~/launcher/.twm/fullsize" = f.fullzoom
|
|
|
|
TitleFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
|
|
ResizeFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
|
|
MenuFont "-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso8859-8"
|
|
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
|
|
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
|
|
|
|
Color
|
|
{
|
|
BorderColor "grey30"
|
|
DefaultBackground "rgb:5/5/5"
|
|
DefaultForeground "gray80"
|
|
TitleBackground "rgb:5/5/5"
|
|
TitleForeground "gray80"
|
|
MenuBackground "rgb:5/5/5"
|
|
MenuForeground "gray80"
|
|
MenuTitleBackground "gray80"
|
|
MenuTitleForeground "rgb:5/5/5"
|
|
MenuBorderColor "gray60"
|
|
IconBackground "rgb:4/4/4"
|
|
IconForeground "gray80"
|
|
IconBorderColor "gray70"
|
|
IconManagerBackground "rgb:5/5/5"
|
|
IconManagerForeground "gray80"
|
|
}
|
|
|
|
Cursors
|
|
{
|
|
Menu "hand2"
|
|
}
|
|
|
|
ForceIcons
|
|
Icons
|
|
{
|
|
"Chrome" "~/launcher/.twm/chrome.xbm"
|
|
"xterm" "~/launcher/.twm/xlogo32"
|
|
}
|
|
|
|
|
|
MoveDelta 3
|
|
Function "move-or-lower" { f.move f.deltastop f.lower }
|
|
Function "move-or-raise" { f.move f.deltastop f.raise }
|
|
Function "move-or-iconify" { f.move f.deltastop f.iconify }
|
|
|
|
|
|
Button1 = : root : f.menu "main"
|
|
Button3 = : root : f.menu "exec"
|
|
Button1 = m : window|icon : f.function "move-or-raise"
|
|
Button2 = m : window|icon : f.iconify
|
|
Button3 = m : window|icon : f.resize
|
|
Button1 = : title : f.function "move-or-raise"
|
|
Button2 = : title : f.raiselower
|
|
Button1 = : icon : f.function "move-or-iconify"
|
|
Button2 = : icon : f.iconify
|
|
Button1 = : iconmgr : f.iconify
|
|
Button2 = : iconmgr : f.iconify
|
|
|
|
|
|
NoTitle
|
|
{
|
|
"gkrellm"
|
|
}
|
|
|
|
|
|
menu "main"
|
|
{
|
|
"CLOCKWORKPI" f.title
|
|
"Raise" f.raise
|
|
"Lower" f.lower
|
|
"Focus" f.focus
|
|
"Unfocus" f.unfocus
|
|
"-------------" f.nop
|
|
"Show Iconmgr" f.showiconmgr
|
|
"Hide Iconmgr" f.hideiconmgr
|
|
"Kill" f.destroy
|
|
"-------------" f.nop
|
|
"Restart" f.restart
|
|
"Exit" ("gray80":"#773333") f.menu "exit"
|
|
}
|
|
|
|
menu "exit"
|
|
{
|
|
"Are you sure ?" ("gray80":"#773333") f.title
|
|
"No" f.nop
|
|
"Yes" f.quit
|
|
}
|
|
|
|
menu "exec"
|
|
{
|
|
":: Applications ::" f.title
|
|
"Xterm" ("gray80":"#334455") f.exec "exec /usr/bin/xterm &"
|
|
"Xterm Orange" ("gray80":"#aa5522") f.exec "exec /usr/bin/xterm -fg '#dc8700' &"
|
|
"Xmag" f.exec "exec /usr/bin/xmag &"
|
|
"Gkrellm" f.exec "/usr/bin/gkrellm &"
|
|
"XClock" f.exec "exec /usr/bin/xclock &"
|
|
"XFig" f.exec "exec /usr/bin/xfig -nosplash &"
|
|
"Wicd client" f.exec "exec /usr/bin/wicd-client -n &"
|
|
"xpdf" f.exec "exec /usr/bin/xpdf &"
|
|
}
|
|
|
|
WindowRing
|
|
{
|
|
"xterm"
|
|
"xpdf"
|
|
}
|
|
|
|
"r" = m | c: all : f.exec "exec /usr/bin/xterm -fg '#dc8700' &"
|
|
"s" = m | c: all : f.exec "exec /usr/bin/alsamixergui &"
|
|
"t" = m | c: all : f.exec "exec /usr/bin/xterm +sb &"
|
|
"w" = m | c: all : f.exec "exec /usr/bin/wicd-client -n &"
|
|
|
|
"i" = m | s: all : f.iconify
|
|
"x" = m | s: all : f.delete
|
|
|
|
"F12" = m : all : f.fullzoom
|
|
"Tab" = m : all : f.warpring "next"
|
|
|