added end-4's ags config
This commit is contained in:
parent
4fcc76a32c
commit
41595493a3
180 changed files with 23456 additions and 13 deletions
26
homes/me/ags/modules/sideleft/tools/name.js
Normal file
26
homes/me/ags/modules/sideleft/tools/name.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
const { Gtk } = imports.gi;
|
||||
import App from 'resource:///com/github/Aylur/ags/app.js';
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||
import { setupCursorHover } from '../../.widgetutils/cursorhover.js';
|
||||
const { execAsync, exec } = Utils;
|
||||
const { Box, Button, CenterBox, EventBox, Icon, Label, Scrollable } = Widget;
|
||||
|
||||
export default () => Box({
|
||||
className: 'txt sidebar-module techfont',
|
||||
children: [
|
||||
Label({
|
||||
label: getString('illogical-impulse')
|
||||
}),
|
||||
Box({ hexpand: true }),
|
||||
Button({
|
||||
className: 'sidebar-module-btn-arrow',
|
||||
onClicked: () => execAsync(['xdg-open', 'https://github.com/end-4/dots-hyprland']).catch(print),
|
||||
child: Icon({
|
||||
className: 'txt txt-norm',
|
||||
icon: 'github-symbolic',
|
||||
}),
|
||||
setup: setupCursorHover,
|
||||
})
|
||||
]
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue