fix(hyprland): add change of wallpapers
This commit is contained in:
1 parent
fe0d9e5198
commit
aeac1ff44b
2 files changed
+12
-2
No files matched your search
@@ -21,7 +21,16 @@ let
|
||||
in {
|
||||
imports = lib.optional (host != null && builtins.pathExists ../../host/${host.name}/modules/hyprland.nix) ../../host/${host.name}/modules/hyprland.nix;
|
||||
|
||||
home.packages = with pkgs; [ ghostty pamixer wofi clipse wl-clipboard wl-clip-persist xclip ];
|
||||
home.packages = with pkgs; [
|
||||
wallpaper_changer
|
||||
ghostty
|
||||
pamixer
|
||||
wofi
|
||||
clipse
|
||||
wl-clipboard
|
||||
wl-clip-persist
|
||||
xclip
|
||||
];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
configType = "lua";
|
||||
@@ -88,6 +97,7 @@ in {
|
||||
(hyprLua.bind "SUPER + E" (hyprLua.exec "ghostty -e sh -c yazi"))
|
||||
(hyprLua.bind "SUPER + F" "hl.dsp.window.float({ action = \"toggle\" })")
|
||||
(hyprLua.bind "SUPER + J" "hl.dsp.layout(\"togglesplit\")")
|
||||
(hyprLua.bind "SUPER + W" (hyprLua.exec "${lib.getExe wallpaper_changer}"))
|
||||
(hyprLua.bind "SUPER + LEFT" "hl.dsp.focus({ direction = \"${direction.left}\" })")
|
||||
(hyprLua.bind "SUPER + RIGHT" "hl.dsp.focus({ direction = \"${direction.right}\" })")
|
||||
(hyprLua.bind "SUPER + UP" "hl.dsp.focus({ direction = \"${direction.up}\" })")
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
openWayBar = "vim .config/f/home-manager/data/waybar.nix";
|
||||
rebuildFlake = "sudo nixos-rebuild switch --flake /home/kirill/.config/f --impure";
|
||||
openFlake = "vim /home/kirill/.config/f/flake.nix";
|
||||
swichWalls = "python3 /nix/store/6czqsnf0gbvvm472lipndyg34qhnfpis-wallpaper_changer/bin/wallpaper_changer";
|
||||
swichWalls = "wallpaper_changer";
|
||||
screenshot_f="grimblast save screen ~/screenshot_$(date +\%Y-\%m-\%d_\%H-\%M-\%S).png";
|
||||
screenshot="grimblast save area ~/screenshot_$(date +\%Y-\%m-\%d_\%H-\%M-\%S).png";
|
||||
screenshot_c = "grimblast copy area";
|
||||
|
||||
Reference in new issue
Block a user