From 72b451aec5f1e1884bcc14a64c35feaa9f0b071d Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 23 Mar 2024 10:04:23 -0500 Subject: [PATCH] Fixes for personal profile rename to default --- user/wm/hyprland/hyprland.nix | 2 +- user/wm/hyprland/hyprprofiles/hyprprofiles.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index bc2d8e6..782f43d 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -29,7 +29,7 @@ exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY exec-once = hyprctl setcursor '' + config.gtk.cursorTheme.name + " " + builtins.toString config.gtk.cursorTheme.size + '' - exec-once = hyprprofile Personal + exec-once = hyprprofile Default exec-once = pypr exec-once = ydotoold diff --git a/user/wm/hyprland/hyprprofiles/hyprprofiles.nix b/user/wm/hyprland/hyprprofiles/hyprprofiles.nix index a3ddfc2..5a36b7f 100644 --- a/user/wm/hyprland/hyprprofiles/hyprprofiles.nix +++ b/user/wm/hyprland/hyprprofiles/hyprprofiles.nix @@ -13,7 +13,7 @@ in prevprofile="$(cat ~/.hyprprofile)" newprofile=$1 if [ $# -eq 1 ]; then - if [ $newprofile = "Personal" ]; then + if [ $newprofile = "Default" ]; then echo "" > ~/.hyprprofile; else echo $newprofile > ~/.hyprprofile;