From aeffca21f06919f79da429f7167d60c89b31ac5b Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 20 Jul 2023 15:44:13 -0400 Subject: [PATCH] gammastep distrobox -> nix --- distrobox/toolbox/gammastep.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distrobox/toolbox/gammastep.pl b/distrobox/toolbox/gammastep.pl index f43cb23..b8186f0 100755 --- a/distrobox/toolbox/gammastep.pl +++ b/distrobox/toolbox/gammastep.pl @@ -24,11 +24,7 @@ unless ($pid) { open STDOUT, '>>/dev/null'; open STDERR, '>>/dev/null'; - 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"; - } + exec "exec $ENV{HOME}/.dotfiles/nix/bin/gammastep -l $lat_lon -b 0.7:0.3"; } sub fetch_lat_lon