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
|
./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
|
||||||
|
|
|
||||||
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
|
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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue