small updates

This commit is contained in:
2026-02-07 19:57:08 +01:00
parent a619b0b47e
commit a7c7a45463
9 changed files with 17 additions and 27 deletions

View File

@@ -11,10 +11,10 @@ if [ "$THEME" = "toggle" ]; then
fi
if [ "$THEME" = dark ]; then
GTK_THEME=Materia-dark
GTK_THEME=Arc-Dark
rm -f ~/.lightmode
elif [ "$THEME" = light ]; then
GTK_THEME=Materia-light
GTK_THEME=Arc-Light
touch ~/.lightmode
else
echo "error: unknown theme: should be either dark, light or toggle" >&2

View File

@@ -1,15 +0,0 @@
#!/bin/sh
if [ $# -eq 0 ]; then
exec tabbed "$0" -w
fi
if [ "$1" = "-w" ] && [ -n "$2" ]; then
name=$(abduco | tail +2 | awk -F'\t' '{ print $NF }' | dmenu -p session: -l 10)
if [ -n "$name" ]; then
exec st -w "$2" -t "$name" -e abduco -A "$name" "$SHELL"
fi
else
echo error: requires either no arguments or single option -w with and argument >&2
exit 1
fi