mirror of
https://github.com/Snigdha-OS/snigdhaos-cinnamon-config.git
synced 2025-09-05 19:06:37 +02:00
⚡️ perf(config): adjust lx apperance
This commit is contained in:
20
.gtkrc-2.0
Normal file
20
.gtkrc-2.0
Normal file
@@ -0,0 +1,20 @@
|
||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/whoami/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Nordic-bluish-accent"
|
||||
gtk-icon-theme-name="Tela-nord-dark"
|
||||
gtk-font-name="Share Tech 11"
|
||||
gtk-cursor-theme-name="Colloid-cursors"
|
||||
gtk-cursor-theme-size=24
|
||||
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="hintfull"
|
||||
gtk-xft-rgba="none"
|
||||
gtk-modules="canberra-gtk-module:gail:atk-bridge"
|
20
etc/skel/.gtkrc-2.0
Normal file
20
etc/skel/.gtkrc-2.0
Normal file
@@ -0,0 +1,20 @@
|
||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/whoami/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Nordic-bluish-accent"
|
||||
gtk-icon-theme-name="Tela-nord-dark"
|
||||
gtk-font-name="Share Tech 11"
|
||||
gtk-cursor-theme-name="Colloid-cursors"
|
||||
gtk-cursor-theme-size=24
|
||||
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="hintfull"
|
||||
gtk-xft-rgba="none"
|
||||
gtk-modules="canberra-gtk-module:gail:atk-bridge"
|
19
generate.sh
Normal file → Executable file
19
generate.sh
Normal file → Executable file
@@ -5,27 +5,24 @@ ICON_THEME=$(gsettings get org.cinnamon.desktop.interface icon-theme | tr -d "'"
|
||||
CURSOR_THEME=$(gsettings get org.cinnamon.desktop.interface cursor-theme | tr -d "'")
|
||||
FONT_NAME=$(gsettings get org.cinnamon.desktop.interface font-name | tr -d "'")
|
||||
TOOLBAR_STYLE=$(gsettings get org.cinnamon.desktop.interface toolbar-style | tr -d "'")
|
||||
TOOLBAR_ICON_SIZE=$(gsettings get org.cinnamon.desktop.interface toolbar-icon-size | tr -d "'")
|
||||
# TOOLBAR_ICON_SIZE=$(gsettings get org.cinnamon.desktop.interface toolbar-icon-size | tr -d "'")
|
||||
|
||||
# Ensure /etc/skel directory exists
|
||||
if [ ! -d "/etc/skel" ]; then
|
||||
echo "Error: /etc/skel directory does not exist!"
|
||||
exit 1
|
||||
fi
|
||||
# Get the directory of the current script
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||
|
||||
# Write to /etc/skel/.gtkrc-2.0
|
||||
cat <<EOF > /etc/skel/.gtkrc-2.0
|
||||
# Write the .gtkrc-2.0 file to the script's directory
|
||||
cat <<EOF > "$SCRIPT_DIR/.gtkrc-2.0"
|
||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/\$USER/.gtkrc-2.0.mine"
|
||||
include "/home/$USER/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="$GTK_THEME"
|
||||
gtk-icon-theme-name="$ICON_THEME"
|
||||
gtk-font-name="$FONT_NAME"
|
||||
gtk-cursor-theme-name="$CURSOR_THEME"
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_$TOOLBAR_STYLE
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_${TOOLBAR_ICON_SIZE^^}
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
@@ -37,4 +34,4 @@ gtk-xft-rgba="none"
|
||||
gtk-modules="canberra-gtk-module:gail:atk-bridge"
|
||||
EOF
|
||||
|
||||
echo ".gtkrc-2.0 file has been successfully written to /etc/skel/"
|
||||
echo ".gtkrc-2.0 file generated successfully in $SCRIPT_DIR"
|
||||
|
Reference in New Issue
Block a user