Added Sway font

- Fix GTK3 font decrease to 10
- Set up Sway font to Noto Sans
- Fix Sway screenshot script path
This commit is contained in:
Fabio Scotto di Santolo
2025-08-10 22:15:43 +02:00
parent 0f58702a9b
commit 9ab78804af
2 changed files with 13 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-theme-name=Catppuccin gtk-theme-name=Catppuccin
gtk-icon-theme-name=Papirus-Dark gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Noto Sans Regular 12 gtk-font-name=Noto Sans Regular 10
gtk-cursor-theme-name=Catppuccin-cursor gtk-cursor-theme-name=Catppuccin-cursor
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ

View File

@@ -42,6 +42,9 @@ seat seat0 xcursor_theme catppuccin-mocha-lavender-cursors 25
output * bg ~/.config/sway/wallpaper.jpg fill output * bg ~/.config/sway/wallpaper.jpg fill
# Setting default font
font pango:Noto Sans Regular 10
# #
# Example configuration: # Example configuration:
# #
@@ -66,12 +69,15 @@ exec $notification
### Start Pipewire session ### Start Pipewire session
exec pipewire exec pipewire
# Run clipboard manager ### Run clipboard manager
exec wl-paste -t text --watch clipman store --no-persist exec wl-paste -t text --watch clipman store --no-persist
# OSD server ### OSD server
exec swayosd-server exec swayosd-server
### Start terminal emulator
exec $term
#----------------# #----------------#
# set gtk+ theme # # set gtk+ theme #
#----------------# #----------------#
@@ -80,7 +86,7 @@ exec_always {
gsettings set $gnome-schema gtk-theme 'Catppuccin' gsettings set $gnome-schema gtk-theme 'Catppuccin'
gsettings set $gnome-schema icon-theme 'Papirus-Dark' gsettings set $gnome-schema icon-theme 'Papirus-Dark'
gsettings set $gnome-schema cursor-theme 'Catppuccin-cursor' gsettings set $gnome-schema cursor-theme 'Catppuccin-cursor'
gsettings set $gnome-schema font-name 'jetbrains mono nerd font 12' gsettings set $gnome-schema font-name 'Noto Sans Regular 10'
} }
### Input configuration ### Input configuration
@@ -145,7 +151,7 @@ exec_always {
# Waybar toggle # Waybar toggle
bindsym $mod+o exec killall -SIGUSR1 waybar bindsym $mod+o exec killall -SIGUSR1 waybar
bindsym $mod+t exec --no-startup-id telegram-desktop bindsym $mod+t exec --no-startup-id telegram-desktop
# #
# Moving around: # Moving around:
@@ -297,7 +303,8 @@ bindsym $mod+r mode "resize"
# Brightness lower with custom value('-' sign needed) # Brightness lower with custom value('-' sign needed)
bindsym XF86MonBrightnessDown exec swayosd-client --brightness -5 bindsym XF86MonBrightnessDown exec swayosd-client --brightness -5
# Special key to take a screenshot with grim # Special key to take a screenshot with grim
bindsym Print exec ./scripts/screenshot.sh bindsym Print exec ~/.config/sway/scripts/screenshot.sh
# bindsym Print exec grim
# Lock the screen # Lock the screen
bindsym $mod+Alt+l exec $lockman bindsym $mod+Alt+l exec $lockman
# Kill focused window # Kill focused window