mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
11 lines
402 B
Bash
11 lines
402 B
Bash
echo "Move single_window_aspect_ratio from dwindle to layout in user looknfeel.conf"
|
|
|
|
looknfeel="$HOME/.config/hypr/looknfeel.conf"
|
|
|
|
if [[ -f $looknfeel ]] && grep -q 'single_window_aspect_ratio' "$looknfeel"; then
|
|
sed -i \
|
|
-e 's|# https://wiki.hypr.land/Configuring/Dwindle-Layout/|# https://wiki.hypr.land/Configuring/Variables/#layout|' \
|
|
-e 's|^dwindle {|layout {|' \
|
|
"$looknfeel"
|
|
fi
|