make wallpaper work on niri
This commit is contained in:
parent
4b28b21068
commit
e7b6fda857
3 changed files with 13 additions and 7 deletions
|
@ -1,20 +1,26 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
wallpaper = "${./nixos-c-book.png}";
|
||||
terminal = "foot";
|
||||
menu = "fuzzel";
|
||||
browser = "librewolf";
|
||||
file-manager = "thunar";
|
||||
in
|
||||
{
|
||||
programs.niri.settings = {
|
||||
programs.niri.settings =
|
||||
{
|
||||
prefer-no-csd = true;
|
||||
input.keyboard.xkb.options = "ctrl:nocaps";
|
||||
spawn-at-startup = [
|
||||
{ command = [ "waybar" ]; }
|
||||
{ command = [ "${lib.getExe pkgs.swaybg}" "-m" "fill" "-i" wallpaper ]; }
|
||||
];
|
||||
};
|
||||
|
||||
programs.niri.settings.binds =
|
||||
with config.lib.niri.actions;
|
||||
let
|
||||
terminal = "foot";
|
||||
menu = "fuzzel";
|
||||
browser = "librewolf";
|
||||
file-manager = "thunar";
|
||||
sh = spawn "sh" "-c";
|
||||
in
|
||||
{
|
||||
"Mod+Return".action = spawn terminal;
|
BIN
home/niri/nixos-c-book.png
Normal file
BIN
home/niri/nixos-c-book.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
|
@ -6,7 +6,7 @@
|
|||
imports = [
|
||||
./common.nix
|
||||
../foot.nix
|
||||
../niri.nix
|
||||
../niri
|
||||
];
|
||||
home = {
|
||||
username = "yt";
|
||||
|
|
Loading…
Add table
Reference in a new issue