Compare commits

..

No commits in common. "d3a40dd75959bca1ca98b08bedcaa67c94291998" and "408e9fc6cb72f82cbe04fe21c3f38d36773c9b6b" have entirely different histories.

14 changed files with 150 additions and 215 deletions

View file

@ -1,6 +1,5 @@
_: {
imports = [
./wayland.nix
./stremio.nix
];
}

View file

@ -1,17 +0,0 @@
{
lib,
pkgs,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.stremio;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [
stremio
];
};
}

View file

@ -1,6 +1,5 @@
_: {
imports = [
./spotify
./vesktop
];
}

View file

@ -1,34 +0,0 @@
{
lib,
osConfig,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.vesktop;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [ vesktop ];
xdg.configFile = {
"vesktop/settings.json".text = builtins.toJSON {
discordBranch = "stable"; # consider "ptb"
firstLaunch = false;
arRPC = "on";
splashColor = "rgb(219, 222, 225)";
splashBackground = "rgb(49, 51, 56)";
checkUpdates = false;
staticTitle = true;
disableMinSize = true;
minimizeToTray = false;
tray = false;
appBadge = false;
};
"autostart/vesktop.desktop" = mkIf cfg.autoStart {
source = "${pkgs.vesktop}/share/applications/vesktop.desktop";
};
};
};
}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
if [ "$1" = "temperature" ]; then
watch_cmd="{t}"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# $1: Current number
# $2: Range minimum

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# shellcheck source=include
source "./scripts/include"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
MOUNTPOINTS=("/" "/mnt/ext")

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# shellcheck source=include
source "./scripts/include"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# Define some icons
SPEAKER_ICONS=("" "" "")

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# shellcheck source=include
source "./scripts/include"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/env bash
# shellcheck source=include
source "./scripts/include"

View file

@ -62,9 +62,7 @@
".mozilla"
".mullvad"
".config/chromium"
".config/vesktop"
".local/share/gnupg"
".local/share/zoxide"
".local/share/wakatime"
".local/share/nvim"
".local/state/nvim"
@ -137,11 +135,6 @@
mullvad-browser.enable = true;
};
spotify.enable = true;
stremio.enable = true;
vesktop = {
enable = true;
autoStart = true;
};
};
};
};

View file

@ -27,10 +27,5 @@ in
};
spotify.enable = mkEnableOption "Spotify";
stremio.enable = mkEnableOption "Stremio free media center";
vesktop = {
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
autoStart = mkEnableOption "Auto-Start for Vesktop";
};
};
}