Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
1,401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.29 KB | None | 0 0
  1. Picture
  2. {
  3.     margins: 0;
  4.     image: resource("wallpaper");
  5.     image-scaling: cover;
  6.     hit-test-visible: true;
  7.     DockLayout
  8.     {
  9.         GridLayout
  10.         {
  11.             dock-site: bottom;
  12.             columns: auto, expand, auto, auto, auto, expand, auto;
  13.  
  14.             Button
  15.             {
  16.                 on-click: callback("open-volume-control");
  17.                 horizontal-alignment: center;
  18.                 Picture { image: resource("icon-volume-medium"); }
  19.             }
  20.             Spacer { }
  21.             Button
  22.             {
  23.                 on-click: callback("previous-song");
  24.                 horizontal-alignment: center;
  25.                 Picture { image: resource("icon-skip-previous"); }
  26.             }
  27.             Button
  28.             {
  29.                 on-click: callback("play-pause");
  30.                 horizontal-alignment: center;
  31.                 Picture { image: resource("icon-play"); }
  32.             }
  33.             Button
  34.             {
  35.                 on-click: callback("next-song");
  36.                 horizontal-alignment: center;
  37.                 Picture { image: resource("icon-skip-next"); }
  38.             }
  39.             Spacer { }
  40.             Button
  41.             {
  42.                 on-click: callback("open-main-menu");
  43.                 horizontal-alignment: center;
  44.                 Picture { image: resource("icon-menu"); }
  45.             }
  46.         }
  47.         Label
  48.         {
  49.             dock-site: bottom;
  50.             text: bind("current-artist");
  51.         }
  52.         Label
  53.         {
  54.             dock-site: bottom;
  55.             text: bind("current-song");
  56.         }
  57.         Picture
  58.         {
  59.             image: bind("current-albumart");
  60.             image-scaling: zoom;
  61.             vertical-alignment: middle;
  62.             horizontal-alignment: center;
  63.         }
  64.     }
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement