Skip to content

Commit

Permalink
cosmetic (touch #2472)
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmz committed Nov 3, 2024
1 parent d08a7ae commit 78b481c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 23 deletions.
18 changes: 10 additions & 8 deletions far2l/bootstrap/notify.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
############################################################
#This script used by FAR to display desktop notifcations
############################################################
#$1= action
#$2= object
############################################################
#For per user customization - create:
################################################################
# This script used by FAR to display desktop notifcations
################################################################
# $1= action
# $2= object
################################################################
# For per user customization - create:
#~/.config/far2l/notify.sh
############################################################
# note that per-user script must do 'exit 0' at the end if
# no need to continue default implementation of main notify.sh
################################################################

action=$1
object=$2
Expand Down
18 changes: 10 additions & 8 deletions far2l/bootstrap/open.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/bin/sh
############################################################
#This script used by FAR to open files by other applications
############################################################
#$1= [exec|dir|other] where:
################################################################
# This script used by FAR to open files by other applications
################################################################
# $1= [exec|dir|other] where:
# exec - execute given command in other terminal
# dir - open given directory with GUI
# other - open given file with GUI
#Other arguments - actual command/file to be executed/opened
############################################################
#For per user customization - create:
# Other arguments - actual command/file to be executed/opened
################################################################
# For per user customization - create:
#~/.config/far2l/open.sh
############################################################
# note that per-user script must do 'exit 0' at the end if
# no need to continue default implementation of main open.sh
################################################################

what=$1
shift
Expand Down
6 changes: 4 additions & 2 deletions far2l/bootstrap/ps.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/sh
############################################################
#This script used by FAR to show processes list
# This script used by FAR to show processes list
############################################################
############################################################
#For per user customization - create:
# For per user customization - create:
#~/.config/far2l/ps.sh
# note that per-user script must do 'exit 0' at the end if
# no need to continue default implementation in main ps.sh
############################################################

if [ -x ~/.config/far2l/ps.sh ]; then
Expand Down
12 changes: 7 additions & 5 deletions far2l/bootstrap/trash.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/sh
##########################################################
#This script used by FAR to move files to Trash
##########################################################
#For per user customization - create:
################################################################
# This script used by FAR to move files to Trash
################################################################
# For per user customization - create:
#~/.config/far2l/trash.sh
##########################################################
# note that per-user script must do 'exit 0' at the end if
# no need to continue default implementation of main trash.sh
################################################################

set -e

Expand Down

1 comment on commit 78b481c

@akruphi
Copy link
Contributor

@akruphi akruphi commented on 78b481c Nov 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be in future in these sh not use hard path ~/.config/far2l/ but send here actual path from InMyConfig("",FALSE).c_str() ?

Please sign in to comment.