mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Fixes for personal profile rename to default
This commit is contained in:
parent
c3ffed0755
commit
72b451aec5
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue