fix: shortcut rofi not showing svg
This commit is contained in:
parent
21be3b127f
commit
69e41c6e05
1 changed files with 9 additions and 6 deletions
|
|
@ -7,7 +7,8 @@
|
||||||
xcursor-size,
|
xcursor-size,
|
||||||
nvidia-offload-enabled ? false,
|
nvidia-offload-enabled ? false,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
terminal = "ghostty";
|
terminal = "ghostty";
|
||||||
startScript = import ./hypr/exec.nix {
|
startScript = import ./hypr/exec.nix {
|
||||||
inherit
|
inherit
|
||||||
|
|
@ -30,7 +31,8 @@
|
||||||
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
||||||
echo "$song_info"
|
echo "$song_info"
|
||||||
'';
|
'';
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hyprpaper
|
hyprpaper
|
||||||
hyprcursor
|
hyprcursor
|
||||||
|
|
@ -58,8 +60,8 @@ in {
|
||||||
|
|
||||||
settings =
|
settings =
|
||||||
{
|
{
|
||||||
bind = import ./hypr/bind.nix {inherit mainMod nvidia-offload-enabled;};
|
bind = import ./hypr/bind.nix { inherit mainMod nvidia-offload-enabled; };
|
||||||
bindm = import ./hypr/bindm.nix {inherit mainMod;};
|
bindm = import ./hypr/bindm.nix { inherit mainMod; };
|
||||||
monitor = import ./hypr/monitor.nix;
|
monitor = import ./hypr/monitor.nix;
|
||||||
plugin = plugins;
|
plugin = plugins;
|
||||||
exec-once = ''${startScript}'';
|
exec-once = ''${startScript}'';
|
||||||
|
|
@ -70,6 +72,7 @@ in {
|
||||||
''XCURSOR_SIZE, ${xcursor-size}''
|
''XCURSOR_SIZE, ${xcursor-size}''
|
||||||
''XDG_CURRENT_DESKTOP, Hyprland''
|
''XDG_CURRENT_DESKTOP, Hyprland''
|
||||||
''XDG_SESSION_DESKTOP, Hyprland''
|
''XDG_SESSION_DESKTOP, Hyprland''
|
||||||
|
''GDK_PIXBUF_MODULE_FILE, ${pkgs.librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'' # Make rofi load svg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
// window
|
// window
|
||||||
|
|
@ -80,8 +83,8 @@ in {
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
preload = ["~/.config/wallpapers/wall.png"];
|
preload = [ "~/.config/wallpapers/wall.png" ];
|
||||||
wallpaper = [", ~/.config/wallpapers/wall.png"];
|
wallpaper = [ ", ~/.config/wallpapers/wall.png" ];
|
||||||
splash = false;
|
splash = false;
|
||||||
ipc = "on";
|
ipc = "on";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue