8 lines
308 B
Bash
Executable File
8 lines
308 B
Bash
Executable File
#!/bin/bash
|
|
# execute slurp with -f "%x %y %w %h" and set variables
|
|
read -r X Y W H < <(slurp -f "%x %y %w %h" -b 00000080 -c DB4740)
|
|
# execute kitty with override and disown
|
|
hyprctl dispatch -- exec "[move $X $Y]kitty -o initial_window_width="$W" -o initial_window_height="$H" --class kitty-floating"
|
|
|
|
exit
|