forked from Shinonome/dots-hyprland
move flag config option to "appearance"
This commit is contained in:
@@ -273,7 +273,7 @@ const HyprlandXkbKeyboardLayout = async ({ useFlag } = {}) => {
|
|||||||
|
|
||||||
const OptionalKeyboardLayout = async () => {
|
const OptionalKeyboardLayout = async () => {
|
||||||
try {
|
try {
|
||||||
return await HyprlandXkbKeyboardLayout({ useFlag: userOptions.layout.useFlag });
|
return await HyprlandXkbKeyboardLayout({ useFlag: userOptions.appearance.keyboardUseFlag });
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ let configOptions = {
|
|||||||
'durationSmall': 110,
|
'durationSmall': 110,
|
||||||
'durationLarge': 180,
|
'durationLarge': 180,
|
||||||
},
|
},
|
||||||
|
'appearance': {
|
||||||
|
'keyboardUseFlag': false, // Use flag emoji instead of abbreviation letters
|
||||||
|
},
|
||||||
'apps': {
|
'apps': {
|
||||||
'imageViewer': "loupe",
|
'imageViewer': "loupe",
|
||||||
'terminal': "foot", // This is only for shell actions
|
'terminal': "foot", // This is only for shell actions
|
||||||
@@ -100,10 +103,6 @@ let configOptions = {
|
|||||||
'prevTab': "Ctrl+Page_Up",
|
'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
|
// Override defaults with user's options
|
||||||
|
|||||||
Reference in New Issue
Block a user