Compare commits

..

4 Commits

Author SHA1 Message Date
Sweetbread 853abd6e68 fixup! tty: fix Cyrillic 2026-03-24 01:10:12 +03:00
Sweetbread eedd246c07 hyprland: add zoom 2026-03-22 05:30:17 +03:00
Sweetbread d5971d8876 tty: fix Cyrillic 2026-03-22 05:28:07 +03:00
Sweetbread ddef9fbe34 fixup! Update system 2026-03-22 05:16:34 +03:00
6 changed files with 35 additions and 7 deletions
+5
View File
@@ -39,6 +39,11 @@
''$mainMod, F2, exec, ${lib.getExe monitor-switcher} mirror'' ''$mainMod, F2, exec, ${lib.getExe monitor-switcher} mirror''
''$mainMod, F3, exec, ${lib.getExe monitor-switcher}'' ''$mainMod, F3, exec, ${lib.getExe monitor-switcher}''
]; ];
workspace = [
"2, layout:scrolling"
"4, layout:monocle"
];
}; };
}; };
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ pkgs, ... }: { {
console = { console = {
font = "${pkgs.kbd}/share/consolefonts/LatArCyrHeb-19.psfu.gz"; font = "LatArCyrHeb-19";
colors = [ colors = [
"16161E" "16161E"
"1A1B26" "1A1B26"
+5 -3
View File
@@ -2,7 +2,9 @@
optImport = path: lib.optional (builtins.pathExists path) path; optImport = path: lib.optional (builtins.pathExists path) path;
hostname = osConfig.networking.hostName; hostname = osConfig.networking.hostName;
in { in {
imports = imports = [
./hyprland/zoom.nix
] ++
optImport ../../host/${hostname}/modules/hyprland.nix ++ optImport ../../host/${hostname}/modules/hyprland.nix ++
optImport ../../user/${username}/modules/hyprland.nix; optImport ../../user/${username}/modules/hyprland.nix;
@@ -90,7 +92,7 @@ in {
]; ];
workspace = [ workspace = [
"w[t1], gapsout:10 0 0, gapsin:0" "w[t1], gapsout:0"
]; ];
windowrule = [ windowrule = [
@@ -127,7 +129,7 @@ in {
"$mainMod, F, togglefloating," "$mainMod, F, togglefloating,"
"$mainMod, D, exec, fuzzel" "$mainMod, D, exec, fuzzel"
"$mainMod, P, pseudo, # dwindle" "$mainMod, P, pseudo, # dwindle"
"$mainMod, J, togglesplit, # dwindle" "$mainMod, J, layoutmsg, togglesplit, # dwindle"
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l" "$mainMod, left, movefocus, l"
+21
View File
@@ -0,0 +1,21 @@
{
wayland.windowManager.hyprland.settings = {
bind = [
# "$mainMod, mouse_down, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float * 1.1')"
# "$mainMod, mouse_up , exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.9) | if . < 1 then 1 else . end')"
"$mainMod SHIFT, mouse_up , exec, hyprctl -q keyword cursor:zoom_factor 1"
"$mainMod SHIFT, mouse_down , exec, hyprctl -q keyword cursor:zoom_factor 1"
"$mainMod SHIFT, minus , exec, hyprctl -q keyword cursor:zoom_factor 1"
"$mainMod SHIFT, KP_SUBTRACT, exec, hyprctl -q keyword cursor:zoom_factor 1"
"$mainMod SHIFT, 0 , exec, hyprctl -q keyword cursor:zoom_factor 1"
];
binde = [
"$mainMod, equal , exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float * 1.1')"
"$mainMod, minus , exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.9) | if . < 1 then 1 else . end')"
"$mainMod, KP_ADD , exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float * 1.1')"
"$mainMod, KP_SUBTRACT, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.9) | if . < 1 then 1 else . end')"
];
};
}
+1 -1
View File
@@ -4,7 +4,7 @@
]; ];
wayland.windowManager.hyprland.settings.windowrule = [ wayland.windowManager.hyprland.settings.windowrule = [
"match:class dragon-drop, move onscreen cursor -50% -50%" "match:class dragon-drop, move cursor_x-window_w/2 cursor_y-window_h/2"
]; ];
programs.yazi = { programs.yazi = {
+1 -1
View File
@@ -57,7 +57,7 @@
services.greetd = let services.greetd = let
tuigreet = lib.getExe pkgs.tuigreet; tuigreet = lib.getExe pkgs.tuigreet;
session = lib.getExe inputs.hyprland.packages.${pkgs.system}.default; session = lib.getExe' inputs.hyprland.packages.${pkgs.system}.default "start-hyprland";
in { in {
enable = true; enable = true;
settings = { settings = {