add icon packs to hyprland

This commit is contained in:
Yan Lin 2025-11-03 22:03:41 +01:00
parent bb6da96f0b
commit d444d69353
3 changed files with 10 additions and 18 deletions

View file

@ -143,9 +143,6 @@
"SUPER SHIFT, 8, movetoworkspace, 8"
"SUPER SHIFT, 9, movetoworkspace, 9"
# Input method switching
"SUPER, Space, exec, ibus engine xkb:us::eng"
# Brightness control
", XF86MonBrightnessUp, exec, brightnessctl set +5%"
", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
@ -178,6 +175,9 @@
};
};
# Blueman applet for Bluetooth management
services.blueman-applet.enable = true;
# Hypridle configuration (screen timeout and lock)
services.hypridle = {
enable = true;
@ -245,6 +245,10 @@
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
};
# Waybar configuration for Hyprland

View file

@ -261,12 +261,6 @@ in
action = ":lua open_file_with_system_app()<CR>";
options = { desc = "Open file with system default app"; };
}
{
mode = "n";
key = "<leader>f";
action = ":lua show_file_in_file_manager()<CR>";
options = { desc = "Show current file in file manager"; };
}
];
# Additional Lua configuration for plugins that need custom setup
@ -386,15 +380,6 @@ in
end
end
function show_file_in_file_manager()
local filepath = vim.fn.expand('%:p')
if filepath ~= "" then
-- Use jobstart for async execution (detach = true prevents blocking)
vim.fn.jobstart({'nautilus', '--select', filepath}, {detach = true})
else
print("No file to show")
end
end
'';
};
}