1
0
mirror of https://gitlab.com/linuxstuff/dotfiles.git synced 2026-06-20 04:30:53 +02:00

Improved ux

This commit is contained in:
Simon
2021-02-16 11:15:58 +01:00
parent 07e555dcbe
commit b38ce7d5f3
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -270,6 +270,7 @@ for_window [title="Volume Control"] floating enable border pixel $borderThicknes
for_window [title="PulseAudio EqualizerI"] floating enable border pixel $borderThickness
for_window [title="xopp 2 pdf"] floating enable border pixel $borderThickness
for_window [title="Microsoft Teams Notification"] floating enable
#for_window [class="dotnet"] floating enable
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
+9 -1
View File
@@ -7,6 +7,10 @@ ENA_UPDATES=$(command -v checkupdates)
CNT_UPDATES="0"
UPDATES="nA"
if [[ "$1" != *"count"* ]]; then
echo "Fetching updates..."
fi
if [ "$ENA_UPDATES" ]; then
UPDATES=$(checkupdates 2>/dev/null)
CNT_UPDATES=$(echo "$UPDATES" | wc -l)
@@ -23,6 +27,10 @@ fi
CNT_UPDATES_TOTAL=$(("$CNT_UPDATES" + "$CNT_UPDATES_AUR"))
if [[ "$1" != *"count"* ]]; then
clear
fi
if [ "$1" == "--count" ]; then
echo "Official: $CNT_UPDATES, AUR: $CNT_UPDATES_AUR, Total: $CNT_UPDATES_TOTAL"
fi
@@ -84,4 +92,4 @@ if [ "$1" == "--list" ]; then
read -rp "Press any key to exit..."
fi
exit
exit
+5
View File
@@ -1,5 +1,10 @@
alias sudo='sudo '
##### Path
# dotnet
export PATH="$PATH:/home/sim/.dotnet/tools"
##### Device Specific
### Yoga3