Fixes for personal profile rename to default
This commit is contained in:
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user