flake testing
This commit is contained in:
parent
48a13da8fb
commit
84d7e6f154
6 changed files with 43 additions and 26 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -784,11 +784,11 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747304844,
|
"lastModified": 1747491150,
|
||||||
"narHash": "sha256-aLS9HqdtAtioT2JJSWQ7cgWKozBmCtxzYWIEZb1RzkA=",
|
"narHash": "sha256-UpHzUfmxpKko/4f/Nw971wfw+0EgHEJHkoJ3mGQKDkg=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "b8326b5bfb204d7b57802a218de1ebbb743bf8dc",
|
"rev": "ea61079b4d48031087c0c994782c24c846d4b95e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -817,11 +817,11 @@
|
||||||
"niri-unstable": {
|
"niri-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747289333,
|
"lastModified": 1747486745,
|
||||||
"narHash": "sha256-S2xNTAo0e87rK+sNDQCxOsBKtQEBAAVwgkzdpnWoQC0=",
|
"narHash": "sha256-ngQ+iTHmBJkEbsjYfCWTJdV8gHhOCTkV8K0at6Y+YHI=",
|
||||||
"owner": "YaLTeR",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "46a8f81160708d05e9609c318cce64e3e5ac2538",
|
"rev": "ae89cb6017668f3a81ccd92461cbbc70ab8377d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1003,11 +1003,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747209494,
|
"lastModified": 1747335874,
|
||||||
"narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=",
|
"narHash": "sha256-IKKIXTSYJMmUtE+Kav5Rob8SgLPnfnq4Qu8LyT4gdqQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5d736263df906c5da72ab0f372427814de2f52f8",
|
"rev": "ba8b70ee098bc5654c459d6a95dfc498b91ff858",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1637,11 +1637,11 @@
|
||||||
"rust-overlay": "rust-overlay_3"
|
"rust-overlay": "rust-overlay_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747385703,
|
"lastModified": 1747477505,
|
||||||
"narHash": "sha256-dbpR9AKGBtlAKRPujwH0RrJnGxkDrd9ok7rwHnaWdcI=",
|
"narHash": "sha256-BGsRqVCDr4dVbnDYQOQC7kSXDPnd8/SaJRv72tBBXhg=",
|
||||||
"owner": "sxyazi",
|
"owner": "sxyazi",
|
||||||
"repo": "yazi",
|
"repo": "yazi",
|
||||||
"rev": "746c7f5ce9840d583f52cdf24b9250668a12a445",
|
"rev": "70e459a0111f55a3f1be3746baf64cbf68a68fce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
2
homes/emenel/dotfiles/dot_local/bin/niri-screenshot-window
Executable file
2
homes/emenel/dotfiles/dot_local/bin/niri-screenshot-window
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
niri msg action screenshot-window --id="$(niri msg --json pick-window | jq .id)"
|
|
@ -51,7 +51,7 @@
|
||||||
# gdtoolkit_4
|
# gdtoolkit_4
|
||||||
|
|
||||||
epsonscan2
|
epsonscan2
|
||||||
sane-airscan
|
# sane-airscan
|
||||||
xsane
|
xsane
|
||||||
|
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
|
|
|
@ -13,6 +13,11 @@ in
|
||||||
programs = {
|
programs = {
|
||||||
niri = {
|
niri = {
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
|
# debug = {
|
||||||
|
# honor-xdg-activation-with-invalid-serial = true;
|
||||||
|
# };
|
||||||
|
|
||||||
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
||||||
prefer-no-csd = true;
|
prefer-no-csd = true;
|
||||||
|
|
||||||
|
@ -66,6 +71,7 @@ in
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
"eDP-1" = {
|
"eDP-1" = {
|
||||||
|
# focus-at-startup = true;
|
||||||
mode = {
|
mode = {
|
||||||
width = 2560;
|
width = 2560;
|
||||||
height = 1600;
|
height = 1600;
|
||||||
|
@ -75,12 +81,8 @@ in
|
||||||
variable-refresh-rate = true;
|
variable-refresh-rate = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"HDMI-A-1" = {
|
|
||||||
background-color = strPalette.normal.background;
|
|
||||||
scale = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
"PNP(BNQ) BenQ PD2725U N2N00414019" = {
|
"PNP(BNQ) BenQ PD2725U N2N00414019" = {
|
||||||
|
# focus-at-startup = true;
|
||||||
mode = {
|
mode = {
|
||||||
width = 3840;
|
width = 3840;
|
||||||
height = 2160;
|
height = 2160;
|
||||||
|
@ -88,6 +90,12 @@ in
|
||||||
background-color = strPalette.normal.background;
|
background-color = strPalette.normal.background;
|
||||||
scale = 1;
|
scale = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"HDMI-A-1" = {
|
||||||
|
background-color = strPalette.normal.background;
|
||||||
|
scale = 1;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
@ -266,7 +274,7 @@ in
|
||||||
{
|
{
|
||||||
# shows a list of important hotkeys.
|
# shows a list of important hotkeys.
|
||||||
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
||||||
|
"Mod+Shift+Space".action = toggle-overview;
|
||||||
"Mod+Space" = {
|
"Mod+Space" = {
|
||||||
hotkey-overlay.title = "Launcher";
|
hotkey-overlay.title = "Launcher";
|
||||||
action = wezlaunch "sway-launcher-desktop";
|
action = wezlaunch "sway-launcher-desktop";
|
||||||
|
@ -488,8 +496,7 @@ in
|
||||||
"Mod+S".action = focus-workspace "scratchpad";
|
"Mod+S".action = focus-workspace "scratchpad";
|
||||||
|
|
||||||
"Mod+Print".action = screenshot;
|
"Mod+Print".action = screenshot;
|
||||||
# "Mod+Ctrl+Print".action = screenshot-screen "false";
|
"Mod+Shift+Print".action = spawn "/home/emenel/.local/bin/niri-screenshot-window";
|
||||||
# "Mod+Alt+Print".action = screenshot-window "false";
|
|
||||||
|
|
||||||
# The quit action will show a confirmation dialog to avoid accidental exits.
|
# The quit action will show a confirmation dialog to avoid accidental exits.
|
||||||
"Mod+Shift+E".action = quit;
|
"Mod+Shift+E".action = quit;
|
||||||
|
|
|
@ -3,8 +3,8 @@ let
|
||||||
|
|
||||||
k-vars = ''
|
k-vars = ''
|
||||||
(defvar
|
(defvar
|
||||||
tap-timeout 100
|
tap-timeout 150
|
||||||
hold-timeout 200)
|
hold-timeout 150)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -122,9 +122,14 @@ ${k-vars}
|
||||||
# '';
|
# '';
|
||||||
# }
|
# }
|
||||||
|
|
||||||
razer = {
|
razer = {
|
||||||
devices = [ "/dev/input/by-id/usb-Razer_Razer_Blade-event-kbd"
|
devices = [ "/dev/input/by-id/usb-Razer_Razer_Blade-event-kbd"
|
||||||
"/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd" ];
|
"/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd" ];
|
||||||
|
extraDefCfg = ''
|
||||||
|
process-unmapped-keys yes
|
||||||
|
concurrent-tap-hold yes
|
||||||
|
allow-hardware-repeat false
|
||||||
|
'';
|
||||||
config = ''
|
config = ''
|
||||||
(defsrc
|
(defsrc
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
@ -135,6 +140,9 @@ ${k-vars}
|
||||||
|
|
||||||
${k-vars}
|
${k-vars}
|
||||||
|
|
||||||
|
(defchordsv2
|
||||||
|
(lctrl lalt h) left 200 all-released ())
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
|
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
|
||||||
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
|
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
|
||||||
|
|
|
@ -15,11 +15,11 @@ rustPlatform.buildRustPackage rec {
|
||||||
owner = "mierak";
|
owner = "mierak";
|
||||||
repo = "rmpc";
|
repo = "rmpc";
|
||||||
rev = "master";
|
rev = "master";
|
||||||
hash = "sha256-Lxu9x+LBnNOxEFE2CcQ3yiji4t2B9OIy1TW4jPDTJBk=";
|
hash = "sha256-TwJKoLcJlqRtBs3lV7kfT/gyOs23V4Yp4xE7zz1fFXI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-RQ0ibBFkVq7KgYrbMeIgTBSDJbCLCea/ThhbJgOuKxk=";
|
cargoHash = "sha256-Je9xYnRmS45ZW81ym1Y53L6sxqJzKutRhTzcSPJ1lDI=";
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# Test currently broken, needs to be removed. See https://github.com/mierak/rmpc/issues/254
|
# Test currently broken, needs to be removed. See https://github.com/mierak/rmpc/issues/254
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue