X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.fvwm%2Fmain.m4;h=d809c062ad5f14ed7cb3569e50465843bd0e2b26;hb=7cd9e77a605d4c413110e410d44efcebae9c4d14;hp=6d92f137fe5266142677552eb6573392e447188a;hpb=85f7998067cab03a7ea1bb71e85e92887141442c;p=dotfiles.git diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 6d92f13..d809c06 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -152,7 +152,7 @@ divert # # Colon seperated unix directory paths for Modules, xpm files, and bitmaps #ModulePath /usr/lib/fvwm -ImagePath /usr/share/pixmaps/fvwm:/usr/share/pixmaps:/usr/include/X11/bitmaps #:/usr/local/firefox/browser/chrome/icons/default:/usr/local/firefox/browser/icons +ImagePath /usr/share/icons/hicolor/32x32/apps/:/usr/share/pixmaps/fvwm:/usr/share/pixmaps:/usr/include/X11/bitmaps #:/usr/local/firefox/browser/chrome/icons/default:/usr/local/firefox/browser/icons ############################################################################ # COLORS and FONTS @@ -275,7 +275,6 @@ Style "*MPlayer*" Layer 6, PositionPlacement 250p 100p Style "*mpv" Layer 6, PositionPlacement 250p 100p 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 Style "Mosaic" NoPPosition @@ -478,7 +477,7 @@ AddToFunc RestartFunction DestroyFunc UrgencyFunc AddToFunc UrgencyFunc + I Iconify off -+ I ThisWindow ("*Downloads") Break ++ I ThisWindow ("*Downloads|Skype") Break + I FlipFocus + I Raise + I WarpToWindow 5p 5p @@ -488,9 +487,9 @@ AddToFunc StartStandardSession + I GotoDeskAndPage 0 0 0 + I TERM_KOI8 + I Wait TERM -+ I GotoDeskAndPage 0 0 1 -+ I TERM_RU_UTF8 -geometry 38x30+0-0 -+ I Wait URxvt +#+ I GotoDeskAndPage 0 0 1 +#+ I TERM_RU_UTF8 -geometry 38x30+0-0 +#+ I Wait URxvt + I Exec exec cgmem_nice 200 pulseaudio --start + I PaVuControl + I Exec exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off @@ -584,6 +583,8 @@ AddToFunc Raise-All I All Raise DestroyFunc PaVuControl AddToFunc PaVuControl I GotoDeskAndPage 0 1 1 ++ I Exec exec pulseaudio --kill ++ I Exec exec cgmem_nice 200 pulseaudio --start + I Exec exec cgmem_nice 200 pavucontrol + I Wait "Volume Control" @@ -637,6 +638,10 @@ DestroyFunc Pidgin AddToFunc Pidgin I GotoDeskAndPage 1 1 0 + I Exec exec cgmem_nice 300 pidgin +DestroyFunc Skype +AddToFunc Skype I GotoDeskAndPage 0 0 1 ++ I Exec BROWSER=firefox exec cgmem_nice 1000 skypeforlinux + DestroyFunc XFilename AddToFunc XSetbgFilename I Exec "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file - @@ -801,37 +806,25 @@ AddToMenu RootMenu "Root Menu" Title + "XSetBg" Popup XSetBgMenu + "Fvwm Commands" Popup FvwmCommands +DestroyMenu OSMenu +AddToMenu OSMenu "OS commands:" Title ++ "Suspend to both" Exec exec s2b ++ "Suspend to disk" Exec exec s2d ++ "Suspend to ram" Exec exec s2r + # This menu will fire up some often used programs -DestroyMenu Utilities +DestroyMenu Utilities AddToMenu Utilities "Choose one:" Title -+ "qPDFview" Exec LC_CTYPE=ru_RU.KOI8-R exec qpdfview -+ "FBReader" Exec LC_CTYPE=ru_RU.KOI8-R exec fbreader ++ "OS" Popup OSMenu + "" Nop + "GVim (koi8)" Exec LC_CTYPE=ru_RU.KOI8-R exec gvim + "GVim (utf8)" Exec LC_CTYPE=ru_RU.UTF-8 exec gvim + "" 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 -#+ "" Nop -+ "pavucontrol" PaVuControl -+ "AudioPlayer" AudioPlayer -+ "Id3Info" Id3Info -+ "" Nop -+ "Gajim" Gajim -+ "Pidgin" Pidgin -+ "" Nop -+ "xload" Exec exec xload -geometry =136x136+0+0 -+ "Top" TERM_KOI8 -T Top -n Top -e top -+ "" Nop + "Refresh Screen" Refresh + "xrefresh" Exec exec xrefresh + "" Nop -#+ "xcalc" Exec exec xcalc -+ "xclipboard" Exec exec xclipboard -+ "xcutsel" Exec exec xcutsel -#+ "xman" Exec exec xman -notopbox -geometry +150+102 -#+ "emacs" Exec emacs -geometry 81x35+150+34 -#+ "xv" Function warp-or-run xv "Exec exec xv -ncols 240 -geometry +0+0" ++ "Skype" Skype ++ "pavucontrol" PaVuControl DestroyMenu Browsers AddToMenu Browsers "Choose one:" Title @@ -934,10 +927,11 @@ popdef(`TERM_KOI8', `TERM_RU_UTF8') *FvwmButtons: (Title Wallpaper, Icon find1.xpm, Action Exec "gxmessage" "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -) *FvwmButtons: (Title "-1", Icon find1.xpm, Action Exec "gxmessage" "$HOME"/current/projects/xsetbg/print-filename.py 1 | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -) *FvwmButtons: (Title Next, Icon Jrecycle.xpm, Action Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-force) -*FvwmButtons: (Title pavucontrol, Icon mini.sound.xpm, Action Exec "Volume Control" exec cgmem_nice 200 pavucontrol) +#*FvwmButtons: (Title pavucontrol, Icon mini.sound.xpm, Action Exec "Volume Control" exec cgmem_nice 200 pavucontrol) #*FvwmButtons: (Title Id3Info, Icon bell.xpm, Action Id3Info) *FvwmButtons: (Title AudioPlayer, Icon bell.xpm, Action Exec "Audacious" LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 200 audacious) #*FvwmButtons: (Title XLock, Icon Jxlock.xpm, Action Exec exec xscreensaver-command -lock) +*FvwmButtons: (Title Skype, Icon skypeforlinux.png, Action Skype) ############################################################################ # FvwmForm