Advertisement
Guest User

Untitled

a guest
Aug 30th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.60 KB | None | 0 0
  1. [Shimmer Desktop]
  2. Type=G+
  3. Title = "%S - %a / %l"
  4. DefaultFocus = SimpleSearch
  5. Default = Window(size=1000x750)
  6. Window = hidden=VPSongPlaylist|FilterPane2
  7. Author = simon@shimmerproject.org
  8. ### main window containers: top bar, main and statusbar ###
  9. VBMain = HBTop _HPMain
  10. HPMain = VBLeft _VBRight
  11. HBTop = ABButtons _15VBPlayer 10ABToggle -5ABSettings
  12. ### top bar from left to right ###
  13. ABButtons = (yalign=0,yscale=0.0) HBButtons
  14. HBButtons = Prev Play Next(click2=NextAlbum)
  15. VBPlayer = 1Filler0 HBTitle HBTimeSlider
  16. HBTitle = Title(expand_max=500,markup="<big><b>%t</b></big> ",tip=_"Title: %t (Track No. %n)",yalign=0.5,ellipsize=end) LockAlbum(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") Album(tip=_"Album: %l (%Y)",expand_max=200,yalign=0.5,markup="<big> </big>%l ",showcover=0,ellipsize=end) LockArtist(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") Artist(tip=_"Artist: %a",expand_max=300,yalign=0.5,markup="<big> </big>%a",ellipsize=end) -Stars(yalign=0.5)
  17. HBTimeSlider = PlayingTime(markup="%s",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) -Length(markup="$length",initsize="XX:XX",xalign=1)
  18. ABToggle = (yalign=0,yscale=0.0) HBToggle
  19. HBToggle = ToggleButton0(relief=none,size=large-toolbar,icon=gmb-view-list,widget=VPSongPlaylist,togglegroup=1,tip=_"Simple List View") ToggleButton1(relief=none,size=large-toolbar,icon=gmb-view-tree,widget=SongTree,togglegroup=1,tip=_"Songtree View") ToggleButton2(relief=none,size=large-toolbar,icon=gmb-view-mosaic,widget=FilterPane2,togglegroup=1,tip=_"Mosaic View") Fullscreen(stock=gmb-view-fullscreen,size=large-toolbar,tip="Fullscreen View") 10Filler2 ABSearchBox
  20. ABSearchBox = (yalign=0) SimpleSearch(suggest=1)
  21. ABSettings = (yalign=0,yscale=0.0) HBSettings
  22. HBSettings = ExtraButtons(size=large-toolbar) BMSettings
  23. BMSettings = (icon=gtk-preferences,size="large-toolbar") SMLibrary LayoutItem PlayItem SeparatorMenuItem01 MenuItem34(command=OpenCustom(Equalizer),label=_"Equalizer",icon=gmb-equalizer) SeparatorMenuItem20 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
  24. SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(1,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
  25. ### main left: artist pane and album-cover ###
  26. VBLeft = _VBListCover HBStatus
  27. #VBListCover = _NBList Cover(overlay=6x6:350x350:elementary/overlay.png,default=elementary/no-cover.svg,showcover=0) # uncomment this line to add overlay shadow
  28. VBListCover = _NBList 1Cover(default=elementary/no-cover.svg,showcover=0)
  29. NBList = (tabpos="bottom") QueueList(songtree=1,tabtitle=_"Queue (%n)",tabicon="gmb-queue",cols="queuenumber titleaa",colwidth="queuenumber 20 titleaa 248",showbb=1,hscrollbar=0) HBfuck
  30. HBfuck = (tabtitle=_"Parcourir") _FPane
  31. #HBLyrics = (tabtitle=_"Lyrics") _PluginLyrics
  32. #VBArtistinfo = (tabtitle=_"Artist") _PluginArtistinfo
  33. #VBAlbuminfo = (tabtitle=_"Album") _PluginAlbuminfo
  34. HBStatus = 3Total(format=short,relief=none,button=1,mode=library) -2Sort(button=1,tip=_"Right-click to toggle shuffle/random") -2Filter(button=1,tip=_"Right-click to remove filters") -2ToggleButton3(icon=gmb-picture,relief=none,size=menu,widget=Cover,tip=_"Show/Hide Cover")
  35. ### main right: list/tree/mosaic widgets ###
  36. VBRight = _HBSongListtree Progress
  37. HBSongListtree = _SongTree(cols="playandqueueandtrack title length ratingpic",colwidth="artist 124 lastplay 107 length 49 playandqueue 19 playandqueueandtrack 20 playcount 22 ratingpic 100 title 390 titleaa 397 track 21",grouping="album|artistalbum_breadcrumbs(picsize=100)|disc|discleft(width=15)",follow=1,sort="year album disc track") _VPSongPlaylist _FilterPane2(nb=3,hidebb=1,pages=album,page_album/mode=mosaic,page_album/mmarkup=1,page_album/mpicsize=96,hidetabs=1)
  38. VPSongPlaylist = HBFilters _HBSonglist
  39. HBFilters = _FilterPane3(nb=2,hidebb=1,page=genre,hidetabs=1) _FilterPane10(nb=3,hidebb=1,page=artists,page_artists/lmarkup="<b>%a</b>%Y\n<small>%x « %s</small>",hidetabs=1) _FilterPane5(nb=4,hidebb=1,page=album,page_album/lpicsize=32,page_album/lmarkup="<b>%a</b>%Y\n<small>%s « %l</small>",hidetabs=1)
  40. HBSonglist = _SongList(cols="playandqueue track title artist album year length playcount",sort=artist,colwidth="album 200 artist 200 file 400 lastplay 100 length 41 path 413 playandqueue 24 playcount 96 rating 80 title 270 track 21 year 31",follow=1,sort="year album disc track")
  41. #VBMosaic = FRToggleMosaic _VPMosaicAlbum _VPMosaicArtist
  42. #FRToggleMosaic = (shadow=in) HBToggleMosaicClose
  43. #HBToggleMosaicClose = ABToggleMosaic -ToggleButton6(widget=FRToggleMosaic,label="",icon="gtk-close",tip=_"Hide Artist/Album bar")
  44. #ABToggleMosaic = (xalign=0.5,xscale=0.0) HBToggleMosaic
  45. #HBToggleMosaic = 3ToggleButton4(widget=VPMosaicAlbum,togglegroup=2,label=" Album ",relief=none) 3ToggleButton5(widget=VPMosaicArtist,togglegroup=2,label=" Artist ",relief=none)
  46. #VPMosaicAlbum = _FilterPane2(nb=3,hidebb=1,pages=album,page_album/mode=mosaic,page_album/mmarkup=1,page_album/mpicsize=96,hidetabs=1)
  47. #VPMosaicArtist = _FilterPane3(nb=3,hidebb=1,pages=artist,page_artist/mode=mosaic,page_artist/mmarkup=1,page_artist/mpicsize=96,hidetabs=1)
  48. ### bottom: statusbar ### Pref(size=small-toolbar,button=0)
  49. ### positioning and sizing ###
  50. DefaultFocus = SimpleSearch
  51. KeyBindings = c-l SetFocusOn(SimpleSearch)
  52.  
  53. [Shimmer Netbook]
  54. Type=G+
  55. Title = "gmusicbrowser"
  56. DefaultFocus = SimpleSearch
  57. Default = Window(size=1000x750)
  58. Author = simon@shimmerproject.org
  59. Window = hidden=SimpleSearch
  60. ### main window containers: top bar, main and statusbar ###
  61. VBMain = VBTop _NBList
  62. VBTop = 3Filler8 HBTop
  63. HBTop = VBButtons _15VBPlayer -5VBSettings
  64. VBButtons = HBButtons 3Filler4
  65. HBButtons = Prev Play Next(click2=NextAlbum)
  66. VBPlayer = HBTitle VBTime
  67. HBTitle = Title(expand_max=300,markup="<big><b>%t</b></big> ",tip=_"Title: %t (Track No. %n)".if($track,pesc($track)),yalign=0.5,ellipsize=end) LockAlbum(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") Album(tip=_"Album: %l (%Y)",expand_max=200,yalign=0.5,markup="<big> </big>%l ",showcover=0,ellipsize=end) LockArtist(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") Artist(tip=_"Artist: %a",expand_max=200,yalign=0.5,markup="<big> </big>%a",ellipsize=end) -Stars(yalign=0.5)
  68. VBTime = _HBTimeSlider _SimpleSearch(suggest=1)
  69. HBTimeSlider = PlayingTime(markup="%s",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) -Length(markup="$length",initsize="XX:XX",xalign=1)
  70. VBSettings = HBPrefSearch 5Filler5
  71. HBPrefSearch = ToggleButton0(size=large-toolbar,relief=none,icon=gtk-find,widget=SimpleSearch) ExtraButtons BMSettings
  72. BMSettings = (icon=gtk-preferences,size="large-toolbar") SMLibrary LayoutItem PlayItem SeparatorMenuItem01 MenuItem34(command=OpenCustom(Equalizer),label=_"Equalizer") SeparatorMenuItem20 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
  73. SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(1,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
  74. NBList = (tabpos="bottom") HBSongListtree QueueList(songtree=1,tabtitle=_"Queue (%n)",tabicon="",cols="queuenumber titleaa",colwidth="queuenumber 20 titleaa 248",showbb=1) HBLyrics VBAbout
  75. HBLyrics = (tabtitle=_"Lyrics") _PluginLyrics
  76. VBAbout = (tabtitle=_"Info") _PluginArtistinfo
  77. HBSongListtree = (tabtitle=_"Playlist") _SongTree(cols="playandqueueandtrack title length ratingpic",colwidth="artist 124 lastplay 107 length 49 playandqueue 19 playandqueueandtrack 20 playcount 22 ratingpic 100 title 390 titleaa 397 track 21",grouping="album|Compact(picsize=50)|disc|discleft(width=15)",follow=1,sort="year album disc track")
  78. DefaultFocus = Play
  79. KeyBindings = c-l SetFocusOn(SimpleSearch)
  80.  
  81. # Trayicon-Layouts
  82. #####################################
  83.  
  84. [Shimmer Traytip]
  85. Type=T
  86. VBMain = HBTime Filler0 VBMain1
  87. VBMain1 = HBLeft _HBRight
  88. HBLeft = Cover(forceratio=1,default=elementary/no-cover.svg,maxsize=80) _VBText
  89. VBText = 2HBArtist HBAlbum _2HBTitle
  90. HBButtons = Prev(size=small-toolbar) Play(size=small-toolbar) Next(size=small-toolbar)
  91. HBTitle = LockSong _Title(font=12,tip=_"Title: %t",ellipsize=end)
  92. HBArtist = LockArtist _Artist(font=8,tip=_"Artist: %a",ellipsize=end)
  93. HBAlbum = LockAlbum _Album(font=8,tip=_"Album: %l",ellipsize=end,expand_max=100) Date(font=7,markup=" <b>»</b> %y")
  94. HBRating = Filler1 -Stars
  95. HBTime = _TimeBar(minheight=7)
  96. HBRight = HBButtons _2HBRating
  97. VSize0 = 3 Filler0
  98. HSize0 = Filler1 LockArtist LockAlbum LockSong
  99. HSize1 = Cover HBButtons
  100. HSize3 = 250 VBMain
  101. VSize1 = 125 VBMain
  102.  
  103. # Fullscreen Layouts
  104. #####################################
  105.  
  106. [Shimmer Party]
  107. Type=F
  108. Window = fullscreen=1,sticky=0,hidden=VBSidebar
  109. VBMain = _HPMain HBNowPlaying
  110. HPMain = _FilterPane2(nb=3,hidebb=1,pages=album,page_album/mode=mosaic,page_album/mmarkup=1,page_album/mpicsize=128,hidetabs=1) VBSidebar
  111. HBNowPlaying = HBButtons 15Filler0 _HBTitle
  112. HBButtons = Prev Play Next
  113. HBTitle = Title(expand_max=300,ellipsize=end,markup="<big><b>%t</b></big> ",tip=_"Title: %t (Track No. %n)".if($track,pesc($track)),yalign=0.5) \
  114. LockAlbum(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") \
  115. Album(tip=_"Album: %l (%Y)",ellipsize=end,expand_max=200,yalign=0.5,markup="<big> </big>%l ",showcover=0) \
  116. LockArtist(stock="on:gmb-lock gmb-lockopen off:gmb-breadcrumb gmb-locklight") \
  117. Artist(tip=_"Artist: %a",expand_max=200,yalign=0.5,ellipsize=end,markup="<big> </big>%a") \
  118. -ToggleButton1(size=button,relief=none,icon=gtk-find,widget=VBSidebar) \
  119. -20Stars(yalign=0.5)
  120. VBSidebar = 4Filler1 7HBSearch _7HBQueue 4Filler2
  121. HBQueue = 14_QueueList(group=1,songtree=1,cols="queuenumber titleaa",colwidth="queuenumber 20 titleaa 248",showbb=1)
  122. HBSearch = 4Filler3 6Label0(markup='<span size="xx-large" weight="ultrabold">«</span>') _SimpleSearch(suggest=1) 7Filler4
  123. KeyBindings = Escape CloseWindow
  124.  
  125. # Groups and Columns for Songtree
  126. #####################################
  127.  
  128. {Group discleft}
  129. title=disc on the left side
  130. head=3
  131. left=width
  132. vcollapse=head+title:h+line:h+2
  133. title: text(markup='<b><big>'.pesc($title).'</big></b>'.if(!$_expanded,'<big><b>»</b></big>'),pad=2,w=left))
  134. width: OptionNumber(default=15,min=10,max=100,step=1)
  135. line: line(x1=1,y1=1,x2=$_w,y2=1,color='#ccc',width=1)
  136.  
  137. {Group artistalbum_breadcrumbs}
  138. title=album and artist breadcrumbs
  139. head=title:h
  140. tail=25
  141. vcollapse=head
  142. vmin=pic:y+pic:h+25
  143. left=pic:w+2
  144. title: text(markup='<b><big>'.pesc($album).'</big></b>'. if($year,' <big><b>«</b></big> '.pesc($year)) . ' <big><b>«</b></big> '.pesc($artist),pad=2)
  145. pic: +aapic(y=title:h+title:y,picsize=picsize,ypad=2,xpad=1,aa='album')
  146. picsize : OptionNumber(default=100,min=20,max=1000,step=10)
  147. picstars : picture(file=ratingpic($rating_avrg),x=(picsize/2)-(picstars:w/2),y=pic:y+pic:h,hide=$rating_avrg==50 || picsize < 80)
  148.  
  149. {Group Compact}
  150. title=Compact
  151. head=pic:h
  152. tail=25
  153. vcollapse=head
  154. vmin=pic:y+pic:h+25
  155. title: text(markup='<b><big>'.pesc($album).'</big></b>'. if($year,'\n'.pesc($year)) . '\n'.pesc($artist),pad=2,x=pic:w)
  156. pic: aapic(y=title:y,picsize=picsize,ypad=2,xpad=1,aa='album')
  157. picsize : OptionNumber(default=50,min=20,max=1000,step=10)
  158.  
  159. {Column queuenumber}
  160. menutitle = Queue-Item Number
  161. title = #
  162. width = 20
  163. text: text(markup=$_row+1, x=-text:w)
  164.  
  165. {Column playandqueueandtrack}
  166. menutitle = Playing/Queue Icon or Track
  167. title = #
  168. width = 20
  169. sort = track
  170. ico: icon(pad=2,icon=$playicon, hide= !$playing && !$queued)
  171. text: text(markup=pesc($track.' '.$queued), hide= $playing || $queued)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement