updating emacs and trying to use cosmic more
This commit is contained in:
parent
92bd0d99ce
commit
e754192547
11 changed files with 473 additions and 105 deletions
BIN
scripts/buildapp
Executable file
BIN
scripts/buildapp
Executable file
Binary file not shown.
|
@ -2,17 +2,17 @@
|
|||
export MOZ_ENABLE_WAYLAND=1
|
||||
echo $MOZ_ENABLE_WAYLAND
|
||||
|
||||
# Check to see if librewolf is running
|
||||
if [ $(pgrep -c librewolf) -gt 0 ]; then
|
||||
# Check to see if firefox is running
|
||||
if [ $(pgrep -c firefox) -gt 0 ]; then
|
||||
echo "ff running"
|
||||
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
#X11
|
||||
ffrg=$(wmctrl -lx | rg librewolf | awk '{print $1}')
|
||||
ffrg=$(wmctrl -lx | rg firefox | awk '{print $1}')
|
||||
# echo $emacsrg
|
||||
|
||||
if [ -z $ffrg ]; then
|
||||
exec librewolf
|
||||
exec firefox
|
||||
exit
|
||||
else
|
||||
exec wmctrl -ia $ffrg
|
||||
|
@ -21,7 +21,7 @@ if [ $(pgrep -c librewolf) -gt 0 ]; then
|
|||
else
|
||||
if [ "$KDE_FULL_SESSION" = "true" ]; then
|
||||
echo "KDE"
|
||||
exec /home/chris/bin/ww -fa librewolf -c librewolf
|
||||
exec /home/chris/bin/ww -fa firefox -c librewolf
|
||||
exit
|
||||
else
|
||||
# WAYLAND
|
||||
|
@ -35,5 +35,5 @@ if [ $(pgrep -c librewolf) -gt 0 ]; then
|
|||
fi
|
||||
fi
|
||||
else
|
||||
exec librewolf --name "lw"
|
||||
exec firefox --name "lw"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue