diff --git a/configs/copy/home/.config/gtk-3.0/bookmarks b/configs/copy/home/.config/gtk-3.0/bookmarks index 997ca48..66b9f5d 100644 --- a/configs/copy/home/.config/gtk-3.0/bookmarks +++ b/configs/copy/home/.config/gtk-3.0/bookmarks @@ -1,19 +1,8 @@ -file:///home/gib/Documents/Code -file:///home/gib/Documents/Gib%20Files/Notes Notes -smb://server.gib/gib/Documents Server -file:///home/gib/Documents -file:///home/gib/Music -file:///home/gib/Pictures -file:///home/gib/Videos -file:///home/gib/Downloads -file:///home/gib/Documents -file:///home/gib/Music -file:///home/gib/Pictures -file:///home/gib/Videos -file:///home/gib/Music -file:///home/gib/Pictures -file:///home/gib/Music -file:///home/gib/Pictures -file:///home/gib/Videos -file:///home/gib/.local/share/sunhat -file:///home/gib/Pictures +file:///home/gib/Documents Documents +file:///home/gib/Downloads Downloads +file:///home/gib/Music Music +file:///home/gib/Pictures Pictures +file:///home/gib/Videos Videos +file:///home/gib/Documents/Code Code +file:///home/gib/Documents/Notes Notes +file:///home/gib/.local/share/sunhat Sunhat diff --git a/configs/copy/home/.config/gtk-3.0/gtk.css.bak b/configs/copy/home/.config/gtk-3.0/gtk.css.bak deleted file mode 100644 index 7432795..0000000 --- a/configs/copy/home/.config/gtk-3.0/gtk.css.bak +++ /dev/null @@ -1,78 +0,0 @@ -@define-color accent_color rgba(192,153,255,0.8); -@define-color accent_bg_color rgba(130,170,255,0.8); -@define-color accent_fg_color #ffffff; -@define-color destructive_color #ff7b63; -@define-color destructive_bg_color #c01c28; -@define-color destructive_fg_color #ffffff; -@define-color success_color #8ff0a4; -@define-color success_bg_color #26a269; -@define-color success_fg_color #ffffff; -@define-color warning_color #f8e45c; -@define-color warning_bg_color #cd9309; -@define-color warning_fg_color rgba(0, 0, 0, 0.8); -@define-color error_color #ff7b63; -@define-color error_bg_color #c01c28; -@define-color error_fg_color #ffffff; -@define-color window_bg_color rgba(46,47,61,0.98); -@define-color window_fg_color #ffffff; -@define-color view_bg_color rgba(46,47,61,0.98); -@define-color view_fg_color #ffffff; -@define-color headerbar_bg_color rgba(46,47,61,0.98); -@define-color headerbar_fg_color #ffffff; -@define-color headerbar_border_color #ffffff; -@define-color headerbar_backdrop_color @window_bg_color; -@define-color headerbar_shade_color rgba(0, 0, 0, 0); -@define-color card_bg_color rgba(255, 255, 255, 0.08); -@define-color card_fg_color #ffffff; -@define-color card_shade_color rgba(46,47,61,0.36); -@define-color dialog_bg_color rgba(46,47,61,0.98); -@define-color dialog_fg_color #ffffff; -@define-color popover_bg_color rgba(46,47,61,0.98); -@define-color popover_fg_color #ffffff; -@define-color shade_color rgba(0, 0, 0, 0); -@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5); -@define-color blue_1 #99c1f1; -@define-color blue_2 #62a0ea; -@define-color blue_3 #3584e4; -@define-color blue_4 #1c71d8; -@define-color blue_5 #1a5fb4; -@define-color green_1 #8ff0a4; -@define-color green_2 #57e389; -@define-color green_3 #33d17a; -@define-color green_4 #2ec27e; -@define-color green_5 #26a269; -@define-color yellow_1 #f9f06b; -@define-color yellow_2 #f8e45c; -@define-color yellow_3 #f6d32d; -@define-color yellow_4 #f5c211; -@define-color yellow_5 #e5a50a; -@define-color orange_1 #ffbe6f; -@define-color orange_2 #ffa348; -@define-color orange_3 #ff7800; -@define-color orange_4 #e66100; -@define-color orange_5 #c64600; -@define-color red_1 #f66151; -@define-color red_2 #ed333b; -@define-color red_3 #e01b24; -@define-color red_4 #c01c28; -@define-color red_5 #a51d2d; -@define-color purple_1 #dc8add; -@define-color purple_2 #c061cb; -@define-color purple_3 #9141ac; -@define-color purple_4 #813d9c; -@define-color purple_5 #613583; -@define-color brown_1 #cdab8f; -@define-color brown_2 #b5835a; -@define-color brown_3 #986a44; -@define-color brown_4 #865e3c; -@define-color brown_5 #63452c; -@define-color light_1 #ffffff; -@define-color light_2 #f6f5f4; -@define-color light_3 #deddda; -@define-color light_4 #c0bfbc; -@define-color light_5 #9a9996; -@define-color dark_1 #77767b; -@define-color dark_2 #5e5c64; -@define-color dark_3 #3d3846; -@define-color dark_4 #241f31; -@define-color dark_5 #000000; diff --git a/configs/copy/home/.config/gtk-3.0/settings.ini b/configs/copy/home/.config/gtk-3.0/settings.ini index 7c6461a..b8f5d10 100644 --- a/configs/copy/home/.config/gtk-3.0/settings.ini +++ b/configs/copy/home/.config/gtk-3.0/settings.ini @@ -1,2 +1,17 @@ [Settings] +gtk-theme-name=Tahoe-Dark +gtk-icon-theme-name=Adwaita +gtk-font-name=Cantarell 11 +gtk-cursor-theme-name=WhiteSur-cursors +gtk-cursor-theme-size=24 +gtk-toolbar-style=GTK_TOOLBAR_ICONS +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=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintslight +gtk-xft-rgba=rgb gtk-application-prefer-dark-theme=0 diff --git a/configs/copy/home/.config/gtk-4.0/gtk-dark.css b/configs/copy/home/.config/gtk-4.0/gtk-dark.css new file mode 100755 index 0000000..e534575 --- /dev/null +++ b/configs/copy/home/.config/gtk-4.0/gtk-dark.css @@ -0,0 +1,598 @@ +/* GTK NAMED COLORS ---------------- use responsibly! */ +@define-color accent_bg_color RGB(130 170 255 / 80%); + +@define-color destructive_bg_color #c01c28; +@define-color destructive_fg_color white; +@define-color success_bg_color #26a269; +@define-color success_fg_color white; +@define-color warning_bg_color #cd9309; +@define-color warning_fg_color RGB(0 0 0 / 80%); +@define-color error_bg_color #c01c28; +@define-color error_fg_color white; +@define-color accent_color oklab(from @accent_bg_color max(l, 0.85) a b); +@define-color destructive_color oklab(from @destructive_bg_color max(l, 0.85) a b); +@define-color success_color oklab(from @success_bg_color max(l, 0.85) a b); +@define-color warning_color oklab(from @warning_bg_color max(l, 0.85) a b); +@define-color error_color oklab(from @error_bg_color max(l, 0.85) a b); + +@define-color window_bg_color #2e2f3d; +@define-color window_fg_color white; +@define-color view_bg_color @window_bg_color +@define-color view_fg_color white; +@define-color headerbar_bg_color @window_bg_color +@define-color headerbar_fg_color white; +@define-color headerbar_border_color white; +@define-color headerbar_backdrop_color @window_bg_color; +@define-color headerbar_shade_color RGB(46 47 61 / 8%); +@define-color headerbar_darker_shade_color RGB(0, 0, 6, 0.9); + +@define-color sidebar_bg_color #3c3c4b; +@define-color sidebar_fg_color white; +@define-color sidebar_backdrop_color #3c3c4b; +@define-color sidebar_shade_color RGB(60 60 75/8%); +@define-color sidebar_border_color RGB(75 75 90/36%); +@define-color secondary_sidebar_bg_color #3c3c4b; +@define-color secondary_sidebar_fg_color white; +@define-color secondary_sidebar_backdrop_color #3c3c4b; +@define-color secondary_sidebar_shade_color RGB(0 0 6/25%); +@define-color secondary_sidebar_border_color RGB(0 0 6/36%); +@define-color card_bg_color RGB(180 200 255/15%); +@define-color card_fg_color white; +@define-color card_shade_color RGB(46 47 61/8%); +@define-color dialog_bg_color @window_bg_color; +@define-color dialog_fg_color white; +@define-color popover_bg_color @window_bg_color; +@define-color popover_fg_color white; +@define-color popover_shade_color RGB(0 0 6/25%); +@define-color thumbnail_bg_color @window_bg_color; +@define-color thumbnail_fg_color white; +@define-color shade_color RGB(0 0 6/25%); +@define-color scrollbar_outline_color RGB(0 0 12/95%); +@define-color blue_1 #99c1f1; +@define-color blue_2 #62a0ea; +@define-color blue_3 #3584e4; +@define-color blue_4 #1c71d8; +@define-color blue_5 #1a5fb4; +@define-color green_1 #8ff0a4; +@define-color green_2 #57e389; +@define-color green_3 #33d17a; +@define-color green_4 #2ec27e; +@define-color green_5 #26a269; +@define-color yellow_1 #f9f06b; +@define-color yellow_2 #f8e45c; +@define-color yellow_3 #f6d32d; +@define-color yellow_4 #f5c211; +@define-color yellow_5 #e5a50a; +@define-color orange_1 #ffbe6f; +@define-color orange_2 #ffa348; +@define-color orange_3 #ff7800; +@define-color orange_4 #e66100; +@define-color orange_5 #c64600; +@define-color red_1 #f66151; +@define-color red_2 #ed333b; +@define-color red_3 #e01b24; +@define-color red_4 #c01c28; +@define-color red_5 #a51d2d; +@define-color purple_1 #dc8add; +@define-color purple_2 #c061cb; +@define-color purple_3 #9141ac; +@define-color purple_4 #813d9c; +@define-color purple_5 #613583; +@define-color brown_1 #cdab8f; +@define-color brown_2 #b5835a; +@define-color brown_3 #986a44; +@define-color brown_4 #865e3c; +@define-color brown_5 #63452c; +@define-color light_1 #ffffff; +@define-color light_2 #f6f5f4; +@define-color light_3 #deddda; +@define-color light_4 #c0bfbc; +@define-color light_5 #9a9996; +@define-color dark_1 #77767b; +@define-color dark_2 #5e5c64; +@define-color dark_3 #3d3846; +@define-color dark_4 #241f31; +@define-color dark_5 #000000; + +:root { + --standalone-color-oklab: max(l, 0.85) a b; + --accent-color: oklab( + from var(--accent-bg-color) var(--standalone-color-oklab) + ); + --destructive-color: oklab( + from var(--destructive-bg-color) var(--standalone-color-oklab) + ); + --success-color: oklab( + from var(--success-bg-color) var(--standalone-color-oklab) + ); + --warning-color: oklab( + from var(--warning-bg-color) var(--standalone-color-oklab) + ); + --error-color: oklab( + from var(--error-bg-color) var(--standalone-color-oklab) + ); + --active-toggle-bg-color: rgb(255 255 255 / 20%); + --active-toggle-fg-color: #ffffff; + --overview-bg-color: #2e2f3d; + --overview-fg-color: #ffffff; +} + +@import '../gtk-3.0/libadwaita.css'; +@import '../gtk-3.0/libadwaita-tweaks.css'; + +* { + border-radius: 20px; +} + +window { + border-radius: 20px; + padding: 10px; +} + +.maximize window { + border-radius: 0px; + padding: 0px; +} + +window.maximize { + border-radius: 0px; + padding: 0px; +} +/* More customizations */ +/* GTK3 */ +button.titlebutton { + color: transparent; + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +button.titlebutton:backdrop { + opacity: 0.5; +} + +/***************** + * Title buttons * + *****************/ +.raven .expander-button, +.raven .raven-header:not(.top) button.image-button, +widget > box.terminal-titlebar > button.image-button, +widget > box.terminal-titlebar > button.image-button.toggle, +.terminix-session-sidebar button.tilix-sidebar-close-button, +.tilix-session-sidebar button.tilix-sidebar-close-button, +.nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, +.nautilus-window headerbar > revealer > button, +.solid-csd headerbar:not(.default-decoration) button.titlebutton, +headerbar button.titlebutton, +.csd headerbar button.titlebutton, +.csd headerbar.default-decoration button.titlebutton, +.titlebar button.titlebutton, +.csd .titlebar button.titlebutton, +.titlebar.default-decoration button.titlebutton, +.csd .titlebar.default-decoration button.titlebutton, +row button.image-button, +check, +radio, +headerbar.default-decoration button.titlebutton, +headerbar button.suggested-action, +headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular { + border-radius: 9999px; + -gtk-outline-radius: 9999px; +} + +headerbar, +.titlebar { + padding: 0 14px; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close, +headerbar button.titlebutton.close, +.titlebar button.titlebutton.close { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: #f25056; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize, +headerbar button.titlebutton.maximize, +.titlebar button.titlebutton.maximize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: #39ea49; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize, +headerbar button.titlebutton.minimize, +.titlebar button.titlebutton.minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: #fac536; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.close:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:hover, +headerbar button.titlebutton.close:hover, +.csd headerbar button.titlebutton.close:hover, +headerbar.default-decoration button.titlebutton.close:hover, +.csd headerbar.default-decoration button.titlebutton.close:hover, +.titlebar button.titlebutton.close:hover, +.csd .titlebar button.titlebutton.close:hover, +.titlebar.default-decoration button.titlebutton.close:hover, +.csd .titlebar.default-decoration button.titlebutton.close:hover { + padding: 2px; + margin: -2px 0; + background-color: #f25056; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.maximize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize:hover, +headerbar button.titlebutton.maximize:hover, +.csd headerbar button.titlebutton.maximize:hover, +headerbar.default-decoration button.titlebutton.maximize:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:hover, +.titlebar button.titlebutton.maximize:hover, +.csd .titlebar button.titlebutton.maximize:hover, +.titlebar.default-decoration button.titlebutton.maximize:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:hover { + padding: 2px; + margin: -2px 0; + background-color: #39ea49; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.minimize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize:hover, +headerbar button.titlebutton.minimize:hover, +.csd headerbar button.titlebutton.minimize:hover, +headerbar.default-decoration button.titlebutton.minimize:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:hover, +.titlebar button.titlebutton.minimize:hover, +.csd .titlebar button.titlebutton.minimize:hover, +.titlebar.default-decoration button.titlebutton.minimize:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:hover { + padding: 2px; + margin: -2px 0; + background-color: #fac536; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize:hover, +headerbar button.titlebutton.close:hover, +headerbar button.titlebutton.close:backdrop:hover, +headerbar button.titlebutton.maximize:hover, +headerbar button.titlebutton.maximize:backdrop:hover, +headerbar button.titlebutton.minimize:hover, +headerbar button.titlebutton.minimize:backdrop:hover, +.csd headerbar button.titlebutton.close:hover, +.csd headerbar button.titlebutton.close:backdrop:hover, +.csd headerbar button.titlebutton.maximize:hover, +.csd headerbar button.titlebutton.maximize:backdrop:hover, +.csd headerbar button.titlebutton.minimize:hover, +.csd headerbar button.titlebutton.minimize:backdrop:hover, +headerbar.default-decoration button.titlebutton.close:hover, +headerbar.default-decoration button.titlebutton.close:backdrop:hover, +headerbar.default-decoration button.titlebutton.maximize:hover, +headerbar.default-decoration button.titlebutton.maximize:backdrop:hover, +headerbar.default-decoration button.titlebutton.minimize:hover, +headerbar.default-decoration button.titlebutton.minimize:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.close:hover, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:hover, +.titlebar button.titlebutton.close:hover, +.titlebar button.titlebutton.close:backdrop:hover, +.titlebar button.titlebutton.maximize:hover, +.titlebar button.titlebutton.maximize:backdrop:hover, +.titlebar button.titlebutton.minimize:hover, +.titlebar button.titlebutton.minimize:backdrop:hover, +.csd .titlebar button.titlebutton.close:hover, +.csd .titlebar button.titlebutton.close:backdrop:hover, +.csd .titlebar button.titlebutton.maximize:hover, +.csd .titlebar button.titlebutton.maximize:backdrop:hover, +.csd .titlebar button.titlebutton.minimize:hover, +.csd .titlebar button.titlebutton.minimize:backdrop:hover, +.titlebar.default-decoration button.titlebutton.close:hover, +.titlebar.default-decoration button.titlebutton.close:backdrop:hover, +.titlebar.default-decoration button.titlebutton.maximize:hover, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:hover, +.titlebar.default-decoration button.titlebutton.minimize:hover, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.close:hover, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:hover { + color: transparent; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:active, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.close:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.close:backdrop:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop:checked, +headerbar button.titlebutton.close:active, +headerbar button.titlebutton.close:checked, +headerbar button.titlebutton.close:backdrop:active, +headerbar button.titlebutton.close:backdrop:checked, +headerbar button.titlebutton.maximize:active, +headerbar button.titlebutton.maximize:checked, +headerbar button.titlebutton.maximize:backdrop:active, +headerbar button.titlebutton.maximize:backdrop:checked, +headerbar button.titlebutton.minimize:active, +headerbar button.titlebutton.minimize:checked, +headerbar button.titlebutton.minimize:backdrop:active, +headerbar button.titlebutton.minimize:backdrop:checked, +.csd headerbar button.titlebutton.close:active, +.csd headerbar button.titlebutton.close:checked, +.csd headerbar button.titlebutton.close:backdrop:active, +.csd headerbar button.titlebutton.close:backdrop:checked, +.csd headerbar button.titlebutton.maximize:active, +.csd headerbar button.titlebutton.maximize:checked, +.csd headerbar button.titlebutton.maximize:backdrop:active, +.csd headerbar button.titlebutton.maximize:backdrop:checked, +.csd headerbar button.titlebutton.minimize:active, +.csd headerbar button.titlebutton.minimize:checked, +.csd headerbar button.titlebutton.minimize:backdrop:active, +.csd headerbar button.titlebutton.minimize:backdrop:checked, +headerbar.default-decoration button.titlebutton.close:active, +headerbar.default-decoration button.titlebutton.close:checked, +headerbar.default-decoration button.titlebutton.close:backdrop:active, +headerbar.default-decoration button.titlebutton.close:backdrop:checked, +headerbar.default-decoration button.titlebutton.maximize:active, +headerbar.default-decoration button.titlebutton.maximize:checked, +headerbar.default-decoration button.titlebutton.maximize:backdrop:active, +headerbar.default-decoration button.titlebutton.maximize:backdrop:checked, +headerbar.default-decoration button.titlebutton.minimize:active, +headerbar.default-decoration button.titlebutton.minimize:checked, +headerbar.default-decoration button.titlebutton.minimize:backdrop:active, +headerbar.default-decoration button.titlebutton.minimize:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.close:active, +.csd headerbar.default-decoration button.titlebutton.close:checked, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.maximize:active, +.csd headerbar.default-decoration button.titlebutton.maximize:checked, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.minimize:active, +.csd headerbar.default-decoration button.titlebutton.minimize:checked, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:checked, +.titlebar button.titlebutton.close:active, +.titlebar button.titlebutton.close:checked, +.titlebar button.titlebutton.close:backdrop:active, +.titlebar button.titlebutton.close:backdrop:checked, +.titlebar button.titlebutton.maximize:active, +.titlebar button.titlebutton.maximize:checked, +.titlebar button.titlebutton.maximize:backdrop:active, +.titlebar button.titlebutton.maximize:backdrop:checked, +.titlebar button.titlebutton.minimize:active, +.titlebar button.titlebutton.minimize:checked, +.titlebar button.titlebutton.minimize:backdrop:active, +.titlebar button.titlebutton.minimize:backdrop:checked, +.csd .titlebar button.titlebutton.close:active, +.csd .titlebar button.titlebutton.close:checked, +.csd .titlebar button.titlebutton.close:backdrop:active, +.csd .titlebar button.titlebutton.close:backdrop:checked, +.csd .titlebar button.titlebutton.maximize:active, +.csd .titlebar button.titlebutton.maximize:checked, +.csd .titlebar button.titlebutton.maximize:backdrop:active, +.csd .titlebar button.titlebutton.maximize:backdrop:checked, +.csd .titlebar button.titlebutton.minimize:active, +.csd .titlebar button.titlebutton.minimize:checked, +.csd .titlebar button.titlebutton.minimize:backdrop:active, +.csd .titlebar button.titlebutton.minimize:backdrop:checked, +.titlebar.default-decoration button.titlebutton.close:active, +.titlebar.default-decoration button.titlebutton.close:checked, +.titlebar.default-decoration button.titlebutton.close:backdrop:active, +.titlebar.default-decoration button.titlebutton.close:backdrop:checked, +.titlebar.default-decoration button.titlebutton.maximize:active, +.titlebar.default-decoration button.titlebutton.maximize:checked, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:active, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:checked, +.titlebar.default-decoration button.titlebutton.minimize:active, +.titlebar.default-decoration button.titlebutton.minimize:checked, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:active, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.close:active, +.csd .titlebar.default-decoration button.titlebutton.close:checked, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.maximize:active, +.csd .titlebar.default-decoration button.titlebutton.maximize:checked, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.minimize:active, +.csd .titlebar.default-decoration button.titlebutton.minimize:checked, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:checked { + color: transparent; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:backdrop, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop, +headerbar button.titlebutton.close:backdrop, +headerbar button.titlebutton.maximize:backdrop, +headerbar button.titlebutton.minimize:backdrop, +.csd headerbar button.titlebutton.close:backdrop, +.csd headerbar button.titlebutton.maximize:backdrop, +.csd headerbar button.titlebutton.minimize:backdrop, +headerbar.default-decoration button.titlebutton.close:backdrop, +headerbar.default-decoration button.titlebutton.maximize:backdrop, +headerbar.default-decoration button.titlebutton.minimize:backdrop, +.csd headerbar.default-decoration button.titlebutton.close:backdrop, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop, +.titlebar button.titlebutton.close:backdrop, +.titlebar button.titlebutton.maximize:backdrop, +.titlebar button.titlebutton.minimize:backdrop, +.csd .titlebar button.titlebutton.close:backdrop, +.csd .titlebar button.titlebutton.maximize:backdrop, +.csd .titlebar button.titlebutton.minimize:backdrop, +.titlebar.default-decoration button.titlebutton.close:backdrop, +.titlebar.default-decoration button.titlebutton.maximize:backdrop, +.titlebar.default-decoration button.titlebutton.minimize:backdrop, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop { + color: transparent; + background-color: rgba(0, 0, 0, 0.12); +} + +button.titlebutton image { + margin: -1px; +} + +/* gtk4 */ + +/********************* + * GtkWindowControls * + *********************/ +windowcontrols > button { + min-height: 12px; + min-width: 12px; + padding: 0px; + margin-left: 2px; + margin-right: 2px; +} + +windowcontrols > button.minimize, +windowcontrols > button.maximize, +windowcontrols > button.close { + color: transparent; + background: none; +} + +windowcontrols > button.minimize > image { + background-color: #fdbe04; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.minimize:hover > image { + padding: 3px; + margin-right: -1px; + margin-left: -1px; +} + +windowcontrols > button.maximize > image { + background-color: #38c76a; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.maximize:hover > image { + padding: 3px; + margin-right: -1px; + margin-left: -1px; +} + +windowcontrols > button.close > image { + background-color: #fd5f51; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.close:hover > image { + padding: 3px; + margin-right: -1px; + margin-left: -1px; +} +windowcontrols > button > image { + padding: 2px; +} diff --git a/configs/copy/home/.config/gtk-4.0/gtk.css b/configs/copy/home/.config/gtk-4.0/gtk.css old mode 100644 new mode 100755 index 45cae90..339135a --- a/configs/copy/home/.config/gtk-4.0/gtk.css +++ b/configs/copy/home/.config/gtk-4.0/gtk.css @@ -1,56 +1,53 @@ -/* -Generated with Gradience +/* GTK NAMED COLORS ---------------- use responsibly! */ +@define-color accent_bg_color RGB(130 170 255 / 80%); -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -@define-color accent_color rgba(192,153,255,0.8); -@define-color accent_bg_color rgba(130,170,255,0.8); -@define-color accent_fg_color #ffffff; -@define-color destructive_color #ff7b63; @define-color destructive_bg_color #c01c28; -@define-color destructive_fg_color #ffffff; -@define-color success_color #8ff0a4; +@define-color destructive_fg_color white; @define-color success_bg_color #26a269; -@define-color success_fg_color #ffffff; -@define-color warning_color #f8e45c; +@define-color success_fg_color white; @define-color warning_bg_color #cd9309; -@define-color warning_fg_color rgba(0, 0, 0, 0.8); -@define-color error_color #ff7b63; +@define-color warning_fg_color RGB(0 0 0 / 80%); @define-color error_bg_color #c01c28; -@define-color error_fg_color #ffffff; -@define-color window_bg_color rgba(46,47,61,0.98); -@define-color window_fg_color #ffffff; -@define-color view_bg_color rgba(46,47,61,0.98); -@define-color view_fg_color #ffffff; -@define-color headerbar_bg_color rgba(46,47,61,0.98); -@define-color headerbar_fg_color #ffffff; -@define-color headerbar_border_color #ffffff; -@define-color headerbar_backdrop_color rgba(46,47,61,0.98); -@define-color headerbar_shade_color rgba(46,47,61,0.08); -@define-color headerbar_darker_shade_color rgba(0, 0, 0, 0.9); -@define-color card_bg_color rgba(180, 200, 255, 0.15); -@define-color card_fg_color #ffffff; -@define-color card_shade_color rgba(46,47,61,0.08); -@define-color dialog_bg_color rgba(46,47,61,0.98); -@define-color dialog_fg_color #ffffff; -@define-color popover_bg_color rgba(46,47,61,0.98); -@define-color popover_fg_color #ffffff; -@define-color popover_shade_color rgba(0, 0, 0, 0.36); -@define-color shade_color rgba(0, 0, 0, 0.36); -@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5); -@define-color thumbnail_bg_color rgba(46,47,61,0.98); -@define-color thumbnail_fg_color #ffffff; -@define-color sidebar_bg_color rgba(44,45,58,0.96); -@define-color sidebar_fg_color #ffffff; -@define-color sidebar_backdrop_color rgba(44,45,58,0.96); -@define-color sidebar_shade_color rgba(46,47,61,0.08); -@define-color secondary_sidebar_bg_color rgba(44,45,58,0.96); -@define-color secondary_sidebar_fg_color #ffffff; -@define-color secondary_sidebar_backdrop_color rgba(44,45,58,0.96); -@define-color secondary_sidebar_shade_color rgba(0, 0, 0, 0.36); +@define-color error_fg_color white; +@define-color accent_color oklab(from @accent_bg_color max(l, 0.85) a b); +@define-color destructive_color oklab(from @destructive_bg_color max(l, 0.85) a b); +@define-color success_color oklab(from @success_bg_color max(l, 0.85) a b); +@define-color warning_color oklab(from @warning_bg_color max(l, 0.85) a b); +@define-color error_color oklab(from @error_bg_color max(l, 0.85) a b); + +@define-color window_bg_color #2e2f3d; +@define-color window_fg_color white; +@define-color view_bg_color @window_bg_color +@define-color view_fg_color white; +@define-color headerbar_bg_color @window_bg_color +@define-color headerbar_fg_color white; +@define-color headerbar_border_color white; +@define-color headerbar_backdrop_color @window_bg_color; +@define-color headerbar_shade_color RGB(46 47 61 / 8%); +@define-color headerbar_darker_shade_color RGB(0, 0, 6, 0.9); + +@define-color sidebar_bg_color #3c3c4b; +@define-color sidebar_fg_color white; +@define-color sidebar_backdrop_color #3c3c4b; +@define-color sidebar_shade_color RGB(60 60 75/8%); +@define-color sidebar_border_color RGB(75 75 90/36%); +@define-color secondary_sidebar_bg_color #3c3c4b; +@define-color secondary_sidebar_fg_color white; +@define-color secondary_sidebar_backdrop_color #3c3c4b; +@define-color secondary_sidebar_shade_color RGB(0 0 6/25%); +@define-color secondary_sidebar_border_color RGB(0 0 6/36%); +@define-color card_bg_color RGB(180 200 255/15%); +@define-color card_fg_color white; +@define-color card_shade_color RGB(46 47 61/8%); +@define-color dialog_bg_color @window_bg_color; +@define-color dialog_fg_color white; +@define-color popover_bg_color @window_bg_color; +@define-color popover_fg_color white; +@define-color popover_shade_color RGB(0 0 6/25%); +@define-color thumbnail_bg_color @window_bg_color; +@define-color thumbnail_fg_color white; +@define-color shade_color RGB(0 0 6/25%); +@define-color scrollbar_outline_color RGB(0 0 12/95%); @define-color blue_1 #99c1f1; @define-color blue_2 #62a0ea; @define-color blue_3 #3584e4; @@ -96,54 +93,950 @@ https://github.com/GradienceTeam/Gradience @define-color dark_3 #3d3846; @define-color dark_4 #241f31; @define-color dark_5 #000000; -/* -Generated with Gradience -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); +:root { + --standalone-color-oklab: max(l, 0.85) a b; + --accent-color: oklab( + from var(--accent-bg-color) var(--standalone-color-oklab) + ); + --destructive-color: oklab( + from var(--destructive-bg-color) var(--standalone-color-oklab) + ); + --success-color: oklab( + from var(--success-bg-color) var(--standalone-color-oklab) + ); + --warning-color: oklab( + from var(--warning-bg-color) var(--standalone-color-oklab) + ); + --error-color: oklab( + from var(--error-bg-color) var(--standalone-color-oklab) + ); + --active-toggle-bg-color: rgb(255 255 255 / 20%); + --active-toggle-fg-color: #ffffff; + --overview-bg-color: #2e2f3d; + --overview-fg-color: #ffffff; } -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); +@import '../gtk-3.0/libadwaita.css'; +@import '../gtk-3.0/libadwaita-tweaks.css'; + +* { + border-radius: 20px; } -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); -} \ No newline at end of file +window { + border-radius: 20px; + padding: 10px; +} + +.maximized window { + border-radius: 0px; + padding: 10px; +} + +window.maximized { + border-radius: 0px; + padding: 10px; +} + +button { + border-radius: 9999px; +} + +/* More customizations */ +/* GTK3 */ +button.titlebutton { + color: transparent; + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +button.titlebutton:backdrop { + opacity: 0.5; +} + +/***************** + * Title buttons * + *****************/ +.raven .expander-button, +.raven .raven-header:not(.top) button.image-button, +widget > box.terminal-titlebar > button.image-button, +widget > box.terminal-titlebar > button.image-button.toggle, +.terminix-session-sidebar button.tilix-sidebar-close-button, +.tilix-session-sidebar button.tilix-sidebar-close-button, +.nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, +.nautilus-window headerbar > revealer > button, +.solid-csd headerbar:not(.default-decoration) button.titlebutton, +headerbar button.titlebutton, +.csd headerbar button.titlebutton, +.csd headerbar.default-decoration button.titlebutton, +.titlebar button.titlebutton, +.csd .titlebar button.titlebutton, +.titlebar.default-decoration button.titlebutton, +.csd .titlebar.default-decoration button.titlebutton, +row button.image-button, +check, +radio, +headerbar.default-decoration button.titlebutton, +headerbar button.suggested-action, +headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular { + border-radius: 9999px; + -gtk-outline-radius: 9999px; +} + +button.image-button.toggle { + margin-right: -12px; +} + +menubutton > button.image-button.toggle { + margin-right: -10px; +} + +headerbar, +.titlebar { + margin-top: -1px; + padding: 0 12px 0 0; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close, +headerbar button.titlebutton.close, +.titlebar button.titlebutton.close { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: rgb(255, 66, 69); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize, +headerbar button.titlebutton.maximize, +.titlebar button.titlebutton.maximize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: rgb(48, 209, 88); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize, +headerbar button.titlebutton.minimize, +.titlebar button.titlebutton.minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.3); + background-color: rgb(255, 214, 0); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.close:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:hover, +headerbar button.titlebutton.close:hover, +.csd headerbar button.titlebutton.close:hover, +headerbar.default-decoration button.titlebutton.close:hover, +.csd headerbar.default-decoration button.titlebutton.close:hover, +.titlebar button.titlebutton.close:hover, +.csd .titlebar button.titlebutton.close:hover, +.titlebar.default-decoration button.titlebutton.close:hover, +.csd .titlebar.default-decoration button.titlebutton.close:hover { + padding: 2px; + margin: -2px 0; + background-color: #f25056; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.maximize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize:hover, +headerbar button.titlebutton.maximize:hover, +.csd headerbar button.titlebutton.maximize:hover, +headerbar.default-decoration button.titlebutton.maximize:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:hover, +.titlebar button.titlebutton.maximize:hover, +.csd .titlebar button.titlebutton.maximize:hover, +.titlebar.default-decoration button.titlebutton.maximize:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:hover { + padding: 2px; + margin: -2px 0; + background-color: #39ea49; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#MozillaGtkWidget.background + headerbar.titlebar.default-decoration + button.titlebutton.minimize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize:hover, +headerbar button.titlebutton.minimize:hover, +.csd headerbar button.titlebutton.minimize:hover, +headerbar.default-decoration button.titlebutton.minimize:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:hover, +.titlebar button.titlebutton.minimize:hover, +.csd .titlebar button.titlebutton.minimize:hover, +.titlebar.default-decoration button.titlebutton.minimize:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:hover { + padding: 2px; + margin: -2px 0; + background-color: #fac536; + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.maximize:hover, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.minimize:hover, +headerbar button.titlebutton.close:hover, +headerbar button.titlebutton.close:backdrop:hover, +headerbar button.titlebutton.maximize:hover, +headerbar button.titlebutton.maximize:backdrop:hover, +headerbar button.titlebutton.minimize:hover, +headerbar button.titlebutton.minimize:backdrop:hover, +.csd headerbar button.titlebutton.close:hover, +.csd headerbar button.titlebutton.close:backdrop:hover, +.csd headerbar button.titlebutton.maximize:hover, +.csd headerbar button.titlebutton.maximize:backdrop:hover, +.csd headerbar button.titlebutton.minimize:hover, +.csd headerbar button.titlebutton.minimize:backdrop:hover, +headerbar.default-decoration button.titlebutton.close:hover, +headerbar.default-decoration button.titlebutton.close:backdrop:hover, +headerbar.default-decoration button.titlebutton.maximize:hover, +headerbar.default-decoration button.titlebutton.maximize:backdrop:hover, +headerbar.default-decoration button.titlebutton.minimize:hover, +headerbar.default-decoration button.titlebutton.minimize:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.close:hover, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:hover, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:hover, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:hover, +.titlebar button.titlebutton.close:hover, +.titlebar button.titlebutton.close:backdrop:hover, +.titlebar button.titlebutton.maximize:hover, +.titlebar button.titlebutton.maximize:backdrop:hover, +.titlebar button.titlebutton.minimize:hover, +.titlebar button.titlebutton.minimize:backdrop:hover, +.csd .titlebar button.titlebutton.close:hover, +.csd .titlebar button.titlebutton.close:backdrop:hover, +.csd .titlebar button.titlebutton.maximize:hover, +.csd .titlebar button.titlebutton.maximize:backdrop:hover, +.csd .titlebar button.titlebutton.minimize:hover, +.csd .titlebar button.titlebutton.minimize:backdrop:hover, +.titlebar.default-decoration button.titlebutton.close:hover, +.titlebar.default-decoration button.titlebutton.close:backdrop:hover, +.titlebar.default-decoration button.titlebutton.maximize:hover, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:hover, +.titlebar.default-decoration button.titlebutton.minimize:hover, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.close:hover, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:hover, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:hover, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:hover { + color: transparent; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:active, +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.close:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop:active, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.close:backdrop:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop:checked, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop:checked, +headerbar button.titlebutton.close:active, +headerbar button.titlebutton.close:checked, +headerbar button.titlebutton.close:backdrop:active, +headerbar button.titlebutton.close:backdrop:checked, +headerbar button.titlebutton.maximize:active, +headerbar button.titlebutton.maximize:checked, +headerbar button.titlebutton.maximize:backdrop:active, +headerbar button.titlebutton.maximize:backdrop:checked, +headerbar button.titlebutton.minimize:active, +headerbar button.titlebutton.minimize:checked, +headerbar button.titlebutton.minimize:backdrop:active, +headerbar button.titlebutton.minimize:backdrop:checked, +.csd headerbar button.titlebutton.close:active, +.csd headerbar button.titlebutton.close:checked, +.csd headerbar button.titlebutton.close:backdrop:active, +.csd headerbar button.titlebutton.close:backdrop:checked, +.csd headerbar button.titlebutton.maximize:active, +.csd headerbar button.titlebutton.maximize:checked, +.csd headerbar button.titlebutton.maximize:backdrop:active, +.csd headerbar button.titlebutton.maximize:backdrop:checked, +.csd headerbar button.titlebutton.minimize:active, +.csd headerbar button.titlebutton.minimize:checked, +.csd headerbar button.titlebutton.minimize:backdrop:active, +.csd headerbar button.titlebutton.minimize:backdrop:checked, +headerbar.default-decoration button.titlebutton.close:active, +headerbar.default-decoration button.titlebutton.close:checked, +headerbar.default-decoration button.titlebutton.close:backdrop:active, +headerbar.default-decoration button.titlebutton.close:backdrop:checked, +headerbar.default-decoration button.titlebutton.maximize:active, +headerbar.default-decoration button.titlebutton.maximize:checked, +headerbar.default-decoration button.titlebutton.maximize:backdrop:active, +headerbar.default-decoration button.titlebutton.maximize:backdrop:checked, +headerbar.default-decoration button.titlebutton.minimize:active, +headerbar.default-decoration button.titlebutton.minimize:checked, +headerbar.default-decoration button.titlebutton.minimize:backdrop:active, +headerbar.default-decoration button.titlebutton.minimize:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.close:active, +.csd headerbar.default-decoration button.titlebutton.close:checked, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.close:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.maximize:active, +.csd headerbar.default-decoration button.titlebutton.maximize:checked, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop:checked, +.csd headerbar.default-decoration button.titlebutton.minimize:active, +.csd headerbar.default-decoration button.titlebutton.minimize:checked, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:active, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop:checked, +.titlebar button.titlebutton.close:active, +.titlebar button.titlebutton.close:checked, +.titlebar button.titlebutton.close:backdrop:active, +.titlebar button.titlebutton.close:backdrop:checked, +.titlebar button.titlebutton.maximize:active, +.titlebar button.titlebutton.maximize:checked, +.titlebar button.titlebutton.maximize:backdrop:active, +.titlebar button.titlebutton.maximize:backdrop:checked, +.titlebar button.titlebutton.minimize:active, +.titlebar button.titlebutton.minimize:checked, +.titlebar button.titlebutton.minimize:backdrop:active, +.titlebar button.titlebutton.minimize:backdrop:checked, +.csd .titlebar button.titlebutton.close:active, +.csd .titlebar button.titlebutton.close:checked, +.csd .titlebar button.titlebutton.close:backdrop:active, +.csd .titlebar button.titlebutton.close:backdrop:checked, +.csd .titlebar button.titlebutton.maximize:active, +.csd .titlebar button.titlebutton.maximize:checked, +.csd .titlebar button.titlebutton.maximize:backdrop:active, +.csd .titlebar button.titlebutton.maximize:backdrop:checked, +.csd .titlebar button.titlebutton.minimize:active, +.csd .titlebar button.titlebutton.minimize:checked, +.csd .titlebar button.titlebutton.minimize:backdrop:active, +.csd .titlebar button.titlebutton.minimize:backdrop:checked, +.titlebar.default-decoration button.titlebutton.close:active, +.titlebar.default-decoration button.titlebutton.close:checked, +.titlebar.default-decoration button.titlebutton.close:backdrop:active, +.titlebar.default-decoration button.titlebutton.close:backdrop:checked, +.titlebar.default-decoration button.titlebutton.maximize:active, +.titlebar.default-decoration button.titlebutton.maximize:checked, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:active, +.titlebar.default-decoration button.titlebutton.maximize:backdrop:checked, +.titlebar.default-decoration button.titlebutton.minimize:active, +.titlebar.default-decoration button.titlebutton.minimize:checked, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:active, +.titlebar.default-decoration button.titlebutton.minimize:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.close:active, +.csd .titlebar.default-decoration button.titlebutton.close:checked, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.maximize:active, +.csd .titlebar.default-decoration button.titlebutton.maximize:checked, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop:checked, +.csd .titlebar.default-decoration button.titlebutton.minimize:active, +.csd .titlebar.default-decoration button.titlebutton.minimize:checked, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:active, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop:checked { + color: transparent; +} + +.solid-csd headerbar:not(.default-decoration) button.titlebutton.close:backdrop, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.maximize:backdrop, +.solid-csd + headerbar:not(.default-decoration) + button.titlebutton.minimize:backdrop, +headerbar button.titlebutton.close:backdrop, +headerbar button.titlebutton.maximize:backdrop, +headerbar button.titlebutton.minimize:backdrop, +.csd headerbar button.titlebutton.close:backdrop, +.csd headerbar button.titlebutton.maximize:backdrop, +.csd headerbar button.titlebutton.minimize:backdrop, +headerbar.default-decoration button.titlebutton.close:backdrop, +headerbar.default-decoration button.titlebutton.maximize:backdrop, +headerbar.default-decoration button.titlebutton.minimize:backdrop, +.csd headerbar.default-decoration button.titlebutton.close:backdrop, +.csd headerbar.default-decoration button.titlebutton.maximize:backdrop, +.csd headerbar.default-decoration button.titlebutton.minimize:backdrop, +.titlebar button.titlebutton.close:backdrop, +.titlebar button.titlebutton.maximize:backdrop, +.titlebar button.titlebutton.minimize:backdrop, +.csd .titlebar button.titlebutton.close:backdrop, +.csd .titlebar button.titlebutton.maximize:backdrop, +.csd .titlebar button.titlebutton.minimize:backdrop, +.titlebar.default-decoration button.titlebutton.close:backdrop, +.titlebar.default-decoration button.titlebutton.maximize:backdrop, +.titlebar.default-decoration button.titlebutton.minimize:backdrop, +.csd .titlebar.default-decoration button.titlebutton.close:backdrop, +.csd .titlebar.default-decoration button.titlebutton.maximize:backdrop, +.csd .titlebar.default-decoration button.titlebutton.minimize:backdrop { + color: transparent; + background-color: rgba(0, 0, 0, 0.12); +} + +button.titlebutton image { + margin: -1px; +} + +/* gtk4 */ + +/********************* + * GtkWindowControls * + *********************/ +windowcontrols > button { + min-height: 12px; + min-width: 12px; + padding: 0px; + margin-left: 2px; + margin-right: 2px; +} + +windowcontrols > button.minimize, +windowcontrols > button.maximize, +windowcontrols > button.close { + color: transparent; + background: none; +} + +windowcontrols > button.minimize > image { + background-color: #38c76a; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.minimize > image:hover { + background-color: rgba(56, 199, 106, 0.85); +} + +windowcontrols > button.maximize > image { + background-color: #fdbe04; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.maximize > image:hover { + background-color: rgba(253, 190, 4, 0.85); +} + +windowcontrols > button.close > image { + background-color: #fd5f51; + box-shadow: inset 0 -1px 0 0 alpha(white, 0.2), + inset 0 1px 0 0 alpha(white, 0.3), inset 1px 0 0 0 alpha(white, 0.07), + inset -1px 0 0 0 alpha(white, 0.07), 0 1px 3px rgba(0, 0, 0, 0.12), + 0 1px 2px rgba(0, 0, 0, 0.24); +} + +windowcontrols > button.close > image:hover { + background-color: rgba(253, 95, 81, 0.85); +} + +windowcontrols > button > image { + padding: 1px; +} + +windowcontrols { + margin-right: -6px; + max-width: 12px; + max-height: 12px; +} + +/********************* + * Text Editor * + *********************/ +tabbox { + background-color: rgba(255, 255, 255, 0.05); + border-radius: 24px; + margin: 2px 4px 2px 0px; + box-shadow: none; +} + +textview.editor { + border-radius: 30px; + margin-top: 10px; + background-color: rgba(0, 0, 0, 0.2); + box-shadow: inset 2px 2px 4px -2.8px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -2.8px rgba(255, 255, 255, 0.6); +} + +textview.editor > border.left > gutter, +textview.editor > border.left, +revealer.bottom-bar.raised, +positionlabel.bottom.numeric.right { + background-color: rgba(0, 0, 0, 0); +} + +revealer.bottom-bar.raised, +revealer.top-bar.raised { + border: none; + box-shadow: none; +} + +separator.vertical { + opacity: 0; +} + +list.boxed-list > row.property, +list.boxed-list > row.activatable.combo, +list.boxed-list > row.activatable { + border-bottom-color: rgba(0, 0, 0, 0.2); + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +widget.end.sidebar-pane, +widget.end.sidebar-pane > widget, +widget.end.sidebar-pane > widget > preferencespage { + border-radius: 30px; +} + +widget.end.sidebar-pane > widget, +widget.end.sidebar-pane > widget > preferencespage { + margin-top: -14px; + margin-bottom: -14px; +} + +widget.end.sidebar-pane { + margin-top: 10px; + margin-left: 10px; +} + +/* +.collapse-spacing.vertical { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3px rgba(255, 255, 255, 0.6); +} + +*/ +/********************* + * Nautilus * + *********************/ + +window.filechooser > gridview.view, +window.filechooser > list.navigation-sidebar { + background-color: transparent; +} + +gridview > child > picture.large.thumbnail { + border-radius: 2px; +} +.nautilus-window headerbar > revealer.top-bar, +overlay-split-view.view, +statuspage.view, +window#NautilusAppChooser > headerbar.titlebar, +box.vertical > banner > revealer > widget { + background-color: rgba(0, 0, 0, 0); +} + +.sidebar-pane { + background-color: transparent; + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3px rgba(255, 255, 255, 0.6); +} + +window { + background-color: rgba(46, 47, 61, 0.6); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), + inset 0 -1px 0 rgba(255, 255, 255, 0.05); +} + +#NautilusFileChooser.background { + background-color: rgba(46, 47, 61, 0.6); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), + inset 0 -1px 0 rgba(255, 255, 255, 0.05); +} + +window#NautilusFileChooser > button.default.pill { + margin-right: 10px; +} + +window#NautilusFileChooser > revealer.bottom-bar { + margin-left: 10px; +} + +#NautilusPathBar { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -2.8px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -2.8px rgba(255, 255, 255, 0.6); +} + +entry { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3px rgba(255, 255, 255, 0.6); +} + +window#NautilusAppChooser > separator.horizontal { + opacity: 0; +} + +window#NautilusAppChooser + > box.dialog-vbox + > box.vertical + > scrolledwindow.background { + background-color: rgba(0, 0, 0, 0); +} + +window#NautilusAppChooser > scrolledwindow.background { + border: none; +} + +list.background { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3.2px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3.2px rgba(255, 255, 255, 0.6); + margin-top: 10px; +} + +/* This removes selection color of sidebar +row.activatable { + background-color: rgba(0, 0, 0, 0); + } + */ + +sheet.background { + background-color: rgba(46, 47, 61, 0.92); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); +} + +button.suggested-action.text-button { + margin-right: -10px; +} + +box.bottom.floating-bar { + background-color: rgba(46, 47, 61, 0.6); + box-shadow: inset 2px 2px 2px -2.8px rgba(255, 255, 255, 0.8), + inset -2px -2px 2px -2.8px rgba(255, 255, 255, 0.8); +} + +/* + row.activatable.entry { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3.2px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3.2px rgba(255, 255, 255, 0.6); + } + + toolbarview.undershoot-top { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3.2px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3.2px rgba(255, 255, 255, 0.6); + } +*/ + +/********************* + * General * + *********************/ + +switch > slider, +scale.horizontal > trough > slider { + min-width: 25px; +} + +window > tooltip.background { + box-shadow: inset 2px 2px 2px -2.8px rgba(255, 255, 255, 0.8), + inset -2px -2px 2px -2.8px rgba(255, 255, 255, 0.8); +} + +popover > contents { + background-color: rgba(46, 47, 61, 0.92); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); +} + +popover > arrow { + background-color: rgba(46, 47, 61, 0.92); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); +} + +.raised.top-bar, +window > windowhandle, +window > headerbar.titlebar { + background-color: rgba(0, 0, 0, 0); + border: none; +} + +widget.content-pane { + background-color: rgba(0, 0, 0, 0); + border-radius: 30px; +} + +box.vertical, +stack.view, +calendar-view, +navigation-view-page > toolbarview.undershoot-top.view { + background-color: rgba(0, 0, 0, 0); +} + +stack.drop-widget, +stack.drop-widget > revealer, +widget.background, +widget.content-pane > lpdragoverlay > revealer, +widget.content-pane > lpdragoverlay { + border-radius: 30px; +} + +/********************* + * Tweaks * + *********************/ +.tweak-titlebar-left, +.tweak-titlebar-right { + background-color: rgba(0, 0, 0, 0); + border: none; + border-top-color: rgba(0, 0, 0, 0); + border-right-color: rgba(0, 0, 0, 0); + border-bottom-color: rgba(0, 0, 0, 0); + border-left-color: rgba(0, 0, 0, 0); + box-shadow: none; +} + +.tweak-titlebar-left > box, +.tweak-titlebar-right > box { + background-color: rgba(0, 0, 0, 0); + border: none; + border-top-color: rgba(0, 0, 0, 0); + border-right-color: rgba(0, 0, 0, 0); + border-bottom-color: rgba(0, 0, 0, 0); + border-left-color: rgba(0, 0, 0, 0); + box-shadow: none; +} + +box { + border: none; + border-top-color: rgba(0, 0, 0, 0); + border-right-color: rgba(0, 0, 0, 0); + border-bottom-color: rgba(0, 0, 0, 0); + border-left-color: rgba(0, 0, 0, 0); + box-shadow: none; +} + +stack.background { + background-color: rgba(0, 0, 0, 0); +} + +box.split-row.vertical { + border-radius: 0; + border-bottom-color: rgba(0, 0, 0, 0, 0.2); +} + +/********************* + * weather * + *********************/ + +scrolledwindow.card.forecast-card { + margin-left: 12px; + margin-right: 12px; +} + +monthcell:hover { + background-color: rgba(255, 255, 255, 0.1); +} + +/********************* + * Mission Center * + *********************/ + +columnview.rich-list.view { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -2.8px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -2.8px rgba(255, 255, 255, 0.6); +} + +/* + toolbarview.undershoot-top { + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3.2px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3.2px rgba(255, 255, 255, 0.6); + } + */ + +/********************* + * Photos APP * + *********************/ + +/* + revealer.bottom-bar { + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0); + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.03) + ); + box-shadow: inset 2px 2px 4px -3.2px rgba(255, 255, 255, 0.6), + inset -2px -2px 4px -3.2px rgba(255, 255, 255, 0.6); + + } + */ + +/********************* + * Photos APP * + *********************/ + +row.expander, +row.expander > row.activatable.header { + border-radius: 0; + border-bottom-color: rgba(255, 255, 255, 0.2); +} + +/********************* + * Settings * + *********************/ + +button.background-preview-button.toggle:checked { + border-radius: 30px; +} + +button.background-preview-button.toggle > background-preview > picture { + border-radius: 28px; +} + +/********************* + * Extensions * + *********************/ + +header.horizontal.top > tabs > tab:checked, +header.horizontal.top > tabs > tab:hover { + box-shadow: none; + background-color: rgba(255, 255, 255, 0.15); +} + +header.horizontal.top > tabs > tab { + margin-left: -4px; + margin-right: 8px; +} + +notebook.frame > stack { + background-color: transparent; +} + +notebook.frame > stack > list { + background-color: rgba(255, 255, 255, 0.6); +} diff --git a/configs/copy/home/.config/gtk-4.0/gtk.css.bak b/configs/copy/home/.config/gtk-4.0/gtk.css.bak deleted file mode 100644 index 45cae90..0000000 --- a/configs/copy/home/.config/gtk-4.0/gtk.css.bak +++ /dev/null @@ -1,149 +0,0 @@ -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -@define-color accent_color rgba(192,153,255,0.8); -@define-color accent_bg_color rgba(130,170,255,0.8); -@define-color accent_fg_color #ffffff; -@define-color destructive_color #ff7b63; -@define-color destructive_bg_color #c01c28; -@define-color destructive_fg_color #ffffff; -@define-color success_color #8ff0a4; -@define-color success_bg_color #26a269; -@define-color success_fg_color #ffffff; -@define-color warning_color #f8e45c; -@define-color warning_bg_color #cd9309; -@define-color warning_fg_color rgba(0, 0, 0, 0.8); -@define-color error_color #ff7b63; -@define-color error_bg_color #c01c28; -@define-color error_fg_color #ffffff; -@define-color window_bg_color rgba(46,47,61,0.98); -@define-color window_fg_color #ffffff; -@define-color view_bg_color rgba(46,47,61,0.98); -@define-color view_fg_color #ffffff; -@define-color headerbar_bg_color rgba(46,47,61,0.98); -@define-color headerbar_fg_color #ffffff; -@define-color headerbar_border_color #ffffff; -@define-color headerbar_backdrop_color rgba(46,47,61,0.98); -@define-color headerbar_shade_color rgba(46,47,61,0.08); -@define-color headerbar_darker_shade_color rgba(0, 0, 0, 0.9); -@define-color card_bg_color rgba(180, 200, 255, 0.15); -@define-color card_fg_color #ffffff; -@define-color card_shade_color rgba(46,47,61,0.08); -@define-color dialog_bg_color rgba(46,47,61,0.98); -@define-color dialog_fg_color #ffffff; -@define-color popover_bg_color rgba(46,47,61,0.98); -@define-color popover_fg_color #ffffff; -@define-color popover_shade_color rgba(0, 0, 0, 0.36); -@define-color shade_color rgba(0, 0, 0, 0.36); -@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5); -@define-color thumbnail_bg_color rgba(46,47,61,0.98); -@define-color thumbnail_fg_color #ffffff; -@define-color sidebar_bg_color rgba(44,45,58,0.96); -@define-color sidebar_fg_color #ffffff; -@define-color sidebar_backdrop_color rgba(44,45,58,0.96); -@define-color sidebar_shade_color rgba(46,47,61,0.08); -@define-color secondary_sidebar_bg_color rgba(44,45,58,0.96); -@define-color secondary_sidebar_fg_color #ffffff; -@define-color secondary_sidebar_backdrop_color rgba(44,45,58,0.96); -@define-color secondary_sidebar_shade_color rgba(0, 0, 0, 0.36); -@define-color blue_1 #99c1f1; -@define-color blue_2 #62a0ea; -@define-color blue_3 #3584e4; -@define-color blue_4 #1c71d8; -@define-color blue_5 #1a5fb4; -@define-color green_1 #8ff0a4; -@define-color green_2 #57e389; -@define-color green_3 #33d17a; -@define-color green_4 #2ec27e; -@define-color green_5 #26a269; -@define-color yellow_1 #f9f06b; -@define-color yellow_2 #f8e45c; -@define-color yellow_3 #f6d32d; -@define-color yellow_4 #f5c211; -@define-color yellow_5 #e5a50a; -@define-color orange_1 #ffbe6f; -@define-color orange_2 #ffa348; -@define-color orange_3 #ff7800; -@define-color orange_4 #e66100; -@define-color orange_5 #c64600; -@define-color red_1 #f66151; -@define-color red_2 #ed333b; -@define-color red_3 #e01b24; -@define-color red_4 #c01c28; -@define-color red_5 #a51d2d; -@define-color purple_1 #dc8add; -@define-color purple_2 #c061cb; -@define-color purple_3 #9141ac; -@define-color purple_4 #813d9c; -@define-color purple_5 #613583; -@define-color brown_1 #cdab8f; -@define-color brown_2 #b5835a; -@define-color brown_3 #986a44; -@define-color brown_4 #865e3c; -@define-color brown_5 #63452c; -@define-color light_1 #ffffff; -@define-color light_2 #f6f5f4; -@define-color light_3 #deddda; -@define-color light_4 #c0bfbc; -@define-color light_5 #9a9996; -@define-color dark_1 #77767b; -@define-color dark_2 #5e5c64; -@define-color dark_3 #3d3846; -@define-color dark_4 #241f31; -@define-color dark_5 #000000; -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -/* -Generated with Gradience - -Issues caused by theming should be reported to Gradience repository, and not to upstream - -https://github.com/GradienceTeam/Gradience -*/ - -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); -} - -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); -} - -.navigation-sidebar { -background-color: rgba(46,47,61,0.98); -} \ No newline at end of file diff --git a/configs/copy/home/.config/gtk-4.0/servers b/configs/copy/home/.config/gtk-4.0/servers deleted file mode 100644 index 947cef0..0000000 --- a/configs/copy/home/.config/gtk-4.0/servers +++ /dev/null @@ -1,16 +0,0 @@ - - - - gib on server.gib - - - - - - - - - \ No newline at end of file diff --git a/configs/copy/home/.config/gtk-4.0/theme-info.json b/configs/copy/home/.config/gtk-4.0/theme-info.json new file mode 100644 index 0000000..f9a9cd5 --- /dev/null +++ b/configs/copy/home/.config/gtk-4.0/theme-info.json @@ -0,0 +1 @@ +{"THEME_NAME":"Tahoe-Dark"} \ No newline at end of file diff --git a/configs/dotfiles/espanso/bin/get_login b/configs/dotfiles/espanso/bin/get_login new file mode 100755 index 0000000..c253d8f --- /dev/null +++ b/configs/dotfiles/espanso/bin/get_login @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -euo pipefail + +# 1) load your shell exports if not already present: +#if [[ -z "${BW_SESSION:-}" ]]; then + #[[ -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc" + #[[ -f "$HOME/.profile" ]] && source "$HOME/.profile" +#fi +source ~/.local/share/sunhat/defaults/bash/api_keys + +# 2) if still empty, unlock once and export: +#if [[ -z "${BW_SESSION:-}" ]]; then + #export BW_SESSION=$(bw unlock --raw) +#fi + +# 3) fetch and print userpass +printf '%s\t%s\n' \ + "$(bw --session "$BW_SESSION" get username "$1")" \ + "$(bw --session "$BW_SESSION" get password "$1")" diff --git a/configs/dotfiles/espanso/match/base.yml b/configs/dotfiles/espanso/match/base.yml index 390d897..ec03e92 100644 --- a/configs/dotfiles/espanso/match/base.yml +++ b/configs/dotfiles/espanso/match/base.yml @@ -59,21 +59,45 @@ matches: - trigger: ":pymain" replace: "#\n#\n# Author: GibbyB (Gabriel Brown)\n#\n\nfrom typing import List\n\n\ndef main():\npass\n\n\nif __name__ == \"__main__\":\nmain()" + - trigger: ":block" + replace: "```\n $|$ \n```" + force_clipboard: true + - trigger: ":tsblock" - replace: "```ts\n\n```" + replace: "```ts \n $|$ \n ```" force_clipboard: true - trigger: ":tsxblock" - replace: "```tsx\n\n```" + replace: "```tsx \n $|$ \n ```" force_clipboard: true + - trigger: ":nextclient" + replace: "'use client;\n\nconst Page = () => { \n$|$\n};\n\nexport { Page };" + + - trigger: "nextserver" + replace: "'use server';\n\nconst Page = () => {\n\n};\n\nexport { Page };" + + #- trigger: ":adm" + #replace: "cog\\administrator\tInfoTech-4193\n" + + - trigger: ":adm" + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "~/.config/espanso/bin/get_login be3e756a-f18d-4bff-8f87-38ced7876eee" + shell: bash + trim: true + debug: false + # Frequent Misspellings - trigger: "yoututbe" replace: "YouTube" - trigger: "clera" replace: "clear" - + - trigger: "nivm" replace: "nvim" @@ -82,7 +106,7 @@ matches: - trigger: "lenght" replace: "length" - + - trigger: "whiel" replace: "while" diff --git a/configs/dotfiles/nvim/lazy-lock.json b/configs/dotfiles/nvim/lazy-lock.json index 74efa55..3d7fcad 100644 --- a/configs/dotfiles/nvim/lazy-lock.json +++ b/configs/dotfiles/nvim/lazy-lock.json @@ -1,6 +1,6 @@ { "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" }, - "avante.nvim": { "branch": "main", "commit": "e2b34f6435edcb9ef0a051ddcf24693a5d8bba2b" }, + "avante.nvim": { "branch": "main", "commit": "c10e383019280edf6433b422603be45294c9ccf5" }, "barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, "cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, @@ -18,34 +18,35 @@ "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, - "fzf-lua": { "branch": "main", "commit": "1977a7648a264fabf453ee082e2398e38cc3b588" }, - "gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" }, + "fzf-lua": { "branch": "main", "commit": "3d4342120cf12f36b60a8161a8835b111ec5ec9a" }, + "gitsigns.nvim": { "branch": "main", "commit": "1b0350ab707713b2bc6c236151f1a324175347b1" }, "image.nvim": { "branch": "master", "commit": "4c51d6202628b3b51e368152c053c3fb5c5f76f2" }, "img-clip.nvim": { "branch": "main", "commit": "d8b6b030672f9f551a0e3526347699985a779d93" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "leetcode.nvim": { "branch": "master", "commit": "db7e1cd6b9191b34b4c1f2f96e4e3949cde9f951" }, "lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" }, "lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "c4c84f4521d62de595c0d0f718a9a40c1890c8ce" }, "mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" }, - "mcphub.nvim": { "branch": "main", "commit": "7752efc63da929683c5d4812e7d0d066189ee68f" }, + "mcphub.nvim": { "branch": "main", "commit": "1eb7bec18f3927ee7fa468e0a176812383669596" }, + "mini.hipatterns": { "branch": "main", "commit": "d71c21167d6bd5f21c9ecf90912c510f9edfc02b" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" }, "nerdcommenter": { "branch": "master", "commit": "02a3b6455fa07b61b9440a78732f1e9b7876c991" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, - "nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" }, + "nvim-autopairs": { "branch": "master", "commit": "2647cce4cb64fb35c212146663384e05ae126bdf" }, "nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" }, "nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" }, - "nvim-lspconfig": { "branch": "master", "commit": "a182334ba933e58240c2c45e6ae2d9c7ae313e00" }, - "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, + "nvim-lspconfig": { "branch": "master", "commit": "6bba673aa8993eceec233be17b42ddfb9540794b" }, + "nvim-notify": { "branch": "master", "commit": "a22f5d7ac511c2df2fd3290a9f04c48d5a822e2e" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, - "nvim-treesitter-context": { "branch": "master", "commit": "464a443b5a6657f39772b20baa95d02ffe97b268" }, + "nvim-treesitter-context": { "branch": "master", "commit": "1a1a7c5d6d75cb49bf64049dafab15ebe294a79f" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, - "nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" }, + "nvim-web-devicons": { "branch": "master", "commit": "19d6211c78169e78bab372b585b6fb17ad974e82" }, "nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" }, "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, - "render-markdown.nvim": { "branch": "main", "commit": "6f5a4c36d9383b2a916facaa63dcd573afa11ee8" }, - "rest.nvim": { "branch": "main", "commit": "2ded89dbda1fd3c1430685ffadf2df8beb28336d" }, + "render-markdown.nvim": { "branch": "main", "commit": "24aacee83544ca113055564ed22be7852067c342" }, + "rest.nvim": { "branch": "main", "commit": "de9726ab956e30202aafbcdea83c1d6bffe54227" }, "supermaven-nvim": { "branch": "main", "commit": "07d20fce48a5629686aefb0a7cd4b25e33947d50" }, "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" }, diff --git a/configs/dotfiles/nvim/lua/config/init.lua b/configs/dotfiles/nvim/lua/config/init.lua index f1b97b5..bbdc550 100644 --- a/configs/dotfiles/nvim/lua/config/init.lua +++ b/configs/dotfiles/nvim/lua/config/init.lua @@ -63,7 +63,3 @@ autocmd('LspAttach', { vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts) end }) - ---vim.g.netrw_browse_split = 0 ---vim.g.netrw_banner = 0 ---vim.g.netrw_winsize = 25 diff --git a/configs/dotfiles/nvim/lua/config/lazy.lua b/configs/dotfiles/nvim/lua/config/lazy.lua index 5c6c3c9..92a90f0 100644 --- a/configs/dotfiles/nvim/lua/config/lazy.lua +++ b/configs/dotfiles/nvim/lua/config/lazy.lua @@ -23,5 +23,5 @@ require("lazy").setup({ }, install = { colorscheme = { "tokyonight-moon" } }, -- automatically check for plugin updates - checker = { enabled = true }, + --checker = { enabled = true }, }) diff --git a/configs/dotfiles/nvim/lua/config/set.lua b/configs/dotfiles/nvim/lua/config/set.lua index f5bc403..4d817b2 100644 --- a/configs/dotfiles/nvim/lua/config/set.lua +++ b/configs/dotfiles/nvim/lua/config/set.lua @@ -4,7 +4,7 @@ vim.opt.relativenumber = true vim.opt.tabstop = 2 vim.opt.softtabstop = 2 vim.opt.shiftwidth = 2 ---vim.opt.expandtab = true +vim.opt.expandtab = true vim.opt.smartindent = true diff --git a/configs/dotfiles/nvim/lua/plugins/avante.lua b/configs/dotfiles/nvim/lua/plugins/avante.lua index 1356799..79a14fe 100644 --- a/configs/dotfiles/nvim/lua/plugins/avante.lua +++ b/configs/dotfiles/nvim/lua/plugins/avante.lua @@ -116,7 +116,7 @@ return { ---@type "right" | "left" | "top" | "bottom" position = "right", -- the position of the sidebar wrap = true, -- similar to vim.o.wrap - width = 30, -- default % based on available width + width = 35, -- default % based on available width sidebar_header = { enabled = true, -- true, false to enable/disable the header align = "center", -- left, center, right for title diff --git a/configs/dotfiles/nvim/lua/plugins/lualine.lua b/configs/dotfiles/nvim/lua/plugins/lualine.lua index 0271ea1..fa542f6 100644 --- a/configs/dotfiles/nvim/lua/plugins/lualine.lua +++ b/configs/dotfiles/nvim/lua/plugins/lualine.lua @@ -17,11 +17,25 @@ return { }, ignore_focus = {}, always_divide_middle = true, + always_show_tabline = true, globalstatus = false, refresh = { statusline = 1000, tabline = 1000, winbar = 1000, + refresh_time = 16, -- ~60fps + events = { + 'WinEnter', + 'BufEnter', + 'BufWritePost', + 'SessionLoadPost', + 'FileChangedShellPost', + 'VimResized', + 'Filetype', + 'CursorMoved', + 'CursorMovedI', + 'ModeChanged', + }, } }, sections = { diff --git a/configs/dotfiles/nvim/lua/plugins/neotree.lua b/configs/dotfiles/nvim/lua/plugins/neotree.lua index edc3a39..9d1b564 100644 --- a/configs/dotfiles/nvim/lua/plugins/neotree.lua +++ b/configs/dotfiles/nvim/lua/plugins/neotree.lua @@ -55,7 +55,7 @@ return { { 'h', 'h', mode = { 'n', 'v' }, desc = 'Left' }, { 'j', 'j', mode = { 'n', 'v' }, desc = 'Down' }, { 'k', 'k', mode = { 'n', 'v' }, desc = 'Up' }, - { 'l', 'l', mode = { 'n', 'v' }, desc = 'Right' }, + { 'l', 'l', mode = { 'n', 'v' }, desc = 'Right' }, }, lazy = false, -----Instead of using `config`, you can use `opts` instead, if you'd like: @@ -83,15 +83,15 @@ return { enable_diagnostics = true, open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes open_files_using_relative_paths = false, - sort_case_insensitive = false, -- used when sorting files and directories in the tree - --sort_function = nil, -- use a custom function for sorting files and directories in the tree - sort_function = function (a,b) - if a.type == b.type then - return a.path > b.path - else - return a.type > b.type - end - end , -- this sorts files and directories descendantly + sort_case_insensitive = true, -- used when sorting files and directories in the tree + sort_function = nil, -- use a custom function for sorting files and directories in the tree + --sort_function = function (a,b) + --if a.type == b.type then + --return a.path > b.path + --else + --return a.type > b.type + --end + --end, -- this sorts files and directories descendantly default_component_configs = { container = { enable_character_fade = true, @@ -185,7 +185,7 @@ return { commands = {}, window = { position = "left", - width = 35, + width = 30, mapping_options = { noremap = true, nowait = true, diff --git a/configs/dotfiles/nvim/lua/plugins/tokyonight.lua b/configs/dotfiles/nvim/lua/plugins/tokyonight.lua old mode 100644 new mode 100755 index 1109b41..f8106b2 --- a/configs/dotfiles/nvim/lua/plugins/tokyonight.lua +++ b/configs/dotfiles/nvim/lua/plugins/tokyonight.lua @@ -1,29 +1,55 @@ return { - { - 'folke/tokyonight.nvim', - lazy = false, - priority = 1000, - opts = { - style = 'moon', - light_style = 'day', - transparent = true, - terminal_colors = true, -- Configure the colors used when opening a `:terminal` in [Neovim](https://github.com/neovim/neovim) - styles = { - -- Style to be applied to different syntax groups - -- Value is any valid attr-list value for `:help nvim_set_hl` - comments = { italic = true }, - keywords = { italic = true }, - functions = {}, - variables = {}, - -- Background styles. Can be "dark", "transparent" or "normal" - sidebars = "dark", -- style for sidebars, see below - floats = "dark", -- style for floating windows - }, - sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]` - day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors - hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**. - dim_inactive = false, -- dims inactive windows - lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold - }, - }, + { + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + opts = { + style = "moon", -- The theme comes in three styles, `storm`, a darker variant `night` and `day` + light_style = "night", -- The theme is used when the background is set to light + transparent = true, -- Enable this to disable setting the background color + terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim + styles = { + comments = { italic = true }, + keywords = { italic = true }, + functions = {}, + variables = {}, + -- Background styles. Can be "dark", "transparent" or "normal" + sidebars = "dark", -- style for sidebars, see below + floats = "dark", -- style for floating windows + }, + day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors + dim_inactive = false, -- dims inactive windows + lualine_bold = true, -- When `true`, section headers in the lualine theme will be bold + + --- You can override specific color groups to use other groups or a hex color + --- function will be called with a ColorScheme table + ---@param colors ColorScheme + on_colors = function(colors) + colors.comment = "#a0a7c5" + colors.terminal_black = "#828bb8" + end, + + --- You can override specific highlights to use other groups or a hex color + --- function will be called with a Highlights and ColorScheme table + ---@param highlights tokyonight.Highlights + ---@param colors ColorScheme + on_highlights = function(highlights, colors) end, + + cache = true, -- When set to true, the theme will be cached for better performance + + ---@type table + plugins = { + -- enable all plugins when not using lazy.nvim + -- set to false to manually enable/disable plugins + all = package.loaded.lazy == nil, + -- uses your plugin manager to automatically enable needed plugins + -- currently only lazy.nvim is supported + auto = true, + -- add any plugins here that you want to enable + -- for all possible plugins, see: + -- * https://github.com/folke/tokyonight.nvim/tree/main/lua/tokyonight/groups + telescope = true, + }, + }, + }, } diff --git a/configs/dotfiles/nvim/lua/plugins/treesitter.lua b/configs/dotfiles/nvim/lua/plugins/treesitter.lua index 475bfbd..72885fc 100644 --- a/configs/dotfiles/nvim/lua/plugins/treesitter.lua +++ b/configs/dotfiles/nvim/lua/plugins/treesitter.lua @@ -4,77 +4,106 @@ return { branch = 'master', lazy = false, build = ':TSUpdate', - opts = { - ensure_installed = { - 'bash', - 'c', - 'cmake', - 'cpp', - 'css', - 'diff', - 'dockerfile', - 'git_config', - 'git_rebase', - 'gitattributes', - 'gitcommit', - 'gitignore', - 'html', - 'java', - 'javascript', - 'jsdoc', - 'json', - 'jsonc', - 'kotlin', - 'lua', - 'luadoc', - 'luap', - 'make', - 'markdown', - 'markdown_inline', - 'php', - 'printf', - 'python', - 'query', - 'regex', - 'rust', - 'scala', - 'sql', - 'svelte', - 'swift', - 'toml', - 'tsx', - 'typescript', - 'vim', - 'vimdoc', - 'xml', - 'yaml', - 'zig' - }, - sync_install = false, - auto_install = true, - indent = { enable = true }, - highlight = { - enable = true, - disable = function(lang, buf) - local max_filesize = 100 * 1024 -- 100 KB - local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf)) - if ok and stats and stats.size > max_filesize then - return true - end - end, - -- Setting this to true will run `:h syntax` and tree-sitter at the same time. - -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). - -- Using this option may slow down your editor, and you may see some duplicate highlights. - -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, - }, - }, + config = function() + require'nvim-treesitter.configs'.setup ({ + ensure_installed = { + 'bash', + 'c', + 'cmake', + 'cpp', + 'css', + 'diff', + 'dockerfile', + 'git_config', + 'git_rebase', + 'gitattributes', + 'gitcommit', + 'gitignore', + 'html', + 'java', + 'javascript', + 'jsdoc', + 'json', + 'jsonc', + 'kotlin', + 'lua', + 'luadoc', + 'luap', + 'make', + 'markdown', + 'markdown_inline', + 'php', + 'printf', + 'python', + 'query', + 'regex', + 'rust', + 'scala', + 'sql', + 'svelte', + 'swift', + 'toml', + 'tsx', + 'typescript', + 'vim', + 'vimdoc', + 'xml', + 'yaml', + 'zig' + }, + sync_install = false, + auto_install = true, + indent = { enable = true }, + highlight = { + enable = true, + disable = function(lang, buf) + local max_filesize = 500 * 1024 -- 100 KB + local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf)) + if ok and stats and stats.size > max_filesize then + return true + end + end, + -- Setting this to true will run `:h syntax` and tree-sitter at the same time. + -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). + -- Using this option may slow down your editor, and you may see some duplicate highlights. + -- Instead of true it can also be a list of languages + additional_vim_regex_highlighting = false, + }, + }) + local treesitter_parser_config = require("nvim-treesitter.parsers").get_parser_configs() + treesitter_parser_config.templ = { + install_info = { + url = "https://github.com/vrischmann/tree-sitter-templ.git", + files = {"src/parser.c", "src/scanner.c"}, + branch = "master", + }, + } + vim.treesitter.language.register("templ", "templ") + end }, { 'nvim-treesitter/playground', }, { - 'nvim-treesitter/nvim-treesitter-context' + "nvim-treesitter/nvim-treesitter-context", + after = "nvim-treesitter", + config = function() + require'treesitter-context'.setup{ + enable = true, -- Enable this plugin (Can be enabled/disabled later via commands) + multiwindow = false, -- Enable multiwindow support. + max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit. + min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit. + line_numbers = true, + multiline_threshold = 20, -- Maximum number of lines to show for a single context + trim_scope = 'outer', -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer' + mode = 'cursor', -- Line used to calculate context. Choices: 'cursor', 'topline' + -- Separator between context and content. Should be a single character string, like '-'. + -- When separator is set, the context will only show up when there are at least 2 lines above cursorline. + separator = nil, + zindex = 20, -- The Z-index of the context window + on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching + } + end }, }