Disable BSPWM + add Gnome as a fallback

This commit is contained in:
Filippo Berto 2024-01-12 09:47:50 +01:00
parent f5f264101d
commit 2160abac77
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 11 additions and 6 deletions

View file

@ -12,6 +12,12 @@
# wayland.windowManager.hyprland = { };
systemd.user.targets."hyprland-login".Unit = {
Description = "User Graphical Login";
Requires = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
xdg.configFile."hypr/hyprland.conf".text =
let
strPalette = pkgs.lib.nix-rice.palette.toRgbaShortHex pkgs.rice.colorPalette;
@ -49,7 +55,7 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = ${if nixosConfig.networking.hostName == "thor" then "xrandr --output DP-2 --primary" else "true"} & waybar & swww init & blueman-applet & nm-applet & systemctl --user restart swayidle wl-update-background easyeffects kdeconnect kdeconnect-indicator # & firefox
exec-once = ${if nixosConfig.networking.hostName == "thor" then "xrandr --output DP-2 --primary" else "true"} & waybar & swww init & systemctl --user start hyprland-login
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf