These dotfiles are for macOS. On Linux — which is currently DICE, a flavour of Scientific Linux 7 — I use stuff that is in my Xmonad repo (and more).
Some of this work was inspired by /u/sptz's post on /r/macOS.
Files
Use the following commands (or notes) to apply the files from this repo. Files from this repo are in the dotfiles
folder. Commands assume you are in the home directory.
ln -s dotfiles/skhdrc .skhdrc
ln -s dotfiles/yabairc .yabairc
(->
means it's a symlink)
The simple status bar that ships with yabai is used.
This setting mentioned below is enabled:
The status bar is not intended to be used with the macOS menu bar visible. You can turn on autohiding of the macOS menubar so that it only shows up when you move your cursor to access it: System Preferences -> General -> Automatically hide and show the menu bar.
Maybe we can switch to xmobar
? Maybe I shouldn't, I don't need a reason to have Haskell installed anymore. Cabal is awful — it doesn't support uninstall. Stack is meant for projects. Bye Haskell, I guess.
I use Karabiner (beta) to change some default keybinds
Complex modifications:
left_command
as input, rather than just any command
)ctrl + cmd + q
Simple modifications:
left_command
and left_option
, because my left_command
needs me to press harder (I need to go to the Genius bar!)non_us_backslash
to right_command
. This makes it easier to switch spaces. Resolving #107 should get rid of this.Also, I enabled Manipulate LED
under the Caps Lock LED
column on the "Devices" tab because otherwise the LED stops working.
yabai
using launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"
skhd
using skhd -r
or skhd --reload
I use scoop.
gh
using https://github.com/cli/cli
scoop install msys2
scoop install ag
The difference between and MSYS2 MinGW
/usr/bin/
, /etc
) as well as special devices like /dev/null
, /dev/clipboard
, etc and many other things. The POSIX emulation layer is done inside msys-2.0.dll
and incurs a performance penalty that can be significant for heavy file-centric software (e.g. git
).TL;DR just prefer MinGW.