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

View File

@ -5,6 +5,7 @@ wid=$1
class=$2 class=$2
instance=$3 instance=$3
consequences=$4 consequences=$4
title="$(xdotool getwindowname "$wid")"
outcome() { outcome() {
eval "$consequences" eval "$consequences"
@ -28,3 +29,12 @@ case "$class" in
outcome "state=floating rectangle=900x700+0+0 center=on" outcome "state=floating rectangle=900x700+0+0 center=on"
;; ;;
esac 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) --fetch)
alacritty --hold --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e neofetch 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 alacritty --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e nodeselector
;; ;;
--browser) --browser)
cachy-browser librewolf
;; ;;
--osmc) --minecraft)
prismlauncher -l b1.7.3 prismlauncher -l staff-client
;;
--steam)
"$HOME"/.millennium/start.sh
;; ;;
*) *)
echo "Not a Valid Option" echo "Not a Valid Option"

View File

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