Random stuff to do with scripting
This commit is contained in:
11
config/scripts/shutdown.sh
Normal file
11
config/scripts/shutdown.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# This file can be used to execute commands right after the editor session ends.
|
||||
#
|
||||
# The location of this file is defined in the editor's config.json and can be changed
|
||||
#
|
||||
# It can for example be used to unset environment variables for any lsp(s) used
|
||||
# Or like this example to set kitty padding back higher
|
||||
# kitty @ --to="$KITTY_LISTEN_ON" set-spacing padding=8 margin=0 2>/dev/null || true
|
||||
|
||||
echo "Exiting crib editor..."
|
||||
11
config/scripts/startup.sh
Normal file
11
config/scripts/startup.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# This file can be used to execute commands before the editor session starts.
|
||||
#
|
||||
# The location of this file is defined in the editor's config.json and can be changed
|
||||
#
|
||||
# It can for example be used to set environment variables for any lsp(s) used
|
||||
# Or like this example to set kitty padding to 0
|
||||
# kitty @ --to="$KITTY_LISTEN_ON" set-spacing padding=0 margin=0 2>/dev/null || true
|
||||
|
||||
echo "Starting crib editor..."
|
||||
Reference in New Issue
Block a user