mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
15 lines
481 B
Bash
Executable File
15 lines
481 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CONFIG="$HOME/.config/hypr/foot/foot.ini"
|
|
|
|
if [ "$1" == "-f" ]; then
|
|
foot --app-id='foot-float' --config="$CONFIG"
|
|
elif [ "$1" == "-F" ]; then
|
|
foot --fullscreen --app-id='foot-full' --font="PragmataPro Nerd Font Mono:size=14" --override=pad=35x35 --config="$CONFIG"
|
|
elif [ "$1" == "-s" ]; then
|
|
foot --app-id='foot-float' --config="$CONFIG" \
|
|
--window-size-pixels=$(slurp -b 1B1F28CC -c E06B74ff -s C778DD0D -w 2 -f "%wx%h")
|
|
else
|
|
foot --config="$CONFIG"
|
|
fi
|