Merge branch 'main' of ssh://git.pogmom.me:1022/pogmommy/dotfiles

This commit is contained in:
Penelope Gwen 2025-01-21 23:01:05 -08:00
commit 3c088dff81
10 changed files with 33 additions and 3 deletions

View file

@ -8,6 +8,7 @@ application/x-extension-xhtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/xml=org.kde.kate.desktop;
image/gif=mpv.desktop;feh.desktop;
image/heif=feh-6.desktop;feh.desktop;
image/jpeg=feh.desktop;
image/png=feh-5.desktop;feh-4.desktop;feh-3.desktop;feh-2.desktop;feh.desktop;
image/webp=feh-4.desktop;feh-3.desktop;feh.desktop;
@ -29,6 +30,7 @@ application/x-extension-xhtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/xml=org.kde.kate.desktop;
image/gif=mpv.desktop;
image/heif=feh-6.desktop;
image/jpeg=feh.desktop;
image/png=feh-5.desktop;
image/webp=feh-4.desktop;

View file

@ -1,7 +1,14 @@
#!/bin/bash
swaymsg workspace number '39:'
swaymsg move workspace to output HDMI-A-1
connected_displays=`swaymsg -rt get_outputs | jq .[].name`
if echo "${connected_displays}" | grep -q 'DP-7';then
swaymsg move workspace to output DP-7
elif echo "${connected_displays}" | grep -q 'DP-6';then
swaymsg move workspace to output DP-6
elif echo "${connected_displays}" | grep -q 'HDMI-A-1';then
swaymsg move workspace to output HDMI-A-1
fi
firefox -P Work 'https://library.lanecc.edu/' \
'https://inside.lanecc.edu/sites/default/files/pg/map_2024_ltr.pdf' \

View file

@ -43,6 +43,6 @@ for_window {
#scratch
[app_id="armcord"] $scratch
[app_id="org.keepassxc.KeePassXC" title="^(?!.*(Unlock Database|Browser Access Request)).*$"] $scratch
[app_id="org.keepassxc.KeePassXC" title="^(?!.*(Unlock Database|Browser Access Request|\[Locked\])).*$"] $scratch
}

View file

@ -10,7 +10,6 @@ if [[ ! -f "${cache_file}" ]];then
fi
kb_brightness=$( cat "${cache_file}" )
case "$operation" in
up)
kb_brightness="$((${kb_brightness}+5))"

View file

@ -41,6 +41,9 @@ devpod(){
podman container start debian-sid-dev
podman exec --env POD_PATH=$(pwd | sed "s|${HOME}|/root|") -it debian-sid-dev /bin/bash
}
simplewebserver(){
python3 -m http.server
}
#alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12"
#alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
#git shortcut to quickly push all changes with comment

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 KiB

View file

@ -2,7 +2,20 @@
output eDP-1 {
scale 1
mode 1920x1200@60Hz
position 0 0
# bg $HOME/.config/sway/assets/wallpaper/eDP-1/_default.jpg fill
}
output DP-7 {
scale 1
mode 1440x900@60Hz
position -1440 0
}
output DP-6 {
scale 1
mode 1440x900@60Hz
position -1440 0
}
#exec_always "killall sway-wallpaper;$HOME/.config/sway/scripts/sway-wallpaper"

View file

@ -0,0 +1,3 @@
#!/bin/bash
brightnessctl -d 'tpacpi::kbd_backlight' s ${1}%

View file

@ -3,3 +3,6 @@
.config/sway/config.d/window_rules.d/t16g2
.config/sway/assets/wallpaper/eDP-1
.config/sway/assets/wallpaper/HDMI-A-1
.config/sway/scripts/kb_brightness.d/t16g2
.config/sway/assets/wallpaper/DP-6
.config/sway/assets/wallpaper/DP-7