diff --git a/home/dots/hyprland/hyprland.conf b/home/dots/hyprland/hyprland.conf index 472bd2d..28e575a 100644 --- a/home/dots/hyprland/hyprland.conf +++ b/home/dots/hyprland/hyprland.conf @@ -122,7 +122,7 @@ bind=SUPER,minus,togglespecialworkspace bind=SUPER_SHIFT,minus,movetoworkspace,special bind=SUPER_SHIFT,S,exec,grim -g "$(slurp)" -t png -o "$HOME/Pictures/$(date +%F_%H-%m-%S).png" && notify-send "Screenshot taken." -bind=SUPER_SHIFT_CTRL,S,exec,if [[ $(pgrep wf-recorder; echo $?) -eq 0 ]]; then wf-recorder -a -f "$HOME/Videos/recording_$(date +%F_%H-%m-%S).mp4" & notify-send "Recording desktop.."; else pkill wf-recorder && notify-send "Recording complete."; fi +bind=SUPER_SHIFT_CTRL,S,exec,if [[ $(pgrep wf-recorder; echo $?) -eq 1 ]]; then wf-recorder -a -f "$HOME/Videos/recording_$(date +%F_%H-%m-%S).mp4" & notify-send "Recording desktop.."; else pkill wf-recorder && notify-send "Recording complete."; fi bind=SUPER_SHIFT,E,exec,wlogout bind=,XF86AudioMute,exec,swayosd --output-volume mute-toggle bind=,XF86AudioRaiseVolume,exec,swayosd --output-volume raise diff --git a/home/home.nix b/home/home.nix index 2fe2d28..47e1062 100644 --- a/home/home.nix +++ b/home/home.nix @@ -75,6 +75,8 @@ in { enable = true; }; + services.udiskie.enable = true; + wayland.windowManager.hyprland = { enable = true; systemdIntegration = true; diff --git a/system/adrift.nix b/system/adrift.nix index ed83e38..ebbef38 100644 --- a/system/adrift.nix +++ b/system/adrift.nix @@ -8,15 +8,9 @@ modulesPath, ... }: { - nix.settings = { - substituters = ["https://hyprland.cachix.org" ]; - trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; - trusted-users = [ "root" "bolt" ] - }; imports = [ ./configuration.nix - inputs.hyprland.nixosModules.default ]; boot.kernelParams = [ @@ -61,6 +55,7 @@ services.tlp.enable = true; environment.sessionVariables = rec { + ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=5"; EDITOR = "hx"; }; @@ -72,14 +67,6 @@ }; }; - programs.hyprland = { - enable = true; - xwayland = { - enable = true; - hidpi = false; - }; - nvidiaPatches = true; - }; services.xserver.videoDrivers = ["i915"]; programs.xwayland.enable = true; diff --git a/system/configuration.nix b/system/configuration.nix index d8abcdb..6cb0a4c 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -82,6 +82,8 @@ services.xserver.libinput.enable = true; services.xserver.displayManager.lightdm.enable = false; # gets installed by default.. + services.udisks2.enable = true; + programs.hyprland = { enable = true; xwayland = { @@ -204,6 +206,7 @@ cachix alejandra + ]; programs.nix-index-database.comma.enable = true;