You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something pretty weird appears to be happening with how Xresources is handling unicode escapes, and I'm not quite sure where the failure is coming from. Here's the problem: for workspaces 1-4, I'm using nerd font symbols. For workspaces 5-10, I'm using kanji. Symbols 1-4 seem to work fine; xrdb -query shows them correctly. Symbols 5-10, though, just show in Xrdb as \U escape sequences; these escapes are then what are set by the bindsym calls, so $mod+5 shows that escape sequence in i3bar. As an example:
If I comment out the bindsym calls in 30_navigation, manually set $ws5-10 in my config, and then bindsym, I do get the behavior that I expected. This config:
.config/regolith3/i3/config.d/10_basesettings:
set $ws1 "1:"
set $ws2 "2:"
set $ws3 "3:"
set $ws4 "4:"
set $ws5 "5:五"
set $ws6 "6:六"
set $ws7 "7:七"
set $ws8 "8:八"
set $ws9 "9:九"
set $ws10 "10:十"
bindsym $mod+$ws1_key workspace number $ws1
bindsym $mod+$ws2_key workspace number $ws2
bindsym $mod+$ws3_key workspace number $ws3
bindsym $mod+$ws4_key workspace number $ws4
bindsym $mod+$ws5_key workspace number $ws5
bindsym $mod+$ws6_key workspace number $ws6
bindsym $mod+$ws7_key workspace number $ws7
bindsym $mod+$ws8_key workspace number $ws8
bindsym $mod+$ws9_key workspace number $ws9
bindsym $mod+$ws10_key workspace number $ws10
Any pointers as to what's going on here? I'd hate to have to actually uninstall and maintain a copy of the navigation config file so that I can get the correct ordering for me to properly set $wsX to the right value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Something pretty weird appears to be happening with how Xresources is handling unicode escapes, and I'm not quite sure where the failure is coming from. Here's the problem: for workspaces 1-4, I'm using nerd font symbols. For workspaces 5-10, I'm using kanji. Symbols 1-4 seem to work fine;
xrdb -query
shows them correctly. Symbols 5-10, though, just show in Xrdb as\U
escape sequences; these escapes are then what are set by thebindsym
calls, so$mod+5
shows that escape sequence in i3bar. As an example:~/.config/regolith3/Xresources
xrdb output
:i3-msg getworkspaces output
:If I comment out the
bindsym
calls in30_navigation
, manually set$ws5-10
in my config, and thenbindsym
, I do get the behavior that I expected. This config:.config/regolith3/i3/config.d/10_basesettings
:i3-msg getworkspaces output
:Any pointers as to what's going on here? I'd hate to have to actually uninstall and maintain a copy of the navigation config file so that I can get the correct ordering for me to properly set
$wsX
to the right value.Beta Was this translation helpful? Give feedback.
All reactions