Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Penelope Gwen 2026-04-30 09:23:21 -07:00
commit 3acdb0b8e8
4 changed files with 26 additions and 5 deletions

View file

@ -29,6 +29,7 @@ depends = ["default"]
"graphical/flatpak" = "~/.var/app"
"graphical/share" = "~/.local/share"
"graphical/fonts" = "~/.fonts"
"graphical/bashrc.d" = "~/.bashrc.d"
[graphical.variables]

View file

@ -77,6 +77,11 @@ devpod-arm() {
# }
# distrobox enter --additional-flags "--env DB_PATH=${PWD}" ${1}
#}
show_colour() {
perl -e 'foreach $a(@ARGV){print "\e[48:2::".join(":",unpack("C*",pack("H*",$a)))."m \e[49m "};print "\n"' "$@"
}
simplewebserver() {
if [ "${1}" = "-n" ]; then
screen bash -c "printf 'running [ /usr/bin/python3 -m http.server ] in screen...\nTo run with server-side includes, remove -n\n';/usr/bin/python3 -m http.server"

15
graphical/bashrc.d/graphical Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
dol() {
if [[ -z ${1} ]];then
DOLPHIN_OPEN_DIR="$(pwd)"
else
if [[ ${1:0:1} == "~" ]];then
DOLPHIN_OPEN_DIR="$(realpath """${1/\~/${HOME}}""")"
else
DOLPHIN_OPEN_DIR="$(realpath """${1}""")"
fi
fi
printf '[-] opening [%s] in dolphin...\n' "${DOLPHIN_OPEN_DIR}"
swaymsg exec "dolphin --new-window """${DOLPHIN_OPEN_DIR}""""
}

View file

@ -3,30 +3,30 @@ output {
eDP-1 {
#builtin display
mode 1920x1200@60Hz
position 0 0
position 1920 0
}
'Dell Inc. DELL P1913 PVGRC3ALA4YU' {
#interior desk left workstation monitor
mode 1440x900@60Hz
position -1440 0
position 480 0
}
'Dell Inc. DELL E2216H JF44Y7AOAT0I' {
#interior desk right workstation monitor
mode 1920x1080@60Hz
position -1920 0
position 0 0
}
'Dell Inc. DELL E2216H JF44Y7AOC7UI' {
#exterior desk leftmost workstation monitor
mode 1920x1080@60Hz
position -1920 0
position 0 0
}
'RTD Display 000000001' {
#portable monitor testing
mode 1920x1080@60Hz
position -1920 0
position 0 0
}
}