Giter Site home page Giter Site logo

dotfiles's Introduction

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
  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

dotfiles's People

Contributors

mbugert avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.