1
0
forked from extern/zaneyos

Fix shuf not working right in wallsetter

This commit is contained in:
Tyler Kelley 2024-02-09 22:24:01 -06:00
parent a8d3a20fff
commit 228939c6ed
3 changed files with 7 additions and 8 deletions

View File

@ -23,7 +23,7 @@ pkgs.writeShellScriptBin "wallsetter" ''
WALLPAPER=$(find ${wallpaperDir} -name '*' | awk '!/.git/' | tail -n +2 | shuf -n 1)
else
PREVIOUS=$WALLPAPER
NUM=$(shuf -i 1-5 -n 1)
NUM=$(shuf -e 1 2 3 4 5 -n 1)
case $NUM in
1)
TRANSITION=$TRANSITION1

View File

@ -1,11 +1,6 @@
{ pkgs, config, inputs, ... }:
let
my-python-packages = ps: with ps; [
pandas
requests
];
in {
{
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@ -17,7 +12,7 @@ in {
pkg-config meson hugo gnumake ninja go nodejs symbola
noto-fonts-color-emoji material-icons brightnessctl
toybox virt-viewer swappy ripgrep appimage-run
networkmanagerapplet
networkmanagerapplet yadm
];
programs.steam.gamescopeSession.enable = true;

View File

@ -2,6 +2,10 @@
let
inherit (import ../../options.nix) python;
my-python-packages = ps: with ps; [
pandas
requests
];
in lib.mkIf (python == true) {
environment.systemPackages = with pkgs; [
jetbrains.pycharm-community-bin