keyboard layout update

This commit is contained in:
sankalp committed 2024-07-16 15:06:58 +05:45
1 parent 59266aea28
commit 71ac2238eb
1 file changed
+6 -2
+6 -2
View File
@@ -414,10 +414,14 @@ function MediaPlayer() {
function KeyboardLayout() {
const widget = Widget.Label({
const widget = Widget.Button({
class_name: "keyboard",
//visible: keyboard_layout.bind().as((c) => c != "none"),
label: keyboard_layout.bind()
label: keyboard_layout.bind(),
on_primary_click_release: () => {
Utils.execAsync(`${GLib.get_home_dir()}/dotfiles/hypr/scripts/RunCMD.sh kb_changer`);
},
});
return widget;
}