feat: add obc, vlc, sway wallpaper

This commit is contained in:
Jacob Bachmann 2023-09-19 18:47:42 +02:00
parent 63fa7916fd
commit 350aebc01d
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
4 changed files with 26 additions and 1 deletions

View file

@ -6,6 +6,8 @@
./gnupg.nix ./gnupg.nix
./keyring.nix ./keyring.nix
./neovim.nix ./neovim.nix
./obs.nix
./packages.nix
./playerctl.nix ./playerctl.nix
./spotify-player ./spotify-player
./ssh.nix ./ssh.nix

View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.obs-studio = {
enable = true;
plugins = [ pkgs.obs-studio-plugins.wlrobs ];
};
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
vlc
];
}

View file

@ -1,7 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
let let
cfg = config.wayland.windowManager.sway.config; cfg = config.wayland.windowManager.sway.config;
common = import ./common.nix; common = import ./common.nix;
wallpaper = pkgs.fetchurl {
url = "https://live.staticflickr.com/65535/52797919139_2444712a38_o_d.png";
sha256 = "1a9148d8911fa25afa82d3b843ee620173955a7ca705d525f3e9d00e00696308";
meta.licenses = lib.licenses.cc0;
};
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -69,6 +74,9 @@ in
scroll_factor = "0.5"; scroll_factor = "0.5";
}; };
}; };
output = {
"*".bg = "${wallpaper} fill";
};
left = "h"; left = "h";
down = "j"; down = "j";
up = "k"; up = "k";