firefox launch terminal application

This commit is contained in:
h 2025-09-28 19:32:49 -04:00
parent 3055a45a65
commit f947d8e9cc
4 changed files with 9 additions and 2 deletions

View File

@ -56,3 +56,4 @@ x-scheme-handler/rldb=wine-protocol-rldb.desktop;
x-scheme-handler/spotify=spotify.desktop;
x-scheme-handler/steam=steam.desktop;
x-scheme-handler/steamlink=steam.desktop;
x-scheme-handler/zotero=zotero.desktop;

View File

@ -4,7 +4,7 @@ Name=ranger
Comment=Launches the ranger file manager
Icon=utilities-terminal
Terminal=false
Exec=kitty -e ranger
Exec=source /home/emh/.zshenv && kitty -c $XDG_CONFIG_HOME/kitty/kitty.conf -e ranger %F
Categories=ConsoleOnly;System;FileTools;FileManager
MimeType=inode/directory;
Keywords=File;Manager;Browser;Explorer;Launcher;Vi;Vim;Python

View File

@ -5,6 +5,6 @@
# smooth scrolling
# touchscreen scrolling
# https://askubuntu.com/questions/853910/how-to-enable-touchscreen-scrolling-in-firefox/994483#994483
source /home/emh/.zshenv && source /home/emh/.config/zsh/.zshrc
HOME=$MOZILLA_HOME
env MOZ_USE_XINPUT2=1 /usr/bin/firefox "$@"

6
scripts/rxvt Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
V="HOME=/home/emh source /home/emh/.zshenv && HOME=/home/emh source $XDG_CONFIG_HOME/zsh/.zshrc && HOME=/home/emh /usr/bin/kitty -c $XDG_CONFIG_HOME/kitty/kitty.conf "
# echo '$V $@" > abc.log 2>&1 &
OUT="$V$@"
zsh -c "$OUT"