forked from Shinonome/dots-hyprland
sidebar: config: add blur xray
This commit is contained in:
@@ -213,7 +213,8 @@ export const ConfigSpinButton = ({
|
||||
],
|
||||
setup: (self) => {
|
||||
extraSetup(self);
|
||||
}
|
||||
},
|
||||
...rest,
|
||||
});
|
||||
return widgetContent;
|
||||
}
|
||||
@@ -76,6 +76,7 @@ export default (props) => {
|
||||
}),
|
||||
HyprlandToggle({ icon: 'blur_on', name: 'Blur', desc: "Enable blur on transparent elements\nDoesn't affect performance/power consumption unless you have transparent windows.", option: "decoration:blur:enabled" }),
|
||||
Subcategory([
|
||||
HyprlandToggle({ icon: 'stack_off', name: 'X-ray', desc: "Make everything behind a window/layer except the wallpaper not rendered on its blurred surface\nRecommended to improve performance (if you don't abuse transparency/blur) ", option: "decoration:blur:xray" }),
|
||||
HyprlandSpinButton({ icon: 'target', name: 'Size', desc: 'Adjust the blur radius. Generally doesn\'t affect performance\nHigher = more color spread', option: 'decoration:blur:size', minValue: 1, maxValue: 1000 }),
|
||||
HyprlandSpinButton({ icon: 'repeat', name: 'Passes', desc: 'Adjust the number of runs of the blur algorithm\nMore passes = more spread and power consumption\n4 is recommended\n2- would look weird and 6+ would look lame.', option: 'decoration:blur:passes', minValue: 1, maxValue: 10 }),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user