Re: MX-21 MX-Fluxbox
Posted: Fri Dec 31, 2021 7:17 pm
I don't see anything that I know which to change.
Where are config partners?
Where are config partners?
Code: Select all
show_calendar = 1
show_timezones = 0
mark_today = 1
show_week_numbers = 0
close_on_unfocus = 0
external_viewer = featherpad
clock_format = %I:%M
force_lang =
mainwindow_decorated = 1
mainwindow_keep_above = 1
mainwindow_sticky = 0
mainwindow_skip_taskbar = 1
mainwindow_resizable = 1
mainwindow_position = none
mainwindow_xoffset = 0
mainwindow_yoffset = 0
You betchum, Red Ryder!
Code: Select all
#!/bin/bash
## developed by tenner. download shot its shot original http://tenr.de/snippets/
display_help() {
cat << EOF
Usage: `basename "$0"` [clutch|grasp|-r|r|-root|root|ROOT|round|-s|s|-u|u|-U|U|WINDOW] [bmp|jfif|jpeg|jpg|pam|pbm|pgm|png|pnm|ppm|tga|tif|tiff|webp]
EOF
}
if [ $# -gt 2 ]
then
display_help
scrot `date +%Y%j%R%S`truq
exit 0
elif [ $# -eq 0 ]
then
scrot -q 89 -s `date +%Y%j%R%S`.jpg
exit 0
else
case "$1" in
-r|r|-root|root|ROOT|round)
OPTION=""
;;
grasp|-s|s)
OPTION="-s"
;;
clutch|-u|u|-U|U|WINDOW)
OPTION="-u"
;;
*)
OPTION=""
ZZZ="truqe"
display_help
esac
case "$2" in
bmp)
SUF="bmp"
;;
jfif)
SUF="jfif"
;;
jpeg|JPEG)
SUF="jpeg"
;;
jpg|JPG)
SUF="jpg"
;;
pam)
SUF="pam"
;;
pbm)
SUF="pbm"
;;
pgm)
SUF="pgm"
;;
png|PNG)
SUF="png"
;;
pnm)
SUF="pnm"
;;
ppm)
SUF="ppm"
;;
tga)
SUF="tga"
;;
tif|tiff)
SUF="tif"
;;
webp)
SUF="webp"
;;
*)
SUF="jpg"
ZZZ="truqu"
display_help
esac
scrot --quality 89 ${OPTION} `date +%Y%j%R%S`${ZZZ}.${SUF}
exit 0
fi