Compare commits

..

No commits in common. "907352965da90e8c565bd8aaa3a9be429ca4bf3c" and "793937d34d560aefa3c0a190354c9a18fc14a860" have entirely different histories.

26 changed files with 93 additions and 181 deletions

View file

@ -22,7 +22,8 @@ confirm() {
echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: "
read -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit 0
fi
}
@ -96,6 +97,14 @@ install() {
mkdir -p ~/Pictures/wallpapers/others
sleep 0.2
# Copy the wallpapers
echo -e "Copying all ${MAGENTA}wallpapers${NORMAL}"
cp -r wallpapers/wallpaper.png ~/Pictures/wallpapers
cp -r wallpapers/otherWallpaper/catppuccin/* ~/Pictures/wallpapers/others/
cp -r wallpapers/otherWallpaper/nixos/* ~/Pictures/wallpapers/others/
cp -r wallpapers/otherWallpaper/others/* ~/Pictures/wallpapers/others/
sleep 0.2
# Get the hardware configuration
echo -e "Copying ${MAGENTA}/etc/nixos/hardware-configuration.nix${NORMAL} to ${MAGENTA}./hosts/${HOST}/${NORMAL}\n"
cp /etc/nixos/hardware-configuration.nix hosts/${HOST}/hardware-configuration.nix

View file

@ -71,8 +71,7 @@
"waybar &"
"swaync &"
"wl-paste --watch cliphist store &"
"yubikey-touch-detector --libnotify &"
"mpDris2 &"
"yubikey-touch-detector --libnotify"
];
input = {
@ -172,7 +171,7 @@
};
animations = {
enabled = false;
enabled = true;
bezier = [
"fluent_decel, 0, 0.2, 0.4, 1"

View file

@ -29,6 +29,7 @@
vimv
iamb
pass
pixcat
lm_sensors
neofetch
hyfetch
@ -55,11 +56,6 @@
rustc
wikit
reader
nmap
speedtest-go
delta
powertop
android-tools
# GUI shit
element-desktop

View file

@ -25,10 +25,6 @@ unfuck_wallpaper() {
swww img ~/.local/share/bg.png
}
unfuck_fingerprint() {
systemctl restart fprintd.service
}
unfuck_bar() {
pkill waybar
setsid waybar &
@ -85,7 +81,6 @@ everything)
unfuck_bar
unfuck_spotify
unfuck_wallpaper
unfuck_fingerprint
;;
*)
eval "unfuck_$1"

View file

@ -16,7 +16,7 @@
localVariables = {
# Looks like this: '~/some/path > '
PS1 = "> %F{magenta}%~%f < ";
PS1 = "%F{magenta} > %~%f < ";
RPROMPT = "%F{magenta}%m";
# Gets pushed to the home directory otherwise
LESSHISTFILE = "/dev/null";

View file

@ -5,21 +5,10 @@
...
}:
{
environment.systemPackages = with pkgs; [
mpc
mpdris2
ncmpcpp
rmpc
];
services.mpd = {
enable = true;
musicDirectory = "/home/${username}/Music";
playlistDirectory = "/home/${username}/Music/.playlists";
musicDirectory = "/home/liv/Music";
extraConfig = ''
restore_paused "yes"
auto_update "yes"
audio_output {
type "pipewire"
name "pipewire"
@ -32,6 +21,11 @@
};
systemd.services.mpd.environment = {
# see: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609
XDG_RUNTIME_DIR = "/run/user/1000"; # User-id must match above user. MPD will look inside this directory for the PipeWire socket.
XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.${username}.uid}"; # User-id must match above user. MPD will look inside this directory for the PipeWire socket.
};
environment.systemPackages = with pkgs; [
mpdris2
ncmpcpp
];
}

View file

@ -1,81 +0,0 @@
{
makeDesktopItem,
copyDesktopItems,
fetchFromGitHub,
makeWrapper,
python3Packages,
qt6,
ffmpeg,
}:
python3Packages.buildPythonApplication rec {
pname = "onthespot";
version = "0.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "justin025";
repo = "onthespot";
rev = "refs/tags/v${version}";
hash = "sha256-G4c1u7HvTap6iZ2ttGBxhRpYrdICIGXwfgo7Jbmq/R4=";
};
pythonRelaxDeps = true;
nativeBuildInputs = [
makeWrapper
copyDesktopItems
qt6.wrapQtAppsHook
];
propagatedBuildInputs = with python3Packages; [
qt6.qtbase
ffmpeg
mutagen
googletrans
/*
(googletrans.overrideAttrs {
version = "4.0.2";
src = fetchFromGitHub {
owner = "ssut";
repo = "py-googletrans";
rev = "v${version}";
sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
};
})
*/
librespot
pillow
pyperclip
pyqt6
pyqt6-sip
requests
setuptools
urllib3
wheel
];
postInstall = ''
wrapProgram $out/bin/onthespot \
--set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION "python"
install -Dm444 $src/src/onthespot/resources/icons/onthespot.png $out/share/icons/hicolor/256x256/apps/onthespot.png
'';
/*
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
*/
desktopItems = [
(makeDesktopItem {
name = "Onthespot";
exec = "onthespot";
icon = "onthespot";
desktopName = "Onthespot";
comment = " QT based Spotify music downloader written in Python";
categories = [ "Audio" ];
})
];
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 MiB

BIN
wallpapers/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB