diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index 893251e..8870db9 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -1,18 +1,30 @@
[Default Applications]
-x-scheme-handler/http=xfce4-web-browser.desktop
-x-scheme-handler/https=xfce4-web-browser.desktop
+x-scheme-handler/http=userapp-Pale Moon-IPLD22.desktop
+x-scheme-handler/https=userapp-Pale Moon-IPLD22.desktop
inode/directory=xfce4-file-manager.desktop
x-scheme-handler/trash=xfce4-file-manager.desktop
application/x-tar=xarchiver.desktop
application/octet-stream=vim.desktop
x-scheme-handler/discord-399779271737868288=discord-399779271737868288.desktop
x-scheme-handler/mailto=xfce4-mail-reader.desktop
+x-scheme-handler/ftp=userapp-Pale Moon-IPLD22.desktop
+x-scheme-handler/chrome=userapp-Pale Moon-IPLD22.desktop
+text/html=userapp-Pale Moon-IPLD22.desktop
+application/x-extension-htm=userapp-Pale Moon-IPLD22.desktop
+application/x-extension-html=userapp-Pale Moon-IPLD22.desktop
+application/x-extension-shtml=userapp-Pale Moon-IPLD22.desktop
+application/xhtml+xml=userapp-Pale Moon-IPLD22.desktop
+application/x-extension-xhtml=userapp-Pale Moon-IPLD22.desktop
+application/x-extension-xht=userapp-Pale Moon-IPLD22.desktop
+inode/symlink=thunar.desktop
+image/jpeg=feh.desktop
+image/png=feh.desktop
[Added Associations]
-x-scheme-handler/http=xfce4-web-browser.desktop;
-x-scheme-handler/https=xfce4-web-browser.desktop;
+x-scheme-handler/http=xfce4-web-browser.desktop;userapp-Pale Moon-IPLD22.desktop;
+x-scheme-handler/https=xfce4-web-browser.desktop;userapp-Pale Moon-IPLD22.desktop;
application/x-shellscript=kitty-open.desktop;vim.desktop;
-application/x-zerosize=vim.desktop;
+application/x-zerosize=org.xfce.mousepad.desktop;vim.desktop;codium.desktop;
inode/directory=xfce4-file-manager.desktop;
x-scheme-handler/trash=xfce4-file-manager.desktop;
application/x-tar=xarchiver.desktop;thunar.desktop;
@@ -20,21 +32,41 @@ application/x-theme=nvim.desktop;
application/x-raw-disk-image-xz-compressed=xarchiver.desktop;
audio/x-mpegurl=nvim.desktop;
application/vnd.ms-wpl=nvim.desktop;
-video/x-matroska=mpv.desktop;
+video/x-matroska=mpv.desktop;gnac.desktop;org.xfce.Parole.desktop;
audio/midi=audacious.desktop;
-text/plain=nvim.desktop;
+text/plain=org.xfce.mousepad.desktop;vim.desktop;codium.desktop;nvim.desktop;
audio/vnd.wave=audacious.desktop;
application/octet-stream=userapp-codium-RWYGX2.desktop;
image/bmp=aseprite.desktop;feh.desktop;
-image/jpeg=feh.desktop;
+image/jpeg=gimp.desktop;feh.desktop;userapp-catboxupload-A9Q122.desktop;
video/mp4=mpv.desktop;
-image/webp=feh.desktop;
+image/webp=feh.desktop;gimp.desktop;
image/x-gimp-pat=vim.desktop;
-application/octet-stream=vim.desktop;
+application/octet-stream=codium.desktop;feh.desktop;vim.desktop;
video/vnd.avi=mpv.desktop;
-image/png=feh.desktop;gimp.desktop;aseprite.desktop;
+image/png=gimp.desktop;feh.desktop;aseprite.desktop;
video/x-ms-wmv=mpv.desktop;
-image/gif=chromium.desktop;feh.desktop;
+image/gif=feh.desktop;chromium.desktop;
video/quicktime=mpv.desktop;
x-scheme-handler/mailto=xfce4-mail-reader.desktop;
-
+text/html=codium.desktop;vim.desktop;nvim.desktop;chromium.desktop;userapp-Pale Moon-IPLD22.desktop;
+audio/AMR-WB=audacious.desktop;
+application/x-bat=nvim.desktop;
+text/csv=gvim.desktop;
+audio/flac=mpv.desktop;
+audio/mpeg=mpv.desktop;
+text/javascript=codium.desktop;nvim.desktop;
+text/css=vim.desktop;gvim.desktop;
+text/x-python=codium.desktop;
+application/vnd.efi.img=gnome-disk-image-mounter.desktop;
+x-scheme-handler/ftp=userapp-Pale Moon-IPLD22.desktop;
+x-scheme-handler/chrome=userapp-Pale Moon-IPLD22.desktop;
+application/x-extension-htm=userapp-Pale Moon-IPLD22.desktop;
+application/x-extension-html=userapp-Pale Moon-IPLD22.desktop;
+application/x-extension-shtml=userapp-Pale Moon-IPLD22.desktop;
+application/xhtml+xml=userapp-Pale Moon-IPLD22.desktop;
+application/x-extension-xhtml=userapp-Pale Moon-IPLD22.desktop;
+application/x-extension-xht=userapp-Pale Moon-IPLD22.desktop;
+video/mpeg=mpv.desktop;
+inode/symlink=vim.desktop;thunar.desktop;
+text/x-log=vim.desktop;
diff --git a/.config/xfce4/helpers.rc b/.config/xfce4/helpers.rc
index a7ad621..fd0920c 100644
--- a/.config/xfce4/helpers.rc
+++ b/.config/xfce4/helpers.rc
@@ -1,4 +1,5 @@
TerminalEmulator=kitty
WebBrowser=chromium
MailReader=sylpheed-claws
+TerminalEmulatorDismissed=true
diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
index efbb069..4629869 100644
--- a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
+++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
@@ -43,10 +43,11 @@
-
+
+
diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
index 8bdb60f..848c3fb 100644
--- a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
+++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
@@ -1,4 +1,4 @@
-
+
@@ -10,11 +10,15 @@
+
+
+
+
diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
index 7384d5c..9fcf0ae 100644
--- a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
+++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
@@ -1,181 +1,144 @@
-
+
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
+
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
index ed3c5f0..f61bd85 100644
--- a/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
+++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
@@ -1,4 +1,4 @@
-
+
@@ -59,7 +59,7 @@
-
+
diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
index dfe6ff3..2ca50db 100644
--- a/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
+++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/.local/bin/optimizechar b/.local/bin/optimizechar
index 886a7e8..8514b7c 100755
--- a/.local/bin/optimizechar
+++ b/.local/bin/optimizechar
@@ -73,7 +73,7 @@ delete_thumbs_db() {
}
# Recursively find all image files except those in "emotions" directory
-find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
+find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.webp" -o -iname "*.apng" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
# Skip files in "emotions" folder
if [[ "$img" == *"/emotions/"* ]]; then
# Resize image in "emotions" folder if necessary
@@ -87,7 +87,7 @@ done
# Resize the char_icon image to 60x60 if it's larger than that
char_icon="char_icon"
-for ext in jpg jpeg png gif bmp; do
+for ext in webp apng jpg jpeg png gif bmp; do
if [ -f "$char_icon.$ext" ]; then
resize_char_icon "$char_icon.$ext"
break
@@ -95,7 +95,7 @@ for ext in jpg jpeg png gif bmp; do
done
# Optimize all images
-find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
+find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.webp" -o -iname "*.apng" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
optimize_images "$img"
done
diff --git a/.scripts/mpv-vid.sh b/.scripts/mpv-vid.sh
index 0c49413..752c457 100755
--- a/.scripts/mpv-vid.sh
+++ b/.scripts/mpv-vid.sh
@@ -1,2 +1,2 @@
link=$(xclip -o -selection clipboard)
-mpv --ytdl-format=135+140 "$link"
+mpv "$link"
diff --git a/.scripts/optimizechar.sh b/.scripts/optimizechar.sh
deleted file mode 100755
index 886a7e8..0000000
--- a/.scripts/optimizechar.sh
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/bash
-
-# Function to downscale images if they're larger than 960x544
-downscale_image() {
- local img="$1"
- local width height
- # Get the image dimensions
- dimensions=$(identify -format "%wx%h" "$img")
- width=$(echo $dimensions | cut -d'x' -f1)
- height=$(echo $dimensions | cut -d'x' -f2)
-
- # If width > 960 or height > 544, resize
- if [ "$width" -gt 960 ] || [ "$height" -gt 544 ]; then
- mogrify -resize 960x544\> "$img"
- echo "Downscaled $img to 960x544"
- fi
-}
-
-# Function to resize char_icon to 60x60 if it's bigger
-resize_char_icon() {
- local img="$1"
- local width height
- # Get the image dimensions
- dimensions=$(identify -format "%wx%h" "$img")
- width=$(echo $dimensions | cut -d'x' -f1)
- height=$(echo $dimensions | cut -d'x' -f2)
-
- # If width > 60 or height > 60, resize
- if [ "$width" -gt 60 ] || [ "$height" -gt 60 ]; then
- convert "$img" -resize 60x60 "$img"
- echo "Resized $img to 60x60"
- fi
-}
-
-# Function to optimize images using pngquant
-optimize_images() {
- local img="$1"
- if [[ "$img" == *.png ]]; then
- pngquant --force --ext .png "$img"
- echo "Optimized $img using pngquant"
- fi
-}
-
-# Function to resize images in the emotions folder to 40x40 if they are bigger
-resize_emotions_images() {
- local img="$1"
- local width height
- # Get the image dimensions
- dimensions=$(identify -format "%wx%h" "$img")
- width=$(echo $dimensions | cut -d'x' -f1)
- height=$(echo $dimensions | cut -d'x' -f2)
-
- # If width > 40 or height > 40, resize
- if [ "$width" -gt 40 ] || [ "$height" -gt 40 ]; then
- mogrify -resize 40x40\> "$img"
- echo "Resized $img to 40x40"
- fi
-}
-
-# Delete all files containing "_on" in the filename
-delete_files_with_on() {
- local img="$1"
- if [[ "$img" == *"_on"* ]]; then
- rm -f "$img"
- echo "Deleted $img"
- fi
-}
-
-# Delete all Thumbs.db files recursively
-delete_thumbs_db() {
- find . -type f -iname "Thumbs.db" -exec rm -f {} \;
- echo "Deleted all Thumbs.db files"
-}
-
-# Recursively find all image files except those in "emotions" directory
-find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
- # Skip files in "emotions" folder
- if [[ "$img" == *"/emotions/"* ]]; then
- # Resize image in "emotions" folder if necessary
- resize_emotions_images "$img"
- continue
- fi
-
- # Downscale image if necessary
- downscale_image "$img"
-done
-
-# Resize the char_icon image to 60x60 if it's larger than that
-char_icon="char_icon"
-for ext in jpg jpeg png gif bmp; do
- if [ -f "$char_icon.$ext" ]; then
- resize_char_icon "$char_icon.$ext"
- break
- fi
-done
-
-# Optimize all images
-find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.bmp" \) | while read -r img; do
- optimize_images "$img"
-done
-
-# Delete files containing "_on" in the filename
-find . -type f | while read -r img; do
- delete_files_with_on "$img"
-done
-
-# Delete all Thumbs.db files recursively
-delete_thumbs_db
-
-echo "Script completed!"
diff --git a/.scripts/ytdl-song-upload.sh b/.scripts/ytdl-song-upload.sh
deleted file mode 100755
index be7e7ae..0000000
--- a/.scripts/ytdl-song-upload.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-mkdir ~/.tmp
-cd ~/.tmp
-clipboard=$(xclip -o)
-output=$(yt-dlp --extract-audio --audio-format mp3 "$clipboard")
-filename=$(echo "$output" | grep -oP '(?<=Destination: ).+\.mp3')
-catboxupload "$filename"
-rm "$filename"