update hwylterm yet again

This commit is contained in:
Daylin Morgan 2025-01-30 17:53:09 -06:00
parent 52ef7a6539
commit 9f2be2c4ac
Signed by: daylin
GPG key ID: 950D13E9719334AD
4 changed files with 7 additions and 7 deletions

View file

@ -48,7 +48,7 @@
pname = "hyprman"; pname = "hyprman";
version = "unstable"; version = "unstable";
src = cleanSource ./.; src = cleanSource ./.;
nimbleDepsHash = "sha256-+YgGP8/g/um9tmDP1IKhKKabtVes6H+x1qPYwjHcr4g="; nimbleDepsHash = "sha256-noqNxRnz8C7HTiqtO6u9+Oe9tC8C9cBSGSpIUrN5btU=";
}; };
}); });
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style); formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);

View file

@ -2,7 +2,7 @@
version = "0.1.0" version = "0.1.0"
author = "Daylin Morgan" author = "Daylin Morgan"
description = "hyrpman " description = "hyrpman"
license = "MIT" license = "MIT"
srcDir = "src" srcDir = "src"
bin = @["hyprman"] bin = @["hyprman"]
@ -13,4 +13,4 @@ bin = @["hyprman"]
requires "nim >= 2.0.8" requires "nim >= 2.0.8"
requires "yaml" requires "yaml"
requires "jsony" requires "jsony"
requires "https://github.com/daylinmorgan/hwylterm#c40a0a2" requires "https://github.com/daylinmorgan/hwylterm#dbde9c9"

View file

@ -3,12 +3,12 @@
"packages": { "packages": {
"hwylterm": { "hwylterm": {
"version": "0.1.0", "version": "0.1.0",
"vcsRevision": "c40a0a2038338b6bbaa4179c76452f6f0d1ac87c", "vcsRevision": "dbde9c91e972e101c6e9da4ad87a0b2fa6d1bee8",
"url": "https://github.com/daylinmorgan/hwylterm", "url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git", "downloadMethod": "git",
"dependencies": [], "dependencies": [],
"checksums": { "checksums": {
"sha1": "ba253b8643c6cd5abf98de5e1c89f961e14dc87c" "sha1": "aa7def4e92d09001e407791bbe02f21c4d835158"
} }
}, },
"jsony": { "jsony": {

View file

@ -10,6 +10,7 @@ import ./[
hwylCli: hwylCli:
name "hyprman" name "hyprman"
settings Propagate, InferShort
flags: flags:
[global] [global]
config: config:
@ -18,6 +19,7 @@ hwylCli:
? "path to config file" ? "path to config file"
* (getConfigDir() / "hyprman" / "config.yml") * (getConfigDir() / "hyprman" / "config.yml")
- c - c
S HideDefault
preSub: preSub:
config.load(configPath) config.load(configPath)
subcommands: subcommands:
@ -30,10 +32,8 @@ hwylCli:
* 10 * 10
json: json:
? "output as json" ? "output as json"
- j
reverse: reverse:
? "swap notification order" ? "swap notification order"
- r
run: run:
let history = getHistory(reverse, count) let history = getHistory(reverse, count)
if json: echo $(%* history) if json: echo $(%* history)