Move gammastep to distrobox
This commit is contained in:
parent
ccde8384cc
commit
2955c76c7b
|
@ -24,7 +24,11 @@ unless ($pid) {
|
|||
open STDOUT, '>>/dev/null';
|
||||
open STDERR, '>>/dev/null';
|
||||
|
||||
exec "exec gammastep -l $lat_lon -b 0.7:0.3";
|
||||
if (! -e "/run/.containerenv" && ! -e "/.dockerenv" ) {
|
||||
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
|
Loading…
Reference in New Issue