"use strict";(self.webpackChunksketchybar_site=self.webpackChunksketchybar_site||[]).push([[616],{3905:function(e,t,n){n.d(t,{Zo:function(){returnu},kt:function(){returns}});varr=n(7294);functiona(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionp(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functioni(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functiono(e,t){if(null==e)return{};varn,r,a=function(e,t){if(null==e)return{};varn,r,a={},p=Object.keys(e);for(r=0;r<p.length;r++)n=p[r],t.indexOf(n)>=0||(a[n]=e[n]);returna}(e,t);if(Object.getOwnPropertySymbols){varp=Object.getOwnPropertySymbols(e);for(r=0;r<p.length;r++)n=p[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}returna}varl=r.createContext({}),d=function(e){vart=r.useContext(l),n=t;returne&&(n="function"==typeofe?e(t):i(i({},t),e)),n},u=function(e){vart=d(e.components);returnr.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,a=e.mdxType,p=e.originalType,l=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),m=d(n),s=a,k=m["".concat(l,".").concat(s)]||m[s]||c[s]||p;returnn?r.createElement(k,i(i({ref:t},u),{},{components:n})):r.createElement(k,i({ref:t},u))}));functions(e,t){varn=arguments,a=t&&t.mdxType;if("string"==typeofe||a){varp=n.length,i=newArray(p);i[0]=m;varo={};for(varlint)hasOwnProperty.call(t,l)&&(o[l]=t[l]);o.originalType=e,o.mdxType="string"==typeofe?e:a,i[1]=o;for(vard=2;d<p;d++)i[d]=n[d];returnr.createElement.apply(null,i)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},8605:function(e,t,n){n.r(t),n.d(t,{assets:function(){returnu},contentTitle:function(){returnl},default:function(){returns},frontMatter:function(){returno},metadata:function(){returnd},toc:function(){returnc}});varr=n(7462),a=n(3366),p=(n(7294),n(3905)),i=["components"],o={id:"popups",title:"Popup Menus",sidebar_position:1},l=void0,d={unversionedId:"config/popups",id:"config/popups",title:"Popup Menus",description:"Popup Menus",source:"@site/docs/config/Popup.md",sourceDirName:"config",slug:"/config/popups",permalink:"/SketchyBar/config/popups",tags:[],version:"current",sidebarPosition:1,frontMatter:{id:"popups",title:"Popup Menus",sidebar_position:1},sidebar:"docs",previous:{title:"Special Components",permalink:"/SketchyBar/config/components"},next:{title:"Events & Scripting",permalink:"/SketchyBar/config/events"}},u={},c=[{value:"Popup Menus",id:"popup-menus",level:2}],m={toc:c};functions(e){vart=e.components,n=(0,a.Z)(e,i);return(0,p.kt)("wrapper",(0,r.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("h2",{id:"popup-menus"},"Popup Menus"),(0,p.kt)("p",null,(0,p.kt)("img",{parentName:"p",src:"https://user-images.githubusercontent.com/22680421/146688291-b8bc5e77-e6a2-42ee-bd9f-b3709c63d936.png",alt:"Simple Popup"})),(0,p.kt)("p",null,"Popup menus are a powerful way to make further ",(0,p.kt)("inlineCode",{parentName:"p"},"items")," accessible in a small popup window below any bar item.\nEvery item has a popup available with the properties:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-bash"},"sketchybar --set <name> popup.<popup_property>=<value>\n")),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:"center"},"<popup_property",">"),(0,p.kt)("th",{parentName:"tr",align:"center"},"<value",">"