Improved external rules and fixed inconsistent browser names

This commit is contained in:
edwark43 2025-03-20 15:56:34 -04:00
parent dd6bae7680
commit e699a4f327
4 changed files with 22 additions and 9 deletions

View File

@ -16,9 +16,9 @@ F1
#####
# Apps (browser, editor, filemanager, music, and updater)
shift + alt + {b,v,f,k,u,t,m,n}
openapp {--browser,--nvim,--ranger, --music, --update, --terminal, --osmc, --nodeselector}
# Apps (browser, editor, filemanager, music, updater, terminal, minecraft, nodeselector, and steam)
shift + alt + {b,v,f,k,u,t,m,n,s}
openapp {--browser,--nvim,--ranger,--music,--update,--terminal,--minecraft,--nodeselector,--steam}
#|||----- System Keybindings -----|||#
@ -68,7 +68,7 @@ XF86MonBrightness{Up,Down}
# Volume control
XF86Audio{RaiseVolume,LowerVolume,Mute}
volume{ --inc, --dec, --toggle}
volume {--inc,--dec,--toggle}
# Music Control
XF86Audio{Next,Prev,Play,Stop}

View File

@ -5,6 +5,7 @@ wid=$1
class=$2
instance=$3
consequences=$4
title="$(xdotool getwindowname "$wid")"
outcome() {
eval "$consequences"
@ -28,3 +29,12 @@ case "$class" in
outcome "state=floating rectangle=900x700+0+0 center=on"
;;
esac
case "$title" in
"Steam Settings")
outcome "state=floating center=on"
;;
"Prism Launcher: Staff Client Modloader")
outcome "state=fullscreen"
;;
esac

View File

@ -32,14 +32,17 @@ case "$1" in
--fetch)
alacritty --hold --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e neofetch
;;
--nodeselector)
--nodeselector)
alacritty --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e nodeselector
;;
--browser)
cachy-browser
librewolf
;;
--osmc)
prismlauncher -l b1.7.3
--minecraft)
prismlauncher -l staff-client
;;
--steam)
"$HOME"/.millennium/start.sh
;;
*)
echo "Not a Valid Option"

View File

@ -256,7 +256,7 @@ printf '%s%sInstalling xqp%s\n\n' "${CNC}" "${CRE}" "${CNC}"
sleep 1
clear
# Installing Brave
# Installing Librewolf
printf '%s%sInstalling Librewolf%s\n\n' "${CNC}" "${CRE}" "${CNC}"
if command -v librewolf >/dev/null 2>&1; then
printf "%s%sLibrewolf is already installed.%s" "${BLD}" "${CGR}" "${CNC}"