Advertisement
Guest User

Untitled

a guest
Oct 29th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.75 KB | None | 0 0
  1. group { name: "e/widgets/border/8pixel/border";
  2.    parts {
  3.       part { name: "client_clip"; type: RECT;
  4.          description { state: "default" 0.0;
  5.             rel1.to_y: "e.swallow.client";
  6.             rel2.to_y: "e.swallow.client";
  7.          }
  8.       }
  9.       part { name: "e.swallow.client"; type: SWALLOW;
  10.          description { state: "default" 0.0;
  11.             rel1.offset: 8 8;
  12.             rel2.offset: -9 -9;
  13.          }
  14.       }
  15.       part { name: "top"; type: RECT;
  16.          description { state: "default" 0.0;
  17.             color: 222 222 222 255;
  18.             align: 0.0 0.0;
  19.             max: 99999 8;
  20.          }
  21.          description { state: "focused" 0.0;
  22.             inherit: "default" 0.0;
  23.             color: 255 255 255 255;
  24.             color_class: "focus";
  25.          }
  26.       }
  27.       part { name: "bottom"; type: RECT;
  28.          description { state: "default" 0.0;
  29.             color: 222 222 222 255;
  30.             align: 0.0 1.0;
  31.             max: 99999 8;
  32.          }
  33.          description { state: "focused" 0.0;
  34.             inherit: "default" 0.0;
  35.             color: 255 255 255 255;
  36.             color_class: "focus";
  37.          }
  38.       }
  39.       part { name: "left"; type: RECT;
  40.          description { state: "default" 0.0;
  41.             color: 222 222 222 255;
  42.             align: 0.0 0.0;
  43.             max: 8 99999;
  44.          }
  45.          description { state: "focused" 0.0;
  46.             inherit: "default" 0.0;
  47.             color: 255 255 255 255;
  48.             color_class: "focus";
  49.          }
  50.       }
  51.       part { name: "right"; type: RECT;
  52.          description { state: "default" 0.0;
  53.             color: 222 222 222 255;
  54.             align: 1.0 0.0;
  55.             max: 8 99999;
  56.          }
  57.          description { state: "focused" 0.0;
  58.             inherit: "default" 0.0;
  59.             color: 255 255 255 255;
  60.             color_class: "focus";
  61.          }
  62.       }
  63.       part { name: "e.event.resize.r"; type: RECT;
  64.          description { state: "default" 0.0;
  65.             rel1.relative: 1.0 0.0;
  66.             rel2.relative: 1.0 1.0;
  67.             min: 8 0;
  68.             align: 1.0 1.0;
  69.             color: 0 0 0 0;
  70.             fixed: 1 1;
  71.          }
  72.       }
  73.       part { name: "e.event.resize.l"; type: RECT;
  74.          description { state: "default" 0.0;
  75.             rel1.relative: 0.0 0.0;
  76.             rel2.relative: 0.0 1.0;
  77.             min: 8 0;
  78.             align: 0.0 0.0;
  79.             color: 0 0 0 0;
  80.             fixed: 1 1;
  81.          }
  82.       }
  83.       part { name: "e.event.resize.tl"; type: RECT;
  84.          description { state: "default" 0.0;
  85.             rel2.relative: 0.0 0.0;
  86.             min: 32 8;
  87.             align: 0.0 0.0;
  88.             color: 0 0 0 0;
  89.          }
  90.       }
  91.       part { name: "e.event.resize.t"; type: RECT;
  92.          description { state: "default" 0.0;
  93.             rel1.relative: 1.0 0.0;
  94.             rel1.to_x: "e.event.resize.tl";
  95.             rel2.relative: 0.0 0.0;
  96.             rel2.to_x: "e.event.resize.tr";
  97.             min: 0 8;
  98.             align: 0.5 0.0;
  99.             color: 0 0 0 0;
  100.          }
  101.       }
  102.       part { name: "e.event.resize.tr"; type: RECT;
  103.          description { state: "default" 0.0;
  104.             rel1.relative: 1.0 0.0;
  105.             rel2.relative: 1.0 0.0;
  106.             min: 32 8;
  107.             align: 1.0 0.0;
  108.             color: 0 0 0 0;
  109.          }
  110.       }
  111.       part { name: "e.event.resize.bl"; type: RECT;
  112.          description { state: "default" 0.0;
  113.             rel1.relative: 0.0 1.0;
  114.             rel2.relative: 0.0 1.0;
  115.             min: 32 8;
  116.             align: 0.0 1.0;
  117.             color: 0 0 0 0;
  118.             fixed: 1 1;
  119.          }
  120.       }
  121.       part { name: "e.event.resize.b"; type: RECT;
  122.          description { state: "default" 0.0;
  123.             rel1.relative: 1.0 1.0;
  124.             rel1.to_x: "e.event.resize.tl";
  125.             rel2.relative: 0.0 1.0;
  126.             rel2.to_x: "e.event.resize.tr";
  127.             min: 0 8;
  128.             align: 0.5 1.0;
  129.             color: 0 0 0 0;
  130.             fixed: 0 1;
  131.          }
  132.       }
  133.       part { name: "e.event.resize.br"; type: RECT;
  134.          description { state: "default" 0.0;
  135.             rel1.relative: 1.0 1.0;
  136.             rel2.relative: 1.0 1.0;
  137.             min: 32 8;
  138.             align: 1.0 1.0;
  139.             color: 0 0 0 0;
  140.             fixed: 1 1;
  141.          }
  142.       }
  143.    }
  144.    programs {
  145.       program {
  146.          signal: "e,state,focused"; source: "e";
  147.          action: STATE_SET "focused" 0.0;
  148.          target: "top";
  149.          target: "bottom";
  150.          target: "left";
  151.          target: "right";
  152.       }
  153.       program {
  154.          signal: "e,state,unfocused"; source: "e";
  155.          action: STATE_SET "default" 0.0;
  156.          target: "top";
  157.          target: "bottom";
  158.          target: "left";
  159.          target: "right";
  160.       }
  161.    }
  162. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement