update hwylterm yet again
This commit is contained in:
parent
52ef7a6539
commit
9f2be2c4ac
4 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@
|
|||
pname = "hyprman";
|
||||
version = "unstable";
|
||||
src = cleanSource ./.;
|
||||
nimbleDepsHash = "sha256-+YgGP8/g/um9tmDP1IKhKKabtVes6H+x1qPYwjHcr4g=";
|
||||
nimbleDepsHash = "sha256-noqNxRnz8C7HTiqtO6u9+Oe9tC8C9cBSGSpIUrN5btU=";
|
||||
};
|
||||
});
|
||||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
version = "0.1.0"
|
||||
author = "Daylin Morgan"
|
||||
description = "hyrpman "
|
||||
description = "hyrpman"
|
||||
license = "MIT"
|
||||
srcDir = "src"
|
||||
bin = @["hyprman"]
|
||||
|
@ -13,4 +13,4 @@ bin = @["hyprman"]
|
|||
requires "nim >= 2.0.8"
|
||||
requires "yaml"
|
||||
requires "jsony"
|
||||
requires "https://github.com/daylinmorgan/hwylterm#c40a0a2"
|
||||
requires "https://github.com/daylinmorgan/hwylterm#dbde9c9"
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"packages": {
|
||||
"hwylterm": {
|
||||
"version": "0.1.0",
|
||||
"vcsRevision": "c40a0a2038338b6bbaa4179c76452f6f0d1ac87c",
|
||||
"vcsRevision": "dbde9c91e972e101c6e9da4ad87a0b2fa6d1bee8",
|
||||
"url": "https://github.com/daylinmorgan/hwylterm",
|
||||
"downloadMethod": "git",
|
||||
"dependencies": [],
|
||||
"checksums": {
|
||||
"sha1": "ba253b8643c6cd5abf98de5e1c89f961e14dc87c"
|
||||
"sha1": "aa7def4e92d09001e407791bbe02f21c4d835158"
|
||||
}
|
||||
},
|
||||
"jsony": {
|
||||
|
|
|
@ -10,6 +10,7 @@ import ./[
|
|||
|
||||
hwylCli:
|
||||
name "hyprman"
|
||||
settings Propagate, InferShort
|
||||
flags:
|
||||
[global]
|
||||
config:
|
||||
|
@ -18,6 +19,7 @@ hwylCli:
|
|||
? "path to config file"
|
||||
* (getConfigDir() / "hyprman" / "config.yml")
|
||||
- c
|
||||
S HideDefault
|
||||
preSub:
|
||||
config.load(configPath)
|
||||
subcommands:
|
||||
|
@ -30,10 +32,8 @@ hwylCli:
|
|||
* 10
|
||||
json:
|
||||
? "output as json"
|
||||
- j
|
||||
reverse:
|
||||
? "swap notification order"
|
||||
- r
|
||||
run:
|
||||
let history = getHistory(reverse, count)
|
||||
if json: echo $(%* history)
|
||||
|
|
Loading…
Reference in a new issue