mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2026-09-19 18:19:02 +05:30
refactor(bar): modularize bar widgets and layout
This commit is contained in:
10
modules/bar/LauncherButton.qml
Normal file
10
modules/bar/LauncherButton.qml
Normal file
@@ -0,0 +1,10 @@
|
||||
pragma ComponentBehavior: Bound
|
||||
|
||||
import Quickshell
|
||||
import qs.ui
|
||||
|
||||
BarButton {
|
||||
iconOnly: true
|
||||
iconSource: `${Quickshell.shellPath("assets")}/icons/nix.svg`
|
||||
onClicked: Quickshell.execDetached(["vicinae", "toggle"])
|
||||
}
|
||||
Reference in New Issue
Block a user