Added menu entry for hyprland settings (uses hyprmod)
This commit is contained in:
1 parent
cdb91a3a04
commit
7788bc7cee
2 files changed
+25
-1
No files matched your search
@@ -22,7 +22,7 @@ To use this shell, you need to install AGS and the required backend libraries. S
|
||||
|
||||
```bash
|
||||
# Core AGS and Sass compiler for theming
|
||||
yay -S ags dart-sass
|
||||
yay -S ags dart-sass hyprmod-git
|
||||
|
||||
# Desktop environment dependencies
|
||||
sudo pacman -S hyprpaper python-pywal16
|
||||
|
||||
@@ -3,6 +3,7 @@ import AstalNetwork from "gi://AstalNetwork?version=0.1"
|
||||
import AstalBluetooth from "gi://AstalBluetooth?version=0.1"
|
||||
import AstalWp from "gi://AstalWp?version=0.1"
|
||||
import { createBinding } from "ags"
|
||||
import { execAsync, createSubprocess } from "ags/process"
|
||||
|
||||
function NetworkItem() {
|
||||
const network = AstalNetwork.Network.get_default()
|
||||
@@ -127,6 +128,29 @@ export default function QuickSettings() {
|
||||
<AudioSlider type="speaker" />
|
||||
<AudioSlider type="microphone" />
|
||||
</box>
|
||||
<box orientation={Gtk.Orientation.VERTICAL} spacing={8}>
|
||||
<label
|
||||
label="Tools"
|
||||
cssClasses={["qs-title"]}
|
||||
halign={Gtk.Align.START}
|
||||
/>
|
||||
<button
|
||||
cssClasses={["qs-item"]}
|
||||
onClicked={() => execAsync(["hyprmod"])}
|
||||
>
|
||||
<box spacing={12} valign={Gtk.Align.CENTER}>
|
||||
<image
|
||||
iconName="applications-system-symbolic"
|
||||
cssClasses={["qs-icon"]}
|
||||
/>
|
||||
<label
|
||||
label="Hyprland Settings"
|
||||
halign={Gtk.Align.START}
|
||||
hexpand
|
||||
/>
|
||||
</box>
|
||||
</button>
|
||||
</box>
|
||||
</box>
|
||||
</popover>
|
||||
</menubutton>
|
||||
|
||||
Reference in new issue
Block a user