Advertisement
Guest User

Untitled

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