Updated neovim, added experimental features to android, made screenshot tool opaque
This commit is contained in:
parent
0746c613f1
commit
01149dfa62
3 changed files with 216 additions and 205 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -707,11 +707,11 @@
|
|||
"nvf": "nvf"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736335130,
|
||||
"narHash": "sha256-9EZtqVX0QrR3sjKYSU7Q+zczwTRq6TWei7NedCM6v5A=",
|
||||
"lastModified": 1736772619,
|
||||
"narHash": "sha256-ncUF4M5H+ZFQOGr+JLUgJk5zK01BA/wUkJKviuc8m+8=",
|
||||
"owner": "kylekrein",
|
||||
"repo": "neovim",
|
||||
"rev": "05a67cf92bf0fe80a8ff857f5c9e8ccd0750f63a",
|
||||
"rev": "5f5aa73e85b041834813e2f563de4bc06c139948",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
'')
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
home-manager = {
|
||||
config = ./home.nix;
|
||||
useGlobalPkgs = true;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
{ pkgs, lib, hwconfig, username, ... }:
|
||||
let
|
||||
toggle_monitors = ./toggle_monitors.sh;
|
||||
wallpaper-image = ./wallpaper.jpg;
|
||||
in
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
hwconfig,
|
||||
username,
|
||||
...
|
||||
}: let
|
||||
toggle_monitors = ./toggle_monitors.sh;
|
||||
wallpaper-image = ./wallpaper.jpg;
|
||||
in {
|
||||
imports = [
|
||||
./waybar.nix
|
||||
./hyprlock.nix
|
||||
|
|
@ -13,22 +17,28 @@ in
|
|||
enable = true;
|
||||
xwayland.enable = true;
|
||||
settings = {
|
||||
monitor = if hwconfig.hostname == "kylekrein-homepc" then [
|
||||
monitor =
|
||||
if hwconfig.hostname == "kylekrein-homepc"
|
||||
then [
|
||||
"DP-1,2560x1440@75,1600x0,1.6"
|
||||
"DP-3,2560x1440@75,0x0,1.6"
|
||||
] else [",highres,auto,1.6"]
|
||||
++
|
||||
[
|
||||
"FALLBACK,1920x1080@60,auto,1" #to fix crash on hyprlock https://github.com/hyprwm/hyprlock/issues/434#issuecomment-2341710088
|
||||
]
|
||||
;
|
||||
else
|
||||
[",highres,auto,1.6"]
|
||||
++ [
|
||||
"FALLBACK,1920x1080@60,auto,1" #to fix crash on hyprlock https://github.com/hyprwm/hyprlock/issues/434#issuecomment-2341710088
|
||||
];
|
||||
|
||||
xwayland = {
|
||||
force_zero_scaling = true;
|
||||
};
|
||||
|
||||
exec-once = [
|
||||
"${if hwconfig.isLaptop then "brightnessctl set 25%" else ""}"
|
||||
"${
|
||||
if hwconfig.isLaptop
|
||||
then "brightnessctl set 25%"
|
||||
else ""
|
||||
}"
|
||||
"dbus-update-activation-environment --systemd --all"
|
||||
"${pkgs.waybar}/bin/waybar &"
|
||||
"${pkgs.networkmanagerapplet}/bin/nm-applet &"
|
||||
|
|
@ -42,7 +52,6 @@ in
|
|||
#"${pkgs.kando}/bin/kando"
|
||||
];
|
||||
exec = [
|
||||
|
||||
"${pkgs.swww}/bin/swww img ${wallpaper-image} &"
|
||||
];
|
||||
"$mod" = "SUPER";
|
||||
|
|
@ -158,7 +167,6 @@ in
|
|||
resize_on_border = false;
|
||||
allow_tearing = false;
|
||||
layout = "dwindle";
|
||||
|
||||
};
|
||||
|
||||
windowrule = [
|
||||
|
|
@ -173,6 +181,10 @@ in
|
|||
|
||||
#blender
|
||||
"opaque, blender"
|
||||
|
||||
#screenshot editor
|
||||
"noblur, com.gabm.satty"
|
||||
"opaque, com.gabm.satty"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
|
|
@ -189,7 +201,6 @@ in
|
|||
#for clipboard manager
|
||||
"float,class:(clipse)"
|
||||
"size 622 652,class:(clipse)" # set the size of the window as necessary
|
||||
|
||||
];
|
||||
|
||||
decoration = {
|
||||
|
|
@ -210,7 +221,6 @@ in
|
|||
|
||||
vibrancy = 0.1696;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
animations = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue