forked from Shinonome/dots-hyprland
fix fake screen rounding + add bar rounding config (#701)
This commit is contained in:
@@ -53,11 +53,13 @@ const Windows = () => [
|
||||
...(userOptions.appearance.fakeScreenRounding !== 0 ? [
|
||||
forMonitors((id) => Corner(id, 'top left', true)),
|
||||
forMonitors((id) => Corner(id, 'top right', true)),
|
||||
forMonitors((id) => Corner(id, 'bottom left', true)),
|
||||
forMonitors((id) => Corner(id, 'bottom right', true)),
|
||||
] : []),
|
||||
...(userOptions.appearance.barRoundCorners ? [
|
||||
forMonitors(BarCornerTopleft),
|
||||
forMonitors(BarCornerTopright),
|
||||
] : []),
|
||||
forMonitors((id) => Corner(id, 'bottom left', userOptions.appearance.fakeScreenRounding !== 0)),
|
||||
forMonitors((id) => Corner(id, 'bottom right', userOptions.appearance.fakeScreenRounding !== 0)),
|
||||
forMonitors(BarCornerTopleft),
|
||||
forMonitors(BarCornerTopright),
|
||||
];
|
||||
|
||||
const CLOSE_ANIM_TIME = 210; // Longer than actual anim time to make sure widgets animate fully
|
||||
|
||||
@@ -29,6 +29,7 @@ let configOptions = {
|
||||
'keyboardUseFlag': false, // Use flag emoji instead of abbreviation letters
|
||||
'layerSmoke': false,
|
||||
'layerSmokeStrength': 0.2,
|
||||
'barRoundCorners': 1, // 0: No, 1: Yes
|
||||
'fakeScreenRounding': 1, // 0: None | 1: Always | 2: When not fullscreen
|
||||
},
|
||||
'apps': {
|
||||
|
||||
Reference in New Issue
Block a user