4 Commits

Author SHA1 Message Date
kenji 14fe127d33 fix(monitors): fix multi-monitor setup 2025-12-31 13:26:54 -06:00
kenji 4fa481adb8 add(cursor): added rose pine hyprcursor 2025-12-31 13:26:43 -06:00
kenji a4f2626f02 feat(hyprlock): decreased blink count 2025-12-31 13:26:25 -06:00
kenji efd8986d74 add(apps): added delfin 2025-12-31 13:26:06 -06:00
6 changed files with 40 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
{pkgs, ...}: {
home.packages = with pkgs; [delfin];
}
+2
View File
@@ -4,6 +4,8 @@
]; ];
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
env = [ env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
"HYPRCURSOR_SIZE,24"
"GUM_CONFIRM_PROMPT_FOREGROUND,6" "GUM_CONFIRM_PROMPT_FOREGROUND,6"
"GUM_CONFIRM_SELECTED_FOREGROUND,0" "GUM_CONFIRM_SELECTED_FOREGROUND,0"
"GUM_CONFIRM_SELECTED_BACKGROUND,2" "GUM_CONFIRM_SELECTED_BACKGROUND,2"
+11
View File
@@ -7,5 +7,16 @@
anr_missed_pings = 3; anr_missed_pings = 3;
new_window_takes_over_fullscreen = 1; new_window_takes_over_fullscreen = 1;
}; };
cursor = {
no_hardware_cursors = true;
no_break_fs_vrr = true;
min_refresh_rate = 48;
};
render = {
direct_scanout = true;
cm_enabled = true;
};
}; };
} }
+10 -5
View File
@@ -37,16 +37,21 @@ let
echo "$pos" > "$state_file" echo "$pos" > "$state_file"
echo "''${text:0:$pos}_" echo "''${text:0:$pos}_"
else else
# Blink cursor via foreground color toggle # Blink cursor via foreground color toggle (slow blink)
if [ ! -f "$blink_file" ]; then if [ ! -f "$blink_file" ]; then
echo 0 > "$blink_file" echo "0 0" > "$blink_file"
fi fi
blink=$(cat "$blink_file") read -r blink count < "$blink_file"
count=$((count + 1))
# Toggle every 5 updates (~600ms at 120ms interval)
if [ "$count" -ge 5 ]; then
count=0
blink=$((1 - blink))
fi
echo "$blink $count" > "$blink_file"
if [ "$blink" -eq 0 ]; then if [ "$blink" -eq 0 ]; then
echo 1 > "$blink_file"
echo "''${text}_" echo "''${text}_"
else else
echo 0 > "$blink_file"
echo "''${text}<span fgalpha=\"1\">_</span>" echo "''${text}<span fgalpha=\"1\">_</span>"
fi fi
fi fi
+6 -1
View File
@@ -17,7 +17,12 @@
}; };
}; };
hyprland = { hyprland = {
monitors = ["HDMI-A-1, 1920x1080@120, auto, 1"]; monitors = [
"DP-1,highres@180,0x1080,1,bitdepth,10,cm,hdr,sdrbrightness,1.4,sdrsaturation,0.98,vrr,0"
"DP-2, highres@165,760x0,1"
"HDMI-A-1, highres@highrr@120, 3440x1440, 1.6"
];
# wallpaper = "nixos_rainbow.png"; # wallpaper = "nixos_rainbow.png";
wallpaper = "ai_pixel_purple.jpg"; # FIXME: redundant wallpaper = "ai_pixel_purple.jpg"; # FIXME: redundant
}; };
+8
View File
@@ -1,5 +1,13 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
../../apps/matugen ../../apps/matugen
]; ];
home.pointerCursor = {
gtk.enable = true;
package = pkgs.rose-pine-hyprcursor;
name = "rose-pine-hyprcursor";
size = 24;
};
} }