Added GTK configurations on Sway package

This commit is contained in:
Fabio Scotto di Santolo
2025-07-27 17:18:17 +02:00
parent 6da0a8964d
commit e97e6082b2
12 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Settings]
gtk-theme-name=Catppuccin
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=JetBrainsMono Nerd Font 12
gtk-cursor-theme-name=Catppuccin-cursor
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintmedium
gtk-modules=gail:atk-bridge
gtk-xft-rgba=none

View File

@@ -0,0 +1 @@
@import url("resource:///org/gnome/theme/gtk-dark.css");

View File

@@ -0,0 +1 @@
@import url("resource:///org/gnome/theme/gtk.css");

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
@import url("resource:///org/gnome/theme/gtk-dark.css");

View File

@@ -0,0 +1 @@
@import url("resource:///org/gnome/theme/gtk.css");

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Type=X-GNOME-Metatheme
Name=Catppuccin
Comment=A Catppuccin like Gtk+ theme based on WhiteSur
Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=Catppuccin
MetacityTheme=catppuccin
ButtonLayout=close,minimize,maximize:menu

View File

@@ -0,0 +1,66 @@
#This theme written by Vince Liuice.
#Forked & edited by @sadrach for Catppuccin proyect
[PlankDrawingTheme]
#The roundness of the top corners.
TopRoundness=16
#The roundness of the bottom corners.
BottomRoundness=16
#The thickness (in pixels) of lines drawn.
LineWidth=1
#The color (RGBA) of the outer stroke.
OuterStrokeColor=0;;0;;0;;200
#The starting color (RGBA) of the fill gradient.
FillStartColor=15;;15;;15;;150
#The ending color (RGBA) of the fill gradient.
FillEndColor=15;;15;;15;;175
#The color (RGBA) of the inner stroke.
InnerStrokeColor=100;;100;;100;;100
[PlankDrawingDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=0
#The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=2
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=2
#The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=4
#The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=2
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=600
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=150
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=30
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=10000
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=2000
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=450
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0

View File

@@ -0,0 +1,18 @@
#This file written by Daniel Fore to match eGTK tooltips.
#Forked & edited by @sadrach for Catppuccin proyect
[PlankDrawingTheme]
#The roundness of the top corners.
TopRoundness=6
#The roundness of the bottom corners.
BottomRoundness=6
#The thickness (in pixels) of lines drawn.
LineWidth=0
#The color (RGBA) of the outer stroke.
OuterStrokeColor=41;;41;;41;;255
#The starting color (RGBA) of the fill gradient.
FillStartColor=0;;0;;0;;217
#The ending color (RGBA) of the fill gradient.
FillEndColor=0;;0;;0;;217
#The color (RGBA) of the inner stroke.
InnerStrokeColor=255;;255;;255;;255