Compare commits

..
58 Commits
Author SHA1 Message Date
Vince 578515e671 Update lib-core.sh 2022-10-27 21:29:05 +08:00
vinceliuice 5ada212440 Update README.md 2022-10-27 19:59:56 +08:00
vinceliuice 73600364e6 Update README.md 2022-10-27 19:56:42 +08:00
vinceliuice 05a604d79f update 2022-10-27 19:54:57 +08:00
vinceliuice 7d1874ece5 Update README.md 2022-10-27 19:48:50 +08:00
vinceliuice bc7f2560d8 Update README.md 2022-10-27 19:47:18 +08:00
vinceliuice ef951b9729 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2022-10-27 19:44:30 +08:00
vinceliuice 9fa09178d4 Update README.md 2022-10-27 19:44:13 +08:00
Vince d22bca3f34 Merge pull request #712 from michaelkolesidis/patch-1
Grammatical correction in readme file
2022-10-26 07:39:47 +08:00
Michael Kolesidis dadd905522 Grammatical correction in readme file
The plural of stuff is also stuff, not "stuffs".
2022-10-26 01:12:58 +03:00
vinceliuice df3ed412a6 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2022-10-23 09:36:09 +08:00
vinceliuice 3194de2dce update 2022-10-23 09:35:36 +08:00
vinceliuice 23c2921071 Delete WhiteSur-light-3-38.tar.xz 2022-10-19 23:39:01 +08:00
vinceliuice 414ff10c97 update 2022-10-19 23:37:04 +08:00
vinceliuice 815ac73d8d Update README.md 2022-10-19 20:51:09 +08:00
vinceliuice 89f4066a90 Update README.md 2022-10-19 20:48:02 +08:00
vinceliuice 879280876a Update README.md 2022-10-19 20:46:44 +08:00
vinceliuice 53e7d7119b Update README.md 2022-10-19 20:44:54 +08:00
vinceliuice 6bf9edf5b7 Update README.md 2022-10-19 20:44:00 +08:00
vinceliuice 70ac1563d3 Update README.md 2022-10-19 20:42:34 +08:00
vinceliuice 03af693b49 Update README.md 2022-10-19 20:36:26 +08:00
vinceliuice 0342f3b0ac Update README.md 2022-10-19 20:34:50 +08:00
vinceliuice bbc43e0f80 Update README.md 2022-10-19 20:32:52 +08:00
vinceliuice bd0a83a1ae update 2022-10-19 18:12:59 +08:00
vinceliuice 9b3625a339 update 2022-10-19 18:11:28 +08:00
vinceliuice b30c08366c update 2022-10-19 18:05:30 +08:00
vinceliuice 5dd4b101d5 update 2022-10-19 18:03:26 +08:00
vinceliuice 326a1b1e6e update 2022-10-19 15:45:53 +08:00
vinceliuice 163cf67f08 update 2022-10-19 13:13:06 +08:00
vinceliuice 32a8006f2e Fixed #705 2022-10-19 11:32:35 +08:00
vinceliuice 0ec8457eac Update toolbox.css 2022-10-17 18:53:34 +08:00
Vince 47eeb58b0b Merge pull request #704 from svensekl/master
pinned tabs dissapearing fix
2022-10-14 20:56:25 +08:00
svl 93deb6300f pinned tabs dissapearing fix 2022-10-14 14:52:20 +02:00
vinceliuice 354113f47e Fixed #699 2022-10-13 16:28:23 +08:00
Vince 7ff29e3590 update 2022-10-10 23:22:02 +08:00
Vince 5e3f7ac7dd update 2022-10-09 23:53:57 +08:00
Vince 5563ffe27c update 2022-10-09 23:40:31 +08:00
vinceliuice 730443bb31 Fixed #685 2022-10-09 22:12:51 +08:00
vinceliuice 182bce9bba Fixed #690 2022-10-09 18:40:57 +08:00
vinceliuice 72feeeeddf update 2022-10-09 17:27:14 +08:00
vinceliuice 2f79cc92eb update 2022-10-09 16:53:12 +08:00
vinceliuice f2ff437d5e Fixed libadwaita issues 2022-10-09 16:02:36 +08:00
vinceliuice a89a7a8e2a update 2022-10-08 16:52:14 +08:00
vinceliuice c8ed1716f3 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2022-10-08 13:57:55 +08:00
vinceliuice 29500dfa91 Fixed issues 2022-10-08 13:57:46 +08:00
Vince a69ecbc49d Fixed gnome-shell quick-setting issues 2022-10-06 21:04:06 +08:00
vinceliuice b904f9510e update 2022-10-02 07:29:53 +08:00
vinceliuice f6f050f67e Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2022-09-27 15:20:47 +08:00
vinceliuice fd6a20cfac update 2022-09-27 15:20:42 +08:00
vinceliuice d3040b2126 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2022-09-21 22:58:01 +08:00
vinceliuice 066dfe03cd update 2022-09-21 22:57:34 +08:00
vinceliuice 950aed042e update 2022-09-16 14:20:30 +08:00
vinceliuice 14cc12eb78 Fixed issues 2022-09-13 11:45:05 +08:00
vinceliuice 07d3561a64 update #598 2022-09-07 14:20:27 +08:00
Vince 0f4e0c89ec Merge pull request #672 from ibnishak/patch-1
Adding firefox developer edition to firefox lists
2022-08-30 18:12:52 +08:00
Rizwan ac7da6e37a Adding firefox developer edition to firefox lists
Checked in Arch Linux  - Works without any further modifications
2022-08-29 11:04:52 +05:30
Vince 5b10cf31b7 Merge pull request #662 from Sciroccogti/fix-README-typo
fix typo in README
2022-08-26 02:53:54 +08:00
张逸帆 ee2ea4c791 fix typo in README 2022-08-18 17:34:48 +08:00
53 changed files with 1121 additions and 455 deletions

No files matched your search

