feat: Updated ddcbacklight and use wezterm by default on linux as well

misc:

Forward agent to shiro
On ssh-ing to ryu have HYPRLAND_INSTANCE_SIGNATURE set from hyprland instances
This commit is contained in:
uttarayan21
2025-02-08 02:42:07 +05:30
parent 25b64efcb2
commit 9662cede9b
5 changed files with 11 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
}),
color_scheme = "Catppuccin Mocha",
colors = {
background = "#1e1e1e",
background = "#000000",
},
font_size = 16,
initial_cols = 200,
@@ -34,7 +34,7 @@
top = 2,
bottom = 0,
},
window_decorations = "RESIZE",
window_decorations = ${if pkgs.stdenv.isLinux then "NONE" else "RESIZE"},
use_ime = false,
}
'';

View File

@@ -154,7 +154,8 @@
];
bind = [
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
"$mainMod, Return, exec, ${pkgs.kitty}/bin/kitty"
# "$mainMod, Return, exec, ${pkgs.kitty}/bin/kitty"
"$mainMod, Return, exec, ${pkgs.wezterm}/bin/wezterm"
"$mainModShift, Return, exec, ${pkgs.foot}/bin/foot"
"$mainModShift, Q, killactive,"
"$mainModShift, s, exec, ${pkgs.hyprshot}/bin/hyprshot -m region"

View File

@@ -35,6 +35,9 @@
interactiveShellInit = ''
${pkgs.pfetch-rs}/bin/pfetch
${lib.optionalString (device.isLinux && !device.isNix) "source /etc/profile.d/nix-daemon.fish"}
if not set -q HYPRLAND_INSTANCE_SIGNATURE
set -x HYPRLAND_INSTANCE_SIGNATURE (hyprctl instances | head -1 | cut -d ' ' -f2 | tr -d :)
end
'';
};
}

View File

@@ -34,7 +34,7 @@
shiro = {
user = "servius";
hostname = "shiro";
forwardAgent = false;
forwardAgent = true;
};
};
serverAliveInterval = 120;