Skip to content

mbugert/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My stuff.

screenshot Link to wallpaper

Notable parts

Setup / Deployment

  • Deployment is automated through Ansible (with exceptions).
  • To support multiple devices, there are device-specific tweaks that are also deployed automatically: setup.sh puts /var/lib/dbus/machine-id into an env var that Ansible picks up to trigger device-specific tasks and config file inclusions.

Steps:

  1. Have Debian/Ubuntu/Mint or Arch/Manjaro, and xfce4 desktop environment
  2. Run:
    git clone https://github.com/mbugert/dotfiles ~/dotfiles
    cd ~/dotfiles
    ./setup.sh
    Options appended to ./setup.sh are passed to ansible-playbook. For example, use ./setup.sh --tags cli for headless systems.
  3. Things like VSCodium, MiKTeX, and Synology Drive need to be set up manually. There are Ansible tasks that print reminders for doing that.

Todo

  • setup:
    • only change/check login shell if necessary
    • install all xfce4 desktop utilities
  • more in-depth tests on Arch/Manjaro

Notable tweaks

Obscure things I need to document for myself.

Focus VSCodium before opening files

By default, if one has VSCodium/VSCode instances open on multiple i3 workspaces and opens a file through thunar, the last VSCodium instance which received focus will open the file, not an instance on the same workspace. This way, files tend to open off-screen for no good reason. Video demonstration here.

This is fixed here by modifying the VSCodium .desktop entry by wrapping it with a script which tries to focus a VSCodium instance on the current workspace before opening a file.

Possibility to use the menu key as i3 mod key

When in a full-screen remote desktop session where the local and remote system use the same i3 config, control over the local system is lost because the remote system eats all i3 $mod+... commands. To resolve this, I like to use the menu key (the one between Alt Gr and right Ctrl) as an alternative mod key for i3. This key cannot be mapped in i3 out of the box (at least when I tried) so a custom keyboard layout definition is necessary, see X11/usr/share/X11/xkb/symbols/mb.

References:

Inspiration

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published