+72 -117
View File
@@ -6,7 +6,7 @@
<br> <br>
# Installation is easy! # Installation is easy!
<details> <summary> Required dependencies info for nerds </summary> <details> <summary> Required dependencies <b>(click to open)</b> </summary>
### "Install from source" deps ### "Install from source" deps
- sassc - sassc
@@ -24,14 +24,10 @@
Don't worry, WhiteSur installer already provides all of those dependencies. Don't worry, WhiteSur installer already provides all of those dependencies.
</details> </details>
<details> <summary> Recommended GNOME Shell extensions </summary> <details> <summary> Recommended GNOME Shell extensions <b>(click to open)</b> </summary>
- [user-themes](https://extensions.gnome.org/extension/19/user-themes/) to enable gnome-shell theme (and not just the application theme) - [user-themes](https://extensions.gnome.org/extension/19/user-themes/) to enable gnome-shell theme (and not just the application theme)
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock) `gnome-shell <= 3.38` - [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock)
- [dash-to-dock](https://github.com/ewlsh/dash-to-dock/tree/ewlsh/gnome-40)
(GNOME Shell 40 patch) `gnome-shell >= 40.0`
- [floating-dock](https://extensions.gnome.org/extension/3730/floating-dock)
(Dash to Dock alternative) `gnome-shell <= 3.38`
- [blur-my-shell](https://extensions.gnome.org/extension/3193/blur-my-shell) - [blur-my-shell](https://extensions.gnome.org/extension/3193/blur-my-shell)
</details> </details>
@@ -39,10 +35,12 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
## Quick install ## Quick install
### Installing from source ### Installing from source
Run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
## Quick uninstall Run `./install.sh` to install the default WhiteSur GTK theme pack.
### Uninstall
<details> <summary> For example: <b>(click to open)</b> </summary>
- uninstall Gtk themes: `./install.sh -r` - uninstall Gtk themes: `./install.sh -r`
- uninstall GDM theme: `sudo ./tweaks.sh -g -r` - uninstall GDM theme: `sudo ./tweaks.sh -g -r`
@@ -52,12 +50,15 @@ GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
- uninstall Flatpak Gtk themes: `./tweaks.sh -F -r` - uninstall Flatpak Gtk themes: `./tweaks.sh -F -r`
- uninstall Snap Gtk themes: `./tweaks.sh -s -r` - uninstall Snap Gtk themes: `./tweaks.sh -s -r`
</details>
## There's so many customizations you can do! ## There's so many customizations you can do!
Usage: `./install.sh [OPTIONS...]` Usage: `./install.sh [OPTIONS...]`
<details> <summary> Options </summary> <details> <summary> Options <b>(click to open)</b> </summary>
```bash ```bash
-d, --dest DIR -d, --dest DIR
Set destination directory. Default is '/home/vince/.themes' Set destination directory. Default is '/home/vince/.themes'
@@ -94,12 +95,12 @@ Usage: `./install.sh [OPTIONS...]`
-m, --monterey -m, --monterey
Set to MacOS Monterey style. Set to MacOS Monterey style.
-l, --libadwaita
Install gtk-4.0 theme into config for libadwaita.
-N, --nautilus-style [stable|normal|mojave|glassy] -N, --nautilus-style [stable|normal|mojave|glassy]
Set Nautilus style. Default is BigSur-like style (stabled sidebar) Set Nautilus style. Default is BigSur-like style (stabled sidebar)
-l, --libadwaita
Install theme into gtk4.0 config for libadwaita. Default is dark version
-HD, --highdefinition -HD, --highdefinition
Set to High Definition size. Default is laptop size Set to High Definition size. Default is laptop size
@@ -132,10 +133,30 @@ Usage: `./install.sh [OPTIONS...]`
-h, --help -h, --help
Show this help. Show this help.
``` ```
</details> </details>
### Fix for libadwaita (not perfect)
<details> <summary> Details <b>(click to open)</b> </summary>
Since the release of `Gnome 43.0`, more and more built-in apps use `libadwaita` now, and libadwaita does not support custom themes, which means we cannot change the appearance of app using libadwaita through `gnome-tweaks` or `dconf-editor`. For users who love custom themes, it’s really sucks!
Anyway if anybody who still want to custom themes we can only do this way:
that is to use the `theme file` to overwrite the `gtk-4.0 configuration file`. The result is that only Fixed making all gtk4 apps use one theme and cannot be switched (even can not switch to dark mode) If you want to change a theme, you can only re-overwrite the `gtk-4.0 configuration file` with a new theme, I know this method is not perfect, But at the moment it is only possible to continue using themes for libadwaita's apps ...
</details>
Run this command to install `WhiteSur` into `gtk-4.0 configuration folder` ($HOME/.config/gtk-4.0)
```bash
./install.sh -l # Default is the normal dark theme
./install.sh -l -c Light # install light theme for libadwaita
```
### <p align="center"> <b> Change theme color and accent </b> </p> ### <p align="center"> <b> Change theme color and accent </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/colors-themes.png"/> </p> <p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/colors-themes.png"/> </p>
@@ -160,24 +181,6 @@ Example:
./install.sh -t all # install all available theme accents ./install.sh -t all # install all available theme accents
``` ```
### <p align="center"> <b> Change Nautilus sidebar minimum width </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/sidebars.png"/> </p>
Parameter: `--sidebar` `-s`
Example: `./install.sh -s 220`
### <p align="center"> <b> Change GNOME Shell 'Activities' icon </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/icons.png"/> </p>
Parameter: `--icon` `-i`
Example: `./install.sh -i fedora`
Note that you will need to enable the GNOME user-themes extension to change the shell theme (not to confuse with the application theme).
### <p align="center"> <b> Change Nautilus style </b> </p> ### <p align="center"> <b> Change Nautilus style </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/nautilus.png"/> </p> <p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/nautilus.png"/> </p>
@@ -195,36 +198,13 @@ control button variant, etc.
# Let's tweak! # Let's tweak!
Usage: `./tweaks.sh [OPTIONS...]` Usage: `./tweaks.sh [OPTIONS...]`
<details> <summary> Options </summary> <details> <summary> Options <b>(click to open)</b> </summary>
```bash ```bash
-f, --firefox [default|monterey]
Install 'WhiteSur|Monterey' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-e, --edit-firefox
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
-F, --flatpak
Connect 'WhiteSur' theme to Flatpak.
-s, --snap
Connect 'WhiteSur' theme the currently installed snap apps.
-g, --gdm [default|x2] -g, --gdm [default|x2]
Install 'WhiteSur' theme for GDM (scaling: 100%/200%, default is 100%). Requires to run this shell as root Install 'WhiteSur' theme for GDM (scaling: 100%/200%, default is 100%). Requires to run this shell as root
-d, --dash-to-dock
Fixed Dash to Dock theme issue.
-N, --no-darken
Don't darken 'WhiteSur' GDM theme background image.
-n, --no-blur
Don't blur 'WhiteSur' GDM theme background image.
-b, --background [default|blank|IMAGE_PATH]
Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
-o, --opacity [normal|solid] -o, --opacity [normal|solid]
Set 'WhiteSur' GDM theme opacity variants. Default is 'normal' Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
@@ -234,6 +214,15 @@ Usage: `./tweaks.sh [OPTIONS...]`
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey] -t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey]
Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
-N, --no-darken
Don't darken 'WhiteSur' GDM theme background image.
-n, --no-blur
Don't blur 'WhiteSur' GDM theme background image.
-b, --background [default|blank|IMAGE_PATH]
Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
-p, --panel-opacity [default|30|45|60|75] -p, --panel-opacity [default|30|45|60|75]
Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15% Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
@@ -243,6 +232,24 @@ Usage: `./tweaks.sh [OPTIONS...]`
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin] -i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard' Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
--nord, --nordcolor
Install 'WhiteSur' Nord ColorScheme themes.
-f, --firefox [default|monterey|alt]
Install 'WhiteSur|Monterey|Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-e, --edit-firefox
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
-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.
-r, --remove, --revert -r, --remove, --revert
Revert to the original themes, do the opposite things of install and connect. Revert to the original themes, do the opposite things of install and connect.
@@ -251,6 +258,7 @@ Usage: `./tweaks.sh [OPTIONS...]`
-h, --help -h, --help
Show this help. Show this help.
``` ```
</details> </details>
@@ -259,7 +267,7 @@ Usage: `./tweaks.sh [OPTIONS...]`
### <p align="center"> <b> Install and edit Firefox theme </b> </p> ### <p align="center"> <b> Install and edit Firefox theme </b> </p>
<p align="center"> <a href="src/other/firefox"> <p align="center"> <a href="src/other/firefox">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png"/> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox.png"/>
</a> </p> </a> </p>
#### [Install Firefox theme](src/other/firefox) #### [Install Firefox theme](src/other/firefox)
@@ -273,36 +281,11 @@ Parameter: `--edit-firefox` `-e`
Example: Example:
```bash ```bash
./tweaks.sh -f -e # install and edit Firefox theme
./tweaks.sh -e -f # it's reversible!
./tweaks.sh -e # edit the installed Firefox theme ./tweaks.sh -e # edit the installed Firefox theme
./tweaks.sh -f -r # remove installed Firefox theme ./tweaks.sh -f -r # remove installed Firefox theme
```
#### Use Monterey style
<p align="center"> <a href="src/other/firefox">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-monterey.png"/>
</a> </p>
Run:
```bash
./tweaks.sh -f monterey # install Monterey Firefox theme ./tweaks.sh -f monterey # install Monterey Firefox theme
``` ```
### <p align="center"> <b> Install and customize Dash to Dock theme </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/dash-to-dock.png"/> </p>
#### Install Dash to Dock theme
Parameter: `--dash-to-dock` `-d`
Example: `./tweaks.sh -d`
#### Change its color
Parameter: `--color` `-c`
Example: `./tweaks.sh -d -c dark`
### <p align="center"> <b> Install and customize GDM theme </b> </p> ### <p align="center"> <b> Install and customize GDM theme </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/gdm.png"/> </p> <p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/gdm.png"/> </p>
@@ -347,39 +330,15 @@ You can do [the similar customization features in `./install.sh`](#theres-so-man
like changing theme color (dark and light variant) and accent, GNOME Shell like changing theme color (dark and light variant) and accent, GNOME Shell
'Activities' icon, etc. related to GDM. Run `./tweaks.sh -h` to explore! 'Activities' icon, etc. related to GDM. Run `./tweaks.sh -h` to explore!
## Using WhiteSur theme on app sandboxing platforms #### <p align="center"> <b> Connect WhiteSur theme to Flatpak </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/sandboxes.png"/> </p>
### <p align="center"> <b> Connect WhiteSur theme to Flatpak </b> </p>
Parameter: `--flatpak` `-F` Parameter: `--flatpak` `-F`
Example: `./tweaks.sh -F` Example: `./tweaks.sh -F`
### <p align="center"> <b> Connect WhiteSur theme to your Snap apps </b> </p> ## Other recommended stuff
Parameter: `--snap` `-s` ### WhiteSur Icon Theme
Example: `./tweaks.sh -s`
Note:
> This can only connect WhiteSur theme to your currently installed Snap
> apps. You may need to run this command again to connect to your newly installed
> Snap apps
# Other recommended stuffs
## WhiteSur KDE Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-kde-theme.png"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.svg"/>
</a> </p>
<br>
## WhiteSur Icon Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme"> <p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-icon-theme.png"/> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/icon-theme.png"/>
</a> </p> </a> </p>
<br> <br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme"> <p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
@@ -387,13 +346,9 @@ Note:
</a> </p> </a> </p>
<br> <br>
## WhiteSur Wallpapers ### WhiteSur Wallpapers
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers"> <p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
<img class="image" src="https://github.com/vinceliuice/WhiteSur-wallpapers/blob/main/1080p/WhiteSur-light.png"/> <img class="image" src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/wallpaper.gif"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
<img class="image" src="https://github.com/vinceliuice/WhiteSur-wallpapers/blob/main/1080p/Monterey-light.png"/>
</a> </p> </a> </p>
<br> <br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers"> <p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
@@ -401,5 +356,5 @@ Note:
</a> </p> </a> </p>
<br> <br>
# Technical details and getting involved ## Technical details and getting involved
Please go read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more info Please go read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more info
+15 -2
View File
@@ -35,8 +35,8 @@ usage() {
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'" helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper" helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper"
helpify "-m, --monterey" "" "Set to MacOS Monterey style" "" helpify "-m, --monterey" "" "Set to MacOS Monterey style" ""
helpify "-l, --libadwaita" "" "Install gtk-4.0 theme into config for libadwaita" ""
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)" helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)"
helpify "-l, --libadwaita" "" "Install theme into gtk4.0 config for libadwaita" "Default is dark version"
helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size" helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size"
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur" helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square" helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"
@@ -133,10 +133,19 @@ finalize_argument_parsing
#---------------------------START INSTALL THEMES-------------------------------# #---------------------------START INSTALL THEMES-------------------------------#
if [[ "${uninstall}" == 'true' ]]; then if [[ "${uninstall}" == 'true' ]]; then
if [[ "${libadwaita}" == 'true' ]]; then
if [[ "$UID" != '0' ]]; then
remove_libadwaita
prompt -s "Removed gtk-4.0 theme files in '${HOME}/.config/gtk-4.0/' !"; echo
else
prompt -e "Do not run '--libadwaita' option with sudo!"; echo
fi
else
prompt -i "Removing '${name}' gtk themes in '${dest}'... \n" prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
prompt -w "REMOVAL: Non file-related parameters will be ignored. \n" prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
remove_themes remove_themes
prompt -s "Done! All '${name}' gtk themes in has been removed." prompt -s "Done! All '${name}' gtk themes in has been removed."
fi
if [[ -f "${MISC_GR_FILE}.bak" ]]; then if [[ -f "${MISC_GR_FILE}.bak" ]]; then
prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!" prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!"
@@ -166,8 +175,12 @@ else
echo; install_themes; echo; prompt -s "Done!" echo; install_themes; echo; prompt -s "Done!"
if [[ "${libadwaita}" == 'true' ]]; then if [[ "${libadwaita}" == 'true' ]]; then
if [[ "$UID" != '0' ]]; then
install_libadwaita install_libadwaita
echo; prompt -w "Installed gtk-4.0 into config for libadwaita!" echo; prompt -w "Installed ${name} ${opacities} ${colors} gtk-4.0 theme in '${HOME}/.config/gtk-4.0' for libadwaita!"
else
echo; prompt -e "Do not run '--libadwaita' option with sudo!"
fi
fi fi
if (is_running "xfce4-session"); then if (is_running "xfce4-session"); then
+1 -1
View File
@@ -318,7 +318,7 @@ signal_error() {
prompt -e "REPO : ${repo_ver}\n" prompt -e "REPO : ${repo_ver}\n"
if [[ "$(grep -ril "Release" "${WHITESUR_TMP_DIR}/error_log.txt")" == "${WHITESUR_TMP_DIR}/error_log.txt" ]]; then if [[ "$(grep -ril "Release" "${WHITESUR_TMP_DIR}/error_log.txt")" == "${WHITESUR_TMP_DIR}/error_log.txt" ]]; then
prompt -i "HINT: You can run: 'sudo apt install sassc libglib2.0-dev libxml2-utils' on ubuntu 18.04 or 'sudo apt install sassc libglib2.0-dev-bin' on ubuntu >= 20.04 \n" prompt -w "HINT: You can run: 'sudo apt install sassc libglib2.0-dev libxml2-utils' on ubuntu 18.04 or 'sudo apt install sassc libglib2.0-dev-bin' on ubuntu >= 20.04 \n"
fi fi
prompt -i "HINT: You can google or report to us the info above \n" prompt -i "HINT: You can google or report to us the info above \n"
+5 -10
View File
@@ -2,18 +2,13 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
die() {
echo "$@" >&2
exit 1
}
pakitheme_gtk3() { pakitheme_gtk3() {
local color="$(destify ${1})" local color="$(destify ${1})"
local opacity="$(destify ${2})" local opacity="$(destify ${2})"
local alt="$(destify ${3})" local alt="$(destify ${3})"
local theme="$(destify ${4})" local theme="$(destify ${4})"
local FLATPAK_THEME="${name}${color}${opacity}${alt}${theme}" local FLATPAK_THEME="${name}${color}${opacity}${alt}${theme}${colorscheme}"
local GTK_3_THEME_VER=3.22 local GTK_3_THEME_VER=3.22
local cache_home="${XDG_CACHE_HOME:-$HOME/.cache}" local cache_home="${XDG_CACHE_HOME:-$HOME/.cache}"
@@ -57,7 +52,7 @@ pakitheme_gtk3() {
<id>$gtk3_app_id</id> <id>$gtk3_app_id</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<name>$FLATPAK_THEME Gtk theme</name> <name>$FLATPAK_THEME Gtk theme</name>
<summary>$FLATPAK_THEME Gtk theme (generated via pakitheme)</summary> <summary>$FLATPAK_THEME Gtk theme for flatpak</summary>
</component> </component>
EOF EOF
@@ -97,7 +92,7 @@ EOF
if [[ -w "/root" ]]; then if [[ -w "/root" ]]; then
sudo flatpak install -y --system "${bundle}" sudo flatpak install -y --system "${bundle}"
else else
udo flatpak install -y --user "${bundle}" flatpak install -y --user "${bundle}"
fi fi
done done
} }
@@ -109,8 +104,8 @@ flatpak_remove() {
local theme="$(destify ${4})" local theme="$(destify ${4})"
if [[ -w "/root" ]]; then if [[ -w "/root" ]]; then
sudo flatpak remove -y --system org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme} sudo flatpak remove -y --system org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}${colorscheme}
else else
udo flatpak remove -y --user org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme} flatpak remove -y --user org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}${colorscheme}
fi fi
} }
+17 -10
View File
@@ -477,12 +477,8 @@ install_theemy() {
remove_packy() { remove_packy() {
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})${colorscheme}" rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})${colorscheme}"
rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets}
rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-hdpi" rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-hdpi"
rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-xhdpi" rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-xhdpi"
# Backward compatibility
# rm -rf "${dest}/${name}$(destify ${1})-mdpi"
} }
remove_old_packy() { remove_old_packy() {
@@ -491,6 +487,10 @@ remove_old_packy() {
rm -rf "${dest}/${name}${1}${5}-xhdpi" rm -rf "${dest}/${name}${1}${5}-xhdpi"
} }
###############################################################################
# LIBADWAITA #
###############################################################################
config_gtk4() { config_gtk4() {
local color="$(destify ${1})" local color="$(destify ${1})"
local alt="$(destify ${2})" local alt="$(destify ${2})"
@@ -508,6 +508,18 @@ config_gtk4() {
cp -r "${THEME_SRC_DIR}/assets/gtk/windows-assets/titlebutton${alt}${colorscheme}" "${TARGET_DIR}/windows-assets" cp -r "${THEME_SRC_DIR}/assets/gtk/windows-assets/titlebutton${alt}${colorscheme}" "${TARGET_DIR}/windows-assets"
} }
install_libadwaita() {
opacity="${opacities[0]}"
color="${colors[1]}"
gtk_base "${opacities[0]}" "${themes[0]}"
config_gtk4 "${colors}" "${alts}"
}
remove_libadwaita() {
rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets}
}
############################################################################### ###############################################################################
# THEMES # # THEMES #
############################################################################### ###############################################################################
@@ -522,7 +534,7 @@ install_themes() {
for alt in "${alts[@]}"; do for alt in "${alts[@]}"; do
for theme in "${themes[@]}"; do for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do for color in "${colors[@]}"; do
gtk_base "${color}" "${opacity}" "${theme}" "${compact}" gtk_base "${opacity}" "${theme}" "${compact}"
install_theemy "${color}" "${opacity}" "${alt}" "${theme}" install_theemy "${color}" "${opacity}" "${alt}" "${theme}"
install_shelly "${color}" "${opacity}" "${alt}" "${theme}" "${icon}" install_shelly "${color}" "${opacity}" "${alt}" "${theme}" "${icon}"
install_xfwmy "${color}" install_xfwmy "${color}"
@@ -534,11 +546,6 @@ install_themes() {
stop_animation stop_animation
} }
install_libadwaita() {
gtk_base "${colors[0]}" "${opacities[0]}" "${themes[0]}" "${compact[0]}"
config_gtk4 "${colors[0]}" "${alt[0]}"
}
remove_themes() { remove_themes() {
process_ids=() process_ids=()
+4 -4
View File
@@ -8,7 +8,7 @@ source "${REPO_DIR}/lib-install.sh"
colors=("${COLOR_VARIANTS[@]}") colors=("${COLOR_VARIANTS[@]}")
opacities=("${OPACITY_VARIANTS[@]}") opacities=("${OPACITY_VARIANTS[@]}")
C_VARIANTS=('-light' '-dark') C_VARIANTS=('-Light' '-Dark')
S_VARIANTS=('' '-solid') S_VARIANTS=('' '-solid')
install() { install() {
@@ -32,13 +32,13 @@ compress() {
done done
} }
GNOME_VERSION="old" GNOME_VERSION="3-28"
RELEASE_VERSION="-3-38" RELEASE_VERSION="-3-38"
install && compress install && compress
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
GNOME_VERSION="new" GNOME_VERSION="42-0"
RELEASE_VERSION="-40-0" RELEASE_VERSION="-42-0"
install && compress install && compress
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+26 -8
View File
@@ -12,6 +12,12 @@ menupopup {
--arrowpanel-border-color: var(--gnome-menu-border-color) !important; --arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important; --panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important; --panel-padding: 8px 0 !important;
-moz-appearance: none !important;
color: var(--gnome-toolbar-color) !important;
}
menupopup label {
color: var(--gnome-toolbar-color) !important;
} }
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup { #PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
@@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.toolbarbutton-1, .protections-popup-category, .toolbarbutton-1, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
border-radius: 8px !important; border-radius: 6px !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
font: menu !important; font: menu !important;
} }
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.protections-popup-category, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
@@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
margin: 0 !important; margin: 0 !important;
} }
.subviewbutton[disabled], .toolbarbutton-1[disabled], /* Menu buttons disabled */
.protections-popup-category[disabled], menuitem[disabled="true"], menupopup menu[disabled="true"],
.identity-popup-content-blocking-category[disabled] { .subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
.protections-popup-category[disabled="true"],
.identity-popup-content-blocking-category[disabled="true"] {
opacity: 0.5 !important; opacity: 0.5 !important;
color: var(--gnome-inactive-toolbar-color) !important; /* color: var(--gnome-inactive-toolbar-color) !important;*/
background: none !important; background: none !important;
} }
@@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover, /* Menu buttons hover */
.identity-popup-content-blocking-category:not([disabled]):hover { .toolbarbutton-1:not([disabled]):hover,
background-color: var(--gnome-popover-button-hover-background) !important; menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
.protections-popup-footer-button:not([disabled="true"]):hover,
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):hover,
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
#downloadsPanel-mainView .download-state:hover {
background: var(--gnome-popover-button-hover-background) !important;
} }
/* Style popover separators */ /* Style popover separators */
+6 -1
View File
@@ -18,10 +18,15 @@ tab > stack {
background-image: none !important; background-image: none !important;
} }
.tabbrowser-tab { .tabbrowser-tab:not([pinned]) {
margin: 2px 0 0 !important; margin: 2px 0 0 !important;
} }
.tabbrowser-tab[pinned] {
margin-top: 2px !important;
margin-bottom: 0 !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme { .tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
color: var(--gnome-tabbar-tab-color) !important; color: var(--gnome-tabbar-tab-color) !important;
} }
+5 -3
View File
@@ -84,14 +84,16 @@ findbar:-moz-window-inactive {
} }
#PersonalToolbar { #PersonalToolbar {
padding: 2px 4px 0 4px !important; padding: 3px !important;
height: 32px !important; height: 32px !important;
max-height: 32px !important;
padding-inline: 3px !important;
} }
/* bookmark-item */ /* bookmark-item */
toolbarbutton.bookmark-item { toolbarbutton.bookmark-item {
padding: 0 4px !important; padding: 2px 6px !important;
margin: 0 2px !important; margin: 0 2px !important;
border-radius: 3px !important; border-radius: 3px !important;
max-height: 20px !important; max-height: 24px !important;
} }
+2 -7
View File
@@ -1,11 +1,8 @@
## Firefox Safari theme ## <p align="center"> <b> Firefox Safari theme </b> </p>
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox.png?raw=true)
<p align="center">A MacOSX Safari theme for Firefox 80+</p> <p align="center">A MacOSX Safari theme for Firefox 80+</p>
#### Preview
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png?raw=true)
## Description ## Description
This is a bunch of CSS code to make Firefox look closer to MacOSX Safari theme. This is a bunch of CSS code to make Firefox look closer to MacOSX Safari theme.
@@ -19,8 +16,6 @@ if you want to use `Monterey` style then:
Run `./tweaks.sh -f monterey` Run `./tweaks.sh -f monterey`
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-monterey.png?raw=true)
### Tips about monterey options (Fix the urlbar attached tabs issue) ### Tips about monterey options (Fix the urlbar attached tabs issue)
1. Remove all space separators on left of urlbar 1. Remove all space separators on left of urlbar
@@ -17,6 +17,7 @@
--gnome-findbar-background: #333333; --gnome-findbar-background: #333333;
--gnome-toolbar-color: #ffffff; --gnome-toolbar-color: #ffffff;
--gnome-toolbar-border-color: #070707; --gnome-toolbar-border-color: #070707;
--gnome-inactive-toolbar-color: rgba(255, 255, 255, 0.45);
--gnome-inactive-toolbar-background: #313131; --gnome-inactive-toolbar-background: #313131;
--gnome-inactive-toolbar-border-color: #121212; --gnome-inactive-toolbar-border-color: #121212;
+2 -2
View File
@@ -14,9 +14,9 @@
--gnome-toolbar-background: #ffffff; --gnome-toolbar-background: #ffffff;
--gnome-tabstoolbar-background: #E5E5E5; --gnome-tabstoolbar-background: #E5E5E5;
--gnome-findbar-background: #f5f5f5; --gnome-findbar-background: #f5f5f5;
--gnome-toolbar-color: rgb(46, 52, 54); --gnome-toolbar-color: rgb(46, 46, 46);
--gnome-toolbar-border-color: #cfcfcf; --gnome-toolbar-border-color: #cfcfcf;
--gnome-inactive-toolbar-color: rgba(46, 52, 54, 0.35); --gnome-inactive-toolbar-color: rgba(46, 46, 46, 0.65);
--gnome-inactive-toolbar-background: #f6f5f4; --gnome-inactive-toolbar-background: #f6f5f4;
--gnome-inactive-toolbar-border-color: #dadada; --gnome-inactive-toolbar-border-color: #dadada;
+26 -8
View File
@@ -12,6 +12,12 @@ menupopup {
--arrowpanel-border-color: var(--gnome-menu-border-color) !important; --arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important; --panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important; --panel-padding: 8px 0 !important;
-moz-appearance: none !important;
color: var(--gnome-toolbar-color) !important;
}
menupopup label {
color: var(--gnome-toolbar-color) !important;
} }
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup { #PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
@@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.toolbarbutton-1, .protections-popup-category, .toolbarbutton-1, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
border-radius: 8px !important; border-radius: 6px !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
font: menu !important; font: menu !important;
} }
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.protections-popup-category, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
@@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
margin: 0 !important; margin: 0 !important;
} }
.subviewbutton[disabled], .toolbarbutton-1[disabled], /* Menu buttons disabled */
.protections-popup-category[disabled], menuitem[disabled="true"], menupopup menu[disabled="true"],
.identity-popup-content-blocking-category[disabled] { .subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
.protections-popup-category[disabled="true"],
.identity-popup-content-blocking-category[disabled="true"] {
opacity: 0.5 !important; opacity: 0.5 !important;
color: var(--gnome-inactive-toolbar-color) !important; /* color: var(--gnome-inactive-toolbar-color) !important;*/
background: none !important; background: none !important;
} }
@@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover, /* Menu buttons hover */
.identity-popup-content-blocking-category:not([disabled]):hover { .toolbarbutton-1:not([disabled]):hover,
background-color: var(--gnome-popover-button-hover-background) !important; menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
.protections-popup-footer-button:not([disabled="true"]):hover,
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):hover,
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
#downloadsPanel-mainView .download-state:hover {
background: var(--gnome-popover-button-hover-background) !important;
} }
/* Style popover separators */ /* Style popover separators */
+3 -2
View File
@@ -36,8 +36,9 @@ $light_alt_fg_color: rgba(white, 0.85);
$light_hint_fg_color: rgba(white, 0.50); $light_hint_fg_color: rgba(white, 0.50);
$light_disabled_fg_color: rgba(white, 0.45); $light_disabled_fg_color: rgba(white, 0.45);
$light_alt_disabled_fg_color: rgba(white, 0.35); $light_alt_disabled_fg_color: rgba(white, 0.35);
$light_track_color: rgba(white, 0.28); $light_track_color: rgba(white, 0.2);
$light_divider_color: rgba(white, 0.15); $light_divider_color: rgba(white, 0.12);
$light_fill_color: rgba(white, 0.06);
$selected_fg_color: $light_fg_color; $selected_fg_color: $light_fg_color;
$selected_bg_color: if($colorscheme == 'nord', $nord_color_default, $theme_color_default); $selected_bg_color: if($colorscheme == 'nord', $nord_color_default, $theme_color_default);
+1 -1
View File
@@ -79,7 +79,7 @@ $backdrop_transition: $longer_duration ease-out;
// Shadow // Shadow
$shadow_0: 0 1px 2px 0 rgba(black, 0.1), 0 2px 2px 0 rgba(black, 0.05); // Slider hover shadow $shadow_0: 0 1px 2px 0 rgba(black, 0.1), 0 2px 2px 0 rgba(black, 0.05); // Slider hover shadow
$shadow_1: 0 1px 1px 0 rgba(black, 0.12), 0 1px 2px 0 rgba(black, 0.06); // Header-button shadow $shadow_1: 0 1px 1px 0 rgba(black, 0.12), 0 1px 2px 0 rgba(black, 0.06); // Header-button shadow
$shadow_2: 0 1px 1px 0 rgba(black, 0.1), 0 1px 2px 0 rgba(black, 0.05); // Slider normal shadow $shadow_2: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.08); // Slider normal shadow
$shadow_3: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.01); // Normal button shadow $shadow_3: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.01); // Normal button shadow
$shadow_4: 0 2px 3px 0 rgba(black, 0.2), 0 3px 5px 0 rgba(black, 0.15); // Switch-slider hover shadow $shadow_4: 0 2px 3px 0 rgba(black, 0.2), 0 3px 5px 0 rgba(black, 0.15); // Switch-slider hover shadow
$shadow_5: 0 1px 2px 0 rgba(black, 0.15), 0 2px 3px 0 rgba(black, 0.1); // Switch-slider normal shadow $shadow_5: 0 1px 2px 0 rgba(black, 0.15), 0 2px 3px 0 rgba(black, 0.1); // Switch-slider normal shadow
+4 -4
View File
@@ -24,7 +24,7 @@ $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
*/ */
// Stage // Stage
stage { //stage {
@include font(body-1); //@include font(body-1);
color: $fg_color; //color: $fg_color;
} //}
+4 -2
View File
@@ -252,8 +252,10 @@
color: $tc; color: $tc;
text-shadow: none; text-shadow: none;
icon-shadow: none; icon-shadow: none;
box-shadow: none;
// box-shadow: inset 0px 0px 0px 2px $divider_color; &, &:hover, &:active {
box-shadow: none !important;
}
} }
@if $t == flat-hover { @if $t == flat-hover {
+2 -1
View File
@@ -21,6 +21,7 @@
@import 'common/overview'; @import 'common/overview';
@import 'common/panel'; @import 'common/panel';
@import 'common/popovers'; @import 'common/popovers';
@import 'common/quick-settings';
@import 'common/screen-shield'; @import 'common/screen-shield';
@import 'common/scrollbars'; @import 'common/scrollbars';
@import 'common/search-entry'; @import 'common/search-entry';
@@ -30,7 +31,7 @@
@import 'common/switches'; @import 'common/switches';
@import 'common/tiled-previews'; @import 'common/tiled-previews';
@import 'common/workspace-switcher'; @import 'common/workspace-switcher';
@import 'widgets-40-0/app-grid'; @import 'widgets-42-0/app-grid';
@import 'widgets-40-0/dash'; @import 'widgets-40-0/dash';
@import 'widgets-40-0/misc'; @import 'widgets-40-0/misc';
@import 'widgets-40-0/overview'; @import 'widgets-40-0/overview';
+18 -31
View File
@@ -7,17 +7,17 @@
@include font(body-1); @include font(body-1);
.overview-icon.overview-icon-with-label { .overview-icon.overview-icon-with-label {
padding: 10px 8px 5px 8px; padding: 10px 12px 14px;
> StBoxLayout { > StBoxLayout {
spacing: $base_spacing; spacing: 6px;
} }
} }
& .overview-icon { .overview-icon {
color: $light_fg_color; color: $light_fg_color;
border-radius: $wm_radius; border-radius: $wm_radius * 1.5;
padding: $container_padding; padding: 12px;
border: none; border: none;
transition-duration: 100ms; transition-duration: 100ms;
text-align: center; text-align: center;
@@ -42,11 +42,11 @@
// App Folders // App Folders
.app-folder { .app-folder {
background: none; background: none;
border-radius: $bt_radius * 2; border-radius: $wm_radius * 1.5;
.overview-icon { .overview-icon {
background-color: $light_divider_color; background-color: $light_divider_color;
border-radius: $bt_radius * 2; border-radius: $wm_radius * 1.5;
} }
&:hover .overview-icon { &:hover .overview-icon {
@@ -62,12 +62,12 @@
.app-folder-dialog { .app-folder-dialog {
border-radius: $bd_radius * 4; border-radius: $bd_radius * 4;
border: 0 solid rgba(white, 0.15); border: 0 solid rgba(white, 0.15);
padding: $container_padding * 2; // padding: 0;
background-color: rgba(if($colorscheme == 'nord', #20242c, #262626), 0.9); background-color: rgba(if($colorscheme == 'nord', #20242c, #262626), 0.9);
& .folder-name-container { & .folder-name-container {
padding: $container_padding * 3 $container_padding * 4 0; padding: 24px 36px 0;
spacing: $base_spacing * 2; spacing: 12px;
& .folder-name-label, & .folder-name-label,
& .folder-name-entry { & .folder-name-entry {
@@ -90,7 +90,7 @@
padding: 0; padding: 0;
width: 36px; width: 36px;
height: 36px; height: 36px;
border-radius: 18px; border-radius: $circular_radius;
& > StIcon { icon-size: 16px; } & > StIcon { icon-size: 16px; }
@@ -101,7 +101,7 @@
& .icon-grid { & .icon-grid {
row-spacing: 12px; row-spacing: 12px;
column-spacing: 30px; column-spacing: if($laptop == 'true', 12px, 18px);
page-padding-top: 0; page-padding-top: 0;
page-padding-bottom: 0; page-padding-bottom: 0;
page-padding-left: 0; page-padding-left: 0;
@@ -114,17 +114,18 @@
} }
.app-folder-dialog-container { .app-folder-dialog-container {
padding: $container_padding; padding: 6px !important;
width: if($laptop == 'true', 500px, 620px);
height: if($laptop == 'true', 500px, 620px); width: if($laptop == 'true', 580px, 680px);
height: if($laptop == 'true', 580px, 680px);
} }
// Running app indicator (also shown in dash) // Running app indicator (also shown in dash)
.app-well-app-running-dot { .app-well-app-running-dot {
width: 5px; height: 5px; width: 5px; height: 5px;
border-radius: 3px; border-radius: 5px;
background-color: $light_alt_fg_color; background-color: $light_alt_fg_color;
margin-bottom: 0; margin-bottom: 6px;
StWidget.focused & { StWidget.focused & {
background-color: $primary_color; background-color: $primary_color;
@@ -166,20 +167,6 @@
&:checked:active { background-image: none; } &:checked:active { background-image: none; }
} }
// right-click app menu
.app-menu,
.app-well-menu {
max-width: 27.25em;
}
// Rename popup for app folders
.rename-folder-popup {
.rename-folder-popup-item {
spacing: $container_padding;
&:ltr, &:rtl { padding: 0 $container_padding * 2; }
}
}
// shutdown and other actions in the grid // shutdown and other actions in the grid
.system-action-icon { .system-action-icon {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); // FIXME: this should really have a highlight box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); // FIXME: this should really have a highlight
+4 -4
View File
@@ -11,17 +11,17 @@
// overall menu // overall menu
#calendarArea { #calendarArea {
padding: $base_padding * 2 0; padding: $base_padding * 1.5 0;
} }
// Calendar menu side column // Calendar menu side column
.datemenu-calendar-column { .datemenu-calendar-column {
spacing: $base_spacing; spacing: $base_spacing;
border: 0 solid $borders_color; border: 0 solid $borders_color;
padding: 0 $base_padding * 2; padding: 0 0 0 $base_padding * 2;
&:ltr {margin-right: $base_margin * 2; border-left-width: 0; } &:ltr { margin-right: $base_margin * 2; border-left-width: 0; }
&:rtl {margin-left: $base_margin * 2; border-right-width: 0; } &:rtl { margin-left: $base_margin * 2; border-right-width: 0; }
.datemenu-displays-section { padding-bottom: 0; } .datemenu-displays-section { padding-bottom: 0; }
@@ -3,7 +3,7 @@
.message-list { .message-list {
width: 31.5em; width: 31.5em;
padding: $base_padding; padding: $base_padding * 1.5 0;
text-shadow: none; text-shadow: none;
border: none; border: none;
@@ -62,7 +62,7 @@
// icon size and color // icon size and color
> StIcon { > StIcon {
icon-size: 32px; // 32px icon-size: 32px;
-st-icon-style: symbolic; -st-icon-style: symbolic;
} }
+2 -2
View File
@@ -11,7 +11,7 @@
color: $light_alt_fg_color; color: $light_alt_fg_color;
border-radius: $circular_radius; border-radius: $circular_radius;
border: none; border: none;
box-shadow: 0 3px 8px rgba(black, 0.25); // box-shadow: 0 3px 8px rgba(black, 0.25);
icon-size: $base_icon_size * 4; // 64px icon-size: $base_icon_size * 4; // 64px
&:hover { &:hover {
@@ -19,7 +19,7 @@
} }
& StIcon { & StIcon {
background-color: transparentize($light_alt_fg_color, 0.95); background-color: $light_track_color;
border-radius: $circular_radius; border-radius: $circular_radius;
padding: $base_padding * 2; // 12px padding: $base_padding * 2; // 12px
width: $base_icon_size * 2.5; height: $base_icon_size * 2.5; // 40px; width: $base_icon_size * 2.5; height: $base_icon_size * 2.5; // 40px;
@@ -220,3 +220,17 @@ $popop_menuitem_radius: $wm_radius - 4px;
&:rtl { margin-left: $base_margin * 2 !important; } &:rtl { margin-left: $base_margin * 2 !important; }
} }
} }
// right-click app menu
.app-menu,
.app-well-menu {
max-width: 27.25em;
}
// Rename popup for app folders
.rename-folder-popup {
.rename-folder-popup-item {
spacing: $base_spacing;
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
}
}
@@ -0,0 +1,177 @@
.quick-settings {
padding: $base_padding * 3;
border-radius: $modal_radius * 2;
.icon-button, .button {
padding: $container_padding;
}
}
.quick-settings-grid {
spacing-rows: $base_padding * 2;
spacing-columns: $base_padding * 2;
}
.quick-toggle {
border-radius: $circular_radius;
min-width: 12em;
max-width: 12em;
min-height: 40px;
border: none;
background-color: $fill_color !important;
&:hover {
background-color: $divider_color !important;
}
&:active {
background-color: $visit_color !important;
}
&:checked {
background-color: $primary_color !important;
color: $light_fg_color;
&:hover {
background-color: mix($text_color, $primary_color, 6%) !important;
color: $light_fg_color;
}
&:active {
background-color: mix($text_color, $primary_color, 15%) !important;
color: $light_fg_color;
}
}
& > StBoxLayout { spacing: $base_padding; }
/* Move padding into the box; this is to allow menu arrows
to extend to the border */
&.button { padding: 0; }
& > StBoxLayout { padding: 0 $base_padding * 2; }
&:ltr > StBoxLayout { padding-left: $base_padding * 2.5; }
&:rtl > StBoxLayout { padding-right: $base_padding * 2.5; }
.quick-toggle-label { font-weight: bold; }
.quick-toggle-icon, .quick-toggle-arrow { icon-size: $base_icon_size; }
}
.quick-menu-toggle {
&:ltr > StBoxLayout { padding-right: 0; }
&:rtl > StBoxLayout { padding-left: 0; }
.quick-toggle-arrow {
background-color: $fill_color !important;
padding: $base_padding $base_padding * 1.75;
&:active {
background-color: $divider_color !important;
}
&:ltr { border-radius: 0 $circular_radius $circular_radius 0; }
&:rtl { border-radius: $circular_radius 0 0 $circular_radius; }
}
}
.quick-slider {
padding: 0 $base_padding;
& > StBoxLayout { spacing: $base_padding; }
.slider-bin {
&:focus { @include button(focus); }
min-height: 16px; // slider size
padding: $base_padding;
border-radius: $circular_radius;
}
.quick-toggle-icon {
icon-size: $base_icon_size;
}
.icon-button {
background-color: transparent;
color: $text_color !important;
&:hover {
background-color: $fill_color;
}
&:active {
background-color: $divider_color;
}
}
}
.quick-toggle-menu {
background-color: $menu_bg !important;
color: $text_color !important;
border-radius: $base_border_radius * 3;
padding: $base_padding * 2;
margin: $base_padding * 2 $base_padding * 6 0;
.popup-menu-item {
border-radius: $circular_radius !important;
min-height: 20px;
&:focus, &:hover, &.selected {
color: $text_color !important;
background-color: $divider_color !important;
}
> StIcon { -st-icon-style: symbolic; }
}
& .header {
spacing-rows: 0.5 * $base_padding;
spacing-columns: $base_padding * 2;
padding-bottom: 2 * $base_padding;
& .icon {
icon-size: $base_icon_size * 1.5; // a non-standard symbolic size but ok
border-radius: $circular_radius;
padding: 1.5 * $base_padding;
background-color: $divider_color !important;
&.active {
background-color: $primary_color !important;
color: $light_fg_color;
}
}
}
}
.quick-settings-system-item {
& > StBoxLayout { spacing: 2 * $base_padding; }
.icon-button {
background-color: $fill_color;
color: $text_color;
border-radius: $circular_radius;
min-height: 24px !important;
min-width: 24px !important;
// padding: $container_padding;
&:hover { @include button(flat-hover); }
&:active { @include button(flat-active); }
> StIcon {
-st-icon-style: symbolic;
icon-size: $base_icon_size;
}
}
.power-item {
min-height: 0;
min-width: 0;
&:insensitive {
@include button(normal);
background-color: transparent;
}
}
}
.nm-network-item {
.wireless-secure-icon { icon-size: 0.5 * $base_icon_size; }
}
@@ -151,13 +151,6 @@
} }
} }
&.shrink,
&.dashtodock {
.dash-item-container > StButton {
padding: 1px 2px;
}
}
.app-well-app, .app-well-app,
.show-apps { .show-apps {
.overview-icon { .overview-icon {
@@ -73,6 +73,10 @@
background: none; background: none;
box-shadow: none; box-shadow: none;
.app-well-app-running-dot {
margin-bottom: 0 !important;
}
StWidget.focused .app-well-app-running-dot { StWidget.focused .app-well-app-running-dot {
background-color: $primary_color; background-color: $primary_color;
} }
@@ -164,13 +168,6 @@
} }
} }
&.shrink,
&.dashtodock {
.dash-item-container > StButton {
padding: 1px 2px;
}
}
&.extended, &.extended,
&.extended:overview { &.extended:overview {
.app-well-app, .app-well-app,
@@ -0,0 +1,75 @@
// app icons
.icon-grid {
row-spacing: 12px;
column-spacing: 12px;
max-row-spacing: 42px;
max-column-spacing: 42px;
page-padding-top: 24px;
page-padding-bottom: 24px;
page-padding-left: 18px;
page-padding-right: 18px;
}
.app-folder-dialog {
.page-navigation-hint {
width: if($laptop == 'true', 60px, 80px);
}
.page-navigation-arrow {
margin: 18px;
}
}
.apps-scroll-view {
padding: 0;
}
.page-navigation-hint {
width: if($laptop == 'true', 220px, 300px);
&.dnd {
background: rgba(255, 255, 255, 0.1);
}
&.next:ltr,
&.previous:rtl {
background-gradient-start: $light_divider_color;
background-gradient-end: transparent;
background-gradient-direction: horizontal;
border-radius: $modal_radius 0px 0px $modal_radius;
}
&.previous:ltr,
&.next:rtl {
background-gradient-start: transparent;
background-gradient-end: $light_divider_color;
background-gradient-direction: horizontal;
border-radius: 0px $modal_radius $modal_radius 0px;
}
}
.page-navigation-arrow {
& > StIcon {
margin: $base_padding;
padding: $base_padding * 3;
width: 24px;
height: 24px;
border-radius: $circular_radius;
}
&:insensitive > StIcon {
backround-color: $light_fill_color;
color: $light_fg_color;
}
&:hover > StIcon {
backround-color: $light_divider_color;
color: $light_fg_color;
}
&:active > StIcon {
backround-color: $light_track_color;
color: $light_fg_color;
}
}
+55 -29
View File
@@ -670,7 +670,7 @@ $_dot_color: $selected_bg_color;
%circular_button { %circular_button {
border-radius: $circular_radius; border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius; -gtk-outline-radius: $circular_radius;
padding: 0 0; padding: 0;
min-height: $menuitem_size; min-height: $menuitem_size;
min-width: $menuitem_size; min-width: $menuitem_size;
} }
@@ -749,8 +749,9 @@ button {
&.image-button:not(.circular), &.popup:not(.circular) { &.image-button:not(.circular), &.popup:not(.circular) {
min-height: $menuitem_size - 4px; min-height: $menuitem_size - 4px;
padding-left: $container_padding; min-width: $menuitem_size - 4px;
padding-right: $container_padding; padding-left: $container_padding - 2px;
padding-right: $container_padding - 2px;
} }
&.text-button { &.text-button {
@@ -1100,10 +1101,16 @@ button:link, button:visited {
spinbutton { spinbutton {
&:drop(active) { box-shadow: none; } &:drop(active) { box-shadow: none; }
button:active { color: $selected_fg_color; }
&:disabled { color: $disabled_fg_color; } &:disabled { color: $disabled_fg_color; }
entry { > button {
min-width: 24px;
padding: 0 $container_padding / 2;
&:active { color: $selected_fg_color; }
}
> entry {
@extend %Linked_entrys; @extend %Linked_entrys;
border: 1px solid $dark_borders_color; border: 1px solid $dark_borders_color;
@@ -1127,7 +1134,10 @@ spinbutton {
min-width: $menuitem_size; min-width: $menuitem_size;
} }
button, entry { @extend %linked; min-height: $small_size; } button, entry {
@extend %linked;
min-height: $small_size;
}
&:dir(ltr) entry, &:dir(ltr) entry,
&:dir(rtl) button.up { border-radius: $bt_radius 0 0 $bt_radius; } &:dir(rtl) button.up { border-radius: $bt_radius 0 0 $bt_radius; }
@@ -1477,7 +1487,7 @@ actionbar {
headerbar { headerbar {
min-height: $headerbar_size; min-height: $headerbar_size;
padding: 0 $container_padding + 10px; padding: 0 8px;
color: $header_fg; color: $header_fg;
background-color: $header_bg; background-color: $header_bg;
border-bottom: 1px solid $header_border; border-bottom: 1px solid $header_border;
@@ -1606,7 +1616,7 @@ headerbar {
&:disabled { background: none; } &:disabled { background: none; }
} }
stackswitcher.linked.stack-switcher:not(.vertical) > button { .linked.stack-switcher:not(.vertical) > button {
min-width: $menuitem_size - 4px; min-width: $menuitem_size - 4px;
border-radius: $bt_radius; border-radius: $bt_radius;
} }
@@ -1633,7 +1643,7 @@ headerbar {
&:backdrop { opacity: 0.65; background-image: none; } &:backdrop { opacity: 0.65; background-image: none; }
} }
stackswitcher { .stack-switcher {
box-shadow: inset 0 0 0 1px $light_borders_color; box-shadow: inset 0 0 0 1px $light_borders_color;
border-radius: $bt_radius; border-radius: $bt_radius;
padding: 0; padding: 0;
@@ -2193,10 +2203,9 @@ menubar,
} }
} }
menu, // .menu,
.menu, // .context-menu,
.context-menu { menu {
// margin: 4px;
padding: $container_padding; padding: $container_padding;
border-radius: $mn_radius; border-radius: $mn_radius;
background-color: opacify($menu_bg, 1); background-color: opacify($menu_bg, 1);
@@ -2232,6 +2241,8 @@ menu,
color: $selected_fg_color; color: $selected_fg_color;
background-color: $selected_bg_color; background-color: $selected_bg_color;
// image { -gtk-icon-style: symbolic; }
arrow { arrow {
transition: none; transition: none;
color: $selected_fg_color; color: $selected_fg_color;
@@ -2295,23 +2306,19 @@ menu,
min-height: 16px; min-height: 16px;
padding: 2px; padding: 2px;
background-color: transparent; background-color: transparent;
border-radius: 0; border-radius: $mn_radius - 3px;
border: none; border: none;
background-image: none; background-image: none;
color: $fg_color; color: $fg_color;
&.top { &.top {
margin-top: -6px; margin-top: 0;
border-radius: $mn_radius $mn_radius 0 0;
border-bottom: 1px solid $borders_color;
-gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); -gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
} }
&.bottom { &.bottom {
margin-top: 12px; margin-top: 12px;
margin-bottom: -16px; margin-bottom: -12px;
border-radius: 0 0 $mn_radius $mn_radius;
border-top: 1px solid $borders_color;
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
} }
@@ -2490,6 +2497,14 @@ notebook {
} }
} }
button.image-button {
@extend %flat_button;
@if $monterey == 'false' {
border-radius: 0;
}
}
button.flat.toggle.popup { button.flat.toggle.popup {
min-width: $medium_size; min-width: $medium_size;
border: none; border: none;
@@ -2740,6 +2755,7 @@ scrollbar {
$switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%); $switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%);
$switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%); $switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%);
$switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%); $switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%);
$switch_checked_backdrop_image: linear-gradient(0deg, rgba($fg_color, 0.45) 0%, rgba($fg_color, 0.55) 100%);
$switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%); $switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%);
$switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1); $switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1);
@@ -2788,6 +2804,12 @@ switch {
background-image: $switch_checked_disabled_image; background-image: $switch_checked_disabled_image;
color: transparent; color: transparent;
} }
&:backdrop {
background-color: transparent;
background-image: $switch_checked_backdrop_image;
color: transparent;
}
} }
slider { slider {
@@ -3024,11 +3046,7 @@ scale {
highlight { highlight {
background-color: $selected_bg_color; background-color: $selected_bg_color;
&:disabled { }
} }
&:disabled { }
} }
// Troughs in selected list-rows and infobars // Troughs in selected list-rows and infobars
@@ -3065,13 +3083,13 @@ scale {
} }
slider { slider {
$_slider_border: if($variant=='light', transparentize(darken($button_border, 0%), 0), transparentize($button_border, 0)); $_slider_border: $button_border;
background-color: $selected_fg_color; background-color: $selected_fg_color;
border: 1px solid $_slider_border; border: 1px solid $_slider_border;
border-radius: 100%; border-radius: 100%;
box-shadow: $shadow_2; box-shadow: $shadow_2;
background-clip: padding-box;
transition: $button_transition; transition: $button_transition;
transition-property: background, border; transition-property: background, border;
@@ -3082,7 +3100,6 @@ scale {
} }
&:active { &:active {
background-clip: border-box;
background-color: $selected_fg_color; background-color: $selected_fg_color;
border-color: $_slider_border; border-color: $_slider_border;
box-shadow: $shadow_3; box-shadow: $shadow_3;
@@ -3132,8 +3149,6 @@ scale {
border-color: $_slider_border; border-color: $_slider_border;
box-shadow: $shadow_3; box-shadow: $shadow_3;
} }
&:disabled { }
} }
} }
@@ -3414,6 +3429,10 @@ scrolledwindow {
} }
} }
scrolledwindow.frame {
border: 1px solid $borders_color;
}
> box.vertical list.content.view { > box.vertical list.content.view {
border-top-left-radius: $wm_radius; border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius; border-top-right-radius: $wm_radius;
@@ -3563,6 +3582,7 @@ row {
button { button {
@extend %undecorated_button; @extend %undecorated_button;
@include button(flat-normal);
&:not(.text-button).image-button, &.flat { &:not(.text-button).image-button, &.flat {
@extend %circular_button; @extend %circular_button;
@@ -4357,7 +4377,13 @@ decoration {
// //
// Titlebuttons // Titlebuttons
// //
headerbar { headerbar {
> box.left,
> box.right { // Titlebutton space
padding: 0 10px;
}
button.titlebutton { button.titlebutton {
&.close, &.maximize, &.minimize { &.close, &.maximize, &.minimize {
min-width: 16px; min-width: 16px;
+183 -85
View File
@@ -5,14 +5,18 @@ $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
/* #{$cakeisalie} */ /* #{$cakeisalie} */
%side_headerbar_left { %side_headerbar_left {
&, &:backdrop {
background-image: none; background-image: none;
background-color: rgba($dark_sidebar_bg, 1); background-color: rgba($dark_sidebar_bg, 1);
border: none; border: none;
}
} }
%side_headerbar_right { %side_headerbar_right {
&, &:backdrop {
background-image: none; background-image: none;
background-color: rgba($base_color, 1); background-color: rgba($base_color, 1);
}
} }
%side_searchbar { %side_searchbar {
@@ -340,6 +344,7 @@ label {
} }
&:disabled { &:disabled {
opacity: 1;
color: $disabled_fg_color; color: $disabled_fg_color;
selection { color: mix($selected_fg_color, $selected_bg_color, 50%); } selection { color: mix($selected_fg_color, $selected_bg_color, 50%); }
} }
@@ -627,41 +632,36 @@ entry {
} }
.entry-tag { .entry-tag {
$tag_height: $menuitem_size - 4px; margin: 0;
$tag_margin: 8px; min-height: 16px;
border-radius: $circular_radius;
margin: $tag_margin; // instead of min-height: $tag_height;
border-radius: 50px;
box-shadow: none; box-shadow: none;
background-color: $destructive_color; background-color: $suggested_color;
color: $light_fg_color; color: $light_fg_color;
border: none; border: none;
padding: 2px;
&:hover { box-shadow: 0 0 0 1px $borders_color; } &:hover { box-shadow: $shadow_4; }
// side margins: compensate the entry padding with a negative margin // side margins: compensate the entry padding with a negative margin
// then the negative margin itself // then the negative margin itself
:dir(ltr) & { :dir(ltr) & {
margin-left: 8px; margin-left: $container_padding / 2;
margin-right: $tag_margin - 8px; margin-right: 0;
padding-left: 8px;
padding-right: ($tag_height - 16px) / 2;
} }
:dir(rtl) & { :dir(rtl) & {
margin-left: $tag_margin - 8px; margin-left: 0;
margin-right: 8px; margin-right: $container_padding / 2;
padding-left: ($tag_height - 16px) / 2;
padding-right: 8px;
} }
// seems any sizing doesn't work // seems any sizing doesn't work
&.button { > button {
box-shadow: none; min-height: 20px;
border: none; min-width: 20px;
background-color: transparent; padding: 0;
border-radius: $circular_radius;
&:not(:hover):not(:active) { color: $disabled_fg_color; } @extend %selected-button;
} }
} }
@@ -724,7 +724,7 @@ $_dot_color: if($variant=='light', $selected_bg_color,
@include button(flat-normal); @include button(flat-normal);
&:hover { @include button(flat-hover); } &:hover { @include button(flat-hover); }
&:active { @include button(flat-active); } &:active { @include button(flat-active); }
&:checked { @include button(flat-checked); } &:checked, &:selected { @include button(flat-checked); }
&:disabled { @include button(flat-insensitive); } &:disabled { @include button(flat-insensitive); }
} }
@@ -1458,26 +1458,47 @@ button.link {
// Spinbuttons // Spinbuttons
// //
spinbutton { spinbutton {
background: none;
&:drop(active) { box-shadow: none; } &:drop(active) { box-shadow: none; }
button:active { color: $selected_fg_color; }
&:disabled { color: $disabled_fg_color; } &:disabled { color: $disabled_fg_color; }
button:active { color: $selected_fg_color; }
&:focus-within { outline: none; }
> text { > text {
padding: $container_padding; padding: $container_padding;
@extend %Linked_entrys; @extend %Linked_entrys;
border: 1px solid $dark_borders_color; border: 1px solid $dark_borders_color;
background-clip: padding-box;
> selection {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
&:focus-within { &:focus-within {
outline: none;
@if $variant == 'dark' { box-shadow: inset 0 0 0 2px $entry_highlight; }
@if $variant == 'light' {
border-color: $entry_highlight; border-color: $entry_highlight;
@if $variant == 'dark' { box-shadow: inset 0 0 0 1px $entry_highlight; } box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $entry_highlight;
@if $variant == 'light' { box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $entry_highlight; } }
} }
&:drop(active) { &:drop(active) {
outline: none;
@if $variant == 'dark' { box-shadow: inset 0 0 0 2px $drop_target_color; }
@if $variant == 'light' {
border-color: $drop_target_color; border-color: $drop_target_color;
@if $variant == 'dark' { box-shadow: inset 0 0 0 1px $drop_target_color; } box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $drop_target_color;
@if $variant == 'light' { box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $drop_target_color; } }
} }
} }
@@ -1508,8 +1529,10 @@ spinbutton {
> button.up:dir(rtl):hover:not(:active), > button.up:dir(rtl):hover:not(:active),
> text + button:not(:active):hover { box-shadow: none; } > text + button:not(:active):hover { box-shadow: none; }
@if $variant == 'light' {
> text:focus-within + button { border-left-color: $entry_highlight; } > text:focus-within + button { border-left-color: $entry_highlight; }
> text:drop(active) + button { border-left-color: $drop_target_color; } > text:drop(active) + button { border-left-color: $drop_target_color; }
}
.osd & { .osd & {
&, &:focus-within, &:drop(active) { border-image: none; } &, &:focus-within, &:drop(active) { border-image: none; }
@@ -1535,9 +1558,11 @@ spinbutton {
> button.up { border-radius: $bt_radius $bt_radius 0 0; } > button.up { border-radius: $bt_radius $bt_radius 0 0; }
@if $variant == 'light' {
> text:focus-within + button { border-top-color: $entry_highlight; } > text:focus-within + button { border-top-color: $entry_highlight; }
> text:drop(active) + button { border-top-color: $drop_target_color; } > text:drop(active) + button { border-top-color: $drop_target_color; }
} }
}
// Misc // Misc
treeview &:not(.vertical), treeview &:not(.vertical),
@@ -1742,8 +1767,6 @@ combobox {
%toolbar { %toolbar {
padding: $container_padding / 2 $container_padding; padding: $container_padding / 2 $container_padding;
border-spacing: $container_padding; border-spacing: $container_padding;
// background-color: $header_bg;
// border-bottom: 1px solid $borders_color;
} }
.toolbar { .toolbar {
@@ -1804,14 +1827,13 @@ searchbar {
border-spacing: $container_padding; border-spacing: $container_padding;
@extend %toolbar; @extend %toolbar;
entry { margin: 0; } entry, button { margin: 0; }
.close { .close {
min-width: 18px; min-width: 18px;
min-height: 18px; min-height: 18px;
padding: 4px; padding: 4px;
border-radius: 50%; border-radius: 50%;
@extend %circular_button;
} }
} }
} }
@@ -1822,6 +1844,7 @@ actionbar > revealer > box {
border-top: 1px solid $borders_color; border-top: 1px solid $borders_color;
background-color: darken($bg_color, 3%); background-color: darken($bg_color, 3%);
box-shadow: none; box-shadow: none;
color: $text_color;
entry, button { margin: 0; } entry, button { margin: 0; }
@@ -1859,6 +1882,7 @@ actionbar > revealer > box {
} }
&:disabled { &:disabled {
opacity: 1;
@include entry(header-insensitive); @include entry(header-insensitive);
} }
@@ -1922,6 +1946,7 @@ actionbar > revealer > box {
} }
&:disabled { &:disabled {
opacity: 1;
&, &:checked, &:active { @include button(header-insensitive); } &, &:checked, &:active { @include button(header-insensitive); }
} }
@@ -1932,7 +1957,7 @@ actionbar > revealer > box {
headerbar { headerbar {
min-height: $headerbar_size; min-height: $headerbar_size;
padding: 0 $container_padding + 10px; padding: 0;
color: $header_fg; color: $header_fg;
background-color: $header_bg; background-color: $header_bg;
border-bottom: 1px solid $header_border; border-bottom: 1px solid $header_border;
@@ -1947,21 +1972,28 @@ headerbar {
box-shadow: none; box-shadow: none;
} }
&.flat {
border: none;
background: none;
windowcontrols {
padding: 0 $container_padding / 2;
}
}
.title { .title {
padding-left: $container_padding * 2; padding: 2px $container_padding * 2;
padding-right: $container_padding * 2;
} }
.subtitle { .subtitle {
font-size: smaller; font-size: smaller;
padding-left: $container_padding * 2; padding: 2px $container_padding * 2;
padding-right: $container_padding * 2;
margin-top: -3px; margin-top: -3px;
@extend %dim-label; @extend %dim-label;
} }
> windowhandle > box { > windowhandle > box {
padding: 0; padding: 0 8px;
&, &,
> box.start, > box.start,
@@ -1970,16 +2002,30 @@ headerbar {
} }
} }
entry { @extend %headerbar_entrys; } entry {
@extend %headerbar_entrys;
}
button { @extend %headerbar_buttons; } button {
@extend %headerbar_buttons;
}
button, spinbutton, entry, stackswitcher { entry,
spinbutton,
button,
menubutton,
splitbutton,
stackswitcher,
separator:not(.sidebar) {
margin-top: 8px; margin-top: 8px;
margin-bottom: 8px; margin-bottom: 8px;
} }
menubutton.popup { menubutton > button,
spinbutton > button,
splitbutton > button,
splitbutton > menubutton,
entry > menubutton {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
@@ -2446,10 +2492,10 @@ popover {
padding: $container_padding; padding: $container_padding;
border-radius: $wm_radius; border-radius: $wm_radius;
> list, list,
> .view, .view,
> toolbar { > toolbar {
border-style: none; border: none;
background-color: transparent; background-color: transparent;
} }
@@ -2462,6 +2508,12 @@ popover {
padding: 0; padding: 0;
} }
stack scrolledwindow:not(.view) > viewport {
border: 1px solid $borders_color;
border-radius: $bt_radius;
background-color: $base_color;
}
listview.view { listview.view {
padding: 0; padding: 0;
margin: 0; margin: 0;
@@ -2637,14 +2689,14 @@ popover.menu {
margin: 0; margin: 0;
box-shadow: none; box-shadow: none;
&:hover:not(:checked) { &:hover:not(:checked):not(:selected) {
color: mix($fg_color, $disabled_fg_color, 50%); color: mix($fg_color, $disabled_fg_color, 50%);
background-color: if($variant == 'light', rgba(white, 0.2), rgba(white, 0.05)); background-color: if($variant == 'light', rgba(white, 0.2), rgba(white, 0.05));
border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%)); border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%));
box-shadow: none; box-shadow: none;
} }
&:checked { &:checked, &:selected {
color: $fg_color; color: $fg_color;
background-color: $header_bg; background-color: $header_bg;
border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%)); border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%));
@@ -2662,13 +2714,13 @@ popover.menu {
margin: 0; margin: 0;
box-shadow: none; box-shadow: none;
&:hover:not(:checked) { &:hover:not(:checked):not(:selected){
color: mix($fg_color, $disabled_fg_color, 50%); color: mix($fg_color, $disabled_fg_color, 50%);
background-color: rgba($fg_color, 0.06); background-color: rgba($fg_color, 0.06);
box-shadow: none; box-shadow: none;
} }
&:checked { &:checked, &:selected {
color: $fg_color; color: $fg_color;
background-color: rgba($fg_color, 0.12); background-color: rgba($fg_color, 0.12);
box-shadow: none; box-shadow: none;
@@ -2886,7 +2938,13 @@ tabbox {
padding: 0 $container_padding / 2 $container_padding / 2; padding: 0 $container_padding / 2 $container_padding / 2;
} }
> tab { > tabboxchild {
margin: 0 -3px;
border-radius: 0;
}
> tab,
> tabboxchild > tab {
@if $monterey == 'false' { @if $monterey == 'false' {
@extend %tabs_tab; @extend %tabs_tab;
border-top: none; border-top: none;
@@ -2944,12 +3002,6 @@ scrollbar {
transition: 300ms $ease-out-quad; transition: 300ms $ease-out-quad;
outline: none; outline: none;
// scrollbar border
// &.top { border-bottom: 1px solid $borders_color; }
// &.bottom { border-top: 1px solid $borders_color; }
// &.left { border-right: 1px solid $borders_color; }
// &.right { border-left: 1px solid $borders_color; }
&, button { border: none; } &, button { border: none; }
&.vertical button { &.vertical button {
@@ -3059,6 +3111,7 @@ scrollbar {
$switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%); $switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%);
$switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%); $switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%);
$switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%); $switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%);
$switch_checked_backdrop_image: linear-gradient(0deg, rgba($fg_color, 0.45) 0%, rgba($fg_color, 0.55) 100%);
$switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%); $switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%);
$switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1); $switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1);
@@ -3108,6 +3161,12 @@ switch {
background-image: $switch_checked_disabled_image; background-image: $switch_checked_disabled_image;
color: transparent; color: transparent;
} }
&:backdrop {
background-color: transparent;
background-image: $switch_checked_backdrop_image;
color: transparent;
}
} }
> slider { > slider {
@@ -3321,11 +3380,7 @@ scale {
highlight { highlight {
background-color: $selected_bg_color; background-color: $selected_bg_color;
&:disabled { }
} }
&:disabled { }
} }
// Troughs in selected list-rows and infobars // Troughs in selected list-rows and infobars
@@ -3428,8 +3483,6 @@ scale {
border-color: $_slider_border; border-color: $_slider_border;
box-shadow: $shadow_3; box-shadow: $shadow_3;
} }
&:disabled { }
} }
} }
@@ -3793,22 +3846,17 @@ scrolledwindow {
} }
// Overflow indication, works similarly to the overshoot, the size if fixed tho. // Overflow indication, works similarly to the overshoot, the size if fixed tho.
// > undershoot { > undershoot {
// &.top { @include undershoot(top); } background: none;
// &.bottom { @include undershoot(bottom); } border: none;
// &.left { @include undershoot(left); } padding: 0;
// &.right { @include undershoot(right); } }
//
// padding: $wm_radius / 2;
// }
> junction { // the small square between two scrollbars > junction { // the small square between two scrollbars
border-style: solid none none solid; border: none;
border-width: 1px;
border-color: $borders_color;
background-color: $_scrollbar_bg_color; background-color: $_scrollbar_bg_color;
&:dir(rtl) { border-style: solid solid none none; } // &:dir(rtl) { border-style: solid solid none none; }
} }
} }
@@ -3943,6 +3991,10 @@ row {
button.circular { @extend %circular_button; } button.circular { @extend %circular_button; }
button &.activatable {
&:focus, &:hover, &:active { background: none; }
}
&:selected { &:selected {
color: $fg_color; color: $fg_color;
background-color: if($variant == 'light', rgba(black, 0.15), rgba(white, 0.15)); background-color: if($variant == 'light', rgba(black, 0.15), rgba(white, 0.15));
@@ -4195,7 +4247,7 @@ window.dialog.message { // Message Dialog styling
padding: ($container_padding - 2px) ($container_padding + 2px); padding: ($container_padding - 2px) ($container_padding + 2px);
box-shadow: none; box-shadow: none;
border-radius: $bt_radius; border-radius: $bt_radius;
margin: 0 3px 3px 3px; margin: $container_padding / 2;
border: none; border: none;
&:not(.suggested-action):not(.destructive-action) { &:not(.suggested-action):not(.destructive-action) {
@@ -4229,6 +4281,39 @@ window.dialog.message { // Message Dialog styling
} }
} }
window.background.messagedialog {
.response-area {
padding: $container_padding;
button {
min-height: 20px;
padding: ($container_padding - 2px) ($container_padding + 2px);
box-shadow: none;
border-radius: $bt_radius;
margin: $container_padding / 2;
border: none;
&:not(.suggested-action):not(.destructive-action) {
border-radius: $bt_radius;
background-color: transparent;
&:hover {
@include button(flat-hover);
transition: $button_transition;
}
&:active {
@include button(active);
}
}
&.suggested-action, &.destructive-action {
border-radius: $bt_radius;
}
}
}
}
window.aboutdialog image.large-icons { window.aboutdialog image.large-icons {
-gtk-icon-size: 128px; -gtk-icon-size: 128px;
} }
@@ -4294,10 +4379,16 @@ filechooserbutton:drop(active) {
} }
separator.sidebar { separator.sidebar {
&.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border: none; }
background-color: $header_border; background-color: $header_border;
min-height: 1px; min-height: 1px;
min-width: 1px; min-width: 1px;
border: none;
&:dir(ltr),
&.left,
&.left:dir(rtl),
&:dir(rtl),
&.right { border: none; }
} }
stacksidebar { stacksidebar {
@@ -4322,10 +4413,12 @@ stacksidebar {
// Navigation Sidebar // Navigation Sidebar
.navigation-sidebar { .navigation-sidebar {
background-color: $dark_sidebar_bg;
padding: $container_padding 0; //only vertical padding. horizontal row size would clip padding: $container_padding 0; //only vertical padding. horizontal row size would clip
> separator { > separator {
margin: $container_padding 0; margin: $container_padding 0;
background: none;
} }
> row { > row {
@@ -4376,7 +4469,7 @@ placessidebar {
// Using margins/padding directly in the SidebarRow // Using margins/padding directly in the SidebarRow
// will make the animation of the new bookmark row jump // will make the animation of the new bookmark row jump
> revealer { > revealer {
padding: 0 $container_padding + 4px; padding: 0;
} }
image.sidebar-icon { image.sidebar-icon {
@@ -4871,8 +4964,10 @@ window {
// //
// Titlebuttons // Titlebuttons
// //
windowcontrols { windowcontrols {
border-spacing: $container_padding; border-spacing: 2px;
padding: 0 10px;
&:not(.empty) { &:not(.empty) {
&.start:dir(ltr), &.start:dir(ltr),
@@ -4886,10 +4981,11 @@ windowcontrols {
} }
} }
button { headerbar.titlebar & {
margin: 0; border-spacing: $container_padding;
padding: 0; }
button {
&.close, &.maximize, &.minimize { &.close, &.maximize, &.minimize {
min-width: 16px; min-width: 16px;
min-height: 16px; min-height: 16px;
@@ -4931,9 +5027,9 @@ windowcontrols {
} }
} }
// /********* //
// * Emoji * // Emoji
// *********/ //
popover.emoji-picker { popover.emoji-picker {
padding: 0; padding: 0;
border-radius: $wm_radius; border-radius: $wm_radius;
@@ -4947,11 +5043,13 @@ popover.emoji-picker {
padding: 6px; padding: 6px;
border-spacing: 6px; border-spacing: 6px;
border-bottom: 1px solid $borders_color; border-bottom: 1px solid $borders_color;
entry { margin: 0; }
} }
.emoji-toolbar { .emoji-toolbar {
padding: $container_padding / 3; padding: $container_padding / 2;
border-spacing: $container_padding / 3; border-spacing: 0;
border-top: 1px solid $borders_color; border-top: 1px solid $borders_color;
} }
+2 -3
View File
@@ -233,16 +233,15 @@
label, & { color: $disabled_fg_color; } label, & { color: $disabled_fg_color; }
background-color: transparent; background-color: transparent;
// border: none;
} }
@else if $t==flat-insensitive-active { @else if $t==flat-insensitive-active {
// //
// insensitive pushed button // insensitive pushed button
// //
label, & { color: transparentize($selected_fg_color, 0.2); } label, & { color: transparentize($selected_fg_color, 0.35); }
background-color: lighten($fg_color, 20%); background-color: if($variant=='light', rgba(black, 0.3), rgba(white, 0.15));
opacity: 0.6; opacity: 0.6;
} }
+56 -31
View File
@@ -74,7 +74,8 @@ $raven_padding: 8px;
.budgie-container { background-color: transparent; } .budgie-container { background-color: transparent; }
.budgie-settings-window { .budgie-settings-window {
&.background { background-color: rgba($base_color, if($trans == 'true', 0.95, 1)); } &.background {
background-color: rgba($base_color, if($trans == 'true', 0.97, 1));
buttonbox.inline-toolbar { buttonbox.inline-toolbar {
border-style: none none solid; border-style: none none solid;
@@ -85,6 +86,7 @@ $raven_padding: 8px;
@extend %budgie_button; @extend %budgie_button;
} }
} }
}
list.sidebar { list.sidebar {
background-color: transparent; background-color: transparent;
@@ -93,7 +95,7 @@ $raven_padding: 8px;
} }
} }
.budgie-popover { .budgie-popover.background {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 1px solid if($variant=='light', rgba($borders_color, 0.2), lighten($menu_bg, 6%)); border: 1px solid if($variant=='light', rgba($borders_color, 0.2), lighten($menu_bg, 6%));
@@ -105,6 +107,7 @@ $raven_padding: 8px;
.container { .container {
padding: 0; padding: 0;
margin: 0;
border: none; border: none;
} }
@@ -194,7 +197,7 @@ $raven_padding: 8px;
entry.search { entry.search {
padding: 5px 10px; padding: 5px 10px;
border: none; border: none;
border-bottom: 1px solid $borders_color; border-bottom: 1px solid rgba(black, if($variant == 'light', 0.1, 0.75));
border-radius: 0; border-radius: 0;
box-shadow: none; box-shadow: none;
font-size: 110%; font-size: 110%;
@@ -212,6 +215,16 @@ $raven_padding: 8px;
button.flat.category-button { button.flat.category-button {
min-height: 28px; min-height: 28px;
border-radius: 0; border-radius: 0;
&:disabled {
color: $alt_disabled_fg_color;
background-color: transparent;
}
&:checked:disabled {
color: $disabled_fg_color;
background-color: $fill_color;
}
} }
} }
@@ -315,6 +328,9 @@ $raven_padding: 8px;
flowboxchild { padding: 0; } flowboxchild { padding: 0; }
} }
// &.budgie-screenshot-applet {
// }
} }
// budgie specific popover widgets // budgie specific popover widgets
@@ -433,7 +449,7 @@ popover.background.places-menu {
$budgie_panel_radius: $wm_radius + $container_padding / 2; $budgie_panel_radius: $wm_radius + $container_padding / 2;
// Panel // Panel
.budgie-panel { .budgie-panel.background {
transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1); transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1);
background-color: opacify($header_bg, 1); background-color: opacify($header_bg, 1);
color: $header_fg; color: $header_fg;
@@ -752,7 +768,7 @@ $raven_opacity: if($variant =='light', 0.95, 0.95);
$raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px 0 rgba(black, 0.1); $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px 0 rgba(black, 0.1);
// Raven // Raven
.raven { .background .raven {
background-color: if($trans == 'true', rgba($raven_bg_color, $raven_opacity), $raven_bg_color); background-color: if($trans == 'true', rgba($raven_bg_color, $raven_opacity), $raven_bg_color);
color: $raven_fg_color; color: $raven_fg_color;
box-shadow: $shadow_4; box-shadow: $shadow_4;
@@ -1117,25 +1133,36 @@ calendar.raven-calendar {
} }
// Notifications // Notifications
%budgie-notification-window, %budgie-notification-window {
.budgie-notification-window { background: none;
background-color: transparent;
background-image: none; > stack {
margin: 0;
padding: $container_padding;
border-radius: $wm_radius; border-radius: $wm_radius;
box-shadow: 0 3px 3px 0 rgba(black, 0.15),
0 0 0 1px rgba(black, if($variant == 'light', 0.1, 0.75)),
inset 0 0 0 1px $highlight_color;
background-color: $menu_bg;
}
}
.budgie-notification-window {
@extend %budgie-notification-window;
button.image-button { // 'close' button.image-button { // 'close'
margin: 0; margin: 0;
padding: 0; padding: 0;
min-height: 28px; min-height: 28px;
min-width: 28px; min-width: 28px;
border-radius: 100px; border-radius: $circular_radius;
} }
} }
%budgie-notification,
.budgie-notification { .budgie-notification {
background-color: transparent; background: none;
background-image: none; margin: 0;
padding: 0;
.notification-title { font-size: 120%; } .notification-title { font-size: 120%; }
.notification-body { @extend %dim-label; } .notification-body { @extend %dim-label; }
@@ -1148,8 +1175,8 @@ calendar.raven-calendar {
// Internal part of the OSD // Internal part of the OSD
.budgie-osd { .budgie-osd {
background-color: transparent; background: none;
background-image: none;
.budgie-osd-text { font-size: 120%; } .budgie-osd-text { font-size: 120%; }
} }
@@ -1163,9 +1190,6 @@ window.budgie-switcher-window {
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
// draw actual backgrounds and shadows
.drop-shadow { @extend %drop-shadow; }
flowboxchild { // icon-tiles flowboxchild { // icon-tiles
margin: 2px; margin: 2px;
border-radius: $wm_radius; border-radius: $wm_radius;
@@ -1175,20 +1199,22 @@ window.budgie-switcher-window {
// Internal part of the Switcher // Internal part of the Switcher
.budgie-switcher { .budgie-switcher {
@extend %budgie-notification; @extend .budgie-notification;
} }
%drop-shadow, .drop-shadow { .drop-shadow {
margin: 5px 9px; margin: 6px 10px 16px;
padding: 8px; padding: $container_padding;
border-radius: $wm_radius; border-radius: $wm_radius;
box-shadow: 0 5px 5px 0 transparent, 0 8px 15px 0 transparent, box-shadow: 0 3px 3px 0 $wm_shadow,
0 3px 3px 0 if($variant == 'light', opacify($wm_shadow, 0.15), opacify($wm_shadow, 0.1)), 0 3px 8px 0 $wm_shadow,
0 0 0 1px if($variant=='light', rgba($borders_color, 0.15), rgba($dark_borders_color, 0.55)), $wm_outline, inset 0 0 0 1px $highlight_color;
inset 0 0 0 1px rgba(white, 0.06); background-color: $menu_bg;
background-color: if($trans == 'true', rgba($base_color, 0.95), $base_color); .dim-label { opacity: 0.55; }
background-image: none;
// used to indicate unread notifications
.alert { color: $fg_color; }
button { @extend %budgie_button; } button { @extend %budgie_button; }
@@ -1197,10 +1223,10 @@ window.budgie-switcher-window {
%budgie_dialog { %budgie_dialog {
background-color: $bg_color; background-color: $bg_color;
@if $variant == 'dark' { border: 1px solid lighten($menu_bg, 10%); } @if $variant == 'dark' { box-shadow: inset 0 0 0 1px $highlight_color; }
&.background.csd { &.background.csd {
border-radius: $wm_radius $wm_radius $wm_radius $wm_radius; border-radius: $wm_radius;
} }
} }
@@ -1245,7 +1271,6 @@ window.budgie-switcher-window {
// Run Dialog // Run Dialog
.budgie-run-dialog { .budgie-run-dialog {
@extend %budgie_dialog; @extend %budgie_dialog;
background-color: $base_color; background-color: $base_color;
entry.search { entry.search {
+15 -17
View File
@@ -412,17 +412,17 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
padding: 2px; padding: 2px;
background-color: $selected_bg_color; background-color: $selected_bg_color;
color: $selected_fg_color; color: $selected_fg_color;
border-radius: $wm_radius - 6px; border-radius: $wm_radius - $container_padding;
margin: 6px; margin: $container_padding;
box-shadow: $shadow_5; box-shadow: $shadow_5;
button { button {
border: none; border: none;
border-radius: 100px; border-radius: $circular_radius;
min-height: 0; min-height: 0;
min-width: 0; min-width: 0;
padding: 0; padding: 0;
margin-right: 6px; margin-right: $container_padding;
-gtk-icon-shadow: none; -gtk-icon-shadow: none;
@extend %selected-button; @extend %selected-button;
} }
@@ -608,11 +608,6 @@ terminal-window {
border-radius: $wm_radius $wm_radius 0 0; border-radius: $wm_radius $wm_radius 0 0;
} }
notebook {
// button.flat.toggle.popup {
// }
}
&.background.csd.maximized { border-radius: 0; } // Fixed gnome 3.32 issue: Unable to restore window size after maximization &.background.csd.maximized { border-radius: 0; } // Fixed gnome 3.32 issue: Unable to restore window size after maximization
} }
@@ -1395,7 +1390,11 @@ window.background.csd {
&, &,
> stack, > stack,
> stack > box.vertical { > stack > box.vertical {
> list > row.activatable { @extend %sidebar_row; } > list {
padding: 2px 0;
> row.activatable { @extend %sidebar_row; }
}
} }
} }
} }
@@ -1840,13 +1839,6 @@ notebook > box > stack > box.vertical > paned.vertical > overlay {
> .floating-bar { color: rgba($fg_color, 0.75); } > .floating-bar { color: rgba($fg_color, 0.75); }
} }
.background:not(.csd) > box.vertical > headerbar {
// conflicts with .primary-toolbar styling?
.linked > button.image-button { // = 'back/forward' button
}
}
// overrides foregrounds for 3.24's ssd-mode // overrides foregrounds for 3.24's ssd-mode
.background headerbar entry { .background headerbar entry {
&.starred, &.starred,
@@ -2957,6 +2949,12 @@ window.background.csd {
} }
} }
.app-notification.boxes-toast {
> button.circular.flat {
padding: 2px;
}
}
// //
// Dialogs // Dialogs
// //
+275 -33
View File
@@ -1,53 +1,157 @@
//
// Extensions
//
window.background.csd {
> stack, // GameMode setting
> stack > scrolledwindow > viewport > box, // User Themes (Workspace) setting
> box > stack > scrolledwindow > viewport > box {
> list {
@extend %circular_list;
row.activatable { @extend %circular_row; } //
} // Nautilus
} //
stack stack stack frame, // ArcMenu setting $nautilus_header_image: image($header_bg);
> stack > stack > box > frame, // Night Theme Switcher setting $nautilus_header_borders_image: image($header_border);
> stack > stack > box > box > frame, // Night Theme Switcher setting bottom lists $nautilus_borders_color: if($variant=='light', darken(rgba($dark_sidebar_bg, 1), 12%), $header_border);
> stack > box > stack > box > frame, // ArcMenu setting $flap_sidebar_size: 240px;
> stack > box > stack > scrolledwindow > viewport frame, // ArcMenu setting
> stack > box > stack > box > scrolledwindow > viewport > frame, // ArcMenu setting @if $nautilus_style == 'stable' {
> stack > grid > scrolledwindow > viewport > box > frame { // GSConnect setting $nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg $flap_sidebar_size,
> border { border: none; } $nautilus_borders_color $flap_sidebar_size,
$nautilus_borders_color ($flap_sidebar_size + 1px),
$base_color ($flap_sidebar_size + 1px));
$nautilus_header_borders_image: linear-gradient(90deg, transparent $flap_sidebar_size,
$header_border $flap_sidebar_size);
}
@if $nautilus_style == 'glassy' {
$nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg ($flap_sidebar_size / 2),
$dark_header_bg 40%);
$nautilus_header_borders_image: linear-gradient(90deg, rgba($header_border, 0) (($flap_sidebar_size / 2) - 40px),
$header_border 40%);
}
.nautilus-window {
@if $nautilus_style == 'stable' or $nautilus_style == 'glassy' {
&.background.csd {
background-color: transparent;
headerbar {
background-color: transparent;
border: none; border: none;
background-image: $nautilus_header_image;
> list { border-image: $nautilus_header_borders_image 0 0 1 / 0px 0px 1px stretch;
@extend %circular_list; }
row.activatable { @extend %circular_row; }
} }
} }
> stack > box > box > list, @if $nautilus_style == 'stable' {
> stack > box > stack > scrolledwindow > viewport > list { // ArcMenu setting sidebar headerbar {
border-bottom-left-radius: $wm_radius; box.start > box {
margin-left: 144px;
}
}
} }
&.maximized, &.tiled, &.fullscreen { flap.unfolded {
> stack > box > box > list, > placessidebar.background {
> stack > box > stack > scrolledwindow > viewport > list { // ArcMenu setting sidebar background: none;
border-bottom-left-radius: $maximized_radius;
list.navigation-sidebar {
background-color: $dark_sidebar_bg;
}
}
> separator.horizontal {
background-color: $header_border;
}
}
flap.folded {
> placessidebar {
border-right: 1px solid $header_border;
}
}
// Floating Bar
.floating-bar {
padding: 2px;
background-color: $selected_bg_color;
color: $selected_fg_color;
border-radius: $wm_radius - $container_padding;
margin: $container_padding;
box-shadow: $shadow_5;
> button.circular.flat {
border-radius: $circular_radius;
min-height: 24px;
min-width: 24px;
padding: 0;
-gtk-icon-shadow: none;
@extend %selected-button;
} }
} }
} }
#NautilusViewCell {
clamp box {
margin: 0;
border-spacing: 0;
}
}
#NautilusQueryEditor { // search entry
padding: 1px $container_padding;
> box { margin: 0; }
#NautilusQueryEditorTag {
@extend .entry-tag;
> button {
margin: 0;
}
}
> menubutton > button {
min-width: 16px;
min-height: 16px;
margin: 0;
-gtk-icon-size: 12px;
padding: 0 4px;
}
> text, > image { margin: 0; }
}
#NautilusPathBar {
background-color: $fill_color;
border-radius: $bt_radius;
margin: $container_padding 0 $container_padding $container_padding;
#NautilusPathButton {
margin: 0 $container_padding / 2;
border-radius: $bt_radius;
&.current-dir {
color: $header_fg;
&:hover, &:active {
background: none;
box-shadow: none;
}
}
&:first-child { margin-left: 0; }
}
> menubutton {
margin-top: 0;
margin-bottom: 0;
}
}
// Extensions
window.nightthemeswitcher headerbar { window.nightthemeswitcher headerbar {
background: $header_bg; background: $header_bg;
color: $header_fg; color: $header_fg;
} }
// //
// Gnome Control Center // Gnome Control Center
// //
@@ -86,3 +190,141 @@ window.background.csd {
} }
} }
} }
//
// Gnome Calendar / Gnome Contacts
//
window.background {
> contents > toastoverlay > leaflet {
> box {
background-color: $base_color;
> headerbar {
&, &:backdrop {
background: none;
border: none;
}
}
+ separator {
@extend %side_separator;
+ box {
background-color: $dark_sidebar_bg;
}
}
> .view, list:not(.boxed-list) {
background-color: transparent;
}
list > row textview {
padding: $container_padding;
border-left: 1px solid $borders_color;
&, & > text {
background: none;
}
}
}
.current-week {
background-color: $fill_color;
}
button.circular.day {
border: none;
box-shadow: none;
@extend %flat_button;
}
datechooser navigator > button.flat.pill {
padding: 0 $container_padding * 2;
min-height: $menuitem_size;
min-width: $menuitem_size;
}
}
&.maximized, &.tiled {
> contents > toastoverlay > leaflet {
> box {
> headerbar {
&, &:backdrop {
background: none;
border: none;
}
}
}
}
}
}
menubutton.flat.popup.sources-button {
margin: 0;
> button {
margin: 0;
border-radius: 0;
padding: 0 $container_padding * 2;
.title {
font-size: small;
font-weight: normal;
}
.title, .subtitle {
padding: 2px 0 2px $container_padding;
}
image.calendar-color-image {
-gtk-icon-size: 8px;
}
}
}
// Contacts
.contacts-editor-address {
> entry.flat {
&:not(:last-child) {
box-shadow: inset 0 -1px $borders_color;
}
&:first-child {
border-radius: $bt_radius $bt_radius 0 0;
}
&:last-child {
border-radius: 0 0 $bt_radius $bt_radius;
}
}
}
//
// Calculator
//
.history-view { background-color: $base_color; }
.card {
&.display-container {
border: 1px solid $borders_color;
}
#displayitem {
border-top: 1px solid $borders_color;
}
.small & {
border-radius: 0;
&.forecast-card {
border-width: 1px 0;
}
&.display-container {
border-width: 0 0 1px 0;
}
}
}
+3 -2
View File
@@ -196,13 +196,14 @@ viewswitcher {
&.wide { &.wide {
border-spacing: $container_padding / 2; border-spacing: $container_padding / 2;
button.toggle { margin: 8px 0; } button.toggle {
margin: 8px 0;
}
} }
&.narrow button.toggle { &.narrow button.toggle {
border-radius: 0; border-radius: 0;
margin: 0; margin: 0;
min-height: 0;
} }
button.toggle { button.toggle {
+17 -7
View File
@@ -91,7 +91,7 @@ window.background:not(.csd) {
> radio, > radio,
> check { > check {
padding: 0; padding: 1px;
} }
} }
@@ -449,6 +449,7 @@ window.background.csd {
// //
// Inkscape // Inkscape
// //
toolbar#SubToolBox { toolbar#SubToolBox {
min-height: 36px; min-height: 36px;
@@ -480,6 +481,15 @@ widget#ToolboxCommon {
} }
} }
> #CommandsToolbox {
border-bottom: 1px solid $borders_color;
> toolbar {
background: none;
border: none;
}
}
> toolbar#ToolToolbar { // Left side toolbar > toolbar#ToolToolbar { // Left side toolbar
background-color: $bg_color; background-color: $bg_color;
border-right: 1px solid $borders_color; border-right: 1px solid $borders_color;
@@ -508,14 +518,14 @@ box#SnapToolbox {
} }
box#DesktopStatusBar { box#DesktopStatusBar {
spinbutton, button.combo { spinbutton, button.combo, button.flat {
margin-top: 6px; margin-top: $container_padding * 1.5;
margin-bottom: 6px; margin-bottom: $container_padding * 1.5;
} }
} }
scrolledwindow#DialogNotebook { scrolledwindow#DialogNotebook {
> viewport.frame > notebook.frame { > viewport.frame {
border: 1px solid $borders_color; border: 1px solid $borders_color;
button.close-button { button.close-button {
@@ -547,8 +557,8 @@ grid#CanvasGrid {
dialog.background { dialog.background {
> box.dialog-vbox > filechooser { > box.dialog-vbox > filechooser {
> actionbar > revealer > box > box > box > combobox { > actionbar > revealer > box > box > box > combobox {
margin-top: 24px; margin-top: 28px;
margin-bottom: 24px; margin-bottom: 28px;
} }
} }
} }
+7 -2
View File
@@ -11,7 +11,7 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
color: $fg_color; color: $fg_color;
} }
.xfce4-panel { .xfce4-panel.background {
background-color: $panel_bg; background-color: $panel_bg;
color: $panel_fg; color: $panel_fg;
font-weight: 700; font-weight: 700;
@@ -29,7 +29,7 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
&, &.marching-ants { transition: none; } // unset transitions &, &.marching-ants { transition: none; } // unset transitions
} }
button { button, button.flat {
font-weight: 700; font-weight: 700;
@extend %panel_button; @extend %panel_button;
// -gtk-icon-style: symbolic; // -gtk-icon-style: symbolic;
@@ -50,6 +50,11 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
&#xfce4-notification-plugin { &#xfce4-notification-plugin {
padding: 0 1px; // for 4.12.2 padding: 0 1px; // for 4.12.2
} }
// &#whiskermenu-button {
// &:active, &:checked {
// }
// }
} }
menu { menu {
+16 -10
View File
@@ -23,21 +23,25 @@ usage() {
# Please specify their default value manually, some of them are come from _variables.scss # Please specify their default value manually, some of them are come from _variables.scss
# You also have to check and update them regurally # You also have to check and update them regurally
helpify_title helpify_title
helpify "-f, --firefox" "[default|monterey]" "Install '${THEME_NAME}|Monterey' theme for Firefox and connect it to the current Firefox profiles" "Default is ${THEME_NAME}"
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 "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root" helpify "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root"
helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" ""
helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" ""
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper"
helpify "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme opacity variants" "Default is 'normal'" helpify "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme opacity variants" "Default is 'normal'"
helpify "-c, --color" "[$(IFS='|'; echo "${COLOR_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM and Dash to Dock theme color variants" "Default is 'light'" helpify "-c, --color" "[$(IFS='|'; echo "${COLOR_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM and Dash to Dock theme color variants" "Default is 'light'"
helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme accent color" "Default is BigSur-like theme" helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme accent color" "Default is BigSur-like theme"
helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" ""
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper"
helpify "-p, --panel-opacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) theme panel transparency" "Default is 15%" helpify "-p, --panel-opacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) theme panel transparency" "Default is 15%"
helpify "-P, --panel-size" "[$(IFS='|'; echo "${PANEL_SIZE_VARIANTS[*]}")]" "Set '${THEME_NAME}' Gnome shell panel height size" "Default is 32px" helpify "-P, --panel-size" "[$(IFS='|'; echo "${PANEL_SIZE_VARIANTS[*]}")]" "Set '${THEME_NAME}' Gnome shell panel height size" "Default is 32px"
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) 'Activities' icon" "Default is 'standard'" helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) 'Activities' icon" "Default is 'standard'"
helpify "--nord, --nordcolor" "" "Install '${THEME_NAME}' Nord ColorScheme themes" ""
helpify "-f, --firefox" "[default|monterey|alt]" "Install '${THEME_NAME}|Monterey|Alt' theme for Firefox and connect it to the current Firefox profiles" "Default is ${THEME_NAME}"
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 "-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" "" helpify "-r, --remove, --revert" "" "Revert to the original themes, do the opposite things of install and connect" ""
helpify "--silent-mode" "" "Meant for developers: ignore any confirm prompt and params become more strict" "" helpify "--silent-mode" "" "Meant for developers: ignore any confirm prompt and params become more strict" ""
helpify "-h, --help" "" "Show this help" "" helpify "-h, --help" "" "Show this help" ""
@@ -96,7 +100,7 @@ while [[ $# -gt 0 ]]; do
esac esac
done done
if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox && ! has_command firefox-developer-edition; then
prompt -e "'${1}' ERROR: There's no Firefox installed in your system" prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
has_any_error="true" has_any_error="true"
elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then
@@ -153,6 +157,8 @@ while [[ $# -gt 0 ]]; do
no_darken="true"; shift ;; no_darken="true"; shift ;;
-n|--no-blur) -n|--no-blur)
no_blur="true"; shift ;; no_blur="true"; shift ;;
-l|--libadwaita)
libadwaita="true"; shift ;;
# Parameters that require value, single use # Parameters that require value, single use
-b|--background) -b|--background)
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;; check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
@@ -257,7 +263,7 @@ else
fi fi
fi fi
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" ]]; then if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" && "${libadwaita}" == "false" ]]; then
prompt -e "Oops... there's nothing to tweak..." 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: Don't forget to define which component to tweak, e.g. '--gdm'"
prompt -i "HINT: Run ./tweaks.sh -h for help!..."; echo prompt -i "HINT: Run ./tweaks.sh -h for help!..."; echo