updated hyprland

This commit is contained in:
serenity-F 2024-11-12 20:39:01 +10:00
parent 5ec05be0a3
commit 9a8f0029ff
No known key found for this signature in database

View file

@ -10,7 +10,12 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.enable = true; systemd = {
enable = true;
variables = [
"--all"
];
};
xwayland.enable = true; xwayland.enable = true;
plugins = [ plugins = [
@ -34,26 +39,24 @@
exec-once = [ exec-once = [
"startup" "startup"
"swww-daemon & sleep 0.1" "swww-daemon & sleep 0.1"
"otd-gui" #"otd-gui"
#"${pkgs.udiskie}/bin/udiskie" #"${pkgs.udiskie}/bin/udiskie"
#"${pkgs.hypridle}/bin/hypridle" #"${pkgs.hypridle}/bin/hypridle"
#"${pkgs.swww}/bin/swww swww init" #"${pkgs.swww}/bin/swww swww init"
#"${pkgs.opentabletdriver}/bin/opentabletdriver otd-daemon" "${pkgs.kitty}/bin/kitty --class floating"
#"${pkgs.opentabletdriver}/bin/opentabletdriver otd-gui" "${pkgs.kitty}/bin/kitty btop"
#"${pkgs.kitty}/bin/kitty"
"${pkgs.kitty}/bin/kitty --class btop btop"
#"${pkgs.kitty}/bin/kitty --class yazi yazi" #"${pkgs.kitty}/bin/kitty --class yazi yazi"
#"${pkgs.steam}/bin/steam" #"${pkgs.steam}/bin/steam"
#"${pkgs.helvum}/bin/helvum" #"${pkgs.helvum}/bin/helvum"
#"${pkgs.spotify}/bin/spotify" #"${pkgs.spotify}/bin/spotify"
#"${pkgs.vesktop}/bin/vesktop" #"${pkgs.vesktop}/bin/vesktop"
"${pkgs.easyeffects}/bin/easyeffects" #"${pkgs.easyeffects}/bin/easyeffects --class floating"
]; ];
bind = [ bind = [
"$shiftMod, RETURN, exec, ${pkgs.wofi}/bin/wofi" "$shiftMod, RETURN, exec, ${pkgs.wofi}/bin/wofi"
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" "$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
"$mod, E, exec, ${pkgs.kitty}/bin/kitty --class yazi yazi" "$mod, E, exec, ${pkgs.kitty}/bin/kitty yazi"
"$mod, B, exec, ${pkgs.firefox}/bin/firefox" "$mod, B, exec, ${pkgs.firefox}/bin/firefox"
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock" "$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock" "$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
@ -72,9 +75,9 @@
"$mod, up, movefocus, u" "$mod, up, movefocus, u"
"$mod, down, movefocus, d" "$mod, down, movefocus, d"
# Screenshots # Screenshots
"$mod, PRINT, exec, screenshot window" "$shiftMod, PRINT, exec, screenshot window"
", PRINT, exec, screenshot monitor" ", PRINT, exec, screenshot monitor"
"$shiftMod, PRINT, exec, screenshot region" "$mod, PRINT, exec, screenshot region"
"ALT, PRINT, exec, screenshot region swappy" "ALT, PRINT, exec, screenshot region swappy"
# Night Shift # Night Shift
"$mod, F2, exec, night-shift-off" "$mod, F2, exec, night-shift-off"
@ -105,17 +108,24 @@
]; ];
env = [ env = [
"XDG_SESSION_TYPE,wayland"
"XDG_CURRENT_DESKTOP,Hyprland" "XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_TYPE,wayland" "XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland" "XDG_SESSION_DESKTOP,Hyprland"
"GDK_BACKEND,wayland,x11,*"
"NIXOS_OZONE_WL,1" # disable if you(g.)'re having issues w/ firefox
"OZONE_PLATFORM,wayland"
"SDL_VIDEODRIVER,wayland"
"WLR_RENDERER_ALLOW_SOFTWARE,1"
"QT_AUTO_SCREEN_SCALE_FACTOR,1" "QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM,wayland" "QT_QPA_PLATFORM,wayland;xcb"
"QT_QPA_PLATFORMTHEME,qt6ct"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1" "QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"QT_QPA_PLATFORMTHEME,qt6ct"
"GTK_THEME,adwaita-dark" "GTK_THEME,adwaita-dark"
#"HYPRCURSOR_THEME,rose-pine" #"HYPRCURSOR_THEME,rose-pine"
#"HYPRCURSOR_SIZE,16" #"HYPRCURSOR_SIZE,16"
#"XCURSOR_THEME,rose-pine"
#"XCURSOR_SIZE,16"
"NIXPKGS_ALLOW_UNFREE,1"
]; ];
general = { general = {