mirror of
https://github.com/artagaz/nix-config.git
synced 2026-06-22 02:02:09 +07:00
added activation scripts for matugen & pywal
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
|
||||
home-manager.users.matthew.imports = [
|
||||
{
|
||||
home.activation = {
|
||||
matugen = ''
|
||||
${pkgs.matugen}/bin/matugen image /home/matthew/Pictures/iriza-katou.jpg --source-color-index 0
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
matugen
|
||||
kdePackages.breeze
|
||||
|
||||
@@ -275,12 +275,12 @@ layout {
|
||||
// See the binds section below for more spawn examples.
|
||||
|
||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||
// spawn-sh-at-startup "wal -i /home/matthew/Pictures/iriza-katou.jpg --cols16 --saturate 0.15"
|
||||
// spawn-sh-at-startup "matugen image /home/matthew/Pictures/iriza-katou.jpg --source-color-index 0";
|
||||
spawn-sh-at-startup "swaybg -i /home/matthew/Pictures/iriza-katou.jpg" // Wallpaper utility.
|
||||
spawn-at-startup "waybar" // Bar.
|
||||
spawn-at-startup "dunst" // Notification daemon.
|
||||
spawn-sh-at-startup "wlsunset -l 43.2 -L 76.9 -t 5000" // Night light utility.
|
||||
spawn-sh-at-startup "swaybg -i /home/matthew/Pictures/iriza-katou.jpg" // Wallpaper utility.
|
||||
spawn-sh-at-startup "wal -i /home/matthew/Pictures/iriza-katou.jpg --cols16 --saturate 0.15"
|
||||
spawn-sh-at-startup "matugen image /home/matthew/Pictures/iriza-katou.jpg";
|
||||
|
||||
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
||||
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
|
||||
home-manager.users.matthew.imports = [
|
||||
{
|
||||
home.activation = {
|
||||
pywal = ''
|
||||
${pkgs.pywal}/bin/wal -i /home/matthew/Pictures/iriza-katou.jpg --cols16 --saturate 0.15
|
||||
'';
|
||||
};
|
||||
|
||||
services.polkit-gnome.enable = true; # Enable Gnome polkit.
|
||||
|
||||
# Symlink config file.
|
||||
|
||||
Reference in New Issue
Block a user