persist stardew data

This commit is contained in:
Gabriel Fontes
2022-01-01 19:03:27 -03:00
parent 66174639b3
commit e235543500
2 changed files with 10 additions and 12 deletions
+1
View File
@@ -34,6 +34,7 @@
"Jogos"
"Livros"
".config/dconf"
".config/StardewValley"
];
allowOther = true;
};
+9 -12
View File
@@ -37,6 +37,7 @@ let
swaylock = "${pkgs.swaylock-effects}/bin/swaylock";
waybar = "${pkgs.waybar}/bin/waybar";
wofi = "${pkgs.wofi}/bin/wofi";
xrandr = "${pkgs.xorg.xrandr}/bin/xrandr";
zathura = "${pkgs.zathura}/bin/zathura";
in
rec {
@@ -148,23 +149,19 @@ rec {
};
startup = [
# Initial lock
{
command = "${swaylock} -i ${config.wallpaper}";
}
{ command = "${swaylock} -i ${config.wallpaper}"; }
# Start idle daemon
{
command = "${swayidle} -w";
}
{ command = "${swayidle} -w"; }
# Add transparency
{
command = "SWAYFADER_CON_INAC=0.85 ${swayfader}";
}
{ command = "SWAYFADER_CON_INAC=0.85 ${swayfader}"; }
# Init discocss
{
command = "${discocss}";
}
{ command = "${discocss}"; }
# Start waybar
{ command = "${waybar}"; }
(if hostname == "atlas" then {
# Set primary monitor
command = "${xrandr} --output $(${xrandr} | grep 'XWAYLAND.*2560x1080' | awk '{printf $1}') --primary";
} else { })
];
bars = [ ];
window = {