This commit is contained in:
sankalp committed 2024-08-03 22:22:59 +05:45
1 parent 0b4914b07b
commit b8f8ed39fd
3 files changed
+12 -2

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ import config from "services/configuration.ts";
import { toggleAppsWindow, toggleMediaWindow } from "./sideleft/main.js";
import { Variable as VariableType } from "types/variable";
const keyboard_layout = Variable("none");
hyprland.connect("keyboard-layout", (hyprland, keyboardname, layoutname) => {
keyboard_layout.setValue(layoutname.trim().toLowerCase().substr(0, 2));