hyprland tweaks

This commit is contained in:
Rouven Seifert 2023-03-04 21:22:42 +01:00
parent 49fa6f0b7e
commit 6454f8c69c
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
6 changed files with 50 additions and 36 deletions

View file

@ -1,9 +1,15 @@
{ config, pkgs, ... }:
{
imports = [
./hyprpaper.nix ./session.nix ./waybar.nix
./hyprpaper.nix
./session.nix
./waybar.nix
];
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./hyprland.conf; # todo nix config when available
};
home.sessionVariables = {
GRIM_DEFAULT_DIR = "~/Pictures/Screenshots/";
};
@ -19,8 +25,6 @@
];
xdg.configFile = {
"hypr/hyprland.conf".source = ./hyprland.conf;
"wofi/config".text = ''
allow_images = true
term = alacritty

View file

@ -1,10 +1,5 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1, 1920x1080, 0x0, 1
# manually start the systemd target
exec-once = systemctl --user start hyprland-session.target
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us

View file

@ -9,7 +9,7 @@
pcmanfm # rock solid file manager
xdg-utils # used for xdg-open
snapper-gui
comma # run any command
comma # run any command
kleopatra
python310Packages.pyhanko
@ -68,6 +68,7 @@
})
];
programs.obs-studio.enable = true;
xdg.mimeApps = {
enable = true;