Compare commits

...

4 commits

Author SHA1 Message Date
ItsDrike d3a40dd759
Add vesktop 2024-06-20 15:37:46 +02:00
ItsDrike f726805e5c
Add stremio 2024-06-20 15:00:00 +02:00
ItsDrike b55b49c842
Persist zoxide db 2024-06-20 14:53:40 +02:00
ItsDrike 142ad87364
Fix shebang in eww scripts 2024-06-20 14:53:31 +02:00
14 changed files with 215 additions and 150 deletions

View file

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

View file

@ -0,0 +1,17 @@
{
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,5 +1,6 @@
_: {
imports = [
./spotify
./vesktop
];
}

View file

@ -0,0 +1,34 @@
{
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 @@
#!/bin/env bash
#!/usr/bin/env bash
if [ "$1" = "temperature" ]; then
watch_cmd="{t}"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -27,5 +27,10 @@ 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";
};
};
}