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;
|
prefer-no-csd = true;
|
||||||
input.keyboard.xkb.options = "ctrl:nocaps";
|
input.keyboard.xkb.options = "ctrl:nocaps";
|
||||||
spawn-at-startup = [
|
spawn-at-startup = [
|
||||||
{ command = [ "waybar" ]; }
|
{ command = [ "waybar" ]; }
|
||||||
|
{ command = [ "${lib.getExe pkgs.swaybg}" "-m" "fill" "-i" wallpaper ]; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.settings.binds =
|
programs.niri.settings.binds =
|
||||||
with config.lib.niri.actions;
|
with config.lib.niri.actions;
|
||||||
let
|
let
|
||||||
terminal = "foot";
|
sh = spawn "sh" "-c";
|
||||||
menu = "fuzzel";
|
|
||||||
browser = "librewolf";
|
|
||||||
file-manager = "thunar";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"Mod+Return".action = spawn terminal;
|
"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 = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
../foot.nix
|
../foot.nix
|
||||||
../niri.nix
|
../niri
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
username = "yt";
|
username = "yt";
|
||||||
|
|
Loading…
Add table
Reference in a new issue