mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 14:47:17 +02:00
fix: adjust hyprland configs
This commit is contained in:
@@ -9,44 +9,11 @@
|
||||
# copy the scripts directory recursively
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/hypr/wallpapers/lockscreen.png".source = ../wallpapers/lockscreen.png;
|
||||
home.file.".config/hypr/wallpapers/wallpaper.png".source = ../wallpapers/wallpaper.png;
|
||||
|
||||
# allow fontconfig to discover fonts and configurations installed through home.packages
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home.packages =
|
||||
let
|
||||
icomoon-feather-font = pkgs.callPackage ./icomoon-feather-font.nix { };
|
||||
in
|
||||
with pkgs; [
|
||||
icomoon-feather-font
|
||||
|
||||
waybar # for the status bar
|
||||
swaybg # for setting the wallpaper
|
||||
swayidle # for setting the idle timeout
|
||||
swaylock # for locking the screen
|
||||
wl-clipboard # for copying and pasting
|
||||
|
||||
wf-recorder # for screen recording
|
||||
grim # for taking screenshots
|
||||
slurp # for selecting a region to screenshot
|
||||
# TODO replace by `flameshot gui --raw | wl-copy`
|
||||
|
||||
xfce.xfce4-appfinder # for the application launcher
|
||||
|
||||
wofi # for the application launcher
|
||||
mako # for the notification daemon
|
||||
|
||||
light # for changing the screen brightness
|
||||
yad # for the brightness popup
|
||||
|
||||
# 用于播放系统音效
|
||||
mpd # for playing system sounds
|
||||
mpc-cli # command-line mpd client
|
||||
ncmpcpp # a mpd client with a UI
|
||||
];
|
||||
|
||||
systemd.user.sessionVariables = {
|
||||
"NIXOS_OZONE_WL" = "1"; # for any ozone-based browser & electron apps to run on wayland
|
||||
"MOZ_ENABLE_WAYLAND" = "1"; # for firefox to run on wayland
|
||||
|
||||
Reference in New Issue
Block a user