Start mako with hyprland

Bind laptop lid to reload hyprland config
This commit is contained in:
Evie Litherland-Smith 2023-08-16 08:44:20 +01:00
parent 536659ae74
commit 9f8362d18b
3 changed files with 6 additions and 0 deletions

View file

@ -10,3 +10,6 @@ switch:
test:
sudo nixos-rebuild test --flake .
home:
nix run nixpkgs#home-manager switch --flake .

View file

@ -297,6 +297,7 @@ in {
exec-once = ${pkgs.libsForQt5.polkit-kde-agent}/bin/polkit-kde-authentication-agent-1
exec-once = ${pkgs.waybar}/bin/waybar
exec-once = ${pkgs.swww}/bin/swww init && ${pkgs.swww}/bin/swww img ${wallpapers.outputs.default}
exec-once = ${pkgs.mako}/bin/mako
'';
};
xdg.configFile."hypr/macchiato.conf".text = ''

View file

@ -195,5 +195,7 @@ in {
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3200x0,1,transform,1
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
bindl=,switch:Lid Switch,exec,hyprctl reload
'';
}