[odrbin] add odrfootclient script

forces static foot socket so we don't run into issues with firefox
somehow having a different $WAYLAND_DISPLAY value
This commit is contained in:
odrling 2024-01-31 17:00:31 +01:00
parent 62266c8881
commit 960d601bc0
No known key found for this signature in database
GPG key ID: E24CA7508C27AF5B
3 changed files with 5 additions and 1 deletions

2
.local/odrbin/foot-explorer Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec odrfootclient -D "$(realpath "$1")"

2
.local/odrbin/odrfootclient Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec footclient --server="$XDG_RUNTIME_DIR/foot.sock" "$@"

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Exec=footclient -D %f
Exec=foot-explorer %f
Icon=foot
Terminal=false
Categories=System;TerminalEmulator;