Skip to content

InfiniteSynthesis/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-dotfiles

Dependencies

Here is the complete list of dependencies.

Installation

Warning

There is NO backup system. This installation instruction is for clean install only. Use at your own risk.

  1. Install git, zsh and a nerd font (e.g., MesloLGS NF).

  2. Download this repository in $HOME/Workspace and initialize submodules.

    cd ~
    mkdir -p Workspace && cd Workspace
    git clone https://github.com/InfiniteSynthesis/dotfiles.git
    cd dotfiles
    git submodule update --init --recursive
  3. Setup git user information by copying git/user-config.exmaple and renaming it as git/user-config. Update email, name and signingkey if needed.

  4. Run package installation script ./install.sh.

  5. Set zsh as default shell and relaunch terminal. Then setup powerlevel10k theme.

    chsh -s $(which zsh)
  6. Install nvm, node, npm and yarn.

  7. Install vim-plug and the plugins.

    vim -S $DOTFILES/nvim/plug-snapshot

Optionall Installation

  • Run optional package installation script in install/package. This will install qbittorrent-nox, sigil and virtualbox.

  • Install Anime4K shaders for mpv.

  • Set qbittorrent-nox as a system service (official wiki).

    1. Create a new file, /etc/systemd/system/qbittorrent.service.

      sudoedit /etc/systemd/system/qbittorrent.service
    2. Save the file with the following contents or similar. Replace qbtuser if needed.

      [Unit]
      Description=qBittorrent-nox service
      Documentation=man:qbittorrent-nox(1)
      Wants=network-online.target
      After=network-online.target nss-lookup.target
      
      [Service]
      # if you have systemd < 240 (Ubuntu 18.10 and earlier, for example), you probably want to use Type=simple instead
      Type=exec
      # change user as needed
      User=qbtuser
      # The -d flag should not be used in this setup
      ExecStart=/usr/bin/qbittorrent-nox
      # uncomment this for versions of qBittorrent < 4.2.0 to set the maximum number of open files to unlimited
      #LimitNOFILE=infinity
      # uncomment this to use "Network interface" and/or "Optional IP address to bind to" options
      # without this binding will fail and qBittorrent's traffic will go through the default route
      # AmbientCapabilities=CAP_NET_RAW
      # Environment="DBUS_SESSION_BUS_ADDRESS={RESULT OF ECHO DBUS_SESSION_BUS_ADDRESS}"
      
      [Install]
      WantedBy=multi-user.target
      
    3. Enable it to start up on boot sudo systemctl enable qbittorrent.

  • Set qbittorrent-nox Web UI as VueTorrent. In "Settings - WebUI", tick "Use alternative WebUI" and set "File location" as $DOTFILES/qbittorrent/VueTorrent (Absolute path is needed).

  • Enable system notification when a task is finished in qbittorrent-nox.

    1. Uncomment Environment="DBUS_SESSION_BUS_ADDRESS={RESULT OF ECHO DBUS_SESSION_BUS_ADDRESS} in /etc/systemd/system/qbittorrent.service and replace the value with echo $DBUS_SESSION_BUS_ADDRESS.

    2. In "Settings - Downloads", tick "Run external program on torrent finished:" and set "Command" as $DOTFILES/qbittorrent/on-completion.sh "%N" (Absolute path is needed).

Feedback

Suggestions / improvements are welcome!