Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/VandalByte/dedsec-grub2-theme

DedSec GRUB Theme πŸ’€πŸ–€
https://github.com/VandalByte/dedsec-grub2-theme

dedsec grub grub-theme grub-themes grub2 grub2-theme watchdogs

Last synced: 3 months ago
JSON representation

DedSec GRUB Theme πŸ’€πŸ–€

Awesome Lists containing this project

README

        


banner



license


license


license

### πŸ“’ [Project moved to GitLab](https://gitlab.com/VandalByte/darkmatter-grub-theme)


This project has been moved to GitLab. Any future development will take place there. However, you can report issues / bugs via GitLab or GitHub

### βœ”οΈ Installation

```fish
git clone --depth 1 https://gitlab.com/VandalByte/dedsec-grub-theme.git && cd dedsec-grub-theme
sudo python3 dedsec-theme.py --install
```

### βœ”οΈ Manual Installation

Debian πŸ’€ Ubuntu πŸ’€ Arch

#### 1️⃣ Download your favourite version of the theme from [**Pling**](https://www.pling.com/p/1569525/).

Now extract your downloaded .zip file.

Either manually extract it or use the command below. ( *Here I'm using 'brainwash' version of my theme as an example* )
```fish
unzip dedsec-brainwash-1080p.zip
```
*The rest of the commands are the same for all the theme styles.*

#### 2️⃣ Copy the theme directory.
```fish
sudo cp -r dedsec /boot/grub/themes/
```
#### 3️⃣ Make changes to the GRUB config file.

```fish
sudo nano /etc/default/grub
```
Find the line `GRUB_THEME=` then change it to `GRUB_THEME="/boot/grub/themes/dedsec/theme.txt"`

Then save the file.

#### 4️⃣ Finally, update the grub.
```fish
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
Now the theme should be installed successfully, enjoy !!

Fedora πŸ’€ Redhat

#### 1️⃣ Download your favourite version of the theme from [**Pling**](https://www.pling.com/p/1569525).

Now extract your downloaded .zip file.

Either manually extract it or use the command below. ( *Here I'm using 'brainwash' version of my theme as an example* )
```fish
unzip dedsec-brainwash-1080p.zip
```
*The rest of the commands are the same for all the theme styles.*

#### 2️⃣ Copy the theme directory.
```fish
sudo cp -r dedsec /boot/grub2/themes/dedsec
```
#### 3️⃣ Make changes to the GRUB config file.

```fish
sudo nano /etc/default/grub
```
Find the line `GRUB_THEME=` then change it to `GRUB_THEME="/boot/grub2/themes/dedsec/theme.txt"`

Change the line `GRUB_TERMINAL_OUTPUT=console` to this *(comment it out)* `#GRUB_TERMINAL_OUTPUT=console`

Then save the file.

#### 4️⃣ Finally, update the grub.
```fish
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
```
Now restart your computer the grub theme should be installed successfully, enjoy !!

NixOS

#### 1️⃣ Add dedsec-grub-theme to your flake as nixos module

```nix
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;

dedsec-grub-theme = {
url = gitlab:VandalByte/dedsec-grub-theme;
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = { self, nixpkgs, dedsec-grub-theme }: {
nixosConfigurations.mysystem = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
dedsec-grub-theme.nixosModule
./path/to/your/configuration.nix
];
};
};
}
```

#### 2️⃣ Enable and configure grub theme

```nix
boot = {
# Use the GRUB 2 boot loader.
loader.grub = {
enable = true;
version = 2;

dedsec-theme = {
enable = true;
style = "sitedown";
icon = "color";
resolution = "1080p";
};
};
};
```
#### 3️⃣ Save changes and rebuild your nixos

```fish
sudo nixos-rebuild boot --flake .#mysystem
```

Now the theme should be installed successfully, enjoy !!

### ❌ Uninstallation
```fish
sudo python3 dedsec-theme.py --uninstall
```
**With a little effort the theme's text colours, progress bar colours, progress bar text, and so on can all be customised in `theme.txt` to your liking πŸ’•**


Please consider πŸ€— giving this project a star ⭐ if you liked it


To stay up to date on all future updates, follow me on πŸ’¬ Github, πŸ’¬ GitLab or πŸ’¬ Twitter

## πŸ“Έ Preview

| | | |
|:-------:|:-------:|:---------:|
|![Compact](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-compact.png)|![HackerDen](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-hackerden.png)|![Legion](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-legion.png)|
|**Compact**|**HackerDen**|**Legion**|
|![Wrench](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-wrench.png)|![Unite](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-unite.png)|![Mashup](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-mashup.png)|
|**Wrench**|**Unite**|**Mashup**|
|![SiteDown](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-sitedown.png)|![Trolls](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-trolls.png)|![Comments](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-comments.png)|
|**SiteDown**|**Trolls**|**Comments**|
|![Fuckery](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-fuckery.png)|![Tremor](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-tremor.png)|![Reaper](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-reaper.png)|
|**Fuckery**|**Tremor**|**Reaper**|
|![Stalker](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-stalker.png)|![Brainwash](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-brainwash.png)|![LoveTrap](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-lovetrap.png)|
|**Stalker**|**Brainwash**|**LoveTrap**|
|![Spyware](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-spyware.png)|![Spam](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-spam.png)|![RedSkull](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-redskull.png)|
|**Spyware**|**Spam**|**RedSkull**|
|![Strike](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-strike.png)|![Firewall](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-firewall.png)|![WannaCry](https://raw.githubusercontent.com/VandalByte/dedsec-grub2-theme/main/media/previews/preview-wannacry.png)|
|**Strike**|**Firewall**|**WannaCry**|