stuff
This commit is contained in:
parent
49cca73363
commit
c05813575f
40 changed files with 2364 additions and 526 deletions
|
|
@ -10,55 +10,55 @@
|
|||
|
||||
"$mod" = "SUPER";
|
||||
|
||||
bind =
|
||||
[
|
||||
# general binds
|
||||
",switch:Lid Switch, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock when closing Lid
|
||||
# "$mod, RETURN, exec, ${pkgs.alacritty}/bin/alacritty"
|
||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||
"$mod,E, exec, uwsm app -- ${pkgs.xfce.thunar}/bin/thunar" # Thunar
|
||||
"$shiftMod,SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus
|
||||
"$mod, Q, killactive"
|
||||
"SUPER_SHIFT, Q, exec, ${pkgs.wlogout}/bin/wlogout"
|
||||
"$mod, SPACE, exec, pkill fuzzel || ${pkgs.fuzzel}/bin/fuzzel" # pkill or allows for toggle
|
||||
"$mod,T, togglefloating," # Toggle Floating
|
||||
# "$mod, F, fullscreen"
|
||||
"$mod,F, fullscreen" # Toggle fullscreen
|
||||
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
"$mod, B, exec, ${pkgs.grim}/bin/grim \"desktop-$(${pkgs.busybox}/bin/date +\"%Y%m%d%H%m\").png"
|
||||
"SUPER_SHIFT, B, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy" # Screenshot selection directly to clipboard
|
||||
bind = [
|
||||
# general binds
|
||||
",switch:Lid Switch, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock when closing Lid
|
||||
"$mod,RETURN, exec, uwsm app -- ${pkgs.ghostty}/bin/ghostty" # Ghostty (terminal)
|
||||
# "$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||
"$mod,E, exec, uwsm app -- ${pkgs.xfce.thunar}/bin/thunar" # Thunar
|
||||
"$shiftMod,SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus
|
||||
"$mod, Q, killactive"
|
||||
"SUPER_SHIFT, Q, exec, ${pkgs.wlogout}/bin/wlogout"
|
||||
# "$mod, SPACE, exec, pkill fuzzel || ${pkgs.fuzzel}/bin/fuzzel" # pkill or allows for toggle
|
||||
# "$mod, SPACE, exec, vicinae toggle"
|
||||
"$mod,T, togglefloating," # Toggle Floating
|
||||
# "$mod, F, fullscreen"
|
||||
"$mod,F, fullscreen" # Toggle fullscreen
|
||||
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
"$mod, B, exec, ${pkgs.grim}/bin/grim \"desktop-$(${pkgs.busybox}/bin/date +\"%Y%m%d%H%m\").png"
|
||||
"SUPER_SHIFT, B, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy" # Screenshot selection directly to clipboard
|
||||
|
||||
"$shiftMod,T, exec, hyprpanel-toggle" # Toggle hyprpanel
|
||||
"$shiftMod,T, exec, hyprpanel-toggle" # Toggle hyprpanel
|
||||
|
||||
"$shiftMod,up, focusmonitor, -1" # Focus previous monitor
|
||||
"$shiftMod,down, focusmonitor, 1" # Focus next monitor
|
||||
"$shiftMod,left, layoutmsg, addmaster" # Add to master
|
||||
"$shiftMod,right, layoutmsg, removemaster" # Remove from master
|
||||
"$shiftMod,up, focusmonitor, -1" # Focus previous monitor
|
||||
"$shiftMod,down, focusmonitor, 1" # Focus next monitor
|
||||
"$shiftMod,left, layoutmsg, addmaster" # Add to master
|
||||
"$shiftMod,right, layoutmsg, removemaster" # Remove from master
|
||||
|
||||
# move focus
|
||||
"$mod, left, movefocus, l"
|
||||
"$mod, right, movefocus, r"
|
||||
"$mod, up, movefocus, u"
|
||||
"$mod, down, movefocus, d"
|
||||
"$mod,right,workspace,+1"
|
||||
"$mod,left,workspace,-1"
|
||||
# move focus
|
||||
"$mod, left, movefocus, l"
|
||||
"$mod, right, movefocus, r"
|
||||
"$mod, up, movefocus, u"
|
||||
"$mod, down, movefocus, d"
|
||||
"$mod,right,workspace,+1"
|
||||
"$mod,left,workspace,-1"
|
||||
|
||||
# Scroll through workspaces
|
||||
"$mod, mouse_down, workspace, e+1"
|
||||
"$mod, mouse_up, workspace, e-1"
|
||||
]
|
||||
++ (builtins.concatLists (
|
||||
builtins.genList (
|
||||
i:
|
||||
let
|
||||
ws = i + 1;
|
||||
in
|
||||
[
|
||||
"$mod,code:1${toString i}, workspace, ${toString ws}"
|
||||
"$mod SHIFT,code:1${toString i}, movetoworkspace, ${toString ws}"
|
||||
]
|
||||
) 9
|
||||
));
|
||||
# Scroll through workspaces
|
||||
"$mod, mouse_down, workspace, e+1"
|
||||
"$mod, mouse_up, workspace, e-1"
|
||||
]
|
||||
++ (builtins.concatLists (
|
||||
builtins.genList (
|
||||
i:
|
||||
let
|
||||
ws = i + 1;
|
||||
in
|
||||
[
|
||||
"$mod,code:1${toString i}, workspace, ${toString ws}"
|
||||
"$mod SHIFT,code:1${toString i}, movetoworkspace, ${toString ws}"
|
||||
]
|
||||
) 9
|
||||
));
|
||||
|
||||
bindl = [
|
||||
",XF86AudioMute, exec, sound-toggle" # Toggle Mute
|
||||
|
|
|
|||
|
|
@ -23,15 +23,17 @@ in
|
|||
./bindings.nix
|
||||
./polkitagent.nix
|
||||
# ./hyprspace.nix
|
||||
./hyprpanel.nix
|
||||
./hyprlock.nix
|
||||
# ./hyprpanel.nix
|
||||
# ./hyprlock.nix
|
||||
./hyprpaper.nix
|
||||
../caelestia-shell
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
libsForQt5.qt5ct
|
||||
qt6ct
|
||||
qt6Packages.qt6ct
|
||||
hyprshot
|
||||
hyprpicker
|
||||
swappy
|
||||
|
|
@ -71,6 +73,7 @@ in
|
|||
"systemctl --user enable --now hyprpaper.service &"
|
||||
"systemctl --user enable --now hypridle.service &"
|
||||
"systemctl --user enable --now nextcloud-client.service &"
|
||||
"vicinae server"
|
||||
];
|
||||
|
||||
monitor = [
|
||||
|
|
@ -151,7 +154,7 @@ in
|
|||
disable_splash_rendering = true;
|
||||
disable_autoreload = true;
|
||||
focus_on_activate = true;
|
||||
new_window_takes_over_fullscreen = 2;
|
||||
# new_window_takes_over_fullscreen = 2;
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
|
|
@ -188,10 +191,10 @@ in
|
|||
"size 640 400, class:^(.*jetbrains.*)$, title:^(splash)$"
|
||||
];
|
||||
|
||||
layerrule = [
|
||||
"noanim, launcher"
|
||||
"noanim, ^ags-.*"
|
||||
];
|
||||
# layerrule = [
|
||||
# "noanim, launcher"
|
||||
# "noanim, ^ags-.*"
|
||||
# ];
|
||||
|
||||
input = {
|
||||
# kb_layout = keyboardLayout;
|
||||
|
|
|
|||
29
home-manager/modules/hyprland/hyprpaper.nix
Normal file
29
home-manager/modules/hyprland/hyprpaper.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.hyprpaper
|
||||
];
|
||||
systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target";
|
||||
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"systemctl --user enable --now hyprpaper.service"
|
||||
];
|
||||
services.hyprpaper.settings.wallpaper = lib.singleton {
|
||||
# TODO: Remove after merge https://github.com/nix-community/stylix/pull/2087
|
||||
monitor = "eDP-1";
|
||||
path = toString ../../../wallpapers/oasis.png;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue