mirror of
https://github.com/harivansh-afk/dots.git
synced 2026-04-15 12:03:51 +00:00
stuff
This commit is contained in:
parent
02e0ef96b9
commit
3087f554c7
7 changed files with 205 additions and 4 deletions
BIN
rectangle/Rectangle.plist
Normal file
BIN
rectangle/Rectangle.plist
Normal file
Binary file not shown.
16
rectangle/install.sh
Executable file
16
rectangle/install.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
# Rectangle config - stored in UserDefaults, cannot be stowed
|
||||
# Usage: ./install.sh import settings
|
||||
# ./install.sh export export current settings
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PLIST="$SCRIPT_DIR/Rectangle.plist"
|
||||
|
||||
if [ "$1" = "export" ]; then
|
||||
defaults export com.knollsoft.Rectangle "$PLIST"
|
||||
echo "Exported Rectangle settings to $PLIST"
|
||||
else
|
||||
defaults import com.knollsoft.Rectangle "$PLIST"
|
||||
echo "Imported Rectangle settings from $PLIST"
|
||||
echo "Restart Rectangle for changes to take effect."
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue