Got declarative homebrew working, working on yabai and shkd still
This commit is contained in:
parent
ebb5f51a86
commit
d96d437ed4
5 changed files with 114 additions and 31 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
font-family = Monocraft Nerd Font
|
font-family = Monocraft Nerd Font
|
||||||
background-opacity = 0.8
|
background-opacity = 0.8
|
||||||
|
background-blur = 10
|
||||||
theme = IC Orange PPL
|
theme = IC Orange PPL
|
||||||
|
|
||||||
mouse-hide-while-typing = true
|
mouse-hide-while-typing = true
|
||||||
|
|
@ -21,4 +22,10 @@ keybind = super+a>p=previous_tab
|
||||||
|
|
||||||
keybind = super+r=reload_config
|
keybind = super+r=reload_config
|
||||||
|
|
||||||
|
quick-terminal-position = center
|
||||||
|
quick-terminal-screen = main
|
||||||
|
quick-terminal-animation-duration = 0.2
|
||||||
|
quick-terminal-autohide = true
|
||||||
|
keybind = super+shift+q=toggle_quick_terminal
|
||||||
|
|
||||||
window-save-state = always
|
window-save-state = always
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,41 @@ alt - h : yabai -m window --focus west
|
||||||
alt - j : yabai -m window --focus south
|
alt - j : yabai -m window --focus south
|
||||||
alt - k : yabai -m window --focus north
|
alt - k : yabai -m window --focus north
|
||||||
alt - l : yabai -m window --focus east
|
alt - l : yabai -m window --focus east
|
||||||
|
shift + alt - h : yabai -m window --swap west
|
||||||
|
shift + alt - j : yabai -m window --swap south
|
||||||
|
shift + alt - k : yabai -m window --swap north
|
||||||
|
shift + alt - l : yabai -m window --swap east
|
||||||
|
|
||||||
|
# Workspace navigation
|
||||||
|
alt - q : yabai -m space --focus 1
|
||||||
|
alt - w : yabai -m space --focus 2
|
||||||
|
alt - e : yabai -m space --focus 3
|
||||||
|
alt - r : yabai -m space --focus 4
|
||||||
|
alt - t : yabai -m space --focus 5
|
||||||
|
alt - y : yabai -m space --focus 6
|
||||||
|
alt - u : yabai -m space --focus 7
|
||||||
|
alt - i : yabai -m space --focus 8
|
||||||
|
alt - o : yabai -m space --focus 9
|
||||||
|
alt - p : yabai -m space --focus 10
|
||||||
|
|
||||||
|
shift + alt - 1 : yabai -m window --space 1
|
||||||
|
shift + alt - 2 : yabai -m window --space 2
|
||||||
|
shift + alt - 3 : yabai -m window --space 3
|
||||||
|
shift + alt - 4 : yabai -m window --space 4
|
||||||
|
shift + alt - 5 : yabai -m window --space 5
|
||||||
|
shift + alt - 6 : yabai -m window --space 6
|
||||||
|
shift + alt - 7 : yabai -m window --space 7
|
||||||
|
shift + alt - 8 : yabai -m window --space 8
|
||||||
|
shift + alt - 9 : yabai -m window --space 9
|
||||||
|
shift + alt - 0 : yabai -m window --space 10
|
||||||
|
|
||||||
|
alt - m : yabai -m window --minimize
|
||||||
|
|
||||||
|
alt - f : yabai -m window --toggle float;\
|
||||||
|
yabai -m window --grid 4:4:1:1:2:2
|
||||||
|
|
||||||
|
shift + alt - f : yabai -m window --focus mouse && \
|
||||||
|
yabai -m window --toggle zoom-fullscreen
|
||||||
|
|
||||||
# Open apps
|
# Open apps
|
||||||
alt - t : open -n -a "ghostty"
|
alt - t : open -n -a "ghostty"
|
||||||
|
|
|
||||||
|
|
@ -9,3 +9,6 @@ yabai -m config window_gap 10
|
||||||
|
|
||||||
yabai -m config mouse_follows_focus on
|
yabai -m config mouse_follows_focus on
|
||||||
yabai -m config mouse_modifier alt
|
yabai -m config mouse_modifier alt
|
||||||
|
|
||||||
|
yabai -m rule --add app="^System Preferences$" manage=off
|
||||||
|
yabai -m rule --add app="^KeePassXC$" manage=off
|
||||||
|
|
|
||||||
27
flake.nix
27
flake.nix
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim # Text editor of choice
|
neovim # Text editor of choice
|
||||||
btop # Resource manager
|
htop # Resource manager
|
||||||
iina # Media player
|
iina # Media player
|
||||||
yabai # Tiling window manager
|
yabai # Tiling window manager
|
||||||
skhd # Hotkey daemon
|
skhd # Hotkey daemon
|
||||||
|
|
@ -37,6 +37,29 @@
|
||||||
# kanata # Keyboard remapping tool
|
# kanata # Keyboard remapping tool
|
||||||
];
|
];
|
||||||
|
|
||||||
|
homebrew = {
|
||||||
|
enable = true;
|
||||||
|
taps = [];
|
||||||
|
brews = [
|
||||||
|
"kanata"
|
||||||
|
"hugo"
|
||||||
|
"mpv"
|
||||||
|
"lua"
|
||||||
|
"luarocks"
|
||||||
|
"guile"
|
||||||
|
"scrcpy"
|
||||||
|
"ffmpeg"
|
||||||
|
];
|
||||||
|
casks = [
|
||||||
|
"font-jetbrains-mono"
|
||||||
|
"font-monocraft-nerd-font"
|
||||||
|
"obsidian"
|
||||||
|
"raycast"
|
||||||
|
"android-platform-tools"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
services.yabai = {
|
services.yabai = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = builtins.readFile ./dotfiles/yabai/yabairc;
|
extraConfig = builtins.readFile ./dotfiles/yabai/yabairc;
|
||||||
|
|
@ -51,8 +74,6 @@
|
||||||
finder.AppleShowAllExtensions = true;
|
finder.AppleShowAllExtensions = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
nix.enable =false;
|
nix.enable =false;
|
||||||
# Necessary for using flakes on this system.
|
# Necessary for using flakes on this system.
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
|
|
|
||||||
73
home.nix
73
home.nix
|
|
@ -1,40 +1,57 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.stateVersion = "25.05"; # Please read the comment before changing.
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
services.mpd = {
|
||||||
irssi
|
enable = true;
|
||||||
];
|
musicDirectory = "/Users/erogers/Music";
|
||||||
|
extraConfig = ''
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
audio_output {
|
||||||
# plain files is through 'home.file'.
|
type "osx"
|
||||||
home.file = {
|
name "Mac Output"
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
}
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
'';
|
||||||
# # symlink to the Nix store copy.
|
};
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
# # You can also set the file content immediately.
|
wget # Tool for retrieving files using HTTP/S and FTP
|
||||||
# ".gradle/gradle.properties".text = ''
|
imagemagick # Image manipulation software suite
|
||||||
# org.gradle.console=verbose
|
gauche # R7RS Scheme scripting engine
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
typst # Modern markup-based typesetting system
|
||||||
# '';
|
rsync # Incremental file transfer utility
|
||||||
|
tmux # Terminal multiplexer
|
||||||
|
btop # Resource monitor
|
||||||
|
irssi # Terminal based IRC client
|
||||||
|
rmpc # TUI music player
|
||||||
|
nicotine-plus # Graphical client for SoulSeek
|
||||||
|
];
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".config/ghostty/config" .source = dotfiles/ghostty/config;
|
||||||
|
".config/kanata/conf.kbd" .source = dotfiles/kanata/conf.kbd;
|
||||||
|
".config/nvim/init.lua" .source = builtins.fetchurl {
|
||||||
|
url = "https://git.luluslly.xyz/lulusilly/dotfiles/raw/branch/master/.config/nvim/init.lua";
|
||||||
|
sha256 = "fc7104ae4957a7ff92375557725daf9872f836645556f7940fdd6366b04386e0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# You can also manage environment variables but you will have to manually
|
|
||||||
# source
|
|
||||||
#
|
|
||||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# /etc/profiles/per-user/davish/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# if you don't want to manage your shell through Home Manager.
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "lulusilly";
|
||||||
|
userEmail = "lunita@puppygirl.onl";
|
||||||
|
aliases = {
|
||||||
|
ci = "commit -m";
|
||||||
|
pu = "push origin main";
|
||||||
|
pm = "push origin master";
|
||||||
|
s = "status";
|
||||||
|
co = "checkout";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue