chore: move quick settings to the bottom right
This commit is contained in:
parent
59aaaafaeb
commit
ca99a94e94
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user