Add shell abbreviation to start Hyprland session
This commit is contained in:
parent
357da24248
commit
afb64c2c8c
|
@ -17,7 +17,6 @@
|
||||||
home.packages = [pkgs.gcc];
|
home.packages = [pkgs.gcc];
|
||||||
|
|
||||||
programs.zsh.shellAliases.update = "home-manager switch";
|
programs.zsh.shellAliases.update = "home-manager switch";
|
||||||
programs.fish.shellAbbrs.update = "home-manager switch";
|
|
||||||
programs.zsh.envExtra = ''
|
programs.zsh.envExtra = ''
|
||||||
export CC=${pkgs.gcc}/bin/gcc
|
export CC=${pkgs.gcc}/bin/gcc
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
nomachine-client
|
nomachine-client
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
||||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||||
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
||||||
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
||||||
|
|
Loading…
Reference in a new issue