fix: adjust hyprland configs

This commit is contained in:
ryan4yin
2023-05-07 12:09:01 +08:00
parent 88faaa950c
commit 82f0248cf6
26 changed files with 318 additions and 475 deletions
-33
View File
@@ -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