mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
exported useFlag from statusicons to user_options
This commit is contained in:
@@ -273,7 +273,7 @@ const HyprlandXkbKeyboardLayout = async ({ useFlag } = {}) => {
|
||||
|
||||
const OptionalKeyboardLayout = async () => {
|
||||
try {
|
||||
return await HyprlandXkbKeyboardLayout({ useFlag: false });
|
||||
return await HyprlandXkbKeyboardLayout({ useFlag: userOptions.layout.useFlag });
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -100,6 +100,10 @@ let configOptions = {
|
||||
'prevTab': "Ctrl+Page_Up",
|
||||
},
|
||||
},
|
||||
'layout': {
|
||||
// Use or not country flags instead of text in default hyprland kb_layout option
|
||||
'useFlag': false
|
||||
}
|
||||
}
|
||||
|
||||
// Override defaults with user's options
|
||||
|
||||
Reference in New Issue
Block a user