Merge branch 'main' of ssh://git.pogmom.me:1022/pogmommy/dotfiles
This commit is contained in:
commit
3c088dff81
10 changed files with 33 additions and 3 deletions
|
@ -8,6 +8,7 @@ application/x-extension-xhtml=firefox.desktop;
|
||||||
application/xhtml+xml=firefox.desktop;
|
application/xhtml+xml=firefox.desktop;
|
||||||
application/xml=org.kde.kate.desktop;
|
application/xml=org.kde.kate.desktop;
|
||||||
image/gif=mpv.desktop;feh.desktop;
|
image/gif=mpv.desktop;feh.desktop;
|
||||||
|
image/heif=feh-6.desktop;feh.desktop;
|
||||||
image/jpeg=feh.desktop;
|
image/jpeg=feh.desktop;
|
||||||
image/png=feh-5.desktop;feh-4.desktop;feh-3.desktop;feh-2.desktop;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;
|
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/xhtml+xml=firefox.desktop
|
||||||
application/xml=org.kde.kate.desktop;
|
application/xml=org.kde.kate.desktop;
|
||||||
image/gif=mpv.desktop;
|
image/gif=mpv.desktop;
|
||||||
|
image/heif=feh-6.desktop;
|
||||||
image/jpeg=feh.desktop;
|
image/jpeg=feh.desktop;
|
||||||
image/png=feh-5.desktop;
|
image/png=feh-5.desktop;
|
||||||
image/webp=feh-4.desktop;
|
image/webp=feh-4.desktop;
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
swaymsg workspace number '39:'
|
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/' \
|
firefox -P Work 'https://library.lanecc.edu/' \
|
||||||
'https://inside.lanecc.edu/sites/default/files/pg/map_2024_ltr.pdf' \
|
'https://inside.lanecc.edu/sites/default/files/pg/map_2024_ltr.pdf' \
|
||||||
|
|
|
@ -43,6 +43,6 @@ for_window {
|
||||||
|
|
||||||
#scratch
|
#scratch
|
||||||
[app_id="armcord"] $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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@ if [[ ! -f "${cache_file}" ]];then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kb_brightness=$( cat "${cache_file}" )
|
kb_brightness=$( cat "${cache_file}" )
|
||||||
|
|
||||||
case "$operation" in
|
case "$operation" in
|
||||||
up)
|
up)
|
||||||
kb_brightness="$((${kb_brightness}+5))"
|
kb_brightness="$((${kb_brightness}+5))"
|
||||||
|
|
|
@ -41,6 +41,9 @@ devpod(){
|
||||||
podman container start debian-sid-dev
|
podman container start debian-sid-dev
|
||||||
podman exec --env POD_PATH=$(pwd | sed "s|${HOME}|/root|") -it debian-sid-dev /bin/bash
|
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-stable="TERM=xterm-256color toolbox enter debian-toolbox-12"
|
||||||
#alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
|
#alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
|
||||||
#git shortcut to quickly push all changes with comment
|
#git shortcut to quickly push all changes with comment
|
||||||
|
|
BIN
t16g2/home/.config/sway/assets/wallpaper/DP-6/3.jpg
Normal file
BIN
t16g2/home/.config/sway/assets/wallpaper/DP-6/3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 574 KiB |
BIN
t16g2/home/.config/sway/assets/wallpaper/DP-7/3.jpg
Normal file
BIN
t16g2/home/.config/sway/assets/wallpaper/DP-7/3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 574 KiB |
|
@ -2,7 +2,20 @@
|
||||||
output eDP-1 {
|
output eDP-1 {
|
||||||
scale 1
|
scale 1
|
||||||
mode 1920x1200@60Hz
|
mode 1920x1200@60Hz
|
||||||
|
position 0 0
|
||||||
# bg $HOME/.config/sway/assets/wallpaper/eDP-1/_default.jpg fill
|
# 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"
|
#exec_always "killall sway-wallpaper;$HOME/.config/sway/scripts/sway-wallpaper"
|
||||||
|
|
3
t16g2/home/.config/sway/scripts/kb_brightness.d/t16g2
Executable file
3
t16g2/home/.config/sway/scripts/kb_brightness.d/t16g2
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
brightnessctl -d 'tpacpi::kbd_backlight' s ${1}%
|
|
@ -3,3 +3,6 @@
|
||||||
.config/sway/config.d/window_rules.d/t16g2
|
.config/sway/config.d/window_rules.d/t16g2
|
||||||
.config/sway/assets/wallpaper/eDP-1
|
.config/sway/assets/wallpaper/eDP-1
|
||||||
.config/sway/assets/wallpaper/HDMI-A-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
|
||||||
|
|
Loading…
Add table
Reference in a new issue