mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
config option for fake screen round corners
This commit is contained in:
@@ -55,18 +55,20 @@ const Windows = () => [
|
||||
forMonitors(Osk),
|
||||
Session(),
|
||||
// forMonitors(Bar),
|
||||
forMonitors((id) => Corner(id, 'top left')),
|
||||
forMonitors((id) => Corner(id, 'top right')),
|
||||
forMonitors((id) => Corner(id, 'bottom left')),
|
||||
forMonitors((id) => Corner(id, 'bottom right')),
|
||||
forMonitors(BarCornerTopleft),
|
||||
forMonitors(BarCornerTopright),
|
||||
...(userOptions.appearance.fakeScreenRounding ? [
|
||||
forMonitors((id) => Corner(id, 'top left')),
|
||||
forMonitors((id) => Corner(id, 'top right')),
|
||||
forMonitors((id) => Corner(id, 'bottom left')),
|
||||
forMonitors((id) => Corner(id, 'bottom right')),
|
||||
forMonitors(BarCornerTopleft),
|
||||
forMonitors(BarCornerTopright),
|
||||
] : []),
|
||||
forMonitors(Click2Close),
|
||||
];
|
||||
|
||||
const CLOSE_ANIM_TIME = 210; // Longer than actual anim time to make sure widgets animate fully
|
||||
const closeWindowDelays = {}; // For animations
|
||||
for(let i = 0; i < (Gdk.Display.get_default()?.get_n_monitors() || 1); i++) {
|
||||
for (let i = 0; i < (Gdk.Display.get_default()?.get_n_monitors() || 1); i++) {
|
||||
closeWindowDelays[`osk${i}`] = CLOSE_ANIM_TIME;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ let configOptions = {
|
||||
'keyboardUseFlag': false, // Use flag emoji instead of abbreviation letters
|
||||
'layerSmoke': false,
|
||||
'layerSmokeStrength': 0.2,
|
||||
'fakeScreenRounding': true,
|
||||
},
|
||||
'apps': {
|
||||
'bluetooth': "blueberry",
|
||||
|
||||
Reference in New Issue
Block a user