Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move parts of config that I don't use anymore to deprecated directory.

Update README and add code to popup welcome message unless ~/.fvwm/.nomsg exist

--HG--
branch : devel
rename : bin/deskCdMenu.sh => deprecated/bin/deskCdMenu.sh
rename : bin/generalfilemenu.sh => deprecated/bin/generalfilemenu.sh
rename : bin/musicmenu.sh => deprecated/bin/musicmenu.sh
  • Loading branch information...
commit cd402fca8098e87cbe44d00a74d3097997f9b8e9 1 parent 4cf9ddb
Aldis Berjoza authored
View
7 .hgignore
@@ -1,7 +1,4 @@
style: regexp
-^.FvwmConsole-History$
+^\.FvwmConsole-History$
.*\.swp$
-^hashes$
-^config.sh$
-^logs/.*$
-wmscripts
+^\.nomsg$
View
17 README
@@ -1,11 +1,16 @@
-This fvwm config is written by Aldis Berjoza (killasmurf86)
+This fvwm config is written by Aldis Berjoza
You need to download wmscripts from http://hg.bsdroot.lv/aldis/wmscripts/
-More info http://hg.bsdroot.lv/aldis/wmscripts/file/tip/README
+and setup WMSCRIPTS_DIR environment variable, if you haven't done so.
+More info: http://hg.bsdroot.lv/aldis/wmscripts/file/tip/README
-Here are commands you need to add to your ~/.xinitrc in order to use my fvwm config:
+Note in this config you don't have a menu. Instead many shortcuts and dmenu.
+To start terminal press WINKEY+X. It will open terminal defined by UTERM
+environment variable if UTERM isn't defined then xterm will be opened
- $HOME/.fvwm/config.sh
- exec fvwm
+To start dmenu press WINKEY+SHIFT+X
-config.sh will rebuild fvwm config when nessacery (when cached config checksum doesn't match MD5 sum)
+To restart Fvwm press WINKEY+END
+To exit FVWM press WINKEY+SHIFT+END
+
+To hide this message add .nomsg file in your FVWM_USERDIR
View
511 config
@@ -66,6 +66,15 @@ EdgeResistance -1
Style * EdgeMoveDelay 300
Style * EdgeMoveResistance 300
Style * IndexedWindowName
+DesktopSize 1x1
+GnomeShowDesks $[FVWM_DESKS]
+EwmhNumberOfDesktops $[FVWM_DESKS]
+EWMHBaseStruts $[FVWM_BASE_STRUT_LEFT] $[FVWM_BASE_STRUT_RIGHT] $[FVWM_BASE_STRUT_TOP] $[FVWM_BASE_STRUT_BOTTOM]
+Style * IconBox $[FVWM_BASE_STRUT_RIGHT]x1064-0-1, IconFill R B
+Style * IconBackGroundRelief 0
+Style * StickyAcrossPagesIcon
+Style * StickyIcon
+Style * MinOverlapPercentPlacement
MenuStyle * !Animation
MenuStyle * !PopupImmediately
MenuStyle * !PopdownImmediately
@@ -75,15 +84,6 @@ MenuStyle * PopDownDelay 100
MenuStyle * AutomaticHotkeys
MenuStyle * MouseWheel
MenuStyle * ScrollOffPage
-DesktopSize 1x1
-GnomeShowDesks 16
-EwmhNumberOfDesktops 16
-EWMHBaseStruts $[FVWM_BASE_STRUT_LEFT] $[FVWM_BASE_STRUT_RIGHT] $[FVWM_BASE_STRUT_TOP] $[FVWM_BASE_STRUT_BOTTOM]
-Style * IconBox $[FVWM_BASE_STRUT_RIGHT]x1064-0-1, IconFill R B
-Style * IconBackGroundRelief 0
-Style * StickyAcrossPagesIcon
-Style * StickyIcon
-Style * MinOverlapPercentPlacement
DesktopName 0 Web
@@ -487,77 +487,6 @@ AddToFunc ReThumbnail
+ I Function Thumbnail
# }}}
-# MakeMissingGeneralFileMenu {{{
-# DESCRIPTION: Function to make file menu
-DestroyFunc MakeMissingGeneralFileMenu
-AddToFunc MakeMissingGeneralFileMenu
-+ I PipeRead '$[FVWM_USERDIR]/bin/generalfilemenu.sh $[0]'
-# }}}
-
-# Shutdown_common {{{
-# DESCRIPTION: Function for common tasts used when shutting down or rebooting
-DestroyFunc Shutdown_common
-AddToFunc Shutdown_common
-+ I Exec exec playd stop
-# }}}
-
-# Shutdown_PC {{{
-# DESCRIPTION: Function to shutdown PC. You probably whouldn't edit it directly
-DestroyFunc Shutdown_PC
-AddToFunc Shutdown_PC
-+ I Function Shutdown_common
-+ I exec /sbin/shutdown -p now
-+ I Quit
-# }}}
-
-# Reboot_PC {{{
-# DESCRIPTION: Function to shutdown PC. You probably whouldn't edit it directly
-DestroyFunc Reboot_PC
-AddToFunc Reboot_PC
-+ I Function Shutdown_common
-+ I exec /sbin/shutdown -r now
-+ I Quit
-# }}}
-
-# Set_Wallpaper {{{
-# DESCRIPTION: Function to set default wallpaper and display it on desk
-DestroyFunc Set_Wallpaper
-AddToFunc Set_wallpaper
-+ I Exec ln -f -s $[0] '$[HOME]/.wallpaper'; hsetroot -fill $[0]
-+ I Schedule 300 Module FvwmPager FvwmPagerAll 0 15
-+ I Schedule 500 Refresh
-# }}}
-
-# MakeMissingMusicMenu {{{
-# DESCRIPTION: Function to build music menu
-DestroyFunc MakeMissingMusicMenu
-AddToFunc MakeMissingMusicMenu
-+ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]"'
-# }}}
-
-# MakeMissingPlayedMusicMenu {{{
-# DESCRIPTION: Function to build music menu of last selecte Music menu
-DestroyFunc MakeMissingPlayedMusicMenu
-AddToFunc MakeMissingPlayedMusicMenu
-+ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "$[0]"'
-# }}}
-
-# PlayerPlay {{{
-# DESCRIPTION: Function to play music from musicmenu
-DestroyFunc PlayerPlay
-AddToFunc PlayerPlay
-+ I Exec exec playd '$[0]'
-+ I Test ( $[1] ) PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "MenuLastPlayed"'
-# }}}
-
-# PlayerAppend {{{
-# DESCRIPTION: Function to append files to player from musicmenu
-DestroyFunc PlayerAppend
-AddToFunc PlayerAppend
-+ I Exec exec playd append '$[0]'
-+ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "MenuLastPlayed"'
-# }}}
-
# RaiseLower_RaiseShade {{{
# DESCRIPTION: on mouse click raise/lower window
# on mouse double click Raise and shade/unshade window
@@ -644,25 +573,17 @@ Mouse 0 6 A Function Thumbnail
Mouse 0 7 A Function ToggleWindowListSkip
Mouse 0 I A Function DeThumbnailDoubleClick
-Mouse 1 1 A Menu MenuWindow
-Mouse 1 4 A Maximize 100 100
Mouse 1 R N Menu MainMenu mouse -1p -1p
-Mouse 1 R 4 Menu MenuPlayer mouse -1p -1p
-Mouse 1 R 4S Menu MenuConf mouse -1p -1p
+Mouse 1 4 A Maximize 100 100
Mouse 1 S A Function Raise_Resize_Thumbnail
Mouse 1 T A Function Raise_Move_Maximize
Mouse 1 W 4 Function Raise_Move_Maximize
-Mouse 1 W 4S Menu MainMenu mouse -1p -1p
Mouse 1 W M Function Raise_Move_Maximize
-Mouse 2 1 A Menu MenuGroup
Mouse 2 4 A Maximize 100 0
-Mouse 2 R N Menu MenuWinOp mouse -1p -1p
Mouse 2 T A Close
-Mouse 2 W 4 Menu MenuWinOp mouse -1p -1p
Mouse 2 WTF M Lower
-Mouse 3 1 A Menu MenuToDesk
Mouse 3 4 A Maximize 0 100
Mouse 3 R C WindowList mouse -1p -1p OnlyListSkip, NoHotkeys, NoNumInDeskTitle, NoDeskNum, TitleForAllDesks, NoCurrentDeskTitle
Mouse 3 R N WindowList mouse -1p -1p NoGeometry, NoHotkeys, NoNumInDeskTitle, NoDeskNum, TitleForAllDesks, NoCurrentDeskTitle
@@ -703,12 +624,12 @@ Key KP_Up WTF 4 Function MoveWindow8
Key KP_Prior WTF 4 Function MoveWIndow9
Key F1 A 4 Exec exec $[WMSCRIPTS_DIR]/docMenu.sh
-Key F1 A 4C Menu MainMenu mouse -1p -1p
+Key F1 A 4C Exec exec $[WMSCRIPTS_DIR]/docMenu.sh
+
Key F2 A 4 Function Rearrange -mn 3 -m -u
Key F3 A 4 Function Rearrange -mn 2 -m -u
-Key F12 A 4 Menu MenuConf mouse -1p -1p
Key A A 4 Function Switch_2_Prev_Desk_Group
@@ -777,7 +698,6 @@ Key Minus A 4 GoToDesk -1 0 0 15
Key Escape WT C Pick Function Thumbnail
Key Escape WTF 4 Pick Function ToggleTitle
-Key Menu A N Menu MenuInputLanguage mouse -1p -1p
Key Menu A 4 Function ch_lang lv
Key Menu A 4C Function ch_lang ru phonetic
@@ -816,7 +736,6 @@ Key XF86AudioLowerVolume A N Exec exec mixer pcm -1 > /dev/null 2> /dev/null
# Modules {{{
-
# FvwmEvent {{{
# Events {{{
DestroyFunc Event_New_Page
@@ -909,7 +828,7 @@ Style * HilightColorset 2
Style * !StickyStippledTitle
TitleStyle Centered Height 16
TitleStyle MultiPixmap main TiledPixmap '$[FVWM_USERDIR]/gfx/T_A.png' -- flat
-ButtonStyle 1 - Clear MwmDecorMenu
+ButtonStyle 1 - Clear
ButtonStyle 1 MiniIcon
ButtonStyle 2 - Clear
ButtonStyle 2 \
@@ -1060,399 +979,9 @@ Style xvidcap MiniIcon /files/share/icons/hydroxygen/16x16/apps/xvidcap.png
# }}}
# }}}
-# Menus {{{
-# USER MENUS {{{
-# MainMenu {{{
DestroyMenu MainMenu
AddToMenu MainMenu ".: fvwm v$[version.num] :." title
-+ 'Browser' Function www
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%Browsers' Popup MenuBrowsers
-+ '%/files/share/icons/oxygen/16x16/apps/utilities-terminal.png%Terminal' Function Term
-+ '%/files/share/icons/oxygen/16x16/apps/accessories-text-editor.png%Editor' Function Editor
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%GFX' Popup MenuGFX
-+ '%/files/share/icons/hydroxygen/16x16/apps/xpdf.png%pdf viewer' Exec exec zathura
-+ '%/files/share/icons/oxygen/16x16/apps/accessories-calculator.png%calculator' Exec exec gcalctool
-+ '%/usr/local/share/icons/hicolor/16x16/apps/libreoffice-writer.png%Office' Exec exec libreoffice
-+ '%/files/share/icons/oxygen/16x16/apps/internet-mail.png%Mail' Exec exec claws-mail
-+ '%/files/share/icons/hydroxygen/16x16/apps/mplayer.png%Player' Popup MenuPlayer
-+ '%/files/share/icons/hydroxygen/16x16/apps/calc.png%calendar' Exec when --warp=0 --nopaging --monday_first --noampm | exec gxmessage -center -font 'dejavu sans mono' -name when -file -
-+ 'deadbeef' Exec exec deadbeef > /dev/null 2> /dev/null
-+ '%/files/share/icons/hydroxygen/16x16/apps/netbeans.png%netbeans' Exec exec netbeans-7.0
-+ '%/files/share/icons/hydroxygen/16x16/apps/virtualbox.png%VirtualBox' Popup MenuVirtualBox
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/apps/help-browser.png%Help' Exec exec $[WMSCRIPTS_DIR]/docMenu.sh
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/apps/config-language.png%Input Lang' Popup MenuInputLanguage
-+ '%/files/share/icons/oxygen/16x16/categories/applications-utilities.png%Utils' Popup MenuUtils
-+ '%/files/share/icons/oxygen/16x16/categories/preferences-desktop.png%Config' Popup MenuConf
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%Exit' Popup MenuExit
-# }}}
-
-# MenuGFX {{{
-DestroyMenu MenuGFX
-AddToMenu MenuGFX
-+ '%/files/share/icons/hydroxygen/16x16/apps/eog.png%pic viewer' Function Start_Viewer
-+ '%/usr/local/share/icons/hicolor/16x16/apps/gimp.png%Gimp' Exec exec gimp
-+ '%/usr/local/share/icons/hicolor/16x16/apps/inkscape.png%InkScape' Exec exec inkscape
-# }}}
-
-# MenuBrowsers {{{
-DestroyMenu MenuBrowsers
-AddToMenu MenuBrowsers
-+ '%/files/share/icons/oxygen/16x16/apps/opera.png%Opera' Exec exec opera
-+ '%/files/share/icons/hydroxygen/16x16/apps/firefox.png%Firefox' Exec exec firefox
-+ '%/files/share/icons/misc/16x16/apps/chrome.png%Chrome' Exec exec chrome --disable-sync --block-reading-third-party-cookies --disk-cache-dir=/tmp/.chrome --lang=en --disable-internal-flash
-+ 'elinks' Function term -name elinks -e elinks
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/apps/opera.png%Opera (private tab)' Exec exec opera -nomail -newprivatetab -nosession
-+ '%/files/share/icons/hydroxygen/16x16/apps/firefox.png%Firefox (private)' Exec exec firefox -private-toggle
-+ '%/files/share/icons/misc/16x16/apps/chrome.png%Chrome (incognito)' Exec exec chrome --disable-sync --block-reading-third-party-cookies --disk-cache-dir=/tmp/.chrome --lang=en --disable-internal-flash --incognito
-# }}}
-
-# MenuDev {{{
-DestroyMenu MenuDev
-AddToMenu MenuDev
-+ '%/files/share/icons/misc/16x16/apps/x.png%QT4 Creator' Exec exec qtcreator
-+ '%/files/share/icons/misc/16x16/apps/x.png%QT4 Designer' Exec exec designer-qt4
-+ '%/files/share/icons/oxygen/16x16/apps/terminal.png%Terminal' Function Term
-+ '%/files/share/icons/hydroxygen/16x16/apps/vim.png%Editor' Function Editor
-# }}}
-
-# MenuVirtualBox {{{
-DestroyMenu MenuVirtualBox
-AddToMenu MenuVirtualBox
-+ '%/files/share/icons/hydroxygen/16x16/apps/virtualbox.png%VirtualBox' Exec exec VirtualBox
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/apps/virtualbox.png%Load vboxdrv' Exec exec sudo kldload vboxdrv
-+ '%/files/share/icons/hydroxygen/16x16/apps/virtualbox.png%Unload vboxdrv' Exec exec sudo kldunload vboxdrv
-# }}}
-
-# MenuInputLanguage {{{
-DestroyMenu MenuInputLanguage
-AddToMenu MenuInputLanguage
-+ '%/files/share/icons/misc/16x16/flags/lv.png%Latvian' Function ch_lang lv
-+ '%/files/share/icons/misc/16x16/flags/ru.png%Russian (phonetic)' Function ch_lang ru phonetic
-+ '' NOP
-+ '%/files/share/icons/misc/16x16/flags/ru.png%Russian' Function ch_lang ru
-+ '%/files/share/icons/misc/16x16/flags/lv.png%Latvian (appastrophe)' Function ch_lang lv apostrophe
-+ '' NOP
-+ '%/files/share/icons/misc/16x16/flags/lv.png%Latvian Modern' Function ch_lang lv modern
-# }}}
-
-# MenuCad {{{
-DestroyMenu MenuCad
-AddToMenu MenuCad
-+ '%/files/share/icons/misc/16x16/apps/x.png%gschem' Exec exec gschem
-+ '%/files/share/icons/misc/16x16/apps/x.png%pcb' Exec exec pcb
-+ '%/files/share/icons/misc/16x16/apps/x.png%kicad' Exec exec kicad
-# }}}
-
-# MenuAdmin {{{
-DestroyMenu MenuAdmin
-AddToMenu MenuAdmin
-+ '%/files/share/icons/misc/16x16/apps/x.png%pgAdmin3' Exec exec pgadmin3
-+ '%/files/share/icons/misc/16x16/apps/x.png%sqliteman' Exec exec sqliteman
-# }}}
-
-# MenuUtils {{{
-DestroyMenu MenuUtils
-AddToMenu MenuUtils
-+ 'Toggle Movie Mode' Exec exec $[WMSCRIPTS_DIR]/toggleMovieMode.sh
-+ '' NOP
-+ 'PagerAll' Module FvwmPager FvwmPagerAll 0 15
-+ 'Agents' Popup MenuAgents
-+ '%/files/share/icons/hydroxygen/16x16/apps/transmission.png%Torrent' Exec pgrep transmission-qt > /dev/null 2> /dev/null || exec transmission-qt -m
-+ 'irssi' Exec exec xchat
-+ '%/files/share/icons/oxygen/16x16/apps/accessories-character-map.png%klavaro' Exec exec klavaro
-+ '%/files/share/icons/misc/16x16/apps/x.png%gpa' Exec exec gpa
-+ '%/usr/local/share/icons/hicolor/16x16/apps/pidgin.png%IM' Exec pgrep pidgin > /dev/null 2> /dev/null || exec pidgin
-+ 'VNCviewer' Exec exec vncviewer > /dev/null 2> /dev/null
-+ '%/files/share/icons/hydroxygen/16x16/apps/password.png%keepassx' Exec pgrep keepassx > /dev/null 2> /dev/null || exec keepassx $[HOME]/doc/passwd.kdb
-+ 'Pager' Module FvwmPager FvwmPagerCurrent *
-+ 'Desktop Size' Popup MenuDeskSize
-+ '%/files/share/icons/misc/16x16/apps/x.png%xfontsel' Exec exec xfontsel
-+ '%/files/share/icons/hydroxygen/16x16/apps/gnome-color-chooser.png%gcolor2' Exec exec gcolor2
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%Screenshot' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh show
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%Screenshot 10s' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh sleep 10 show
-+ '%/files/share/icons/misc/16x16/apps/x.png%mindmap' Exec exec freemind
-+ 'admin tools' Popup MenuAdmin
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/apps/terminal.png%chterm: xterm' SetEnv UTERM xterm
-+ '%/files/share/icons/oxygen/16x16/apps/terminal.png%chterm: urxvtc' SetEnv UTERM urxvtc
-+ '%/files/share/icons/oxygen/16x16/apps/terminal.png%chterm: urxvt' SetEnv UTERM urxvt
-# }}}
-
-# MenuAgents {{{
-DestroyMenu MenuAgents
-AddToMenu MenuAgents
-+ 'Start SSH Agent' Function Start_SSH_Agent
-+ 'Start GPG Agent' Function Start_GPG_Agent
-+ '' NOP
-+ 'Start All Agents' Function Start_Agents
-+ '' NOP
-+ 'Clear Agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clear
-+ 'Kill Agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh stop
-+ '' NOP
-+ 'Clean SSH agent dirs' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clean
-# }}}
-
-# MenuExit {{{
-DestroyMenu MenuExit
-AddToMenu MenuExit
-+ 'Clear agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clear all
-+ '%/files/share/icons/hydroxygen/16x16/apps/screensaver.png%Monitor off' Exec exec $[WMSCRIPTS_DIR]/screensaverCtl.sh monitor-off
-+ '%/files/share/icons/oxygen/16x16/actions/system-lock-screen.png%Lock' Exec exec $[WMSCRIPTS_DIR]/screensaverCtl.sh lock
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/actions/system-log-out.png%Exit fvwm' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Quit"'
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/apps/gnome-session-reboot.png%Reboot' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Function Reboot_PC"'
-+ '%/files/share/icons/oxygen/16x16/actions/system-shutdown.png%Shutdown' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Function Shutdown_PC"'
-# }}}
-
-# MenuDeskSize {{{
-DestroyMenu MenuDeskSize
-AddToMenu MenuDeskSize
-+ '1x1' DesktopSize 1x1
-+ '2x1' DesktopSize 2x1
-+ '2x2' DesktopSize 2x2
-+ '3x1' DesktopSize 3x1
-+ '3x2' DesktopSize 3x2
-+ '1x2' DesktopSize 1x2
-+ '1x3' DesktopSize 1x3
-+ '2x3' DesktopSize 2x3
-# }}}
-# }}}
-
-# PLAYER MENUS {{{
-DestroyMenu MenuPlayer
-AddToMenu MenuPlayer '%/files/share/icons/hydroxygen/16x16/apps/mplayer.png%.: Player :.' title
-+ '%/files/share/icons/oxygen/16x16/actions/media-seek-forward.png%Next' Exec exec playd next
-+ '%/files/share/icons/oxygen/16x16/actions/media-playback-pause.png%Pause' Exec exec playd pause
-+ '%/files/share/icons/oxygen/16x16/actions/media-seek-backward.png%Previous' Exec exec playd previous
-+ '' NOP
-+ MissingSubmenuFunction MakeMissingMusicMenu
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%Radio' Popup '/files/share/radio'
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%Music' Popup '/files/music'
-+ '%/files/share/icons/oxygen/16x16/places/folder.png%Last Played' Popup 'MenuLastPlayed'
-+ 'CD' Exec exec playd cd
-+ '' NOP
-+ 'Randomize' Exec exec playd rnd playlist
-+ '%/files/share/icons/hydroxygen/16x16/apps/mplayer.png%Start' Exec exec playd restart
-+ '%/files/share/icons/oxygen/16x16/actions/media-playback-stop.png%Stop' Exec exec playd stop
-# }}}
-
-# CONFIG MENUS {{{
-# MenuFVWMModules {{{
-DestroyMenu MenuFVWMModules
-AddToMenu MenuFVWMModules
-+ '%/files/share/icons/oxygen/16x16/apps/terminal.png%FVWM Console' Function Fvwm_Console
-+ '%/files/share/icons/hydroxygen/16x16/status/info.png%Identify' Module FvwmIdent
-+ 'Pager' Module FvwmPager 0 15
-+ '%/files/share/icons/misc/16x16/apps/x.png%FvwmBar' Module FvwmButtons FvwmBar
-# }}}
-
-# MenuConf {{{
-DestroyMenu MenuConf
-AddToMenu MenuConf
-+ '%/files/share/icons/oxygen/16x16/apps/preferences-desktop-screensaver.png%Screensaver' Exec exec xscreensaver-demo
-+ '%/files/share/icons/oxygen/16x16/apps/preferences-desktop-theme.png%GTK Theme' Exec exec switch2
-+ '%/files/share/icons/oxygen/16x16/apps/preferences-desktop-theme.png%QT4 Theme' Exec exec qtconfig-qt4
-+ '%/files/share/icons/oxygen/16x16/apps/preferences-desktop-theme.png%QT3 Theme' Exec exec qtconfig
-+ '%/files/share/icons/hydroxygen/16x16/apps/nvidia-settings.png%nvidia settings' Exec exec nvidia-settings
-+ MissingSubmenuFunction MakeMissingGeneralFileMenu
-+ '%/files/share/icons/hydroxygen/16x16/apps/wallpaper.png%Set Wallpaper' Popup /files/share/wallpp
-+ 'Run Module' Popup MenuFVWMModules
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/apps/preferences-system-windows.png%Edit Config' Function Editor $[FVWM_USERDIR]/config
-+ '%/files/share/icons/hydroxygen/16x16/apps/logviewer.png%Read Log' Function Term -e tail -f $[HOME]/.xsession-errors
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/actions/view-refresh.png%Restart FVWM' Restart
-# }}}
-# }}}
-
-# OTHER MENUS {{{
-# MenuWinOp {{{
-DestroyMenu MenuWinOp
-AddToMenu MenuWinOp
-+ '%/files/share/icons/hydroxygen/16x16/status/info.png%Identify' Module FvwmIdent
-+ '' NOP
-+ 'Sticky' Pick Stick
-+ '' NOP
-+ 'Move' Pick Move
-+ 'Resize' Pick Resize
-+ '' NOP
-+ 'Iconify' Pick Thumbnail
-+ 'Deiconify' Pick DeThumbnail
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/actions/view-fullscreen.png%(Un)Maximize' Pick Maximize
-+ '' NOP
-+ '(Un)Shade' Pick WindowShade
-+ '(Un)Title' Pick Function ToggleTitle
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/actions/view-refresh.png%Refresh' Pick RefreshWindow
-+ 'To Desk' Popup MenuPickToDesk
-+ 'To Layer' Popup MenuPickLayer
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%FScreenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] frame show
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%Screenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] show
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%RealBigScreenshot' Exec exec $[FVWM_USERDIR]/bin/RealBigScreenshot.sh $[desk.pagesx] $[desk.pagesy] $[page.nx] $[page.ny]
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%Area Screenshot' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh area show
-+ '' NOP
-+ '%/files/share/icons/oxygen/16x16/actions/window-close.png%Close' Pick Close
-+ '%/files/share/icons/hydroxygen/16x16/actions/stop.png%Delete' Pick Delete
-+ '%/files/share/icons/hydroxygen/16x16/apps/gnome-panel-force-quit.png%Destroy' Pick Destroy
-+ '' NOP
-+ 'Group' Popup MenuGroup
-+ '' NOP
-+ 'GotoDesk' Popup MenuGotoDesk
-# }}}
-
-# MenuWindow {{{
-DestroyMenu MenuWindow
-AddToMenu MenuWindow
-+ '%/files/share/icons/hydroxygen/16x16/status/info.png%Identify' Module FvwmIdent
-+ '' NOP
-+ 'Sticky' Stick
-+ '' NOP
-+ 'To Desk' Popup MenuToDesk
-+ 'To Layer' Popup MenuLayer
-+ '%/files/share/icons/oxygen/16x16/actions/view-refresh.png%Refresh' RefreshWindow
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%FScreenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] frame show
-+ '%/files/share/icons/hydroxygen/16x16/apps/applets-screenshooter.png%Screenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] show
-+ '' NOP
-+ '(Un)Title' Pick Function ToggleTitle
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/actions/stop.png%Close' Close
-+ '%/files/share/icons/hydroxygen/16x16/status/error.png%Delete' Delete
-+ '%/files/share/icons/hydroxygen/16x16/apps/gnome-panel-force-quit.png%Destroy' Destroy
-+ '' NOP
-+ 'Group' Popup MenuGroup
-# }}}
-
-# MenuGroup {{{
-DestroyMenu MenuGroup
-AddToMenu MenuGroup
-+ 'Iconify' Pick All (CurrentPage, CurrentDesk, $[w.class]) Thumbnail
-+ 'DeIconify' Pick All (CurrentPage, CurrentDesk, $[w.class]) DeThumbnail
-+ '' NOP
-+ 'Shade' Pick All (CurrentPage, CurrentDesk, $[w.class]) WindowShade on
-+ 'UnShade' Pick All (CurrentPage, CurrentDesk, $[w.class]) WindowShade off
-+ '' NOP
-+ 'To Desk' Popup MenuGroupToDesk
-+ 'To Layer' Popup MenuGroupToLayer
-+ '' NOP
-+ '%/files/share/icons/hydroxygen/16x16/actions/stop.png%Close' Pick All (CurrentPage, CurrentDesk, $[w.class]) Close
-+ '%/files/share/icons/hydroxygen/16x16/status/error.png%Delete' Pick All (CurrentPage, CurrentDesk, $[w.class]) Delete
-+ '%/files/share/icons/hydroxygen/16x16/apps/gnome-panel-force-quit.png%Destroy' Pick All (CurrentPage, CurrentDesk, $[w.class]) Destroy
-# }}}
-
-# MenuLayer {{{
-DestroyMenu MenuLayer
-AddToMenu MenuLayer
-+ '%/files/share/icons/oxygen/16x16/actions/go-top.png%Top' Layer 0 15
-+ '%/files/share/icons/oxygen/16x16/actions/go-home.png%Normal' Layer 0 10
-+ '%/files/share/icons/oxygen/16x16/actions/go-bottom.png%Bottom' Layer 0 5
-# }}}
-
-# MenuGroupToLayer {{{
-DestroyMenu MenuGroupToLayer
-AddToMenu MenuGroupToLayer
-+ '%/files/share/icons/oxygen/16x16/actions/go-top.png%Top' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 15
-+ '%/files/share/icons/oxygen/16x16/actions/go-home.png%Normal' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 10
-+ '%/files/share/icons/oxygen/16x16/actions/go-bottom.png%Bottom' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 5
-# }}}
-
-# MenuPickLayer {{{
-DestroyMenu MenuPickLayer
-AddToMenu MenuPickLayer
-+ '%/files/share/icons/oxygen/16x16/actions/go-top.png%Very Top' Pick Layer 0 20
-+ '%/files/share/icons/oxygen/16x16/actions/go-top.png%Top' Pick Layer 0 15
-+ '%/files/share/icons/oxygen/16x16/actions/go-home.png%Normal' Pick Layer 0 10
-+ '%/files/share/icons/oxygen/16x16/actions/go-bottom.png%Bottom' Pick Layer 0 5
-# }}}
-
-# MenuToDesk, MenuGroupToDesk, MenuPickToDesk, MenuGotoDesk {{{
-DestroyMenu MenuToDesk
-AddToMenu MenuToDesk
-+ '$[desk.name0]' Pick MoveToDesk 0 0
-+ '$[desk.name1]' Pick MoveToDesk 0 1
-+ '$[desk.name2]' Pick MoveToDesk 0 2
-+ '$[desk.name3]' Pick MoveToDesk 0 3
-+ '$[desk.name4]' Pick MoveToDesk 0 4
-+ '$[desk.name5]' Pick MoveToDesk 0 5
-+ '$[desk.name6]' Pick MoveToDesk 0 6
-+ '$[desk.name7]' Pick MoveToDesk 0 7
-+ '$[desk.name8]' Pick MoveToDesk 0 8
-+ '$[desk.name9]' Pick MoveToDesk 0 9
-+ '$[desk.name10]' Pick MoveToDesk 0 10
-+ '$[desk.name11]' Pick MoveToDesk 0 11
-+ '$[desk.name12]' Pick MoveToDesk 0 12
-+ '$[desk.name13]' Pick MoveToDesk 0 13
-+ '$[desk.name14]' Pick MoveToDesk 0 14
-+ '$[desk.name15]' Pick MoveToDesk 0 15
-
-DestroyMenu MenuGroupToDesk
-AddToMenu MenuGroupToDesk
-+ '$[desk.name0]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 0
-+ '$[desk.name1]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 1
-+ '$[desk.name2]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 2
-+ '$[desk.name3]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 3
-+ '$[desk.name4]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 4
-+ '$[desk.name5]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 5
-+ '$[desk.name6]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 6
-+ '$[desk.name7]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 7
-+ '$[desk.name8]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 8
-+ '$[desk.name9]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 9
-+ '$[desk.name10]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 10
-+ '$[desk.name11]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 11
-+ '$[desk.name12]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 12
-+ '$[desk.name13]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 13
-+ '$[desk.name14]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 14
-+ '$[desk.name15]' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 15
-
-DestroyMenu MenuPickToDesk
-AddToMenu MenuPickToDesk
-+ '$[desk.name0]' Pick MoveToDesk 0 0
-+ '$[desk.name1]' Pick MoveToDesk 0 1
-+ '$[desk.name2]' Pick MoveToDesk 0 2
-+ '$[desk.name3]' Pick MoveToDesk 0 3
-+ '$[desk.name4]' Pick MoveToDesk 0 4
-+ '$[desk.name5]' Pick MoveToDesk 0 5
-+ '$[desk.name6]' Pick MoveToDesk 0 6
-+ '$[desk.name7]' Pick MoveToDesk 0 7
-+ '$[desk.name8]' Pick MoveToDesk 0 8
-+ '$[desk.name9]' Pick MoveToDesk 0 9
-+ '$[desk.name10]' Pick MoveToDesk 0 10
-+ '$[desk.name11]' Pick MoveToDesk 0 11
-+ '$[desk.name12]' Pick MoveToDesk 0 12
-+ '$[desk.name13]' Pick MoveToDesk 0 13
-+ '$[desk.name14]' Pick MoveToDesk 0 14
-+ '$[desk.name15]' Pick MoveToDesk 0 15
-
-DestroyMenu MenuGotoDesk
-AddToMenu MenuGotoDesk
-+ '$[desk.name0]' Pick GotoToDesk 0 0
-+ '$[desk.name1]' Pick GotoToDesk 0 1
-+ '$[desk.name2]' Pick GotoToDesk 0 2
-+ '$[desk.name3]' Pick GotoToDesk 0 3
-+ '$[desk.name4]' Pick GotoToDesk 0 4
-+ '$[desk.name5]' Pick GotoToDesk 0 5
-+ '$[desk.name6]' Pick GotoToDesk 0 6
-+ '$[desk.name7]' Pick GotoToDesk 0 7
-+ '$[desk.name8]' Pick GotoToDesk 0 8
-+ '$[desk.name9]' Pick GotoToDesk 0 9
-+ '$[desk.name10]' Pick GotoToDesk 0 10
-+ '$[desk.name11]' Pick GotoToDesk 0 11
-+ '$[desk.name12]' Pick GotoToDesk 0 12
-+ '$[desk.name13]' Pick GotoToDesk 0 13
-+ '$[desk.name14]' Pick GotoToDesk 0 14
-+ '$[desk.name15]' Pick GotoToDesk 0 15
-
-# }}}
-# }}}
-# }}}
++ 'Press Control+Shift+X' Exec exec $[WMSCRIPTS_DIR]/menu.sh
# Startup {{{
DestroyFunc StartFunction
@@ -1488,3 +1017,15 @@ AddToFunc StartFunction
+ I Test (Start) Module FvwmPager FvwmPagerAll 0 15
+ I Test (Start) Schedule 2000 Function XmobarLogger
# }}}
+
+
+PipeRead ' \
+if [ ! -f $[FVWM_USERDIR]/.nomsg ]; then \
+ if which gxmessage > /dev/null; then \
+ XMSG=gxmessage; \
+ else \
+ XMSG=xmessage; \
+ fi; \
+ echo "Exec exec $XMSG -file $[FVWM_USERDIR]/README"; \
+fi \
+'
View
0  bin/deskCdMenu.sh → deprecated/bin/deskCdMenu.sh
File renamed without changes
View
0  bin/generalfilemenu.sh → deprecated/bin/generalfilemenu.sh
File renamed without changes
View
0  bin/musicmenu.sh → deprecated/bin/musicmenu.sh
File renamed without changes
View
429 deprecated/config
@@ -0,0 +1,429 @@
+# FUNCTIONS {{{
+# MakeMissingGeneralFileMenu {{{
+# DESCRIPTION: Function to make file menu
+DestroyFunc MakeMissingGeneralFileMenu
+AddToFunc MakeMissingGeneralFileMenu
++ I PipeRead '$[FVWM_USERDIR]/bin/generalfilemenu.sh $[0]'
+# }}}
+
+# Shutdown_common {{{
+# DESCRIPTION: Function for common tasts used when shutting down or rebooting
+DestroyFunc Shutdown_common
+AddToFunc Shutdown_common
++ I Exec exec playd stop
+# }}}
+
+# Shutdown_PC {{{
+# DESCRIPTION: Function to shutdown PC. You probably whouldn't edit it directly
+DestroyFunc Shutdown_PC
+AddToFunc Shutdown_PC
++ I Function Shutdown_common
++ I exec /sbin/shutdown -p now
++ I Quit
+# }}}
+
+# Reboot_PC {{{
+# DESCRIPTION: Function to shutdown PC. You probably whouldn't edit it directly
+DestroyFunc Reboot_PC
+AddToFunc Reboot_PC
++ I Function Shutdown_common
++ I exec /sbin/shutdown -r now
++ I Quit
+# }}}
+
+# Set_Wallpaper {{{
+# DESCRIPTION: Function to set default wallpaper and display it on desk
+DestroyFunc Set_Wallpaper
+AddToFunc Set_wallpaper
++ I Exec ln -f -s $[0] '$[HOME]/.wallpaper'; hsetroot -fill $[0]
++ I Schedule 300 Module FvwmPager FvwmPagerAll 0 15
++ I Schedule 500 Refresh
+# }}}
+
+# MakeMissingMusicMenu {{{
+# DESCRIPTION: Function to build music menu
+DestroyFunc MakeMissingMusicMenu
+AddToFunc MakeMissingMusicMenu
++ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]"'
+# }}}
+
+# MakeMissingPlayedMusicMenu {{{
+# DESCRIPTION: Function to build music menu of last selecte Music menu
+DestroyFunc MakeMissingPlayedMusicMenu
+AddToFunc MakeMissingPlayedMusicMenu
++ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "$[0]"'
+# }}}
+
+# PlayerPlay {{{
+# DESCRIPTION: Function to play music from musicmenu
+DestroyFunc PlayerPlay
+AddToFunc PlayerPlay
++ I Exec exec playd '$[0]'
++ I Test ( $[1] ) PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "MenuLastPlayed"'
+# }}}
+
+# PlayerAppend {{{
+# DESCRIPTION: Function to append files to player from musicmenu
+DestroyFunc PlayerAppend
+AddToFunc PlayerAppend
++ I Exec exec playd append '$[0]'
++ I PipeRead '$[FVWM_USERDIR]/bin/musicmenu.sh "$[0]" "MenuLastPlayed"'
+# }}}
+# }}}
+
+# BINDINGS {{{
+Mouse 1 R N Menu MainMenu mouse -1p -1p
+Mouse 1 R 4 Menu MenuPlayer mouse -1p -1p
+Mouse 1 R 4S Menu MenuConf mouse -1p -1p
+Mouse 1 1 A Menu MenuWindow
+Mouse 1 W 4S Menu MainMenu mouse -1p -1p
+Mouse 2 1 A Menu MenuGroup
+Mouse 2 R N Menu MenuWinOp mouse -1p -1p
+Mouse 2 W 4 Menu MenuWinOp mouse -1p -1p
+Mouse 3 1 A Menu MenuToDesk
+Key F1 A 4C Menu MainMenu mouse -1p -1p
+Key F12 A 4 Menu MenuConf mouse -1p -1p
+Key Menu A N Menu MenuInputLanguage mouse -1p -1p
+
+# }}}
+
+# MENUS {{{
+# USER MENUS {{{
+# MainMenu {{{
+DestroyMenu MainMenu
+AddToMenu MainMenu ".: fvwm v$[version.num] :." title
++ 'Browser' Function www
++ '%folder.png%Browsers' Popup MenuBrowsers
++ '%utilities-terminal.png%Terminal' Function Term
++ '%accessories-text-editor.png%Editor' Function Editor
++ '%folder.png%GFX' Popup MenuGFX
++ '%xpdf.png%pdf viewer' Exec exec zathura
++ '%accessories-calculator.png%calculator' Exec exec gcalctool
++ '%libreoffice-writer.png%Office' Exec exec libreoffice
++ '%internet-mail.png%Mail' Exec exec claws-mail
++ '%mplayer.png%Player' Popup MenuPlayer
++ '%calc.png%calendar' Exec when --warp=0 --nopaging --monday_first --noampm | exec gxmessage -center -font 'dejavu sans mono' -name when -file -
++ 'deadbeef' Exec exec deadbeef > /dev/null 2> /dev/null
++ '%netbeans.png%netbeans' Exec exec netbeans-7.0
++ '%virtualbox.png%VirtualBox' Popup MenuVirtualBox
++ '' NOP
++ '%help-browser.png%Help' Exec exec $[WMSCRIPTS_DIR]/docMenu.sh
++ '' NOP
++ '%config-language.png%Input Lang' Popup MenuInputLanguage
++ '%applications-utilities.png%Utils' Popup MenuUtils
++ '%preferences-desktop.png%Config' Popup MenuConf
++ '' NOP
++ '%folder.png%Exit' Popup MenuExit
+# }}}
+
+# MenuGFX {{{
+DestroyMenu MenuGFX
+AddToMenu MenuGFX
++ '%eog.png%pic viewer' Function Start_Viewer
++ '%gimp.png%Gimp' Exec exec gimp
++ '%inkscape.png%InkScape' Exec exec inkscape
+# }}}
+
+# MenuBrowsers {{{
+DestroyMenu MenuBrowsers
+AddToMenu MenuBrowsers
++ '%opera.png%Opera' Exec exec opera
++ '%firefox.png%Firefox' Exec exec firefox
++ '%chrome.png%Chrome' Exec exec chrome --disable-sync --block-reading-third-party-cookies --disk-cache-dir=/tmp/.chrome --lang=en --disable-internal-flash
++ 'elinks' Function term -name elinks -e elinks
++ '' NOP
++ '%opera.png%Opera (private tab)' Exec exec opera -nomail -newprivatetab -nosession
++ '%firefox.png%Firefox (private)' Exec exec firefox -private-toggle
++ '%chrome.png%Chrome (incognito)' Exec exec chrome --disable-sync --block-reading-third-party-cookies --disk-cache-dir=/tmp/.chrome --lang=en --disable-internal-flash --incognito
+# }}}
+
+# MenuDev {{{
+DestroyMenu MenuDev
+AddToMenu MenuDev
++ '%x.png%QT4 Creator' Exec exec qtcreator
++ '%x.png%QT4 Designer' Exec exec designer-qt4
++ '%terminal.png%Terminal' Function Term
++ '%vim.png%Editor' Function Editor
+# }}}
+
+# MenuVirtualBox {{{
+DestroyMenu MenuVirtualBox
+AddToMenu MenuVirtualBox
++ '%virtualbox.png%VirtualBox' Exec exec VirtualBox
++ '' NOP
++ '%virtualbox.png%Load vboxdrv' Exec exec sudo kldload vboxdrv
++ '%virtualbox.png%Unload vboxdrv' Exec exec sudo kldunload vboxdrv
+# }}}
+
+# MenuInputLanguage {{{
+DestroyMenu MenuInputLanguage
+AddToMenu MenuInputLanguage
++ '%lv.png%Latvian' Function ch_lang lv
++ '%ru.png%Russian (phonetic)' Function ch_lang ru phonetic
++ '' NOP
++ '%ru.png%Russian' Function ch_lang ru
++ '%lv.png%Latvian (appastrophe)' Function ch_lang lv apostrophe
++ '' NOP
++ '%lv.png%Latvian Modern' Function ch_lang lv modern
+# }}}
+
+# MenuCad {{{
+DestroyMenu MenuCad
+AddToMenu MenuCad
++ '%x.png%gschem' Exec exec gschem
++ '%x.png%pcb' Exec exec pcb
++ '%x.png%kicad' Exec exec kicad
+# }}}
+
+# MenuAdmin {{{
+DestroyMenu MenuAdmin
+AddToMenu MenuAdmin
++ '%x.png%pgAdmin3' Exec exec pgadmin3
++ '%x.png%sqliteman' Exec exec sqliteman
+# }}}
+
+# MenuUtils {{{
+DestroyMenu MenuUtils
+AddToMenu MenuUtils
++ 'Toggle Movie Mode' Exec exec $[WMSCRIPTS_DIR]/toggleMovieMode.sh
++ '' NOP
++ 'PagerAll' Module FvwmPager FvwmPagerAll 0 15
++ 'Agents' Popup MenuAgents
++ '%transmission.png%Torrent' Exec pgrep transmission-qt > /dev/null 2> /dev/null || exec transmission-qt -m
++ 'irssi' Exec exec xchat
++ '%accessories-character-map.png%klavaro' Exec exec klavaro
++ '%x.png%gpa' Exec exec gpa
++ '%pidgin.png%IM' Exec pgrep pidgin > /dev/null 2> /dev/null || exec pidgin
++ 'VNCviewer' Exec exec vncviewer > /dev/null 2> /dev/null
++ '%password.png%keepassx' Exec pgrep keepassx > /dev/null 2> /dev/null || exec keepassx $[HOME]/doc/passwd.kdb
++ 'Pager' Module FvwmPager FvwmPagerCurrent *
++ 'Desktop Size' Popup MenuDeskSize
++ '%x.png%xfontsel' Exec exec xfontsel
++ '%gnome-color-chooser.png%gcolor2' Exec exec gcolor2
++ '%applets-screenshooter.png%Screenshot' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh show
++ '%applets-screenshooter.png%Screenshot 10s' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh sleep 10 show
++ '%x.png%mindmap' Exec exec freemind
++ 'admin tools' Popup MenuAdmin
++ '' NOP
++ '%terminal.png%chterm: xterm' SetEnv UTERM xterm
++ '%terminal.png%chterm: urxvtc' SetEnv UTERM urxvtc
++ '%terminal.png%chterm: urxvt' SetEnv UTERM urxvt
+# }}}
+
+# MenuAgents {{{
+DestroyMenu MenuAgents
+AddToMenu MenuAgents
++ 'Start SSH Agent' Function Start_SSH_Agent
++ 'Start GPG Agent' Function Start_GPG_Agent
++ '' NOP
++ 'Start All Agents' Function Start_Agents
++ '' NOP
++ 'Clear Agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clear
++ 'Kill Agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh stop
++ '' NOP
++ 'Clean SSH agent dirs' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clean
+# }}}
+
+# MenuExit {{{
+DestroyMenu MenuExit
+AddToMenu MenuExit
++ 'Clear agents' Exec exec $[WMSCRIPTS_DIR]/agentCtl.sh clear all
++ '%screensaver.png%Monitor off' Exec exec $[WMSCRIPTS_DIR]/screensaverCtl.sh monitor-off
++ '%system-lock-screen.png%Lock' Exec exec $[WMSCRIPTS_DIR]/screensaverCtl.sh lock
++ '' NOP
++ '%system-log-out.png%Exit fvwm' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Quit"'
++ '' NOP
++ '%gnome-session-reboot.png%Reboot' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Function Reboot_PC"'
++ '%system-shutdown.png%Shutdown' PipeRead '$[WMSCRIPTS_DIR]/agentCtl.sh stop all; echo "Function Shutdown_PC"'
+# }}}
+
+# MenuDeskSize {{{
+DestroyMenu MenuDeskSize
+AddToMenu MenuDeskSize
++ '1x1' DesktopSize 1x1
++ '2x1' DesktopSize 2x1
++ '2x2' DesktopSize 2x2
++ '3x1' DesktopSize 3x1
++ '3x2' DesktopSize 3x2
++ '1x2' DesktopSize 1x2
++ '1x3' DesktopSize 1x3
++ '2x3' DesktopSize 2x3
+# }}}
+# }}}
+
+# PLAYER MENUS {{{
+DestroyMenu MenuPlayer
+AddToMenu MenuPlayer '%mplayer.png%.: Player :.' title
++ '%media-seek-forward.png%Next' Exec exec playd next
++ '%media-playback-pause.png%Pause' Exec exec playd pause
++ '%media-seek-backward.png%Previous' Exec exec playd previous
++ '' NOP
++ MissingSubmenuFunction MakeMissingMusicMenu
++ '%folder.png%Radio' Popup '/files/share/radio'
++ '%folder.png%Music' Popup '/files/music'
++ '%folder.png%Last Played' Popup 'MenuLastPlayed'
++ 'CD' Exec exec playd cd
++ '' NOP
++ 'Randomize' Exec exec playd rnd playlist
++ '%mplayer.png%Start' Exec exec playd restart
++ '%media-playback-stop.png%Stop' Exec exec playd stop
+# }}}
+
+# CONFIG MENUS {{{
+# MenuFVWMModules {{{
+DestroyMenu MenuFVWMModules
+AddToMenu MenuFVWMModules
++ '%terminal.png%FVWM Console' Function Fvwm_Console
++ '%info.png%Identify' Module FvwmIdent
++ 'Pager' Module FvwmPager 0 15
++ '%x.png%FvwmBar' Module FvwmButtons FvwmBar
+# }}}
+
+# MenuConf {{{
+DestroyMenu MenuConf
+AddToMenu MenuConf
++ '%preferences-desktop-screensaver.png%Screensaver' Exec exec xscreensaver-demo
++ '%preferences-desktop-theme.png%GTK Theme' Exec exec switch2
++ '%preferences-desktop-theme.png%QT4 Theme' Exec exec qtconfig-qt4
++ '%preferences-desktop-theme.png%QT3 Theme' Exec exec qtconfig
++ '%nvidia-settings.png%nvidia settings' Exec exec nvidia-settings
++ MissingSubmenuFunction MakeMissingGeneralFileMenu
++ '%wallpaper.png%Set Wallpaper' Popup /files/share/wallpp
++ 'Run Module' Popup MenuFVWMModules
++ '' NOP
++ '%preferences-system-windows.png%Edit Config' Function Editor $[FVWM_USERDIR]/config
++ '%logviewer.png%Read Log' Function Term -e tail -f $[HOME]/.xsession-errors
++ '' NOP
++ '%view-refresh.png%Restart FVWM' Restart
+# }}}
+# }}}
+
+# OTHER MENUS {{{
+# MenuWinOp {{{
+DestroyMenu MenuWinOp
+AddToMenu MenuWinOp
++ '%info.png%Identify' Module FvwmIdent
++ '' NOP
++ 'Sticky' Pick Stick
++ '' NOP
++ 'Move' Pick Move
++ 'Resize' Pick Resize
++ '' NOP
++ 'Iconify' Pick Thumbnail
++ 'Deiconify' Pick DeThumbnail
++ '' NOP
++ '%view-fullscreen.png%(Un)Maximize' Pick Maximize
++ '' NOP
++ '(Un)Shade' Pick WindowShade
++ '(Un)Title' Pick Function ToggleTitle
++ '' NOP
++ '%view-refresh.png%Refresh' Pick RefreshWindow
++ 'To Desk' Popup MenuPickToDesk
++ 'To Layer' Popup MenuPickLayer
++ '' NOP
++ '%applets-screenshooter.png%FScreenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] frame show
++ '%applets-screenshooter.png%Screenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] show
++ '%applets-screenshooter.png%RealBigScreenshot' Exec exec $[FVWM_USERDIR]/bin/RealBigScreenshot.sh $[desk.pagesx] $[desk.pagesy] $[page.nx] $[page.ny]
++ '%applets-screenshooter.png%Area Screenshot' Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh area show
++ '' NOP
++ '%window-close.png%Close' Pick Close
++ '%stop.png%Delete' Pick Delete
++ '%gnome-panel-force-quit.png%Destroy' Pick Destroy
++ '' NOP
++ 'Group' Popup MenuGroup
++ '' NOP
++ 'GotoDesk' Popup MenuGotoDesk
+# }}}
+
+# MenuWindow {{{
+DestroyMenu MenuWindow
+AddToMenu MenuWindow
++ '%info.png%Identify' Module FvwmIdent
++ '' NOP
++ 'Sticky' Stick
++ '' NOP
++ 'To Desk' Popup MenuToDesk
++ 'To Layer' Popup MenuLayer
++ '%view-refresh.png%Refresh' RefreshWindow
++ '' NOP
++ '%applets-screenshooter.png%FScreenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] frame show
++ '%applets-screenshooter.png%Screenshot' Pick Exec exec $[WMSCRIPTS_DIR]/mkScreenshot.sh window $[w.id] show
++ '' NOP
++ '(Un)Title' Pick Function ToggleTitle
++ '' NOP
++ '%stop.png%Close' Close
++ '%error.png%Delete' Delete
++ '%gnome-panel-force-quit.png%Destroy' Destroy
++ '' NOP
++ 'Group' Popup MenuGroup
+# }}}
+
+# MenuGroup {{{
+DestroyMenu MenuGroup
+AddToMenu MenuGroup
++ 'Iconify' Pick All (CurrentPage, CurrentDesk, $[w.class]) Thumbnail
++ 'DeIconify' Pick All (CurrentPage, CurrentDesk, $[w.class]) DeThumbnail
++ '' NOP
++ 'Shade' Pick All (CurrentPage, CurrentDesk, $[w.class]) WindowShade on
++ 'UnShade' Pick All (CurrentPage, CurrentDesk, $[w.class]) WindowShade off
++ '' NOP
++ 'To Desk' Popup MenuGroupToDesk
++ 'To Layer' Popup MenuGroupToLayer
++ '' NOP
++ '%stop.png%Close' Pick All (CurrentPage, CurrentDesk, $[w.class]) Close
++ '%error.png%Delete' Pick All (CurrentPage, CurrentDesk, $[w.class]) Delete
++ '%gnome-panel-force-quit.png%Destroy' Pick All (CurrentPage, CurrentDesk, $[w.class]) Destroy
+# }}}
+
+# MenuLayer {{{
+DestroyMenu MenuLayer
+AddToMenu MenuLayer
++ '%go-top.png%Top' Layer 0 15
++ '%go-home.png%Normal' Layer 0 10
++ '%go-bottom.png%Bottom' Layer 0 5
+# }}}
+
+# MenuGroupToLayer {{{
+DestroyMenu MenuGroupToLayer
+AddToMenu MenuGroupToLayer
++ '%go-top.png%Top' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 15
++ '%go-home.png%Normal' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 10
++ '%go-bottom.png%Bottom' Pick All (CurrentPage, CurrentDesk, $[w.class]) Layer 0 5
+# }}}
+
+# MenuPickLayer {{{
+DestroyMenu MenuPickLayer
+AddToMenu MenuPickLayer
++ '%go-top.png%Very Top' Pick Layer 0 20
++ '%go-top.png%Top' Pick Layer 0 15
++ '%go-home.png%Normal' Pick Layer 0 10
++ '%go-bottom.png%Bottom' Pick Layer 0 5
+# }}}
+
+# MenuToDesk, MenuGroupToDesk, MenuGotoDesk {{{
+DestroyMenu MenuToDesk
+AddToMenu MenuToDesk
+PipeRead '\
+for i in `jot $[FVWM_DESKS] 0`; do \
+ echo "+ \'$[desk.name$i]\' Pick MoveToDesk 0 $i"; \
+done \
+'
+
+DestroyMenu MenuGroupToDesk
+AddToMenu MenuGroupToDesk
+PipeRead '\
+for i in `jot $[FVWM_DESKS] 0`; do \
+ echo "+ \'$[desk.name$i]\' Pick All (CurrentPage, CurrentDesk, $[w.class]) MoveToDesk 0 $i"; \
+done \
+'
+
+DestroyMenu MenuGotoDesk
+AddToMenu MenuGotoDesk
+PipeRead '\
+for i in `jot $[FVWM_DESKS] 0`; do \
+ echo "+ \'$[desk.name$i]\' Pick GotoToDesk 0 $i"; \
+done \
+'
+# }}}
+# }}}
+# #}}}

0 comments on commit cd402fc

Please sign in to comment.
Something went wrong with that request. Please try again.