gammastep distrobox -> nix
This commit is contained in:
parent
558b0e616d
commit
aeffca21f0
|
@ -24,11 +24,7 @@ unless ($pid) {
|
||||||
open STDOUT, '>>/dev/null';
|
open STDOUT, '>>/dev/null';
|
||||||
open STDERR, '>>/dev/null';
|
open STDERR, '>>/dev/null';
|
||||||
|
|
||||||
if (! -e "/run/.containerenv" && ! -e "/.dockerenv" ) {
|
exec "exec $ENV{HOME}/.dotfiles/nix/bin/gammastep -l $lat_lon -b 0.7:0.3";
|
||||||
exec "exec /bin/distrobox-enter -n debian12 -- gammastep -l $lat_lon -b 0.7:0.3";
|
|
||||||
} else {
|
|
||||||
exec "exec gammastep -l $lat_lon -b 0.7:0.3";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub fetch_lat_lon
|
sub fetch_lat_lon
|
||||||
|
|
Loading…
Reference in New Issue