exported useFlag from statusicons to user_options (#369)

This commit is contained in:
end-4
2024-03-28 22:08:00 +07:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
@@ -273,7 +273,7 @@ const HyprlandXkbKeyboardLayout = async ({ useFlag } = {}) => {
const OptionalKeyboardLayout = async () => {
try {
return await HyprlandXkbKeyboardLayout({ useFlag: false });
return await HyprlandXkbKeyboardLayout({ useFlag: userOptions.appearance.keyboardUseFlag });
} catch {
return null;
}
@@ -16,6 +16,9 @@ let configOptions = {
'durationSmall': 110,
'durationLarge': 180,
},
'appearance': {
'keyboardUseFlag': false, // Use flag emoji instead of abbreviation letters
},
'apps': {
'imageViewer': "loupe",
'terminal': "foot", // This is only for shell actions