summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Bar.qml
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-08-30 23:53:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-08-30 23:53:06 +0200
commit2f0e13af015d5bfdbac77d2340e8f4810929620a (patch)
tree8af38c1834dde4cb717341a180019bc5c488497d /accounts/gkleen@sif/shell/quickshell/Bar.qml
parenta9e5bb524d39418e5daaabbbeaa4c2c52b44b267 (diff)
downloadnixos-2f0e13af015d5bfdbac77d2340e8f4810929620a.tar
nixos-2f0e13af015d5bfdbac77d2340e8f4810929620a.tar.gz
nixos-2f0e13af015d5bfdbac77d2340e8f4810929620a.tar.bz2
nixos-2f0e13af015d5bfdbac77d2340e8f4810929620a.tar.xz
nixos-2f0e13af015d5bfdbac77d2340e8f4810929620a.zip
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Bar.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Bar.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml
index 52f875da..520ec2c6 100644
--- a/accounts/gkleen@sif/shell/quickshell/Bar.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml
@@ -356,6 +356,8 @@ PanelWindow {
356 356
357 text: { 357 text: {
358 const currentLayout = NiriService.keyboardLayouts?.names?.[NiriService.keyboardLayouts.current_idx]; 358 const currentLayout = NiriService.keyboardLayouts?.names?.[NiriService.keyboardLayouts.current_idx];
359 if (!currentLayout)
360 return "";
359 return kbdWidget.keyboardAbbrev[currentLayout] ? kbdWidget.keyboardAbbrev[currentLayout] : currentLayout; 361 return kbdWidget.keyboardAbbrev[currentLayout] ? kbdWidget.keyboardAbbrev[currentLayout] : currentLayout;
360 } 362 }
361 } 363 }