diff --git a/flake.lock b/flake.lock index 3f3c804..a373592 100644 --- a/flake.lock +++ b/flake.lock @@ -113,11 +113,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1739234958, - "narHash": "sha256-ZsjygoxmLW9q9vcq0ZI75dzWJveT8TcRyKo1SXRJD8g=", + "lastModified": 1740140314, + "narHash": "sha256-wMEPJbwzpKJzqxAuthUGqvUDS5g8CFBQLj8rZUjAN38=", "owner": "kylekrein", "repo": "emacs-config", - "rev": "24a73ae1456181d8fd76c19451ddaf1f0c60e29a", + "rev": "b5bce78ba428369f13e67da5731b659a1472baf5", "type": "github" }, "original": { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 81270d0..2e5c97b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -252,7 +252,7 @@ image = "${./modules/hyprland/wallpaper.jpg}"; autoEnable = true; opacity = { - desktop = 0.5; + desktop = 0.0;#0.5; }; targets = { gtk.enable = true; diff --git a/nixos/modules/hyprland/hyprland.nix b/nixos/modules/hyprland/hyprland.nix index 44c2f93..ba64448 100644 --- a/nixos/modules/hyprland/hyprland.nix +++ b/nixos/modules/hyprland/hyprland.nix @@ -44,13 +44,10 @@ in { "${pkgs.networkmanagerapplet}/bin/nm-applet &" "${pkgs.swaynotificationcenter}/bin/swaync &" "${pkgs.solaar}/bin/solaar -w hide &" - #"${pkgs.hypridle}/bin/hypridle &" "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1 &" # https://nixos.wiki/wiki/Polkit "${pkgs.clipse}/bin/clipse -listen &" "${pkgs.swww}/bin/swww-daemon &" "${pkgs.swww}/bin/swww img ${wallpaper-image} &" - #"emacs --daemon &" - #"${pkgs.kando}/bin/kando" ]; exec = [ "${pkgs.swww}/bin/swww img ${wallpaper-image} &" @@ -58,7 +55,7 @@ in { "$mod" = "SUPER"; "$mainMod" = "$mod"; "$terminal" = "${pkgs.kitty}/bin/kitty"; - "$emacs" = "emacsclient -c -a 'emacs'"; + "$emacs" = "emacsclient -c"; "$fileManager" = "$emacs --eval '(dired \"/home/${username}\")'"; # "$terminal ${pkgs.yazi}/bin/yazi"; "$fileManager2" = "${pkgs.kdePackages.dolphin}/bin/dolphin"; "$browser" = "${pkgs.firefox}/bin/firefox"; @@ -132,6 +129,9 @@ in { "$mod, mouse:272, movewindow" "$mod, mouse:273, resizewindow" ]; + misc = { + vfr = true; #lowers the amount of frames when nothing happens + }; input = { kb_layout = "us, ru"; kb_options = "grp:lctrl_toggle, ctrl:nocaps" + (if hwconfig.hostname == "kylekrein-mac" then ", altwin:swap_alt_win" else ""); # "ctrl:nocaps, grp:toggle"