chore: move quick settings to the bottom right

This commit is contained in:
Franek 2025-05-19 11:58:40 +02:00
parent 59aaaafaeb
commit ca99a94e94
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ window.quick_settings {
}
>.inner {
border-bottom-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
background: color-mix(in srgb, $base00, transparent 15%);
padding: 0.75rem 3rem;

View File

@ -67,7 +67,7 @@ async function toggleIdleInhibitor(state: Variable<boolean>, enable: boolean) {
}
export default async function QuickSettings(_monitor_id: number) {
const { BOTTOM, LEFT, RIGHT } = Astal.WindowAnchor
const { BOTTOM, RIGHT } = Astal.WindowAnchor
const CENTER = Gtk.Align.CENTER;
const hypr = Hyprland.get_default();
@ -84,7 +84,7 @@ export default async function QuickSettings(_monitor_id: number) {
cssClasses={["quick_settings"]}
keymode={Astal.Keymode.EXCLUSIVE}
exclusivity={Astal.Exclusivity.IGNORE}
anchor={BOTTOM | LEFT | RIGHT}
anchor={BOTTOM | RIGHT}
onKeyPressed={hideWindow}
application={App}>
<box halign={CENTER} cssClasses={["inner"]} vertical>