sway: add wl-crosshair

This commit is contained in:
Leonardo Eugênio 2023-05-31 20:42:55 -03:00
parent 5aa0614a59
commit 10380a53b5
5 changed files with 74 additions and 1 deletions

View file

@ -371,6 +371,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_7": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1681202837,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -624,6 +642,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": {
"locked": {
"lastModified": 1684242266,
"narHash": "sha256-uaCQ2k1bmojHKjWQngvnnnxQJMY8zi1zq527HdWgQf8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7e0743a5aea1dc755d4b761daf75b20aa486fdad",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1684247644, "lastModified": 1684247644,
@ -709,7 +743,8 @@
"ranger-sixel": "ranger-sixel", "ranger-sixel": "ranger-sixel",
"sea-orm-cli": "sea-orm-cli", "sea-orm-cli": "sea-orm-cli",
"tlauncher": "tlauncher", "tlauncher": "tlauncher",
"wegank": "wegank" "wegank": "wegank",
"wl-crosshair": "wl-crosshair"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {
@ -844,6 +879,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tlauncher": { "tlauncher": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_6",
@ -898,6 +948,25 @@
"type": "github" "type": "github"
} }
}, },
"wl-crosshair": {
"inputs": {
"flake-utils": "flake-utils_7",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1685576039,
"narHash": "sha256-WMkWurJsZZG7YkWzW/k2SNquYLsAZjzFs7CFswSjDew=",
"owner": "lelgenio",
"repo": "wl-crosshair",
"rev": "57d0908e10d9f58fc37fe866404cc8b66be1f0d9",
"type": "github"
},
"original": {
"owner": "lelgenio",
"repo": "wl-crosshair",
"type": "github"
}
},
"wlroots": { "wlroots": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -55,6 +55,7 @@
dhist.url = "github:lelgenio/dhist"; dhist.url = "github:lelgenio/dhist";
demoji.url = "github:lelgenio/demoji"; demoji.url = "github:lelgenio/demoji";
maildir-notify-daemon.url = "github:lelgenio/maildir-notify-daemon"; maildir-notify-daemon.url = "github:lelgenio/maildir-notify-daemon";
wl-crosshair.url = "github:lelgenio/wl-crosshair";
}; };
outputs = inputs@{ nixpkgs, nixpkgs-unstable, home-manager, nur, ... }: outputs = inputs@{ nixpkgs, nixpkgs-unstable, home-manager, nur, ... }:
let let

View file

@ -49,6 +49,7 @@
demoji = inputs.demoji.packages.${prev.system}.default; demoji = inputs.demoji.packages.${prev.system}.default;
tlauncher = inputs.tlauncher.packages.${prev.system}.tlauncher; tlauncher = inputs.tlauncher.packages.${prev.system}.tlauncher;
maildir-notify-daemon = inputs.maildir-notify-daemon.packages.${prev.system}.default; maildir-notify-daemon = inputs.maildir-notify-daemon.packages.${prev.system}.default;
wl-crosshair = inputs.wl-crosshair.packages.${prev.system}.default;
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper; mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli; sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;

View file

@ -116,6 +116,7 @@ in
wf-recorder wf-recorder
wl-clipboard wl-clipboard
wtype wtype
wl-crosshair
grim grim
swappy swappy

View file

@ -150,6 +150,7 @@ let
"${mod}+Shift+s" = "exec grim - | swappy -f -"; "${mod}+Shift+s" = "exec grim - | swappy -f -";
"${mod}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy"; "${mod}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy";
"${mod}+k" = "exec showkeys"; "${mod}+k" = "exec showkeys";
"${mod}+Alt+x" = "exec pkill wl-crosshair || exec wl-crosshair";
"${mod}+x" = "kill"; "${mod}+x" = "kill";
"${mod}+m" = "mode audio"; "${mod}+m" = "mode audio";
"${mod}+escape" = "${mod}+escape" =