mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-04 06:10:40 -04:00
updates
This commit is contained in:
parent
1f8cb3c145
commit
610604e80f
253 changed files with 27055 additions and 44 deletions
21
.config/ags/old/modules/bar/buttons/Launcher.js
Normal file
21
.config/ags/old/modules/bar/buttons/Launcher.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
import PanelButton from "../PanelButton.js"
|
||||
import options from "../../../options.js"
|
||||
|
||||
const { icon, label, action } = options.bar.launcher
|
||||
|
||||
export default () => PanelButton({
|
||||
window: "launcher",
|
||||
on_clicked: action,
|
||||
child: Widget.Box([
|
||||
Widget.Icon({
|
||||
class_name: icon.colored ? "colored" : "",
|
||||
visible: !!icon.icon,
|
||||
icon: icon.icon,
|
||||
}),
|
||||
Widget.Label({
|
||||
class_name: label.colored ? "colored" : "",
|
||||
visible: !!label.label,
|
||||
label: label.label,
|
||||
}),
|
||||
]),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue