chore: move quick settings to the bottom right
This commit is contained in:
parent
59aaaafaeb
commit
ca99a94e94
ags
@ -10,7 +10,7 @@ window.quick_settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
>.inner {
|
>.inner {
|
||||||
border-bottom-left-radius: 0;
|
border-top-right-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
background: color-mix(in srgb, $base00, transparent 15%);
|
background: color-mix(in srgb, $base00, transparent 15%);
|
||||||
padding: 0.75rem 3rem;
|
padding: 0.75rem 3rem;
|
||||||
|
@ -67,7 +67,7 @@ async function toggleIdleInhibitor(state: Variable<boolean>, enable: boolean) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default async function QuickSettings(_monitor_id: number) {
|
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 CENTER = Gtk.Align.CENTER;
|
||||||
|
|
||||||
const hypr = Hyprland.get_default();
|
const hypr = Hyprland.get_default();
|
||||||
@ -84,7 +84,7 @@ export default async function QuickSettings(_monitor_id: number) {
|
|||||||
cssClasses={["quick_settings"]}
|
cssClasses={["quick_settings"]}
|
||||||
keymode={Astal.Keymode.EXCLUSIVE}
|
keymode={Astal.Keymode.EXCLUSIVE}
|
||||||
exclusivity={Astal.Exclusivity.IGNORE}
|
exclusivity={Astal.Exclusivity.IGNORE}
|
||||||
anchor={BOTTOM | LEFT | RIGHT}
|
anchor={BOTTOM | RIGHT}
|
||||||
onKeyPressed={hideWindow}
|
onKeyPressed={hideWindow}
|
||||||
application={App}>
|
application={App}>
|
||||||
<box halign={CENTER} cssClasses={["inner"]} vertical>
|
<box halign={CENTER} cssClasses={["inner"]} vertical>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user