summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home-manager/default.nix2
-rw-r--r--modules/home-manager/hypr/binds.nix1
-rw-r--r--modules/home-manager/hypr/decoration.nix10
-rw-r--r--modules/home-manager/hypr/waybar-hyprland.nix8
-rw-r--r--modules/nixos/default.nix3
-rw-r--r--modules/nixos/greetd.nix4
6 files changed, 16 insertions, 12 deletions
diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix
index c9d8268..574aac8 100644
--- a/modules/home-manager/default.nix
+++ b/modules/home-manager/default.nix
@@ -42,6 +42,7 @@
vlc
ungoogled-chromium
audacity
+ speedtest-cli
];
home.sessionVariables = {
@@ -56,6 +57,7 @@
defaultApplications = {
"application/pdf" = "userapp-kitty vi-DARLE3.desktop";
+ "application/javascript" = "userapp-kitty vi-DARLE3.desktop";
"application/toml" = "userapp-kitty vi-DARLE3.desktop";
"application/vnd.microsoft.portable-executable" = "wine-desktop";
"application/zip" = "lxqt-archiver.desktop";
diff --git a/modules/home-manager/hypr/binds.nix b/modules/home-manager/hypr/binds.nix
index 8d2d772..865ac33 100644
--- a/modules/home-manager/hypr/binds.nix
+++ b/modules/home-manager/hypr/binds.nix
@@ -16,6 +16,7 @@
"$mod, F2, exec, $term"
"$mod, F3, exec, $filem"
"$mod, F4, killactive,"
+ "$mod SHIFT, F4, exec, hyprctl kill"
"$mod, F, fullscreen"
"$mod, T, togglefloating"
diff --git a/modules/home-manager/hypr/decoration.nix b/modules/home-manager/hypr/decoration.nix
index e928a51..e9d5dfe 100644
--- a/modules/home-manager/hypr/decoration.nix
+++ b/modules/home-manager/hypr/decoration.nix
@@ -16,11 +16,11 @@
"f[1], gapsout:0, gapsin:0"
];
- windowrulev2 = [
- "bordersize 0, floating:0, onworkspace:w[tv1]"
- "rounding 0, floating:0, onworkspace:w[tv1]"
- "bordersize 0, floating:0, onworkspace:f[1]"
- "rounding 0, floating:0, onworkspace:f[1]"
+ windowrule = [
+ "border_size 0, match:float 0, match:workspace w[tv1]"
+ "rounding 0, match:float 0, match:workspace w[tv1]"
+ "border_size 0, match:float 0, match:workspace f[1]"
+ "rounding 0, match:float 0, match:workspace f[1]"
];
};
diff --git a/modules/home-manager/hypr/waybar-hyprland.nix b/modules/home-manager/hypr/waybar-hyprland.nix
index 15b8d7c..7941170 100644
--- a/modules/home-manager/hypr/waybar-hyprland.nix
+++ b/modules/home-manager/hypr/waybar-hyprland.nix
@@ -8,7 +8,7 @@
mainBar = {
layer = "top";
position = "top";
- height = 15;
+ height = 30;
modules-left = [ "hyprland/workspaces" "idle_inhibitor" ];
modules-center = [ "hyprland/window" ];
@@ -64,12 +64,12 @@
on-scroll-down = "playerctl --player=spotify_player,spotify previous";
exec = "${pkgs.writeShellScriptBin "spotify-module-script" ''
shorten() {
- if [ ''${#1} -le 16 ]; then
+ if [ ''${#1} -le 12 ]; then
printf "%s" "$1"
else
- local truncated="''${1:0:13}"
+ local truncated="''${1:0:9}"
if [ "''${truncated: -1}" = " " ]; then
- truncated="''${truncated:0:12}"
+ truncated="''${truncated:0:8}"
fi
printf "%s…" "$truncated"
fi
diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix
index d3187df..8647dcf 100644
--- a/modules/nixos/default.nix
+++ b/modules/nixos/default.nix
@@ -11,6 +11,7 @@
./gaming.nix
./nix-ld.nix
# ./nordvpn.nix
+ # ./ly.nix
];
users.users.jck.packages = with pkgs; [
@@ -53,7 +54,7 @@
gutenprint
brgenml1lpr
brgenml1cupswrapper
- cnijfilter2
+ # cnijfilter2
];
};
diff --git a/modules/nixos/greetd.nix b/modules/nixos/greetd.nix
index 97980cb..89d100a 100644
--- a/modules/nixos/greetd.nix
+++ b/modules/nixos/greetd.nix
@@ -11,8 +11,8 @@
settings = {
default_session = {
- command = "${pkgs.tuigreet}/bin/tuigreet --user-menu -t --asterisks -c Hyprland";
+ command = "${pkgs.tuigreet}/bin/tuigreet --user-menu -t --asterisks -c start-hyprland";
};
};
};
-} \ No newline at end of file
+}