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 = {
enable = true;
userEmail = "mail@joygnu.org";
userName = "joygnu";
userName = "joy";
};
}

View file

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

View file

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

View file

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

View file

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