chore: update flake.lock and improve hyprland bindings and neovim config
This commit is contained in:
30
flake.lock
generated
30
flake.lock
generated
@@ -35,11 +35,11 @@
|
|||||||
"advisory-db_3": {
|
"advisory-db_3": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735928634,
|
"lastModified": 1761495061,
|
||||||
"narHash": "sha256-Qg1vJOuEohAbdRmTTOLrbbGsyK9KRB54r3+aBuOMctM=",
|
"narHash": "sha256-AnWA+J43s6p3y2dorJeIp5F4P5gleHBLTS/pgEtdKfM=",
|
||||||
"owner": "rustsec",
|
"owner": "rustsec",
|
||||||
"repo": "advisory-db",
|
"repo": "advisory-db",
|
||||||
"rev": "63a2f39924f66ca89cf5761f299a8a244fe02543",
|
"rev": "609733e128ab7d6c3ddc6f14e7c6e0fa8a35577e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -411,11 +411,11 @@
|
|||||||
},
|
},
|
||||||
"crane_3": {
|
"crane_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734808813,
|
"lastModified": 1760924934,
|
||||||
"narHash": "sha256-3aH/0Y6ajIlfy7j52FGZ+s4icVX0oHhqBzRdlOeztqg=",
|
"narHash": "sha256-tuuqY5aU7cUkR71sO2TraVKK2boYrdW3gCSXUkF4i44=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "72e2d02dbac80c8c86bf6bf3e785536acf8ee926",
|
"rev": "c6b4d5308293d0d04fcfeee92705017537cad02f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -589,11 +589,11 @@
|
|||||||
"rust-overlay": "rust-overlay_4"
|
"rust-overlay": "rust-overlay_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739106638,
|
"lastModified": 1761564207,
|
||||||
"narHash": "sha256-ksOqVRo/7L6/1YtfjDuYFfzHq3Y1iL7ZZQgoMo6HV/A=",
|
"narHash": "sha256-mNRXD+bsn83AojRw3ZFcy8ucpX80xiWr3IlZZYW7Emg=",
|
||||||
"owner": "uttarayan21",
|
"owner": "uttarayan21",
|
||||||
"repo": "ddcbacklight",
|
"repo": "ddcbacklight",
|
||||||
"rev": "1de1ac3bd0526138a2239b105386b9cf91d1a929",
|
"rev": "4e09ee2224da199f8d41078cbbf1179279341a49",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2286,11 +2286,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731952509,
|
"lastModified": 1737420293,
|
||||||
"narHash": "sha256-p4gB3Rhw8R6Ak4eMl8pqjCPOLCZRqaehZxdZ/mbFClM=",
|
"narHash": "sha256-F1G5ifvqTpJq7fdkT34e/Jy9VCyzd5XfJ9TO8fHhJWE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-github-actions",
|
"repo": "nix-github-actions",
|
||||||
"rev": "7b5f051df789b6b20d259924d349a9ba3319b226",
|
"rev": "f4158fa080ef4503c8f4c820967d946c2af31ec9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -3137,11 +3137,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735871325,
|
"lastModified": 1761532837,
|
||||||
"narHash": "sha256-6Ta5E4mhSfCP6LdkzkG2+BciLOCPeLKuYTJ6lOHW+mI=",
|
"narHash": "sha256-78mCSQgC/a6/0vWYrvE/g9E3gGsJLyBBGtmHe3ZOLG4=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "a599f011db521766cbaf7c2f5874182485554f00",
|
"rev": "4f5f89f1cfd8553b1285a4a0879ea1b2b05ad286",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
device,
|
device,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# lib.optionalAttrs device.isNix
|
# lib.optionalAttrs device.isNix
|
||||||
@@ -187,28 +188,32 @@
|
|||||||
];
|
];
|
||||||
bind = [
|
bind = [
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
"$mainMod, Return, exec, ${pkgs.kitty}/bin/kitty"
|
"$mainMod, Return, exec, ${lib.getExe pkgs.kitty}"
|
||||||
"$mainModShift, Return, exec, ${pkgs.wezterm}/bin/wezterm"
|
"$mainModShift, Return, exec, ${lib.getExe pkgs.wezterm}"
|
||||||
# "$mainModShift, Return, exec, ${pkgs.foot}/bin/foot"
|
# "$mainModShift, Return, exec, ${pkgs.foot}/bin/foot"
|
||||||
"$mainModShift, Q, killactive,"
|
"$mainModShift, Q, killactive,"
|
||||||
"$mainModShift, s, exec, ${pkgs.hyprshot}/bin/hyprshot -m region"
|
"$mainModShift, s, exec, ${lib.getExe pkgs.hyprshot} -m region"
|
||||||
# "$mainMod, M, exit,"
|
# "$mainMod, M, exit,"
|
||||||
"$mainModShift, f, togglefloating,"
|
"$mainModShift, f, togglefloating,"
|
||||||
"$mainModShift, f, pin"
|
"$mainModShift, f, pin"
|
||||||
"$mainModShift, f, alterzorder, top"
|
"$mainModShift, f, alterzorder, top"
|
||||||
"$mainMod, f, fullscreen,"
|
"$mainMod, f, fullscreen,"
|
||||||
"$mainMod, g, fullscreenstate,0,2"
|
"$mainMod, g, fullscreenstate,0,2"
|
||||||
"$mainMod, d, exec, ${pkgs.anyrun}/bin/anyrun"
|
"$mainMod, d, exec, ${lib.getExe pkgs.anyrun}"
|
||||||
"$mainMod, Space, exec, ${pkgs.anyrun}/bin/anyrun"
|
"$mainMod, Space, exec, ${lib.getExe pkgs.anyrun}"
|
||||||
"$mainMod, p, pseudo, # dwindle"
|
"$mainMod, p, pseudo, # dwindle"
|
||||||
"$mainMod, v, togglesplit,"
|
"$mainMod, v, togglesplit,"
|
||||||
# "$mainMod, a, exec, swaync-client -t"
|
# "$mainMod, a, exec, swaync-client -t"
|
||||||
"$mainMod, Tab, cyclenext"
|
"$mainMod, Tab, cyclenext"
|
||||||
# Audio
|
# Audio
|
||||||
",xf86audiomute, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle"
|
",xf86audiomute, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle"
|
||||||
# ",xf86audioprev, exec, /home/fs0c131y/.cargo/bin/mctl prev"
|
# replace with later
|
||||||
# ",xf86audionext, exec, /home/fs0c131y/.cargo/bin/mctl next"
|
# https://github.com/uttarayan21/mctl-rs
|
||||||
# ",xf86audioplay, exec, /home/fs0c131y/.cargo/bin/mctl toggle"
|
",xf86audioprev, exec, ${lib.getExe pkgs.playerctl} previous"
|
||||||
|
",xf86audionext, exec, ${lib.getExe pkgs.playerctl} next"
|
||||||
|
",xf86audioplay, exec, ${lib.getExe pkgs.playerctl} play-pause"
|
||||||
|
",xf86monbrightnessup, exec, ${lib.getExe pkgs.ddcbacklight} inc 10"
|
||||||
|
",xf86monbrightnessdown, exec, ${lib.getExe pkgs.ddcbacklight} dec 10"
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
# "$mainMod,Print, exec, grim"
|
# "$mainMod,Print, exec, grim"
|
||||||
|
|||||||
@@ -143,6 +143,20 @@ in {
|
|||||||
pattern = "?*";
|
pattern = "?*";
|
||||||
command = "silent! loadview!";
|
command = "silent! loadview!";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
event = ["FileType"];
|
||||||
|
pattern = "json";
|
||||||
|
callback =
|
||||||
|
rawLua
|
||||||
|
/*
|
||||||
|
lua
|
||||||
|
*/
|
||||||
|
''
|
||||||
|
function(ev)
|
||||||
|
vim.bo[ev.buf].formatprg = "${pkgs.jq}/bin/jq"
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
@@ -799,5 +813,8 @@ in {
|
|||||||
pkgs.sleek
|
pkgs.sleek
|
||||||
pkgs.graphqurl
|
pkgs.graphqurl
|
||||||
pkgs.sqls
|
pkgs.sqls
|
||||||
|
pkgs.lua
|
||||||
|
pkgs.ripgrep
|
||||||
|
pkgs.nodejs-slim
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user