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

27 lines
566 B

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