added mod+shift+enter to open terminal with alternate color theme
This commit is contained in:
14
bin/desktop/kitty/alternate-terminal.sh
Executable file
14
bin/desktop/kitty/alternate-terminal.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
CONFIG_DIR="$HOME/.wryn/config/kitty"
|
||||
|
||||
[ -f "$CONFIG_DIR/temp.conf" ] && return 1 # race condition lock
|
||||
|
||||
mv "$CONFIG_DIR/theme.conf" "$CONFIG_DIR/temp.conf"
|
||||
mv "$CONFIG_DIR/alternate.conf" "$CONFIG_DIR/theme.conf"
|
||||
|
||||
i3-sensible-terminal &
|
||||
sleep 0.1
|
||||
|
||||
mv "$CONFIG_DIR/theme.conf" "$CONFIG_DIR/alternate.conf"
|
||||
mv "$CONFIG_DIR/temp.conf" "$CONFIG_DIR/theme.conf"
|
Reference in New Issue
Block a user