gtk theming and fold config

This commit is contained in:
tavo-wasd 2023-08-02 18:54:47 -06:00
parent 99459dcd49
commit ecba887154
4 changed files with 39 additions and 8 deletions

5
.gitignore vendored
View file

@ -4,7 +4,6 @@ cef_user_data
cmus
dconf
gnome-boxes
gtk-3.0
htop
libfm
libreoffice
@ -19,7 +18,6 @@ kalgebrarc
kdenlive-layoutsrc
kdenliverc
qt5ct
gtk-2.0
mimeapps.list
nnn
xarchiver
@ -48,9 +46,6 @@ baloofileinformationrc
baloofilerc
discoverrc
dolphinrc
gtk-4.0
gtkrc
gtkrc-2.0
kactivitymanagerd-statsrc
kactivitymanagerdrc
katemetainfos

14
gtk-2.0/gtkrc-2.0 Normal file
View file

@ -0,0 +1,14 @@
gtk-theme-name="Materia-dark"
gtk-icon-theme-name="Adwaita"
gtk-font-name="JetBrains Mono 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
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="hintfull"

15
gtk-3.0/settings.ini Normal file
View file

@ -0,0 +1,15 @@
[Settings]
gtk-theme-name=Materia-dark
gtk-icon-theme-name=hicolor
gtk-font-name=JetBrains Mono 10
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
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=hintfull

View file

@ -14,18 +14,25 @@ silent! normal! zE
22,35fold
36,41fold
42,44fold
57,57fold
53,57fold
67,69fold
78,80fold
81,83fold
84,90fold
let &fdl = &fdl
let s:l = 88 - ((27 * winheight(0) + 18) / 37)
53
normal! zo
57
normal! zo
53
normal! zc
let s:l = 99 - ((52 * winheight(0) + 18) / 37)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 88
normal! 01|
keepjumps 99
normal! 0
let &g:so = s:so_save | let &g:siso = s:siso_save
set hlsearch
doautoall SessionLoadPost