mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-05 15:15:39 +01:00
Compare commits
No commits in common. "093108b2c2fc34062b0f91eb0b3bb8a6d659d9e2" and "0de00b4a9c1b7935bbd12ebd102632f04a543056" have entirely different histories.
093108b2c2
...
0de00b4a9c
5 changed files with 34 additions and 5 deletions
|
|
@ -1,7 +1,8 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
swww
|
||||
# swww
|
||||
swaybg
|
||||
inputs.hypr-contrib.packages.${pkgs.system}.grimblast
|
||||
hyprpicker
|
||||
grim
|
||||
|
|
|
|||
7
modules/home/scripts/scripts/lofi.sh
Executable file
7
modules/home/scripts/scripts/lofi.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if (ps aux | grep mpv | grep -v grep > /dev/null) then
|
||||
pkill mpv
|
||||
else
|
||||
runbg mpv --no-video https://www.youtube.com/live/jfKfPfyJRdk?si=OF0HKrYFFj33BzMo
|
||||
fi
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# MIT license
|
||||
# liv < liv at liv dot town > https://liv.town - 2024
|
||||
# Ahwx <ahwx at ahwx dot org> https://ahwx.org - 2024
|
||||
#
|
||||
# Dependencies: find/grep/bemenu/ping/git/
|
||||
|
||||
|
|
|
|||
9
modules/home/scripts/scripts/wall-change.sh
Executable file
9
modules/home/scripts/scripts/wall-change.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
PIDS=$(pgrep -f "swaybg")
|
||||
|
||||
swaybg -m fill -i $1 &
|
||||
|
||||
if [ -n "$PIDS" ]; then
|
||||
echo "$PIDS" | xargs kill
|
||||
fi
|
||||
12
modules/home/scripts/scripts/wallpaper-picker.sh
Executable file
12
modules/home/scripts/scripts/wallpaper-picker.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wallpaper_path=$HOME/Pictures/wallpapers
|
||||
wallpapers_folder=$HOME/Pictures/wallpapers/others
|
||||
wallpaper_name="$(ls $wallpapers_folder | bemenu -l 15)"
|
||||
if [[ -f $wallpapers_folder/$wallpaper_name ]]; then
|
||||
find ~/Pictures/wallpapers -maxdepth 1 -type f -delete
|
||||
cp $wallpapers_folder/$wallpaper_name $wallpaper_path/$wallpaper_name
|
||||
wall-change $wallpaper_path/$wallpaper_name
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue