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