added mod+shift+enter to open terminal with alternate color theme

This commit is contained in:
Wryn Wagner
2021-02-23 15:38:03 -07:00
parent 2b799e06ef
commit 81ee2bcca4
5 changed files with 29 additions and 4 deletions

View 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"