update scripts version

switch lf to not use sixels for image previews since on nixos

add fix for pinenetry-curses to .profile

exec sway-audio-idle-inhibit add lines to sway config to inhibit idle
when window is fullscreen and remove sway-audio-idle-inhibit since it
is not on nixos
master
Alex 2022-12-24 01:07:11 -06:00
parent 1d6dc2f43f
commit 22dad1cf19
4 changed files with 12 additions and 5 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
img () { img () {
chafa "$1" --size="$2"x"$3" | sed 's/#/\n#/g' #chafa "$1" --size="$2"x"$3" | sed 's/#/\n#/g'
#chafa --format=symbols "$1" --size="$2"x"$3" chafa --format=symbols "$1" --size="$2"x"$3"
} }
W="$(($(tput cols)/2 - 10))" W="$(($(tput cols)/2 - 10))"

View File

@ -305,14 +305,17 @@ seat seat0 xcursor_theme Adwaita 10
include /etc/sway/config.d/* include /etc/sway/config.d/*
#inhibit idle for fullscreen windows
for_window [class=".*"] inhibit_idle fullscreen
for_window [app_id=".*"] inhibit_idle fullscreen
#autostart programs #autostart programs
exec sh ~/.local/scripts/gammastep-init.sh exec sh ~/.local/scripts/gammastep-init.sh
exec udiskie exec udiskie
exec autotiling exec autotiling
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec sway-audio-idle-inhibit
exec_always kanshi exec kanshi
#do any computer specific setup here, monitor configs, etc. #do any computer specific setup here, monitor configs, etc.
exec_always ~/.init.sh exec_always ~/.init.sh

@ -1 +1 @@
Subproject commit 65ab202b1551224c45a8476008a05bf4f3e6797e Subproject commit e596d0f94f6995fc87f5cb596c1d9ee5706ae000

View File

@ -76,6 +76,10 @@ export PATH="/opt/rocm/rocfft/bin:$PATH"
export PATH="/opt/rocm/rocfft/bin:$PATH" export PATH="/opt/rocm/rocfft/bin:$PATH"
#fix pinentry-curses on nixos
GPG_TTY=$(tty)
export GPG_TTY
#fix arduino ide issues #fix arduino ide issues
export AWT_TOOLKIT=MToolkit export AWT_TOOLKIT=MToolkit