diff --git a/README.md b/README.md index ca2c6a0..bd5b8d3 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ Run this command to install `WhiteSur` into `gtk-4.0 configuration folder` ($HOM ./install.sh -l -c Light # install light theme for libadwaita ``` -### Connect WhiteSur theme to Flatpak +### Connect WhiteSur theme to Flatpak (Snap not support) Parameter: `--flatpak` `-F` Example: `./tweaks.sh -F` @@ -255,9 +255,6 @@ Usage: `./tweaks.sh [OPTIONS...]` -F, --flatpak Connect 'WhiteSur' theme to Flatpak. - -s, --snap - Connect 'WhiteSur' theme the currently installed snap apps. - -d, --dash-to-dock Fixed Dash to Dock theme issue. diff --git a/install.sh b/install.sh index 537ab61..d93b6e6 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ ############################################################################### readonly REPO_DIR="$(dirname "$(readlink -m "${0}")")" -source "${REPO_DIR}/lib-install.sh" +source "${REPO_DIR}/shell/lib-install.sh" # Customization, default values colors=("${COLOR_VARIANTS[@]}") diff --git a/release/WhiteSur-Dark-3-38.tar.xz b/release/WhiteSur-Dark-3-38.tar.xz index 1f2b67e..843d4ca 100644 Binary files a/release/WhiteSur-Dark-3-38.tar.xz and b/release/WhiteSur-Dark-3-38.tar.xz differ diff --git a/release/WhiteSur-Dark-42-0.tar.xz b/release/WhiteSur-Dark-42-0.tar.xz index 370a08f..748a6e6 100644 Binary files a/release/WhiteSur-Dark-42-0.tar.xz and b/release/WhiteSur-Dark-42-0.tar.xz differ diff --git a/release/WhiteSur-Dark-solid-3-38.tar.xz b/release/WhiteSur-Dark-solid-3-38.tar.xz index 752a76e..eede40d 100644 Binary files a/release/WhiteSur-Dark-solid-3-38.tar.xz and b/release/WhiteSur-Dark-solid-3-38.tar.xz differ diff --git a/release/WhiteSur-Dark-solid-42-0.tar.xz b/release/WhiteSur-Dark-solid-42-0.tar.xz index 97c3e44..f88f51b 100644 Binary files a/release/WhiteSur-Dark-solid-42-0.tar.xz and b/release/WhiteSur-Dark-solid-42-0.tar.xz differ diff --git a/release/WhiteSur-Light-3-38.tar.xz b/release/WhiteSur-Light-3-38.tar.xz index 1ccf559..e668cf7 100644 Binary files a/release/WhiteSur-Light-3-38.tar.xz and b/release/WhiteSur-Light-3-38.tar.xz differ diff --git a/release/WhiteSur-Light-42-0.tar.xz b/release/WhiteSur-Light-42-0.tar.xz index 1ba648d..560a619 100644 Binary files a/release/WhiteSur-Light-42-0.tar.xz and b/release/WhiteSur-Light-42-0.tar.xz differ diff --git a/release/WhiteSur-Light-solid-3-38.tar.xz b/release/WhiteSur-Light-solid-3-38.tar.xz index c04d4fc..6290371 100644 Binary files a/release/WhiteSur-Light-solid-3-38.tar.xz and b/release/WhiteSur-Light-solid-3-38.tar.xz differ diff --git a/release/WhiteSur-Light-solid-42-0.tar.xz b/release/WhiteSur-Light-solid-42-0.tar.xz index 82c09e1..4a36394 100644 Binary files a/release/WhiteSur-Light-solid-42-0.tar.xz and b/release/WhiteSur-Light-solid-42-0.tar.xz differ diff --git a/lib-core.sh b/shell/lib-core.sh similarity index 100% rename from lib-core.sh rename to shell/lib-core.sh diff --git a/lib-flatpak.sh b/shell/lib-flatpak.sh similarity index 100% rename from lib-flatpak.sh rename to shell/lib-flatpak.sh diff --git a/lib-install.sh b/shell/lib-install.sh similarity index 98% rename from lib-install.sh rename to shell/lib-install.sh index a0abd96..491b211 100755 --- a/lib-install.sh +++ b/shell/lib-install.sh @@ -8,8 +8,8 @@ # VARIABLES # ############################################################################### -source "${REPO_DIR}/lib-core.sh" -source "${REPO_DIR}/lib-flatpak.sh" +source "${REPO_DIR}/shell/lib-core.sh" +source "${REPO_DIR}/shell/lib-flatpak.sh" WHITESUR_SOURCE+=("lib-install.sh") ############################################################################### @@ -826,21 +826,21 @@ disconnect_flatpak() { done } -connect_snap() { - sudo snap install whitesur-gtk-theme +#connect_snap() { +# sudo snap install whitesur-gtk-theme - for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do - sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" - sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" - done -} +# for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do +# sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" +# sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" +# done +#} -disconnect_snap() { - for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do - sudo snap disconnect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" - sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" - done -} +#disconnect_snap() { +# for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do +# sudo snap disconnect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" +# sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" +# done +#} ######################################################################### # GTK BASE # diff --git a/src/assets/gnome-shell/icons/scalable/status/carousel-arrow-back-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-back-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/scalable/status/carousel-arrow-back-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-back-symbolic.svg diff --git a/src/assets/gnome-shell/icons/scalable/status/carousel-arrow-next-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-next-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/scalable/status/carousel-arrow-next-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-next-symbolic.svg diff --git a/src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-previous-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-previous-symbolic.svg new file mode 100644 index 0000000..85ad3ae --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/carousel-arrow-previous-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/dark-mode-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/dark-mode-symbolic.svg new file mode 100644 index 0000000..03cc55a --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/dark-mode-symbolic.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/preview-close-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/preview-close-symbolic.svg new file mode 100644 index 0000000..34f0823 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/preview-close-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/record-screen-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/record-screen-symbolic.svg new file mode 100644 index 0000000..4f91ee6 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/record-screen-symbolic.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screencast-recorded-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screencast-recorded-symbolic.svg new file mode 100644 index 0000000..b766366 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screencast-recorded-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screenshot-recorded-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screenshot-recorded-symbolic.svg new file mode 100644 index 0000000..2f9e593 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screenshot-recorded-symbolic.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-area-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-area-symbolic.svg new file mode 100644 index 0000000..6cf5870 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-area-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-display-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-display-symbolic.svg new file mode 100644 index 0000000..b8b3f4a --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-display-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-show-pointer-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-show-pointer-symbolic.svg new file mode 100644 index 0000000..36fab00 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-show-pointer-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-window-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-window-symbolic.svg new file mode 100644 index 0000000..b667bed --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/actions/screenshot-ui-window-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/keyboard-caps-lock-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-caps-lock-symbolic.svg new file mode 100644 index 0000000..2a046de --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/keyboard-caps-lock-symbolic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/keyboard-layout-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-layout-symbolic.svg new file mode 100644 index 0000000..245a496 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/keyboard-layout-symbolic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/keyboard-shift-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-shift-symbolic.svg new file mode 100644 index 0000000..e7c64f9 --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/keyboard-shift-symbolic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/no-events-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/no-events-symbolic.svg new file mode 100644 index 0000000..5af005d --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/no-events-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/no-notifications-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/no-notifications-symbolic.svg new file mode 100644 index 0000000..cd3778a --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/no-notifications-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/screen-privacy-disabled-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/screen-privacy-disabled-symbolic.svg new file mode 100644 index 0000000..f41809d --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/screen-privacy-disabled-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/screen-privacy-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/screen-privacy-symbolic.svg new file mode 100644 index 0000000..dc0c03c --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/screen-privacy-symbolic.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/gnome-shell/icons/scalable/status/stop-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/stop-symbolic.svg new file mode 100644 index 0000000..256276a --- /dev/null +++ b/src/assets/gnome-shell/icons/scalable/status/stop-symbolic.svg @@ -0,0 +1,2 @@ + + diff --git a/src/main/gnome-shell/gnome-shell-theme.gresource.xml b/src/main/gnome-shell/gnome-shell-theme.gresource.xml index af479f4..53d0e00 100644 --- a/src/main/gnome-shell/gnome-shell-theme.gresource.xml +++ b/src/main/gnome-shell/gnome-shell-theme.gresource.xml @@ -20,21 +20,39 @@ assets/view-app-grid.svg assets/background.png icons/scalable/actions/color-pick.svg - icons/scalable/status/eye-not-looking-symbolic.svg - icons/scalable/status/eye-open-negative-filled-symbolic.svg - icons/scalable/status/keyboard-caps-lock-filled-symbolic.svg - icons/scalable/status/keyboard-enter-symbolic.svg - icons/scalable/status/keyboard-hide-symbolic.svg - icons/scalable/status/keyboard-layout-filled-symbolic.svg - icons/scalable/status/keyboard-shift-filled-symbolic.svg - icons/scalable/status/message-indicator-symbolic.svg - icons/scalable/status/window-close-symbolic.svg - icons/scalable/status/carousel-arrow-back-symbolic.svg - icons/scalable/status/carousel-arrow-next-symbolic.svg + icons/scalable/actions/carousel-arrow-next-symbolic.svg + icons/scalable/actions/carousel-arrow-previous-symbolic.svg + icons/scalable/actions/carousel-arrow-back-symbolic.svg + icons/scalable/actions/dark-mode-symbolic.svg icons/scalable/actions/pointer-double-click-symbolic.svg icons/scalable/actions/pointer-drag-symbolic.svg icons/scalable/actions/pointer-primary-click-symbolic.svg icons/scalable/actions/pointer-secondary-click-symbolic.svg + icons/scalable/actions/preview-close-symbolic.svg + icons/scalable/actions/screenshot-ui-area-symbolic.svg + icons/scalable/actions/screenshot-ui-display-symbolic.svg + icons/scalable/actions/screenshot-ui-show-pointer-symbolic.svg + icons/scalable/actions/screenshot-ui-window-symbolic.svg + icons/scalable/actions/record-screen-symbolic.svg + icons/scalable/actions/screencast-recorded-symbolic.svg + icons/scalable/actions/screenshot-recorded-symbolic.svg + icons/scalable/status/eye-not-looking-symbolic.svg + icons/scalable/status/eye-open-negative-filled-symbolic.svg + icons/scalable/status/keyboard-caps-lock-symbolic.svg + icons/scalable/status/keyboard-caps-lock-filled-symbolic.svg + icons/scalable/status/keyboard-enter-symbolic.svg + icons/scalable/status/keyboard-hide-symbolic.svg + icons/scalable/status/keyboard-layout-symbolic.svg + icons/scalable/status/keyboard-layout-filled-symbolic.svg + icons/scalable/status/keyboard-shift-symbolic.svg + icons/scalable/status/keyboard-shift-filled-symbolic.svg + icons/scalable/status/message-indicator-symbolic.svg + icons/scalable/status/no-events-symbolic.svg + icons/scalable/status/no-notifications-symbolic.svg + icons/scalable/status/screen-privacy-disabled-symbolic.svg + icons/scalable/status/screen-privacy-symbolic.svg + icons/scalable/status/stop-symbolic.svg + icons/scalable/status/window-close-symbolic.svg gnome-shell.css gnome-shell.css gnome-shell.css diff --git a/src/sass/gnome-shell/common/_panel.scss b/src/sass/gnome-shell/common/_panel.scss index dadb290..8aecea9 100644 --- a/src/sass/gnome-shell/common/_panel.scss +++ b/src/sass/gnome-shell/common/_panel.scss @@ -15,7 +15,6 @@ $panel_height: $menuitem_size; @if $scale != 'default' { @include fontsize($base_font_size * 2 - 2); height: $panel_height * 2 !important; - box-shadow: 0 10px 32px rgba(black, 0.05) !important; .panel-button { -natural-hpadding: $container_padding * 2 + 4px !important; @@ -126,8 +125,12 @@ $panel_height: $menuitem_size; .unlock-screen &, .login-screen &, .lock-screen & { - color: $panel_fg; - &:focus, &:hover, &:active { color: $panel_fg; } + &, &:focus, &:hover, &:active { color: $panel_fg; } + } + + .login-screen &, + .lock-screen & { + box-shadow: none; } &.clock-display { diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index 85601fa..dc4e2ff 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -186,25 +186,6 @@ $popop_menuitem_radius: $wm_radius - 4px; &:rtl { text-align: left; } } -// separator -.popup-separator-menu-item { - background: none; - border: none; - padding-top: 0 !important; - padding-bottom: 0 !important; - - .popup-separator-menu-item-separator { - height: 1px; //not really the whole box - margin: 0; - background-color: $borders_color; - - .popup-sub-menu & { //submenu separators - margin: 0 32px 0 0; - height: 1px; - } - } -} - // desktop background menu .background-menu { -boxpointer-gap: $base_margin; diff --git a/src/sass/gnome-shell/common/_scrollbars.scss b/src/sass/gnome-shell/common/_scrollbars.scss index 2c800f8..3e3ca52 100644 --- a/src/sass/gnome-shell/common/_scrollbars.scss +++ b/src/sass/gnome-shell/common/_scrollbars.scss @@ -1,8 +1,8 @@ /* Scrollbars */ StScrollView { - &.vfade { -st-vfade-offset: 32px; } - &.hfade { -st-hfade-offset: 32px; } + &.vfade { -st-vfade-offset: 68px; } + &.hfade { -st-hfade-offset: 68px; } } StScrollBar { diff --git a/src/sass/gnome-shell/widgets-3-28/_popovers.scss b/src/sass/gnome-shell/widgets-3-28/_popovers.scss index d71a17c..b074f5e 100644 --- a/src/sass/gnome-shell/widgets-3-28/_popovers.scss +++ b/src/sass/gnome-shell/widgets-3-28/_popovers.scss @@ -4,6 +4,25 @@ &:rtl { padding-right: 0; padding-left: 1.5em; } } +// separator +.popup-separator-menu-item { + background: none; + border: none; + padding-top: 0 !important; + padding-bottom: 0 !important; + + .popup-separator-menu-item-separator { + height: 1px; //not really the whole box + margin: 0; + background-color: $borders_color; + + .popup-sub-menu & { //submenu separators + margin: 0 32px 0 0; + height: 1px; + } + } +} + // system status popover menu .aggregate-menu { .popup-sub-menu .popup-menu-item > :first-child { diff --git a/src/sass/gnome-shell/widgets-40-0/_popovers.scss b/src/sass/gnome-shell/widgets-40-0/_popovers.scss index d71a17c..b074f5e 100644 --- a/src/sass/gnome-shell/widgets-40-0/_popovers.scss +++ b/src/sass/gnome-shell/widgets-40-0/_popovers.scss @@ -4,6 +4,25 @@ &:rtl { padding-right: 0; padding-left: 1.5em; } } +// separator +.popup-separator-menu-item { + background: none; + border: none; + padding-top: 0 !important; + padding-bottom: 0 !important; + + .popup-separator-menu-item-separator { + height: 1px; //not really the whole box + margin: 0; + background-color: $borders_color; + + .popup-sub-menu & { //submenu separators + margin: 0 32px 0 0; + height: 1px; + } + } +} + // system status popover menu .aggregate-menu { .popup-sub-menu .popup-menu-item > :first-child { diff --git a/src/sass/gnome-shell/widgets-42-0/_app-grid.scss b/src/sass/gnome-shell/widgets-42-0/_app-grid.scss index 0b40a40..9ef2daf 100644 --- a/src/sass/gnome-shell/widgets-42-0/_app-grid.scss +++ b/src/sass/gnome-shell/widgets-42-0/_app-grid.scss @@ -56,22 +56,22 @@ width: 24px; height: 24px; border-radius: $circular_radius; - color: $light_fg_color; + color: $light_alt_fg_color; // background-color: $light_fill_color; } &:insensitive > StIcon { - backround-color: transparent !important; - color: transparent !important; + background-color: $light_fill_color; + color: $light_alt_disabled_fg_color; } &:hover > StIcon { - backround-color: $light_divider_color !important; - color: $light_fg_color !important; + background-color: $light_divider_color; + color: $light_fg_color; } &:active > StIcon { - backround-color: $light_track_color !important; - color: $light_fg_color !important; + background-color: $light_track_color; + color: $light_fg_color; } } diff --git a/src/sass/gnome-shell/widgets-42-0/_popovers.scss b/src/sass/gnome-shell/widgets-42-0/_popovers.scss index 1b45b05..122ebad 100644 --- a/src/sass/gnome-shell/widgets-42-0/_popovers.scss +++ b/src/sass/gnome-shell/widgets-42-0/_popovers.scss @@ -6,7 +6,32 @@ // separator .popup-separator-menu-item { - margin: 6px 32px; + border: none !important; + + &:ltr { margin-right: $base_padding; } + &:rtl { margin-left: $base_padding; } + + .popup-separator-menu-item-separator { + height: 1px; //not really the whole box + background-color: $borders_color; + } + + .popup-menu-ornament { + width: 0 !important; + } + + // separators in submenus + .popup-sub-menu & { + background-color: transparent; + + // account for ornament + &:ltr { margin-right: 2.5em; } + &:rtl { margin-left: 2.5em; } + + .popup-separator-menu-item-separator { + background-color: $borders_color; + } + } } // system status popover menu diff --git a/src/sass/gtk/_common-4.0.scss b/src/sass/gtk/_common-4.0.scss index e598398..9835c0b 100644 --- a/src/sass/gtk/_common-4.0.scss +++ b/src/sass/gtk/_common-4.0.scss @@ -4895,15 +4895,13 @@ shortcuts-section { margin: 20px; } // window { - border-width: 0; - outline-color: $highlight_color; - outline-offset: -1px; - outline-style: solid; - outline-width: 1px; + border: none; &.csd { transition: $shadow_transition; border-radius: $wm_radius; + outline: 1px solid $highlight_color; + outline-offset: -1px; box-shadow: 0 3px 3px 0 $wm_shadow, 0 8px 8px 0 $wm_shadow, 0 16px 16px 0 $wm_shadow, @@ -4919,32 +4917,36 @@ window { $wm_outline; } - &.popup { - border-radius: $mn_radius; - box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), $wm_outline; - } - &.dialog.message { border-radius: $wm_radius; } - .solid-csd & { - border: 1px solid $header_border; + &.tiled, + &.tiled-top, + &.tiled-left, + &.tiled-right, + &.tiled-bottom { border-radius: 0; - margin: 0; - background-color: $header_bg; + outline: none; + } + + &.maximized, + &.fullscreen { + border-radius: 0; + outline: none; box-shadow: none; + transition: none; } } - &.maximized, - &.fullscreen, - &:backdrop { - outline-width: 0; + &.solid-csd { + border: 1px solid $header_border; + border-radius: 0; + margin: 0; + background-color: $header_bg; + box-shadow: none; } - &.popup { box-shadow: none; } - // server-side decorations as used by mutter &.ssd { box-shadow: 0 0 0 1px $wm_shadow; } //just doing borders, wm draws actual shadows } diff --git a/tweaks.sh b/tweaks.sh index 063726a..ac8b21b 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -13,7 +13,7 @@ ############################################################################### readonly REPO_DIR="$(dirname "$(readlink -m "${0}")")" -source "${REPO_DIR}/lib-install.sh" +source "${REPO_DIR}/shell/lib-install.sh" # Customization, default values colors=("${COLOR_VARIANTS[@]}") @@ -39,7 +39,7 @@ usage() { helpify "-e, --edit-firefox" "" "Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" "" helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" "" - helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" "" + #helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" "" helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" "" helpify "-r, --remove, --revert" "" "Revert to the original themes, do the opposite things of install and connect" "" @@ -118,13 +118,13 @@ while [[ $# -gt 0 ]]; do prompt -e "'${1}' ERROR: There's no Flatpak installed in your system" has_any_error="true" fi; shift ;; - -s|--snap) - snap="true"; +# -s|--snap) +# snap="true"; - if ! has_command snap; then - prompt -e "'${1}' ERROR: There's no Snap installed in your system" - has_any_error="true" - fi; shift ;; +# if ! has_command snap; then +# prompt -e "'${1}' ERROR: There's no Snap installed in your system" +# has_any_error="true" +# fi; shift ;; -g|--gdm) gdm="true"; full_sudo "${1}" showapps_normal="true" # use normal showapps icon @@ -187,11 +187,11 @@ finalize_argument_parsing if [[ "${uninstall}" == 'true' ]]; then prompt -w "REMOVAL: Non file-related parameters will be ignored. \n" - if [[ "${snap}" == 'true' ]]; then - prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n" - disconnect_snap - prompt -s "Done! '${name}' theme has been disconnected from your snap apps."; echo - fi +# if [[ "${snap}" == 'true' ]]; then +# prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n" +# disconnect_snap +# prompt -s "Done! '${name}' theme has been disconnected from your snap apps."; echo +# fi if [[ "${flatpak}" == 'true' ]]; then prompt -i "Disconnecting '${name}' theme from your Flatpak... \n" @@ -263,7 +263,7 @@ else fi fi -if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" && "${libadwaita}" == "false" ]]; then +if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" && "${libadwaita}" == "false" ]]; then prompt -e "Oops... there's nothing to tweak..." prompt -i "HINT: Don't forget to define which component to tweak, e.g. '--gdm'" prompt -i "HINT: Run ./tweaks.sh -h for help!..."; echo