add override gtk-theme lxqt-config-appearance
add new gsettings-import script
This commit is contained in:
parent
e45375e812
commit
dc2bb92342
10 changed files with 35 additions and 90 deletions
|
@ -1,15 +0,0 @@
|
||||||
[Settings]
|
|
||||||
gtk-theme-name=Arc-Darker
|
|
||||||
gtk-icon-theme-name=Arc
|
|
||||||
gtk-font-name=Cantarell 11
|
|
||||||
gtk-cursor-theme-name=capitaine-cursors
|
|
||||||
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
|
|
|
@ -1,19 +1,12 @@
|
||||||
|
|
||||||
# Created by lxqt-config-appearance (DO NOT EDIT!)
|
# Created by lxqt-config-appearance (DO NOT EDIT!)
|
||||||
|
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Arc-Dark
|
gtk-theme-name = Arc-Dark
|
||||||
gtk-icon-theme-name=Arc
|
gtk-icon-theme-name = Arc
|
||||||
# GTK3 ignores bold or italic attributes.
|
# GTK3 ignores bold or italic attributes.
|
||||||
gtk-font-name=Cantarell 11
|
gtk-font-name = Cantarell 12
|
||||||
gtk-menu-images=1
|
gtk-menu-images = 1
|
||||||
gtk-button-images=1
|
gtk-button-images = 1
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
|
||||||
gtk-cursor-theme-name=capitaine-cursors
|
gtk-cursor-theme-name = capitaine-cursors
|
||||||
gtk-cursor-theme-size=24
|
gtk-cursor-theme-size = 24
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
|
||||||
gtk-enable-event-sounds=1
|
|
||||||
gtk-enable-input-feedback-sounds=1
|
|
||||||
gtk-xft-antialias=1
|
|
||||||
gtk-xft-hinting=1
|
|
||||||
gtk-xft-hintstyle=hintmedium
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
[Settings]
|
|
||||||
gtk-application-prefer-dark-theme=false
|
|
||||||
gtk-button-images=1
|
|
||||||
gtk-cursor-theme-name=capitaine-cursors
|
|
||||||
gtk-cursor-theme-size=24
|
|
||||||
gtk-decoration-layout=icon:minimize,maximize,close
|
|
||||||
gtk-enable-animations=true
|
|
||||||
gtk-enable-event-sounds=1
|
|
||||||
gtk-enable-input-feedback-sounds=1
|
|
||||||
gtk-font-name=Noto Sans, 10
|
|
||||||
gtk-icon-theme-name=Arc
|
|
||||||
gtk-menu-images=1
|
|
||||||
gtk-modules=colorreload-gtk-module
|
|
||||||
gtk-primary-button-warps-slider=false
|
|
||||||
gtk-theme-name=Arc-Darker
|
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
|
||||||
gtk-xft-antialias=1
|
|
||||||
gtk-xft-hinting=1
|
|
||||||
gtk-xft-hintstyle=hintmedium
|
|
|
@ -1,20 +0,0 @@
|
||||||
[Settings]
|
|
||||||
gtk-application-prefer-dark-theme=true
|
|
||||||
gtk-button-images=1
|
|
||||||
gtk-cursor-theme-name=capitaine-cursors
|
|
||||||
gtk-cursor-theme-size=24
|
|
||||||
gtk-decoration-layout=icon:minimize,maximize,close
|
|
||||||
gtk-enable-animations=true
|
|
||||||
gtk-enable-event-sounds=1
|
|
||||||
gtk-enable-input-feedback-sounds=1
|
|
||||||
gtk-font-name=Noto Sans, 10
|
|
||||||
gtk-icon-theme-name=Arc
|
|
||||||
gtk-menu-images=1
|
|
||||||
gtk-modules=colorreload-gtk-module
|
|
||||||
gtk-primary-button-warps-slider=false
|
|
||||||
gtk-theme-name=Arc-Darker
|
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
|
||||||
gtk-xft-antialias=1
|
|
||||||
gtk-xft-hinting=1
|
|
||||||
gtk-xft-hintstyle=hintmedium
|
|
|
@ -1,7 +1,7 @@
|
||||||
[Sizes]
|
[Sizes]
|
||||||
SplitterPos=200
|
SplitterPos=200
|
||||||
ViewsIconSize=24
|
ViewsIconSize=24
|
||||||
WindowSize=@Size(944 1031)
|
WindowSize=@Size(938 1024)
|
||||||
|
|
||||||
[Window]
|
[Window]
|
||||||
DirTree=true
|
DirTree=true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[General]
|
[General]
|
||||||
ControlGTKThemeEnabled=false
|
ControlGTKThemeEnabled=true
|
||||||
__userfile__=true
|
__userfile__=true
|
||||||
size=@Size(675 1031)
|
size=@Size(938 1024)
|
||||||
|
|
|
@ -1,18 +1,10 @@
|
||||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
|
||||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
|
||||||
|
|
||||||
include "/home/simono41/.gtkrc-2.0.mine"
|
# Created by lxqt-config-appearance (DO NOT EDIT!)
|
||||||
gtk-theme-name="Arc-Dark"
|
gtk-theme-name = "Arc-Dark"
|
||||||
gtk-icon-theme-name="Arc"
|
gtk-icon-theme-name = "Arc"
|
||||||
gtk-font-name="Cantarell 11"
|
gtk-font-name = "Cantarell 12"
|
||||||
gtk-cursor-theme-name="capitaine-cursors"
|
gtk-button-images = 1
|
||||||
gtk-cursor-theme-size=24
|
gtk-menu-images = 1
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
gtk-cursor-theme-name = capitaine-cursors
|
||||||
gtk-button-images=1
|
gtk-cursor-theme-size = 24
|
||||||
gtk-menu-images=1
|
|
||||||
gtk-enable-event-sounds=1
|
|
||||||
gtk-enable-input-feedback-sounds=1
|
|
||||||
gtk-xft-antialias=1
|
|
||||||
gtk-xft-hinting=1
|
|
||||||
gtk-xft-hintstyle="hintmedium"
|
|
||||||
|
|
15
scripts/executable_import-gsettings
Normal file
15
scripts/executable_import-gsettings
Normal 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"
|
Loading…
Reference in a new issue