(desktop) Gen 459: Added keyring bind to hyprland config, along with a script for it. Super + P
This commit is contained in:
14
flake.lock
generated
14
flake.lock
generated
@@ -442,11 +442,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728836804,
|
"lastModified": 1728861919,
|
||||||
"narHash": "sha256-7dd4KUVMBeXIKrPzQn6FO7kfuqHbI0ognYgmoFfNaXM=",
|
"narHash": "sha256-VTbYjwDEaYyALE73n4HaWqxy+3Mg+x2yvVGScZ72Zkk=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "5c3bd8e93d9f25be3e16a0445ba6fce8d30b6d73",
|
"rev": "e7fd0f5aec85c11a8eaf5e1abf8504f0a6d0710e",
|
||||||
"revCount": 5336,
|
"revCount": 5339,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
@@ -825,11 +825,11 @@
|
|||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728855676,
|
"lastModified": 1728877747,
|
||||||
"narHash": "sha256-d3o+QZ/zRXl5bWdfa3wiM1nkAcs0Y4nHKU95wpR2WmM=",
|
"narHash": "sha256-OGSawABgsGqgJoSdWmR0hAuz8gRlAwPcwz4M3u27QaM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "c85953d50bfafd5d7a67e31e1e47c19b961b7da0",
|
"rev": "6f359b976f93fc46a3674b2a92ffb79dad8e8840",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
|
vi = "nvim";
|
||||||
mv = "mv -v";
|
mv = "mv -v";
|
||||||
cp = "cp -vr";
|
cp = "cp -vr";
|
||||||
gt = "gtrash";
|
gt = "gtrash";
|
||||||
|
|||||||
@@ -141,11 +141,11 @@
|
|||||||
"super, c, killactive,"
|
"super, c, killactive,"
|
||||||
"super, e, exec, [float;size 45% 70%;move 10 50] kitty btop"
|
"super, e, exec, [float;size 45% 70%;move 10 50] kitty btop"
|
||||||
"super, n, exec, [float;size 50% 35%;move 10 50] pavucontrol"
|
"super, n, exec, [float;size 50% 35%;move 10 50] pavucontrol"
|
||||||
|
"super, p, exec, [float;size 31% 30%;move onscreen cursor 0 0] kitty passhelper"
|
||||||
"super, p, exec, aplay ~/media/sound/soundtest.wav"
|
"super, p, exec, aplay ~/media/sound/soundtest.wav"
|
||||||
"super shift, q, exit,"
|
"super shift, q, exit,"
|
||||||
"super, m, exec, fuzzel"
|
"super, m, exec, fuzzel"
|
||||||
"super, r, exec, neovide"
|
"super, r, exec, neovide"
|
||||||
"super, p, pseudo, # dwindle"
|
|
||||||
"super, b, togglesplit, # dwindle"
|
"super, b, togglesplit, # dwindle"
|
||||||
"super, f, togglefloating"
|
"super, f, togglefloating"
|
||||||
"super, g, fullscreen"
|
"super, g, fullscreen"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
compress = (import ./commands/compress.nix { self = self; pkgs = pkgs;});
|
compress = (import ./commands/compress.nix { self = self; pkgs = pkgs;});
|
||||||
|
passhelper = (import ./wm-controls/passhelper.nix { self = self; pkgs = pkgs;});
|
||||||
crs = (import ./commands/crs.nix { self = self; pkgs = pkgs;});
|
crs = (import ./commands/crs.nix { self = self; pkgs = pkgs;});
|
||||||
extract = (import ./commands/extract.nix { self = self; pkgs = pkgs;});
|
extract = (import ./commands/extract.nix { self = self; pkgs = pkgs;});
|
||||||
invoke = (import ./commands/invoke.nix { self = self; pkgs = pkgs;});
|
invoke = (import ./commands/invoke.nix { self = self; pkgs = pkgs;});
|
||||||
@@ -29,6 +30,7 @@ in
|
|||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
compress
|
compress
|
||||||
|
passhelper
|
||||||
crs
|
crs
|
||||||
extract
|
extract
|
||||||
garbage-collect
|
garbage-collect
|
||||||
|
|||||||
11
modules/home/scripts/wm-controls/passhelper.nix
Normal file
11
modules/home/scripts/wm-controls/passhelper.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ self, pkgs, ... }:
|
||||||
|
|
||||||
|
pkgs.writeShellScriptBin "passhelper" (''
|
||||||
|
#!/run/current-system/sw/bin/bash
|
||||||
|
|
||||||
|
pass_string=$(find $HOME/.password-store -type f | sed 's|.*/.password-store/||; s|\.gpg$||' | rg -v ".gpg-id$" | fzf)
|
||||||
|
|
||||||
|
pass -c "$pass_string"
|
||||||
|
sleep 1.5
|
||||||
|
exit 0
|
||||||
|
'')
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
steam.enable = true;
|
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
nix-ld = {
|
nix-ld = {
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
nur = config.nur;
|
nur = config.nur;
|
||||||
|
steamcfg = if (host == "desktop") then [ ./steam.nix ] else [];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ]
|
||||||
|
++ steamcfg;
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user