aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/chcolors2
-rwxr-xr-xdotfiles/.local/bin/ddquakemite2
-rwxr-xr-xdotfiles/.local/bin/menuman2
-rwxr-xr-xdotfiles/.local/bin/workspace4
4 files changed, 6 insertions, 4 deletions
diff --git a/dotfiles/.local/bin/chcolors b/dotfiles/.local/bin/chcolors
index 30b520a..f4bdf6b 100755
--- a/dotfiles/.local/bin/chcolors
+++ b/dotfiles/.local/bin/chcolors
@@ -16,4 +16,6 @@ case $COLORSCHEME in
esac
echo "export COLORSCHEME=$COLORSCHEME" > $HOME/.cache/colorscheme
+sed -i -r --follow-symlinks "s/(light|dark)/$COLORSCHEME/g" $HOME/.config/alacritty/alacritty.toml
pkill -SIGUSR1 zsh
+pkill -SIGUSR1 nvim
diff --git a/dotfiles/.local/bin/ddquakemite b/dotfiles/.local/bin/ddquakemite
index 4e1288f..b8df9b4 100755
--- a/dotfiles/.local/bin/ddquakemite
+++ b/dotfiles/.local/bin/ddquakemite
@@ -34,7 +34,7 @@ if [ "$ddstatus" = "-" ]; then
elif [ "$ddstatus" = "+" ]; then
swaymsg '[title="ddterminal"] move scratchpad'
else
- $TERMINAL -T "ddterminal" -o "locked-title=true" zsh -ic "tmuxatt" &
+ $TERMINAL -T "ddterminal" -e zsh -ic "tmuxatt" &
sleep 0.2s
reposition
fi
diff --git a/dotfiles/.local/bin/menuman b/dotfiles/.local/bin/menuman
index 26c9bfc..62d3234 100755
--- a/dotfiles/.local/bin/menuman
+++ b/dotfiles/.local/bin/menuman
@@ -61,4 +61,4 @@ if [ ! -z "$isterminal" ]; then
man "$chosen" && exit
fi
-$TERMINAL $SHELL -ic "man \"$chosen\""
+$TERMINAL -e $SHELL -ic "man \"$chosen\""
diff --git a/dotfiles/.local/bin/workspace b/dotfiles/.local/bin/workspace
index c41275f..972d97d 100755
--- a/dotfiles/.local/bin/workspace
+++ b/dotfiles/.local/bin/workspace
@@ -37,8 +37,8 @@ if [ $displayw -lt 2560 ]; then
fi
cd "$1"
-setsid $TERMINAL -a "$TERMINAL lf:$1" zsh -ic "lfcd" >/dev/null 2>&1 & sleep 0.1
-setsid $TERMINAL -a "$TERMINAL edit:$1" >/dev/null 2>&1 & sleep 0.1
+setsid $TERMINAL --class "$TERMINAL lf:$1" -e zsh -ic "lfcd" >/dev/null 2>&1 & sleep 0.1
+setsid $TERMINAL --class "$TERMINAL edit:$1" >/dev/null 2>&1 & sleep 0.1
sleep 0.2
swaymsg "[app_id=\"$TERMINAL lf:$1\"] focus; resize set width ${sidebarw}ppt; split v"