This commit is contained in:
2024-11-25 16:16:17 -05:00
parent 1dd4472634
commit 009831503e
5 changed files with 57 additions and 39 deletions

View File

@@ -6,7 +6,7 @@ msg_disconnected="𐄂 Security key not connected\n"
lsusb | grep Lexar > /dev/null
if [ "$?" == 0 ]; then
printf "[ ✓ ] Security key connected.\n"
printf "[ ✓ ] Unlocked.\n"
else
printf "[ 𐄂 ] Security key disconnected.\n"
printf "[ 𐄂 ] Locked.\n"
fi

View File

@@ -2,4 +2,5 @@
xinput enable 12
xinput reattach 13 3
TABLET_MODE_ENABLED=1
dunstify "Laptop Mode" "Laptop mode is now enabled"
export TABLET_MODE_ENABLED="Laptop Mode"

View File

@@ -11,9 +11,9 @@ playerctl metadata title > /dev/null
if [ "$?" != 0 ]; then
printf "No players found"
elif [ ${CONCISE} == "false" ]; then
printf "%.${MAXCHAR}s\n" "${TRACK} - by ${ARTIST} - on ${ALBUM}"
printf "%.${MAXCHAR}s\n" "${TRACK} - by ${ARTIST} - from ${ALBUM}"
elif [ ${CONCISE} == "true" ]; then
printf "%.${MAXCHAR}s\n" "${ARTIST} - ${TRACK}"
printf "%.${MAXCHAR}s\n" "${TRACK} - ${ARTIST}"
else
printf "error: 'CONCISE' must be defined in i3blocks config\n"
fi

View File

@@ -2,4 +2,5 @@
xinput disable 12
xinput float 13
TABLET_MODE_ENABLED=0
dunstify "Tablet Mode" "Tablet mode is now enabled"
export TABLET_MODE_ENABLED="Tablet Mode"