Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/carnivuth/scripts

random system automation scripts and software configurations for DE customization
https://github.com/carnivuth/scripts

bash bash-script bluetooth bluetoothctl borg borg-backup borgbackup network networkmanager networkmanager-rofi obsidian rofi rofi-scripts systemd systemd-timer systemd-unit wofi

Last synced: 2 days ago
JSON representation

random system automation scripts and software configurations for DE customization

Awesome Lists containing this project

README

        

# SCRIPTS

personal dotfiles (wayland configuration) + some usefull scripts and tools for everyday use

## INSTALLATION

to install :

- clone the repository

```bash
git clone https://github.com/carnivuth/scripts "$HOME/scripts"
```

- copy default configurations

```
# SOURCE SAMPLE FILE TO import default configs
echo 'source $HOME/.config/scripts/settings.sh.sample' > $HOME/scripts/etc/.config/settings.sh
cat $HOME/scripts/etc/.config/settings.sh.sample >> $HOME/scripts/etc/.config/settings.sh
```

- run the installation script (**arch linux only**)

```
cd $HOME/scripts.sh && ./scripts.sh
```

### HOW IT WORKS

this will install dependencies and link the dotfiles under the right folder using [stow](https://www.gnu.org/software/stow/), for reference

```mermaid
flowchart LR
A[etc] --> E[~/.config]
B[bin] --> F[~/.local/bin]
C[lib] --> G[~/.local/lib]
D[systemd] --> H[~/.config/systemd/user]
```

In order to add aliases and set path the following line is added to `~/.bashrc`

```bash
source $HOME/.config/scripts/bash_integration.sh
```

### FIREFOX

In order to configure firefox additional steps are required

- enable this firefox options inside `about:config` section

```
toolkit.legacyUserProfileCustomizations.stylesheets
layers.acceleration.force-enabled
gfx.webrender.all
gfx.webrender.enabled
layout.css.backdrop-filter.enabled
svg.context-properties.content.enabled
```

- link firefox configuration file to the profile directory

```bash
mkdir -p ~/.mozzilla/firefox//chrome
ln -sf firefox/userChrome.css ~/.mozzilla/firefox//chrome
```

- install sidebery extension end import `firefox/sidebary.json`

## CONFIGURATION

configuration is done in the `$HOME/.config/settings.sh` file, see the `.sample` (version for reference) all binaries load the configuration file and use the setted variables

## SUPPORTED SYSTEMS

the repo is tested on arch linux, it should work on other distros if you install the dependencies listed in the `./scripts.sh` script