]> git.phdru.name Git - dotfiles.git/blobdiff - .fvwm/phd.m4
.fvwm2rc (m4): remove LC_CTYPE
[dotfiles.git] / .fvwm / phd.m4
index e5afe0bbbf1feb453eb2ccfb54ace9abeeda3d94..4230801daf914bcffb6b822fe87f98ff0dce0f45 100644 (file)
@@ -232,7 +232,8 @@ Style * BorderWidth 5, HandleWidth 5, Icon unknown1.xpm
 Style * DecorateTransient, ClickToFocusRaisesOff
 
 Style "Fvwm*"           !Title, Sticky, WindowListSkip
-Style "FvwmButtons"     !Handles, BorderWidth 0
+Style "FvwmButtons"     !Handles, BorderWidth 0, Layer 2
+Style "FvwmPager"       Layer 2
 
 # Terminals
 Style "*term"           Icon term.xpm
@@ -259,7 +260,7 @@ Style "*Pidgin*"        MinOverlapPercentPlacement
 # (S)MPlayer
 Style "*MPlayer*"       Layer 6, PositionPlacement 350p 100p
 
-Style "*clock"          !Title, Sticky, WindowListSkip, Color Black/#40c040, NeverFocus, PositionPlacement 50-50w +1p
+Style "*clock"          !Title, Sticky, WindowListSkip, Color Black/#40c040, NeverFocus, PositionPlacement 50-50w +1p, Layer 2
 Style "emacs"           NoPPosition
 Style "gxmessage"       PositionPlacement 50-50w +20
 Style "*lock"           !Title, Sticky, WindowListSkip
@@ -484,17 +485,16 @@ AddToFunc StartStandardSession
 +              I GotoDeskAndPage 1 0 1
 +              I TERM_KOI8
 +              I Wait TERM
++              I GotoDeskAndPage 1 1 0
++              I TERM_UTF8 -iconic -name term-im-remote
++              I Wait term-im-remote
++              I TERM_KOI8 -geometry 60x25-5-5 -iconic -name term-im-local
++              I Wait term-im-local
 +              I GotoDeskAndPage 2 0 1
 +              I TERM_KOI8 -geometry TERM_GEOM_BIG
 +              I Wait TERM
-+              I Gajim
-+              I Wait Gajim
-+              I TERM_UTF8 -iconic -name term-im-remote
-+              I Wait URxvt
-+              I TERM_KOI8 -geometry 60x25-5-5 -iconic -name term-im-local
-+              I Wait URxvt
 +              I FireFox
-+              I Schedule 1000 GotoDeskAndPage 0 1 0
++              I Schedule 4500 GotoDeskAndPage 0 1 0
 
 DestroyFunc ResumeFunction
 AddToFunc ResumeFunction
@@ -508,7 +508,7 @@ AddToFunc ResumeFunction
 +              I Any ("*Mozilla Firefox") GotoDeskAndPage 0 1 0
 +              I TestRc (Match) Break
 +              I None ("*Mozilla Firefox") FireFox
-+              I Schedule 4000 GotoDeskAndPage 0 1 0
++              I Schedule 4500 GotoDeskAndPage 0 1 0
 
 ############################################################################
 # COMPLEX FUNCTIONS
@@ -570,7 +570,7 @@ AddToFunc PrintFunction         I Raise
 +                               I Exec exec xdpr -id $w
 
 DestroyFunc Raise-All
-AddToFunc Raise-All           I All (!"FvwmButtons|System|Net|Work|*clock") Raise
+AddToFunc Raise-All           I All Raise
 
 ##############################################################################
 # User-defined functions
@@ -601,7 +601,7 @@ AddToFunc Term-Phdru-Big      I GotoDeskAndPage 1 0 1
 DestroyFunc FireFox
 AddToFunc FireFox             I Any ("*Mozilla Firefox") Break
 +                             I GotoDeskAndPage 1 0 0
-+                             I Exec LC_CTYPE=ru_RU.KOI8-R exec start-browser firefox
++                             I Exec exec start-browser firefox
 +                             I Wait "*Mozilla Firefox"
 +                             I All ("*Mozilla Firefox") Lower
 +                             I Exec webbrowserX -n file:///home/phd/Internet/WWW/misc/index.html; exec webbrowserX -t file:///home/phd/Internet/WWW/misc/internet.html
@@ -772,11 +772,9 @@ AddToMenu Utilities     "Choose one:" Title
 +                       "qPDFview" Exec exec qpdfview
 +                       "FBReader" Exec exec fbreader
 +                       ""       Nop
-+                       "GVim (koi8)" Exec LC_CTYPE=ru_RU.KOI8-R exec gvim
-+                       "GVim (utf8)" Exec LC_CTYPE=ru_RU.UTF-8  exec gvim
++                       "GVim"     Exec exec gvim
 +                       ""       Nop
-+                       "MyRuLb (koi8)" Exec LC_CTYPE=ru_RU.KOI8-R exec "$HOME"/admin/prog/myrulib/myrulib
-+                       "MyRuLb (utf8)" Exec LC_CTYPE=ru_RU.UTF-8  exec "$HOME"/admin/prog/myrulib/myrulib
++                       "MyRuLb"   Exec exec "$HOME"/admin/prog/myrulib/myrulib
 +                       ""       Nop
 #+                       "XFortune" Exec /usr/games/fortune | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
 #+                       "xbuffy" Exec exec xbuffy -fn 'XBUFFY_FONT' -geometry +0+125 -boxfile mail/misc/.xbuffyrc
@@ -804,8 +802,8 @@ AddToMenu Utilities     "Choose one:" Title
 DestroyMenu  Browsers
 AddToMenu Browsers      "Choose one:" Title
 +                       "FireFox" FireFox
-+                       "Chromium" None ("*Chromium") Exec LC_CTYPE=ru_RU.KOI8-R exec start-browser chromium
-+                       "Opera" None ("*Opera") Exec LC_CTYPE=ru_RU.KOI8-R exec start-browser opera
++                       "Chromium" None ("*Chromium") Exec exec start-browser chromium
++                       "Opera" None ("*Opera") Exec exec start-browser opera
 
 # A wide variety of screenlocking options...
 #AddToMenu XlockMenu     "Choose one:" Title