From 31945f3207c16d5aeba2fbeaf3f87d3b916bf55a Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 3 Mar 2024 18:50:40 -0800 Subject: [PATCH] :wrench: Updated configs and installed libreoffice --- .config/bspwm/bspwmrc | 1 + scripts/gifpress | 28 +++++++++++++++++----------- updates.txt | 7 +++++++ 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 14ae64b4..4cbf7737 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -58,6 +58,7 @@ bspc config window_gap 5 bspc rule -a Gcolor3 state=floating & bspc rule -a Galculator state=floating & bspc rule -a Pavucontrol state=floating center=on rectangle=960x810+1440+810 & +bspc rule -a Peek state=floating center=on rectangle=1555x960+1440+810 & bspc rule -a Lxappearance state=floating center=on rectangle=960x810+1440+810 & bspc rule -a Mousepad state=floating center=on rectangle=960x810+1440+810 & # bspc rule -a Brave-browser center=on rectangle=1555x960+1440+810 & diff --git a/scripts/gifpress b/scripts/gifpress index 069f30cc..1eecda22 100755 --- a/scripts/gifpress +++ b/scripts/gifpress @@ -1,15 +1,21 @@ #!/bin/bash -if [ $# -lt 3 ] ; then - printf "not enough arguments given\n\ -usage: gifpress input.gif width height\n" - exit 1 -fi +# gifsicle -b "${1}" --optimize=3 --lossy=100 --colors=16 --dither +gifsicle -b "${1}" --optimize=3 --lossy=100 --colors=16 -if ! command -v gifsicle &> /dev/null ; then - echo "gifsicle not installed!" - exit 1 -fi +# Resize command: +# gifsicle "${1}" --resize 800x493 >"${1}_resized.gif" -filename=$(echo "${1}" | awk -F. '{ print $1 }') -gifsicle "$1" --resize "$2x$3" > "${filename}_resized.gif" +# if [ $# -lt 3 ] ; then +# printf "not enough arguments given\n\ +# usage: gifpress input.gif width height\n" +# exit 1 +# fi + +# if ! command -v gifsicle &> /dev/null ; then +# echo "gifsicle not installed!" +# exit 1 +# fi + +# filename=$(echo "${1}" | awk -F. '{ print $1 }') +# gifsicle "$1" --resize "$2x$3" > "${filename}_resized.gif" \ No newline at end of file diff --git a/updates.txt b/updates.txt index 9777f103..84573767 100755 --- a/updates.txt +++ b/updates.txt @@ -457,3 +457,10 @@ doas npm install -g browser-sync 02/29/2024 Install silicon (a cli tool to generate code snippet pics): doas pacman -S silicon + +03/03/2024 +Install libreoffice-still +doas pacman -S libreoffice (choose still from galaxy repo) +Run in safe mode first +libreoffice --safe-mode +Choose to configure it to work with out hardware acceleration and then choose apply and restart