Compare commits
4 Commits
645572e70a
...
61bef6d5f5
| Author | SHA1 | Date |
|---|---|---|
|
|
61bef6d5f5 | |
|
|
52e65dbe0d | |
|
|
8b3365a249 | |
|
|
2ceec5b9c0 |
|
|
@ -6,11 +6,9 @@ pikerd = [
|
||||||
|
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
# set custom font + size which will scale entire UI~
|
# set custom font + size which will scale entire UI
|
||||||
# font_size = 16
|
# font_size = 16
|
||||||
# font_size = 32
|
|
||||||
# font_name = 'Monospaced'
|
# font_name = 'Monospaced'
|
||||||
|
|
||||||
# colorscheme = 'default' # UNUSED
|
# colorscheme = 'default' # UNUSED
|
||||||
# graphics.update_throttle = 120 # Hz #PENDING TODO
|
# graphics.update_throttle = 60 # Hz # TODO
|
||||||
|
|
||||||
|
|
|
||||||
20
piker.sh
20
piker.sh
|
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
# macOS wrapper for piker to handle missing XDG_RUNTIME_DIR
|
|
||||||
|
|
||||||
# Set up runtime directory for macOS if not already set
|
|
||||||
if [ -z "$XDG_RUNTIME_DIR" ]; then
|
|
||||||
# Use macOS standard temp directory with user-specific subdirectory
|
|
||||||
export XDG_RUNTIME_DIR="/tmp/piker-runtime-$(id -u)"
|
|
||||||
|
|
||||||
# Create the directory if it doesn't exist
|
|
||||||
if [ ! -d "$XDG_RUNTIME_DIR" ]; then
|
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
|
||||||
# Set proper permissions (only user can access)
|
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Set XDG_RUNTIME_DIR to: $XDG_RUNTIME_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run piker with all passed arguments
|
|
||||||
exec uv run piker "$@"
|
|
||||||
20
pikerd.sh
20
pikerd.sh
|
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
# macOS wrapper for pikerd to handle missing XDG_RUNTIME_DIR
|
|
||||||
|
|
||||||
# Set up runtime directory for macOS if not already set
|
|
||||||
if [ -z "$XDG_RUNTIME_DIR" ]; then
|
|
||||||
# Use macOS standard temp directory with user-specific subdirectory
|
|
||||||
export XDG_RUNTIME_DIR="/tmp/piker-runtime-$(id -u)"
|
|
||||||
|
|
||||||
# Create the directory if it doesn't exist
|
|
||||||
if [ ! -d "$XDG_RUNTIME_DIR" ]; then
|
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
|
||||||
# Set proper permissions (only user can access)
|
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Set XDG_RUNTIME_DIR to: $XDG_RUNTIME_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run pikerd with all passed arguments
|
|
||||||
exec uv run pikerd "$@"
|
|
||||||
Loading…
Reference in New Issue