Skip to content

andreaperin/my-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Setup

Requirements

PowerShell 7

Install PowerShell 7 using the official .msi installer from Microsoft.

Depending on your system configuration, winget may install the Microsoft Store version instead, which can lead to:

Download the latest .msi release from:

https://github.com/PowerShell/PowerShell/releases


Git

Install Git using the official installer from the Git website.

The goal is to keep the installation minimal and avoid additional Git Bash integrations or shell components that are unnecessary for this setup.

During installation:

  • keep the setup minimal
  • avoid extra shell integrations if not needed
  • use PowerShell as the main shell environment

Windows Terminal

Install Windows Terminal using winget:


Oh My Posh

Install Oh My Posh using winget:


Neovim

Install Neovim using winget:

$env:EDITOR = "nvim"


Recommended PowerShell Modules

Terminal-Icons

Install-Module -Name Terminal-Icons -Scope CurrentUser

Nerd Font(s)

oh-my-posh font install

Linux Setup (SolusOS)

Prerequisites

Before installing the dotfiles, make sure the following dependencies are installed on Solus.

Required packages

  • zsh — default shell
  • git — clone and manage the dotfiles repository
  • vim — terminal text editor
  • font-firacode-nerd — Nerd Font used by the terminal prompt and icons
  • ghostty — terminal emulator
  • fzf — fuzzy finder for shell navigation and history
  • zoxide — smarter cd replacement

Install everything with:

sudo eopkg install zsh git vim font-firacode-nerd ghostty fzf zoxide

Set Zsh as the default shell:

chsh -s /usr/bin/zsh

Then reboot.

Recommended Modules

Dashboard

Install dashboard utilities:

sudo eopkg install fastfetch cava
  • fastfetch — system information dashboard
  • cava — terminal audio visualizer

cbonsai

cbonsai is a terminal-based bonsai tree generator written in C using ncurses.

Repository:

https://gitlab.com/jallbrit/cbonsai

Install required dependencies:

sudo eopkg install make ncurses-devel
sudo eopkg install -c system.devel

Clone and install:

git clone https://gitlab.com/jallbrit/cbonsai
cd cbonsai
make
sudo make install

wmctrl

wmctrl is a command-line utility to interact with X11-compatible window managers.

Repository:

https://github.com/Conservatory/wmctrl

Install required dependencies:

sudo eopkg install libx11-devel libxmu-devel glib2-devel
sudo eopkg install -c system.devel

Clone and install:

git clone https://github.com/Conservatory/wmctrl.git
cd wmctrl
./configure
make
sudo make install

Vim default editori

Commands to set default type to be open with vim

After running ./install vim-default.conf.yaml (eventually creating the director ~/.local/bin) chmod +x ~/.local/bin/vim-terminal-texteditor

Reload the shell and test the command vim-terminal-text-editor.

desktop-file-validate ~/.local/share/applications/vim-terminal-texteditor.desktop

Update desktop database and test the new entry

update-desktop-database ~/.local/share/applications
gtk-launch vim-terminal-texteditor

Cleanup previous mimeapp.list and set vim-terminal-texteditor as the new default one for every text-like file

rm -f ~/.config/mimeapps.list
rm -f ~/.local/share/applications/mimeapps.list
for type in \
    text/plain \
    text/x-python \
    text/x-script.python \
    text/x-shellscript \
    text/x-c \
    text/x-c++ \
    text/x-java \
    text/x-rust \
    text/x-go \
    text/x-lua \
    text/x-perl \
    text/x-ruby \
    text/x-php \
    text/x-julia \
    text/x-tex \
    text/markdown \
    text/x-yaml \
    application/x-yaml \
    application/json \
    application/xml
do
    xdg-mime default vim-terminal-texteditor.desktop "$type"
    gio mime "$type" vim-terminal-texteditor.desktop
done

Additional

Add Hedron repository to eopkg

sudo eopkg ar Hedron  https://hedron.friesischscott.de/eopkg-index.xml.xz

zotero, seafile, mattermost, webex, juliaup, vscode

All available via eopkg

keepassxc

enable Browser Integration in Tool/settings

dconfig-editor

fix Ctrl+Alt+T shorcut for Ghostty

Resilio Sync

Install compatibility package

sudo eopkg it libxcrypt-compat

Download the correct .tar.gz package for your architecture from the official page:

https://www.resilio.com/sync/download/


Extract the archive

tar -xf resilio-sync_x64.tar.gz

Move Resilio Sync to a permanent location

mkdir -p ~/.local/share
mv rslsync ~/.local/share/resilio-sync

Create the systemd user service

mkdir -p ~/.config/systemd/user

Create the service file:

nano ~/.config/systemd/user/resilio-sync.service

Paste:

[Unit]
Description=Resilio Sync Service (per-user)
After=network.target

[Service]
Type=simple
ExecStart=/home/YOUR_USERNAME/.local/share/resilio-sync/rslsync --nodaemon
Restart=on-failure

[Install]
WantedBy=default.target

Replace:

YOUR_USERNAME

with your actual Linux username.


Reload systemd

systemctl --user daemon-reload

Enable autostart

systemctl --user enable resilio-sync.service

Start Resilio Sync

systemctl --user start resilio-sync.service

Enable lingering. This allows the user service to start automatically after reboot/login.

sudo loginctl enable-linger YOUR_USERNAME

The Resilio Sync WebUI will be available at:

http://localhost:8888

Personal setup notes

  • Create identity using the existing .bst backup file
  • Link the new device to the existing Resilio Sync network

About

A repo for bootstraping windows (and eventually solus, fedora and arch) with dotfiles for pwsh, windows terminal, vim, latex, git and julia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors