This commit is contained in:
joy 2024-10-04 16:16:47 +02:00
parent 1cd29c7c70
commit 478d0de3a9
24 changed files with 22 additions and 19 deletions

View file

@ -2,6 +2,6 @@
programs.git = { programs.git = {
enable = true; enable = true;
userEmail = "mail@joygnu.org"; userEmail = "mail@joygnu.org";
userName = "joygnu"; userName = "joy";
}; };
} }

View file

@ -7,7 +7,6 @@
"," = "frame-back-step"; "," = "frame-back-step";
"." = "frame-step"; "." = "frame-step";
space = "cycle-values speed 1 2"; space = "cycle-values speed 1 2";
# space = "frame-step; cycle-values speed 1 2";
DOWN = "add volume -5"; DOWN = "add volume -5";
UP = "add volume 5"; UP = "add volume 5";
}; };

View file

@ -1,7 +1,7 @@
{ {
imports = [ imports = [
./apps ./apps
./hypr ./wm
./hardware ./hardware
./services ./services
./system ./system

View file

@ -1,8 +1,8 @@
{ {
imports = [ imports = [
./hyprland
./hypridle
./ags ./ags
./idle
./land
./theme ./theme
./clip ./clip
./misc ./misc

View file

@ -1,13 +1,14 @@
{pkgs,...}: { { pkgs, ... }: {
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
}; };
home-manager.users.joy = { home-manager.users.joy = {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
settings = { settings = {
"$mod" = "SUPER"; "$mod" = "SUPER";
"$sciPath" = "~/nix/modules/hypr/land/scripts"; "$sciPath" = "~/nix/modules/wm/hyprland/scripts";
cursor = { cursor = {
inactive_timeout = "3"; inactive_timeout = "3";
}; };
@ -15,7 +16,7 @@
"HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_THEME = Bibata-Modern-Ice"
"HYPRCURSOR_SIZE = 24" "HYPRCURSOR_SIZE = 24"
"NIXOS_OZONE_WL = 1" "NIXOS_OZONE_WL = 1"
"QT_QPA_PLATFORM,wayland;xcb" "QT_QPA_PLATFORM=wayland;xcb"
"QT_QPA_PLATFORMTHEME = qt5ct" "QT_QPA_PLATFORMTHEME = qt5ct"
"QT_AUTO_SCREEN_SCALE_FACTOR = 1" "QT_AUTO_SCREEN_SCALE_FACTOR = 1"
"QT_WAYLAND_DISABLE_WINDOWDECORATION =1" "QT_WAYLAND_DISABLE_WINDOWDECORATION =1"
@ -32,13 +33,15 @@
"ags" "ags"
]; ];
windowrule = [ windowrule = [
"float,title:^(Pipewire)(.*)$" ];
"float,title:^(Disks)(.*)$" windowrulev2 = [
"float,title:^(Calculator)(.*)$" "float,:title:^(mpv)(.*)$"
"float,title:^(Bluetooth)(.*)$" "float,title:(Pipewire)"
"float,title:^(Clocks)(.*)$" "float,title:(Disks)"
"float,title:^(Network Connections)(.*)$" "float,title:(Calculator)"
"opacity 0.9,^(Alacritty)(.*)$" "float,title:(Bluetooth)"
"float,title:(Clocks)"
"float,title:(Network Connections)"
]; ];
gestures = { gestures = {
workspace_swipe = true; workspace_swipe = true;
@ -83,7 +86,7 @@
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
"$mod, O, exec, sh $sciPath/mpv.sh" "$mod, O, exec, sh $sciPath/mpv.sh"
"$mod+Shift, TAB,hyprexpo:expo, toggleoverview" "$mod+Shift, TAB,hyprexpo:expo, toggleoverview"
# controles # controls
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, W, togglefloating" "$mod, W, togglefloating"
"$mod, R, togglesplit" "$mod, R, togglesplit"
@ -93,7 +96,8 @@
"$mod+shift, B, exec, sh $sciPath/ags.sh" "$mod+shift, B, exec, sh $sciPath/ags.sh"
"$mod, up, exec, sh $sciPath/volume.sh -i" "$mod, up, exec, sh $sciPath/volume.sh -i"
"$mod, down, exec, sh $sciPath/volume.sh -d" "$mod, down, exec, sh $sciPath/volume.sh -d"
"$mod, P, exec, hyprctl dispatch togglefloating && hyprctl dispatch pin" "$mod, P, exec, hyprctl dispatch togglefloating active; hyprctl dispatch pin active; hyprctl dispatch resizeactive 800 600; hyprctl dispatch movewindowpixel exact 0 100%-600"
# cmus # cmus
"$mod, D, exec, sh $sciPath/cmus.sh" "$mod, D, exec, sh $sciPath/cmus.sh"
"$mod, space, exec, playerctl play-pause" "$mod, space, exec, playerctl play-pause"