resetting a few small things?
This commit is contained in:
parent
54218677ff
commit
f1349e79f1
8 changed files with 40 additions and 34 deletions
|
@ -4,7 +4,7 @@
|
|||
if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||
echo hi
|
||||
|
||||
if [ "$XDG_SESSION_TYPE" == "x11" ]; then
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
#X11
|
||||
emacsrg=$(wmctrl -lx | rg emacs.Emacs | rg -v org-agenda | awk '{print $1}')
|
||||
echo $emacsrg
|
||||
|
@ -17,7 +17,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
|||
exit
|
||||
fi
|
||||
else
|
||||
if [ "$KDE_FULL_SESSION" == "true" ]; then
|
||||
if [ "$KDE_FULL_SESSION" = "true" ]; then
|
||||
exec /home/chris/bin/ww -fa Emacs -c emacsclient
|
||||
exit
|
||||
else
|
||||
|
|
|
@ -41,7 +41,7 @@ abspath () {
|
|||
|
||||
listfiles () {
|
||||
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
||||
'.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z
|
||||
'.*\(jpe?g\|bmp\|png\|gif\|heic\)$' -print0 | sort -z
|
||||
}
|
||||
|
||||
target="$(abspath "$1")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue