updated tux.sh

This commit is contained in:
wt committed 2025-04-10 19:03:36 +07:00
1 parent e13d5ad823
commit 84e10eb172
3 files changed
+22 -3

No files matched your search

+19
View File
@@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
RESET='\033[0m'
BYELLOW='\033[1;33m'
#-------- function to print little tux ascii image ---------------------------------------------------------- #-------- function to print little tux ascii image ----------------------------------------------------------
print_little_tux() { print_little_tux() {
echo " .--." echo " .--."
@@ -40,6 +42,20 @@ print_big_tux() {
echo " \`':::_:' -- '' -'-' \`':_::::'\`" echo " \`':::_:' -- '' -'-' \`':_::::'\`"
} }
#------------------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------------------
print_m_tux() {
echo " #####"
echo " #######"
echo " ##O#O##"
printf " #$BYELLOW#####$RESET#\n"
printf " ####$BYELLOW###$RESET####\n"
echo " #############"
echo " ###############"
echo " ###############"
printf " $BYELLOW##$RESET#############$BYELLOW##$RESET\n"
printf "$BYELLOW######$RESET#########$BYELLOW######$RESET\n"
printf "$BYELLOW#######$RESET#######$BYELLOW#######$RESET\n"
printf " $BYELLOW#####$RESET#######$BYELLOW#####$RESET\n"
}
#------- main ----------------------------------------------------------------------------------------------- #------- main -----------------------------------------------------------------------------------------------
case "$1" in case "$1" in
big|b|-b) big|b|-b)
@@ -48,6 +64,9 @@ case "$1" in
little|l|-l) little|l|-l)
print_little_tux # print little tux image print_little_tux # print little tux image
;; ;;
medium|m|-m)
print_m_tux
;;
*) *)
print_little_tux # default is print little tux image print_little_tux # default is print little tux image
;; ;;
+1 -1
View File
@@ -2,7 +2,7 @@
#---- backgroung configuration ---------------------------------------------------------------------------------------------------------------------- #---- backgroung configuration ----------------------------------------------------------------------------------------------------------------------
background { background {
monitor = # show on all monitors monitor = # show on all monitors
path = /home/tola/Pictures/wallpaper/dunes-sun.png path = /home/tola/Pictures/wallpaper/chad_a53fb74bb09b44f5a15cdf00f554ea81.png
color = rgba(25, 20, 20, 1.0) # color color = rgba(25, 20, 20, 1.0) # color
blur_passes = 3 # 0 disables blurring blur_passes = 3 # 0 disables blurring
blur_size = 3 # blur size blur_size = 3 # blur size
+2 -2
View File
@@ -3,7 +3,7 @@ monitor=,preferred,auto,auto # for all monitor to autodetect
monitor=DVI-I-1,1920x1200,0x0,1 # for lisa's home viewsonic monitor monitor=DVI-I-1,1920x1200,0x0,1 # for lisa's home viewsonic monitor
monitor=HEADLESS-2,2048x1538,0x0,2 # for headless virtual monitor monitor=HEADLESS-2,2048x1538,0x0,2 # for headless virtual monitor
monitor=vnc,1280x720,0x0,1 monitor=vnc,1280x720,0x0,1
monitor=DP-1,1680x1050@59.88,1440x0,1.0 #monitor=DP-1,1680x1050@59.88,1440x0,1.0
monitor=HDMI-A-1,1440x900@59.9,3120x0,1.0 #monitor=HDMI-A-1,1440x900@59.9,3120x0,1.0
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------