]> git.draconx.ca Git - fvwmconf.git/commitdiff
Move scripts into their own subdirectory.
authorNick Bowler <draconx@gmail.com>
Sun, 20 Apr 2008 07:28:20 +0000 (03:28 -0400)
committerNick Bowler <draconx@gmail.com>
Sun, 20 Apr 2008 07:28:20 +0000 (03:28 -0400)
artemis/rootmenu
atropos/rootmenu
common/modifier
common/wallpaper
scripts/bgmenu.sh [moved from bgmenu.sh with 93% similarity]
scripts/mpdmenu.pl [moved from mpdmenu.pl with 98% similarity]
scripts/resize.sh [moved from resize.sh with 100% similarity]
scripts/thumbnail.sh [moved from thumbnail.sh with 100% similarity]

index 9a62d01f32f80c1eaf96b14120bd489999cb4776..3c2f6263f8411a9f27e8e690bf03dd3ed8a7c617 100644 (file)
@@ -42,6 +42,6 @@ ChangeMenuStyle MenuMPD MenuMPD
 DestroyFunc MakeMenuMPD
 AddToFunc   MakeMenuMPD
 + I DestroyMenu recreate MenuMPD
-+ I PipeRead "exec $[FVWM_USERDIR]/mpdmenu.pl --menu MenuMPD"
++ I PipeRead "exec $[FVWM_USERDIR]/scripts/mpdmenu.pl --menu MenuMPD"
 
 Mouse 3 R A Menu MenuFvwmRoot
index 74001e867b7c167ee80650f447a34e835fdbfc23..f2786bbecb29bd3fac8007e206b1326142a6617c 100644 (file)
@@ -45,6 +45,6 @@ ChangeMenuStyle MenuMPD MenuMPD
 DestroyFunc MakeMenuMPD
 AddToFunc   MakeMenuMPD
 + I DestroyMenu recreate MenuMPD
-+ I PipeRead "exec $[FVWM_USERDIR]/mpdmenu.pl --menu MenuMPD"
++ I PipeRead "exec $[FVWM_USERDIR]/scripts/mpdmenu.pl --menu MenuMPD"
 
 Mouse 3 R A Menu MenuFvwmRoot
index ddfc535f437a3e14bc42ef000a3842f4cbfef479..c7b770da57c2154552240d2fc31753e8ef365cb1 100644 (file)
@@ -13,4 +13,4 @@ DestroyFunc Mod_M3Func
 AddToFunc   Mod_M3Func
  + C Lower
  + D Maximize 100 0
- + M PipeRead '. $[FVWM_USERDIR]/resize.sh $[pointer.wx] $[pointer.wy] $[w.width] $[w.height]'
+ + M PipeRead '. $[FVWM_USERDIR]/scripts/resize.sh $[pointer.wx] $[pointer.wy] $[w.width] $[w.height]'
index 5855f74161c21aec7288f27337016b9dcbdeaaad..46a3e4d56b013ef1d76e00fd2ad2c37d0048af47 100644 (file)
@@ -15,7 +15,7 @@ DestroyFunc MakeMenuWallpaper
 AddToFunc   MakeMenuWallpaper
  + I DestroyMenu recreate MenuWallpaper
  + I AddToMenu MenuWallpaper Wallpaper Title
- + I PipeRead '. $[FVWM_USERDIR]/bgmenu.sh $[BGROOT] MenuWallpaper'
+ + I PipeRead '. $[FVWM_USERDIR]/scripts/bgmenu.sh $[BGROOT] MenuWallpaper'
 
 DestroyFunc SetWallpaper
 AddToFunc   SetWallpaper
similarity index 93%
rename from bgmenu.sh
rename to scripts/bgmenu.sh
index 36d94f17140446cd387516e1da70629fb1bda321..ec6ae8f050dbc21f57551b2404be80041a5f8921 100755 (executable)
--- a/bgmenu.sh
@@ -6,7 +6,7 @@
 
 menu="MenuWallpaper"
 func="SetWallpaper"
-thumber="$HOME/.fvwm/thumbnail.sh"
+thumber="$HOME/.fvwm/scripts/thumbnail.sh"
 
 if [ ! -d "$1" ]; then
        echo "usage: $0 <directory> [menuname]" 1>&2
similarity index 98%
rename from mpdmenu.pl
rename to scripts/mpdmenu.pl
index f88451d12340c0021fa124521511397cb2501141..2b593b0ab9a2a9955b4135836adb11868e1739a6 100755 (executable)
@@ -138,7 +138,7 @@ if (defined $album) {
                my $key      = $_;
                my $a_album  = sanitise($key);
 
-               open THUMB, "-|", "$FVWM/thumbnail.sh",
+               open THUMB, "-|", "$FVWM/scripts/thumbnail.sh",
                                         "--small", "--music", $albums{$key};
                my $thumb = <THUMB>;
                close THUMB;
@@ -234,7 +234,7 @@ if (defined $album) {
                $t_artist = sanitise($t_artist);
                $t_title  = sanitise($t_title);
 
-               open THUMB, "-|", "$FVWM/thumbnail.sh",
+               open THUMB, "-|", "$FVWM/scripts/thumbnail.sh",
                                         "--small", "--music", $t_file;
                my $thumb = <THUMB>;
                close(THUMB);
@@ -276,7 +276,7 @@ if (defined $album) {
        }
        die("Failed data query\n") unless (keys(%entry) > 0);
 
-       open THUMB, "-|", "$FVWM/thumbnail.sh",
+       open THUMB, "-|", "$FVWM/scripts/thumbnail.sh",
                                 "--image", "--music",  $entry{file};
        my $thumb = <THUMB>;
        my $scan  = <THUMB>;
similarity index 100%
rename from resize.sh
rename to scripts/resize.sh
similarity index 100%
rename from thumbnail.sh
rename to scripts/thumbnail.sh