cleanup + tweaks

master
Elias Almqvist 4 months ago
parent 6e44ee5dc9
commit 184e8babc3
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 13
      nix-darwin/home.nix
  2. 5
      nix-darwin/modules/yabai.nix

@ -214,19 +214,8 @@
ccd = "echo $PWD | xcopy"; ccd = "echo $PWD | xcopy";
cr = "cd $(git rev-parse --show-toplevel)"; cr = "cd $(git rev-parse --show-toplevel)";
nd = "nix develop -c $SHELL"; nd = "nix develop -c $SHELL";
ls = "ls --color";
}; };
# initExtra = ''
# # Function to check if we're in a nix-shell
# in_nix_shell() {
# if [ -n "$IN_NIX_SHELL" ]; then
# echo "(devenv) "
# fi
# }
#
# # Set the prompt
# setopt PROMPT_SUBST
# export PS1='$(in_nix_shell)$PS1'
# '';
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
theme = "half-life"; theme = "half-life";

@ -2,7 +2,7 @@
let let
split_ratio = "0.50"; split_ratio = "0.50";
gap_padding = "16"; gap_padding = "0";
in in
{ {
# Create configuration files for yabai and skhd # Create configuration files for yabai and skhd
@ -30,8 +30,9 @@ in
# mouse stuff # mouse stuff
# yabai -m config mouse_follows_focus on # yabai -m config mouse_follows_focus on
# yabai -m config focus_follows_mouse autofocus yabai -m config focus_follows_mouse autofocus
# Move window with mouse
yabai -m config mouse_modifier cmd yabai -m config mouse_modifier cmd
yabai -m config mouse_action1 move yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize yabai -m config mouse_action2 resize

Loading…
Cancel
Save