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

6
flake.lock generated
View File

@@ -349,11 +349,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1735943174, "lastModified": 1738962130,
"narHash": "sha256-zaIej6m1Hk+JfBLzDDGSis36CSkF0aZ8smqgOds469s=", "narHash": "sha256-QwBW2n07mBaQJbaFaBe9BcYe9lDFn+/yaqDFKGuPA5o=",
"owner": "uttarayan21", "owner": "uttarayan21",
"repo": "ddcbacklight", "repo": "ddcbacklight",
"rev": "43b0aac9f8f0be12a0aac749f3ba89b2f66809b8", "rev": "08a922be3b662453c5d046ed3f4373de2beb0708",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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

View File

@@ -35,6 +35,9 @@
interactiveShellInit = '' interactiveShellInit = ''
${pkgs.pfetch-rs}/bin/pfetch ${pkgs.pfetch-rs}/bin/pfetch
${lib.optionalString (device.isLinux && !device.isNix) "source /etc/profile.d/nix-daemon.fish"} ${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 = { shiro = {
user = "servius"; user = "servius";
hostname = "shiro"; hostname = "shiro";
forwardAgent = false; forwardAgent = true;
}; };
}; };
serverAliveInterval = 120; serverAliveInterval = 120;