{"id":13708089,"url":"https://github.com/carnivuth/scripts","last_synced_at":"2025-04-27T15:34:17.123Z","repository":{"id":74020841,"uuid":"594445492","full_name":"carnivuth/scripts","owner":"carnivuth","description":"system automation scripts, dotfiles, personal tools for everyday use, playground :)","archived":false,"fork":false,"pushed_at":"2025-04-26T22:09:01.000Z","size":19537,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-26T23:19:07.408Z","etag":null,"topics":["bash","bash-script","bluetooth","bluetoothctl","borg","borg-backup","borgbackup","network","networkmanager","networkmanager-rofi","obsidian","rofi","rofi-scripts","systemd","systemd-timer","systemd-unit","wofi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carnivuth.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-28T15:23:14.000Z","updated_at":"2025-04-26T22:09:05.000Z","dependencies_parsed_at":"2023-11-14T21:29:11.323Z","dependency_job_id":"4b86770d-7bab-4731-a1bf-35f94b3e7d7f","html_url":"https://github.com/carnivuth/scripts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carnivuth","download_url":"https://codeload.github.com/carnivuth/scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162896,"owners_count":21545843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","bluetooth","bluetoothctl","borg","borg-backup","borgbackup","network","networkmanager","networkmanager-rofi","obsidian","rofi","rofi-scripts","systemd","systemd-timer","systemd-unit","wofi"],"created_at":"2024-08-02T22:01:55.729Z","updated_at":"2025-04-27T15:34:17.110Z","avatar_url":"https://github.com/carnivuth.png","language":"JavaScript","readme":"# SCRIPTS\n\nPersonal dotfiles (wayland configuration) + some useful scripts and tools for everyday use\n\n## Features\n\nThe repo contains a bunch of scripts and utilities for day to day use, it's almost as a fully desktop environment (at least for my use case 😅)\n\n### Systemd units and timers\n\n- backup script using `borg` and `rsync`\n- github synchronization utility\n- system updates notification daemon\n- battery manager script\n- `newsboat` notification daemon\n- `ntfy` notification client\n- mount volumes with `rclone` utility\n- daemon for weather forecasts\n\n### Menus\n\n- Bluetooth menus\n- clipboard menu\n- github  menus for quick access to github repos and github pages\n- `kanshi` profiles menu\n- application and websites launcher\n- menu for quick connection to networks\n- menu for quick access to obsidian vaults\n- menu for pass password manager\n- power options menu\n- quick browse on `firefox` applet\n- file opener menu\n- steam games launcher\n\n### General command line utilities\n\n- utility for wireguard vpn connection\n- utility for screen recording\n- obsidian vault manager script\n- utilities for cleanup of docker/vagrant/ollama data\n- utility for managing audio/video file conversion and common operations\n- caffeine mode\n- git common utilities\n\n## Installation\n\nTo install:\n\n- clone the repository\n\n```bash\ngit clone https://github.com/carnivuth/scripts \"$HOME/scripts\"\n```\n\n- run the installation script (**arch linux only**)\n\n```\ncd $HOME/scripts \u0026\u0026 ./scripts.sh\n```\n\n### Configure greeter\n\nThe installation scripts install greetd as a login daemon and hyprland and sway as window managers, configuration is done for both the environments (hyprland is more updated since is my default one), to set one of them as default program after login change `/etc/greetd/config.toml` as follows\n\n```toml\n[terminal]\n\nvt = 1\n\n[default_session]\n\n# run hyprland on login\n#command = \"agreety --cmd /bin/Hyprland\"\n\n# run sway on login\n#command = \"agreety --cmd /bin/sway\"\n\n# login with tuigreet\ncommand = \"tuigreet --remember --remember-user-session\"\n\nuser = \"greeter\"\n```\n\nTo unlock the gnome keyring at default set this on the `/etc/pam.d/greetd` file\n\n```\n#%PAM-1.0\n\nauth       required     pam_securetty.so\nauth       requisite    pam_nologin.so\nauth       include      system-local-login\nauth       optional     pam_gnome_keyring.so\naccount    include      system-local-login\nsession    include      system-local-login\nsession    optional     pam_gnome_keyring.so auto_start\n```\n\n### Configure updates\n\nThe installation scripts creates a git hook that runs on merge event and execute the `./scripts.sh` installation script, to avoid input password for pacman configure sudo as follows\n\n```bash\necho \"$USER ALL=(ALL:ALL) NOPASSWD:/bin/pacman\" \u003e \"/etc/sudoers.d/$USER\"\n```\n\n### How it works\n\nThis will install a list of default packages and link the configuration files under the right folder using [stow](https://www.gnu.org/software/stow/), for reference\n\n```mermaid\nflowchart LR\nA[etc] --\u003e E[~/.config]\nB[bin] --\u003e F[~/.local/bin]\nC[lib] --\u003e G[~/.local/lib]\nD[systemd] --\u003e H[~/.config/systemd/user]\n```\n\nIn order to add aliases and set path the following line is added to `~/.bashrc`\n\n```bash\nsource $HOME/.config/scripts/bash_integration.sh\n```\n\n### Firefox\n\nIn order to configure firefox additional steps are required\n\n- enable this firefox options inside `about:config` section\n\n```\ntoolkit.legacyUserProfileCustomizations.stylesheets\nlayers.acceleration.force-enabled\ngfx.webrender.all\ngfx.webrender.enabled\nlayout.css.backdrop-filter.enabled\nsvg.context-properties.content.enabled\n```\n\n- link firefox configuration file to the profile directory\n\n```bash\nmkdir -p ~/.mozilla/firefox/\u003cprofiledir\u003e/chrome\nln -sf firefox/userChrome.css ~/.mozilla/firefox/\u003cprofiledir\u003e/chrome\n```\n\n- install sidebery extension end import `firefox/sidebary.json`\n\n### Thunderbird\n\nIn order to add thunderbird catppuccin theme follow these steps\n\n- clone theme [repo](https://github.com/catppuccin/thunderbird)\n\n```bash\ncd /tmp\ngit clone https://github.com/catppuccin/thunderbird\n```\n\n- install theme from the thunderbird UI\n\n## Configuration\n\nConfiguration is done in the `$HOME/.config/settings.sh` file, see the `.sample` (version for reference)\n\n## Supported systems\n\nThe repo is tested and used on arch linux, it should work on other distros if you install the dependencies listed in the `./scripts.sh` script and manually link dotfiles, testing is done trough the use of a archlinux vagrant box\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarnivuth%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarnivuth%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarnivuth%2Fscripts/lists"}