Skip to content

This is a shell script where when running it adds a new styling to the Vivaldi browser window buttons, leaving them similar to macOS."This is a mod exclusively for Linux".

License

Notifications You must be signed in to change notification settings

AntonioNarcilio/vivaldi-window-buttons-mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Window Buttons Mod for Vivaldi Browser

This is a shell script where when running it adds a new styling to the Vivaldi browser window buttons, leaving them similar to macOS."This is a mod exclusively for Linux".


GitHub repo size licença GitHub last commit

Português Brasileiro 🇧🇷


🚧 Dependencies

For the installation process to run as expected, you must first have the following dependency installed on your machine (PC / Computer) 👇.

Where is it used?
Used in pop-up notifications and dialogs such as:

Get superuser/administrator password (only used in installation file).

Show messages (pop-up) containing information about the installation process.

How to install ?

First, make sure you have kdialog installed on your machine (if you prefer, the install.sh file does this check for you).

kdialog --version

💡 If returning something other than kdialog <version_number> is a sign that you don't have this dependency installed on your machine, if this is exactly your situation, continue with the brief installation process below.

Briefly, run the following command in the terminal to install the dependency:

Distros Debian
sudo apt update && sudo apt install kdialog -y
Distro Arch Linux
sudo pacman -Sy kdialog

💡 For more, click on the name kdialog (in blue) there at the beginning of the thread; where you will be redirected to the app's official page.


👍 Recomendations

If you prefer, you can modify your browser's appearance settings, making it more visually friendly. Just follow the step by step in this 👉 video 🎬.

🚀 Install

Installation is very simple, just run the install script (`install.sh`) and it will do the rest for you, but pay attention to the initial setup 👇.

Initial setting

Before running the installation file install.sh, you need permission to run it. There are two ways to go about this process.
  1. Via dolphin file manager (graphical interface): Right-click the install.sh file and select properties > permissions and check the is executable box.

    is-executable

  2. Via command line (terminal):

    chmod +x ./INSTALL.sh

How to use?

There are also two ways to run the script:
  1. Via dolphin file manager (graphical interface): Double-click the install.sh file.

    run-script

  2. Via command line (terminal):

    ./INSTALL.sh

After running the install.sh file, a dialog box asking for the superuser / administrator password will appear, pass the password to proceed with the installation process.

user-password

The script will check if all dependencies are installed, if the return is positive it will continue with the installation process, at the end of the process if everything goes as expected, a pop-up will appear informing you that the installation was successful. Otherwise, a message (pop-up) will appear informing you of the error found.

successfully-installed

What does this script do ?

This script is to automate the "installation" process of the thumbnail generator

Where will these files be copied to?

The following files will be copied to their respective directories:

usr > share > pixmaps

.
└── icons
   ├── an-alert.svg
   └── an-effects.svg

usr > bin

.
└──  vivaldi_buttons_mod

opt > vivaldi > resources > vivaldi > style

.
└──  buttons_macos.css


🤔 How to use ?

After following all the steps described above, it's time to run the script that will add a new style to Vivaldi window buttons. The only way to do this is through the terminal, using the command described below 👇.
sudo vivaldi_buttons_mod

⚠️ The script must be run as super user/administrator, otherwise it will return an error.

command-line-generate-thumbnails

What does this script do ?

There is a CSS file available in the directory/folder where the Vivaldi browser is normally installed (usually in opt/vivaldi) called 'common.css' which contains certain styles used in the ​​browser interface, what this script will do is add a new style to the end of this 'common.css' file, causing the original style to be 'replaced', leading to the expected result.

⚠️ When updating the browser to a newer version, you will have to rerun the script as the update causes the common.css file to be also updated, thus causing the previously added styling to be undone.


🥳 Expected result

gif


📜 License

This project is under license MIT



created with ❤️ by @antonionarcilio

About

This is a shell script where when running it adds a new styling to the Vivaldi browser window buttons, leaving them similar to macOS."This is a mod exclusively for Linux".

Topics

Resources

License

Stars

Watchers

Forks

Languages