Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dotfiles/nix-darwin/modules/skhd.nix

26 lines
566 B

{ config, pkgs, ... }:
let
termPath = "/Applications/Ghostty.app";
browserPath = "/Applications/Firefox.app";
in
{
home.file.".skhdrc" = {
executable = true;
text = ''
# Mod1 is alt, Mod4 is cmd
# Terminal
cmd - return : open -n ${termPath}
# dmenu equivalent (you may want to install choose-gui or another launcher)
# cmd - p : open -n /Applications/choose-gui.app
# Start browser
shift + cmd - b : open -n ${browserPath}
# Screenshot selection
cmd - f3 : screencapture -i -c
'';
};
}