Fix NerdFont icon alignments. (#143)
* WIP * Fix nerdfont icon alignments * Ship needed fonts * Remove italicised fonts * Update readme and separate OSD settings into their own category. * Dashboard styling updates --------- Co-authored-by: matavach <erik@matijevich.org>
This commit is contained in:
@@ -5,7 +5,25 @@ outputFile="snapshot_$(date +%Y-%m-%d_%H-%M-%S).png"
|
||||
outputPath="$outputDir/$outputFile"
|
||||
mkdir -p "$outputDir"
|
||||
|
||||
if grimblast copysave area "$outputPath"; then
|
||||
mode=$1
|
||||
|
||||
case "$mode" in
|
||||
active)
|
||||
command="grimblast copysave active $outputPath"
|
||||
;;
|
||||
output)
|
||||
command="grimblast copysave output $outputPath"
|
||||
;;
|
||||
area)
|
||||
command="grimblast copysave area $outputPath"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {active|output|area}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if eval "$command"; then
|
||||
recentFile=$(ls -t "$outputDir"/snapshot_*.png | head -n 1)
|
||||
notify-send "Grimblast" "Your snapshot has been saved." \
|
||||
-i video-x-generic \
|
||||
|
||||
Reference in New Issue
Block a user