feat: add obc, vlc, sway wallpaper
This commit is contained in:
parent
63fa7916fd
commit
350aebc01d
4 changed files with 26 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
./gnupg.nix
|
||||
./keyring.nix
|
||||
./neovim.nix
|
||||
./obs.nix
|
||||
./packages.nix
|
||||
./playerctl.nix
|
||||
./spotify-player
|
||||
./ssh.nix
|
||||
|
|
|
|||
8
users/gandalf/modules/obs.nix
Normal file
8
users/gandalf/modules/obs.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = [ pkgs.obs-studio-plugins.wlrobs ];
|
||||
};
|
||||
|
||||
}
|
||||
7
users/gandalf/modules/packages.nix
Normal file
7
users/gandalf/modules/packages.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
vlc
|
||||
];
|
||||
|
||||
}
|
||||
|
|
@ -1,7 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.wayland.windowManager.sway.config;
|
||||
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
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -69,6 +74,9 @@ in
|
|||
scroll_factor = "0.5";
|
||||
};
|
||||
};
|
||||
output = {
|
||||
"*".bg = "${wallpaper} fill";
|
||||
};
|
||||
left = "h";
|
||||
down = "j";
|
||||
up = "k";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue