flake testing

This commit is contained in:
Matt Nish-Lapidus 2025-05-18 02:14:43 -04:00
parent 48a13da8fb
commit 84d7e6f154
6 changed files with 43 additions and 26 deletions

View file

@ -51,7 +51,7 @@
# gdtoolkit_4
epsonscan2
sane-airscan
# sane-airscan
xsane
bitwarden-cli

View file

@ -13,6 +13,11 @@ in
programs = {
niri = {
settings = {
# debug = {
# honor-xdg-activation-with-invalid-serial = true;
# };
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
prefer-no-csd = true;
@ -66,6 +71,7 @@ in
outputs = {
"eDP-1" = {
# focus-at-startup = true;
mode = {
width = 2560;
height = 1600;
@ -75,12 +81,8 @@ in
variable-refresh-rate = true;
};
"HDMI-A-1" = {
background-color = strPalette.normal.background;
scale = 1;
};
"PNP(BNQ) BenQ PD2725U N2N00414019" = {
# focus-at-startup = true;
mode = {
width = 3840;
height = 2160;
@ -88,6 +90,12 @@ in
background-color = strPalette.normal.background;
scale = 1;
};
"HDMI-A-1" = {
background-color = strPalette.normal.background;
scale = 1;
};
};
environment = {
@ -266,7 +274,7 @@ in
{
# shows a list of important hotkeys.
"Mod+Shift+Slash".action = show-hotkey-overlay;
"Mod+Shift+Space".action = toggle-overview;
"Mod+Space" = {
hotkey-overlay.title = "Launcher";
action = wezlaunch "sway-launcher-desktop";
@ -488,8 +496,7 @@ in
"Mod+S".action = focus-workspace "scratchpad";
"Mod+Print".action = screenshot;
# "Mod+Ctrl+Print".action = screenshot-screen "false";
# "Mod+Alt+Print".action = screenshot-window "false";
"Mod+Shift+Print".action = spawn "/home/emenel/.local/bin/niri-screenshot-window";
# The quit action will show a confirmation dialog to avoid accidental exits.
"Mod+Shift+E".action = quit;

View file

@ -3,8 +3,8 @@ let
k-vars = ''
(defvar
tap-timeout 100
hold-timeout 200)
tap-timeout 150
hold-timeout 150)
'';
in
@ -122,9 +122,14 @@ ${k-vars}
# '';
# }
razer = {
razer = {
devices = [ "/dev/input/by-id/usb-Razer_Razer_Blade-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 = ''
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
@ -135,6 +140,9 @@ ${k-vars}
${k-vars}
(defchordsv2
(lctrl lalt h) left 200 all-released ())
(defalias
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)