mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
got portals working again for screensharing
This commit is contained in:
parent
260a2e3d68
commit
bde398cb8c
4 changed files with 25 additions and 106 deletions
|
@ -14,6 +14,20 @@ swayidle -w timeout 300 'swaylock --screenshots --clock --indicator --grace 3 --
|
||||||
|
|
||||||
syncthing serve --no-browser &
|
syncthing serve --no-browser &
|
||||||
|
|
||||||
wl-clip-persist -c regular &
|
# Kill any orphans of this
|
||||||
|
killall wl-clip-persist
|
||||||
|
wl-clip-persist -c regular --reconnect-tries 5 &
|
||||||
|
|
||||||
kanshi -c ~/.config/hypr/kanshi.conf
|
kanshi -c ~/.config/hypr/kanshi.conf &
|
||||||
|
|
||||||
|
# Start the portals
|
||||||
|
|
||||||
|
sleep 0.5
|
||||||
|
killall -e xdg-desktop-portal-hyprland
|
||||||
|
killall xdg-desktop-portal-gtk
|
||||||
|
killall xdk-desktop-portal
|
||||||
|
|
||||||
|
~/.nix-profile/libexec/xdg-desktop-portal-hyprland &
|
||||||
|
~/.nix-profile/libexec/xdg-desktop-portal-gtk &
|
||||||
|
sleep 2
|
||||||
|
XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal &
|
||||||
|
|
|
@ -207,67 +207,14 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprlang_2": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprlock",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprlock",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprlock",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1721324361,
|
|
||||||
"narHash": "sha256-BiJKO0IIdnSwHQBSrEJlKlFr753urkLE48wtt0UhNG4=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"rev": "adbefbf49664a6c2c8bf36b6487fd31e3eb68086",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprlock": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": "hyprlang_2",
|
|
||||||
"hyprutils": "hyprutils_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1721563228,
|
|
||||||
"narHash": "sha256-w+AyYuqlZ/uWEimiptlHjtDFECm/JlUOD2ciCw8/+/8=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlock",
|
|
||||||
"rev": "dba9d8b5175a6f23463035aafc6b0c741f9b73a5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"ref": "v0.4.1",
|
|
||||||
"repo": "hyprlock",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprpicker-git": {
|
"hyprpicker-git": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprutils": "hyprutils_3",
|
"hyprutils": "hyprutils_2",
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner_2",
|
"hyprwayland-scanner": "hyprwayland-scanner_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": "systems_3"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727732210,
|
"lastModified": 1727732210,
|
||||||
|
@ -309,31 +256,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprutils_2": {
|
"hyprutils_2": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprlock",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprlock",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1721324102,
|
|
||||||
"narHash": "sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"rev": "962582a090bc233c4de9d9897f46794280288989",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprutils_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprpicker-git",
|
"hyprpicker-git",
|
||||||
|
@ -449,7 +371,6 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprlock": "hyprlock",
|
|
||||||
"hyprpicker-git": "hyprpicker-git",
|
"hyprpicker-git": "hyprpicker-git",
|
||||||
"nixgl": "nixgl",
|
"nixgl": "nixgl",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
|
@ -485,21 +406,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"xdph": {
|
"xdph": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": "hyprland-protocols_2",
|
"hyprland-protocols": "hyprland-protocols_2",
|
||||||
|
|
|
@ -16,17 +16,13 @@
|
||||||
url = "github:hyprwm/hyprland/v0.44.1";
|
url = "github:hyprwm/hyprland/v0.44.1";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hyprlock = {
|
|
||||||
url = "github:hyprwm/hyprlock/v0.4.1";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
nixgl = {
|
nixgl = {
|
||||||
url = "github:nix-community/nixGL";
|
url = "github:nix-community/nixGL";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, hyprlock, nixgl, ... }@inputs:
|
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, ... }@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
@ -47,7 +43,6 @@
|
||||||
_module.args = {
|
_module.args = {
|
||||||
inherit hyprland;
|
inherit hyprland;
|
||||||
inherit nixgl;
|
inherit nixgl;
|
||||||
inherit hyprlock;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, hyprland, hyprlock, nixgl, ... }:
|
{ config, pkgs, hyprland, nixgl, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
@ -45,11 +45,15 @@
|
||||||
gdu
|
gdu
|
||||||
spotify-player
|
spotify-player
|
||||||
hyprpicker
|
hyprpicker
|
||||||
|
hyprlock
|
||||||
|
xwayland
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
|
||||||
# Flakes specific things defined in flake.nix
|
# Flakes specific things defined in flake.nix
|
||||||
hyprland.packages.${pkgs.system}.default
|
hyprland.packages.${pkgs.system}.default
|
||||||
|
hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||||
nixgl.packages.${pkgs.system}.nixGLIntel
|
nixgl.packages.${pkgs.system}.nixGLIntel
|
||||||
hyprlock.packages.${pkgs.system}.default
|
|
||||||
|
|
||||||
# Fonts!
|
# Fonts!
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
Loading…
Reference in a new issue