mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
21 lines
611 B
Bash
Executable File
21 lines
611 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Set Hyprland, Hyprlock, Mako, and Walker corners to sharp or round
|
|
# omarchy:args=<sharp|round>
|
|
# omarchy:examples=omarchy style corners round | omarchy style corners sharp
|
|
|
|
if [[ $1 != "sharp" && $1 != "round" ]]; then
|
|
echo "Usage: omarchy-style-corners <sharp|round>"
|
|
exit 1
|
|
fi
|
|
|
|
omarchy-style-corners-hyprland "$1"
|
|
omarchy-style-corners-hyprlock "$1"
|
|
omarchy-style-corners-mako "$1"
|
|
omarchy-style-corners-walker "$1"
|
|
|
|
case $1 in
|
|
sharp) omarchy-notification-send "Sharp corners enabled" -g ;;
|
|
round) omarchy-notification-send "Round corners enabled" -g ;;
|
|
esac
|