wallpaper fix
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
# TODO:
|
||||
# - configure comands like hyprpaper, waybar, etc.
|
||||
# - make hyprexpo work
|
||||
# - write config for hyprpanel
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -24,20 +23,9 @@
|
||||
playerctl
|
||||
hyprshot
|
||||
nemo
|
||||
hyprpaper
|
||||
pywal
|
||||
];
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preload = "~/Pictures/wallpaper.png";
|
||||
wallpaper = [
|
||||
"eDP-2,~/Pictures/wallpaper.png"
|
||||
"eDP-1,~/Pictures/wallpaper.png"
|
||||
"HDMI-A-1,~/Pictures/wallpaper.png"
|
||||
];
|
||||
};
|
||||
};
|
||||
services.swww.enable = true;
|
||||
programs.hyprpanel = {
|
||||
enable = true;
|
||||
settings = builtins.fromJSON (builtins.readFile ./hyprpanel.json);
|
||||
@@ -58,7 +46,8 @@
|
||||
exec-once = [
|
||||
# "hyprlock"
|
||||
"wal -R &"
|
||||
"hyprpaper &"
|
||||
# "hyprpaper &"
|
||||
"swww-daemon &"
|
||||
# "hyprctl hyprpaper reload ,~/Pictures/wallpaper.png"
|
||||
"hyprpanel &"
|
||||
"gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'"
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
syncthing
|
||||
];
|
||||
|
||||
services.syncthing = { enable = true; };
|
||||
|
||||
# do i really need it?
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.nix-direnv.enable = true;
|
||||
|
||||
@@ -100,8 +100,8 @@ mv -f "$TMP_SYMLINK" "$SYMLINK"
|
||||
|
||||
# Export for hyprctl command (and run it)
|
||||
WALLPAPER="$NEW"
|
||||
# run exactly as requested
|
||||
hyprctl hyprpaper reload ,"$WALLPAPER"
|
||||
|
||||
swww img "$WALLPAPER" --transition-type fade
|
||||
hyprpanel -q ; hyprpanel & disown
|
||||
wal -c
|
||||
wal -n -i "$WALLPAPER"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
ignoreAllDups = true;
|
||||
ignoreDups = true;
|
||||
saveNoDups = true;
|
||||
share = false;
|
||||
share = true;
|
||||
};
|
||||
|
||||
plugins = with pkgs; [
|
||||
|
||||
@@ -1,6 +1,24 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
# enableSSHSupport = true;
|
||||
};
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
|
||||
services.fprintd.enable = true;
|
||||
# services.fprintd.tod.enable = true;
|
||||
# services.fprintd.enrollPermissions = "uaccess";
|
||||
# security.polkit.enable = true;
|
||||
security.pam.services.sudo.fprintAuth = true;
|
||||
security.pam.services.login.fprintAuth = lib.mkForce true;
|
||||
# security.pam.services.lightdm.fprintAuth =
|
||||
# true; # or gdm/sddm depending on your display manager
|
||||
|
||||
# programs.steam = {
|
||||
# enable = true;
|
||||
# remotePlay.openFirewall =
|
||||
@@ -30,6 +48,8 @@
|
||||
system76-scheduler
|
||||
tlp
|
||||
# lenovo-legion
|
||||
fprintd
|
||||
# fprintd-clients
|
||||
];
|
||||
|
||||
# starting the following units: accounts-daemon.service, systemd-modules-load.service, systemd-tmpfiles-resetup.service, tlp.ser
|
||||
|
||||
Reference in New Issue
Block a user