fix: hyprland config apply
This commit is contained in:
@@ -7,8 +7,8 @@ local read_docked = io.popen("cat ~/.config/janishutz/docked") == "true"
|
||||
if read_platform then
|
||||
laptop_config = true
|
||||
end
|
||||
if read_docked then
|
||||
laptop_config = true
|
||||
if read_docked and laptop_config then
|
||||
is_docked = true
|
||||
end
|
||||
|
||||
-- Core
|
||||
|
||||
@@ -30,7 +30,7 @@ if [[ "$confirmation" == "y" ]]; then
|
||||
sudo cp ./system/environment /etc/environment
|
||||
fi
|
||||
|
||||
rm -rf ~/.config/hypr
|
||||
rm -rf ~/.config/hypr/*.conf
|
||||
rm ~/.config/platform
|
||||
rm -rf ~/.config/rofi
|
||||
rm -rf ~/.config/ags
|
||||
@@ -45,3 +45,5 @@ if [[ "$confirmation" == "y" ]]; then
|
||||
else
|
||||
cp -r ~/.config/DankMaterialShell/ ./dms
|
||||
fi
|
||||
|
||||
hyprctl reload
|
||||
|
||||
Reference in New Issue
Block a user