Add hyprpaper
This commit is contained in:
parent
2ca92fb2a2
commit
e7d4580c6e
@ -1 +1 @@
|
|||||||
{ imports = [ ./hyprland.nix ./waybar.nix ]; }
|
{ imports = [ ./hyprland.nix ./waybar.nix ./xdg.nix ]; }
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ inputs, pkgs, lib, ... }: {
|
{ inputs, pkgs, lib, config, ... }: {
|
||||||
options.hyprland.enable = lib.mkEnableOption "Hyprland";
|
options.hyprland.enable = lib.mkEnableOption "Hyprland";
|
||||||
config = {
|
config = {
|
||||||
home.packages = with pkgs; [ swww wl-clipboard cliphist ];
|
home.packages = with pkgs; [ swww wl-clipboard cliphist hyprpaper ];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -54,6 +54,10 @@
|
|||||||
master.new_is_master = true;
|
master.new_is_master = true;
|
||||||
misc.force_default_wallpaper = -1;
|
misc.force_default_wallpaper = -1;
|
||||||
|
|
||||||
|
windowrulev2 = [
|
||||||
|
"opacity 0.85 override 0.5 override,class:^(Alacritty)$"
|
||||||
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# term
|
# term
|
||||||
"$mainMod,Return,exec,$term"
|
"$mainMod,Return,exec,$term"
|
||||||
@ -85,7 +89,7 @@
|
|||||||
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
|
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
|
||||||
"ALT, ${ws}, workspace, ${toString (x + 1)}"
|
"ALT, ${ws}, workspace, ${toString (x + 1)}"
|
||||||
]) 10));
|
]) 10));
|
||||||
exec-once = [ "waybar &" ];
|
exec-once = [ "waybar & hyprpaper" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
2
home/hyprland/hyprpaper.conf
Normal file
2
home/hyprland/hyprpaper.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
preload = ~/pics/wallpaper/1.jpg
|
||||||
|
wallpaper = eDP-1,~/pics/wallpaper/1.jpg
|
8
home/hyprland/xdg.nix
Normal file
8
home/hyprland/xdg.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, ... }: {
|
||||||
|
xdg.configFile = {
|
||||||
|
"hypr/hyprpaper.conf" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hyprpaper.conf";
|
||||||
|
target = "hypr/hyprpaper.conf";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -6,6 +6,7 @@
|
|||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
|
noto-fonts-monochrome-emoji
|
||||||
twemoji-color-font
|
twemoji-color-font
|
||||||
font-awesome
|
font-awesome
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user