Invisible font problem

invisible font problem

It's been a while that i am using sway and I have found that with default theming there are some problems in visibility of the fonts , some times I have noticed that some fonts in GUI messages for e.g. like this :

the messages written there were not as visible as it is visible in this picture the colour of fonts sometimes were grey instead of white, so for fixing it first I tried to change the theming then i changed the default font :


 ╭─ankur@ankur in ~/.config/sway/scripts via ξ˜† v3.10.1 took 5ms
 ╰─λ bat import-gsettings
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       β”‚ File: import-gsettings
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   β”‚ #!/bin/sh
   2   β”‚
   3   β”‚ # usage: import-gsettings
   4   β”‚ config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
   5   β”‚ if [ ! -f "$config" ]; then exit 1; fi
   6   β”‚
   7   β”‚ gnome_schema="org.gnome.desktop.interface"
   8   β”‚ gtk_theme="$(grep 'gtk-theme-name' "$config" | cut -d'=' -f2)"
   9   β”‚ icon_theme="$(grep 'gtk-icon-theme-name' "$config" | cut -d'=' -f2)"
  10   β”‚ cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | cut -d'=' -f2)"
  11   β”‚ font_name="$(grep 'gtk-font-name' "$config" | cut -d'=' -f2)"
  12   β”‚ gsettings set $gnome_schema gtk-theme 'Sweet-Dark'
  13   β”‚ gsettings set $gnome_schema icon-theme 'BeautyLine'
  14   β”‚ gsettings set $gnome_schema cursor-theme 'Sweet-cursors'
  15   β”‚ gsettings set $gnome_schema font-name 'Noto-Sans'
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

 ╭─ankur@ankur in ~/.config/sway/scripts via ξ˜† v3.10.1 took 128ms
 ╰─λ

The problem was solved through it .
I don't know what helped to solve it , whether it was a theming problem or default font problem , I don't know whether it was a problem with my machine only, but this can be a problem for new comers that should be solved .

(sorry for reporting this so late :sweat_smile: actually It's my first WM experience and before tweaking it I searched a lot and in this process I almost forgot for what I was actually tweaking it)

2 Likes

A post was split to a new topic: Garuda system maintainer not in notification bar