mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 03:33:03 +03:00
feat: upd
This commit is contained in:
parent
cba9ad4f25
commit
1ab81470e4
4 changed files with 27 additions and 1 deletions
|
|
@ -1546,6 +1546,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
#+begin_src emacs-lisp
|
||||
(use-package fish-mode
|
||||
:straight t)
|
||||
|
||||
(add-hook 'fish-mode-hook #'smartparens-mode)
|
||||
#+end_src
|
||||
** sh
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook sh-mode-hook #'smartparens-mode)
|
||||
#+end_src
|
||||
** CLIPS
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
|||
|
|
@ -1247,6 +1247,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
|
||||
(use-package fish-mode
|
||||
:straight t)
|
||||
|
||||
(add-hook 'fish-mode-hook #'smartparens-mode)
|
||||
|
||||
(add-hook sh-mode-hook #'smartparens-mode)
|
||||
|
||||
(use-package clips-mode
|
||||
:straight t)
|
||||
|
|
|
|||
11
bin/scripts/nt
Executable file
11
bin/scripts/nt
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
command="$@"
|
||||
if [ ! -z "$command" ]; then
|
||||
start_time="$(date -u +%s)"
|
||||
$command
|
||||
end_time="$(date -u +%s)"
|
||||
elapsed="$(($end_time-$start_time))"
|
||||
notify-send "Terminal" "Command\n$command\nexecuted in $elapsed seconds"
|
||||
else
|
||||
notify-send "Terminal" "Command execution complete"
|
||||
fi
|
||||
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
BUKU="/home/pavel/Programs/miniconda3/bin/buku"
|
||||
if [ $(hostname) = 'pdsk' ]; then
|
||||
BUKU="/home/pavel/.local/bin/buku"
|
||||
else
|
||||
BUKU="/home/pavel/Programs/miniconda3/bin/buku"
|
||||
fi
|
||||
|
||||
COMMAND="$BUKU -o %"
|
||||
# COMMAND="qutebrowser $(buku -f 10 -p %)"
|
||||
if [[ $1 == '-e' ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue