Compare commits

...

2 commits

Author SHA1 Message Date
6ed523d55b
Made fonts more consistent 2023-10-04 22:32:44 -06:00
6a66c52139
Added import-gsettings script 2023-10-04 22:32:08 -06:00
6 changed files with 29 additions and 11 deletions

View file

@ -4,11 +4,11 @@
<alias>
<family>sans-serif</family>
<prefer>
<family>Nimbus Sans</family>
<family>Noto Sans</family>
</prefer>
</alias>
<alias>
<family>Nimbus Sans</family>
<family>Noto Sans</family>
<default>
<family>sans-serif</family>
</default>
@ -17,11 +17,11 @@
<alias>
<family>sans</family>
<prefer>
<family>Nimbus Sans</family>
<family>Noto Sans</family>
</prefer>
</alias>
<alias>
<family>Nimbus Sans</family>
<family>Noto Sans</family>
<default>
<family>sans</family>
</default>
@ -30,11 +30,11 @@
<alias>
<family>serif</family>
<prefer>
<family>Nimbus Serif</family>
<family>Noto Serif</family>
</prefer>
</alias>
<alias>
<family>Nimbus Serif</family>
<family>Noto Serif</family>
<default>
<family>serif</family>
</default>

View file

@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=Matcha-dark-azul
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=DejaVu Sans 10
gtk-font-name=Noto Sans 10
gtk-cursor-theme-name=Qogir
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH

View file

@ -6,8 +6,8 @@ standard_dialogs=default
style=kvantum-dark
[Fonts]
fixed=@Variant(\0\0\0@\0\0\0\x1c\0N\0o\0t\0o\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
fixed="Noto Sans Mono,10,-1,5,50,0,0,0,0,0,Regular"
general="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular"
[Interface]
activate_item_on_single_click=1
@ -28,7 +28,7 @@ wheel_scroll_lines=3
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8\0\0\0\0\0\0\0\0\a\x80\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8)
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\x61\0\0\x2\xe7\0\0\0\0\0\0\0\0\0\0\x4\x61\0\0\x2\xe7\0\0\0\x1\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\x61\0\0\x2\xe7)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xec\0\0\x5s\0\0\0\0\0\0\0\0\0\0\x4\x61\0\0\x2\xe7\0\0\0\x1\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xec\0\0\x5s)
[Troubleshooting]
force_raster_widgets=1

3
.gitignore vendored
View file

@ -6,6 +6,9 @@
!.icons/**
!.ssh/
!.ssh/**
!.local/
!.local/bin/
!.local/bin/import-gsettings
!.vimrc
!.Xresources
!.xinitrc

View file

@ -4,7 +4,7 @@
include "/home/logan//.gtkrc-2.0.mine"
gtk-theme-name="Matcha-dark-azul"
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="DejaVu Sans 10"
gtk-font-name="Noto Sans 10"
gtk-cursor-theme-name="Qogir"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH

15
.local/bin/import-gsettings Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi
gnome_schema="org.gnome.desktop.interface"
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"