From 08492ea227b023643a0fc7d7c468cf1b4b34ee60 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 24 Jun 2023 12:10:00 -0400 Subject: [PATCH] feh: Fullscreen by default This alleviates some of the issues with feh relying on xwayland. --- home/hyprland.nix | 1 + home/joshuto.nix | 2 +- modules/fish.nix | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/hyprland.nix b/home/hyprland.nix index c0f9a76..00cda0f 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -160,6 +160,7 @@ windowrulev2 = nomaxsize,class:^(osu\.exe)$ windowrulev2 = opaque,class:^(kitty)$ windowrulev2 = noblur,class:^(kitty)$ + windowrulev2 = fullscreen,class:^(feh)$ windowrulev2 = opacity 0.92 0.92,class:^(thunar)$ # Scroll through existing workspaces with super + scroll diff --git a/home/joshuto.nix b/home/joshuto.nix index d96beb7..2be00a4 100644 --- a/home/joshuto.nix +++ b/home/joshuto.nix @@ -36,7 +36,7 @@ ]; image_default = [ - { command = "feh"; args = [ "--" ]; fork = true; silent = true; } + { command = "feh"; args = [ "--fullscreen" "--" ]; fork = true; silent = true; } ]; video_default = [ diff --git a/modules/fish.nix b/modules/fish.nix index 45a60e3..18a0cb9 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -29,6 +29,7 @@ cp = "cp -ia"; rg = "${pkgs.ripgrep}/bin/rg --max-columns=2000 --smart-case"; yarn = "${pkgs.yarn}/bin/yarn --emoji true"; + feh = "${pkgs.feh} --fullscreen"; }; shellAbbrs = {