feat: more hyprland refinements, add posy_cursor as default
This commit is contained in:
parent
79d0d28826
commit
37774188bf
3 changed files with 37 additions and 22 deletions
|
|
@ -17,6 +17,14 @@
|
||||||
home.homeDirectory = "/home/rhea";
|
home.homeDirectory = "/home/rhea";
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
home.pointerCursor = {
|
||||||
|
gtk.enable = true;
|
||||||
|
package = pkgs.posy-cursors;
|
||||||
|
name = "Posy_Cursor";
|
||||||
|
size = 16;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
|
|
|
||||||
|
|
@ -148,11 +148,8 @@
|
||||||
"$mod SHIFT, up, movewindow, u"
|
"$mod SHIFT, up, movewindow, u"
|
||||||
"$mod SHIFT, down, movewindow, d"
|
"$mod SHIFT, down, movewindow, d"
|
||||||
|
|
||||||
#",Print,exec,${grimblast} --notify copy screen"
|
# make Screenshot with Mod + Shift + S
|
||||||
#"SHIFT,Print,exec,${grimblast} --notify save screen"
|
"$mod SHIFT, S, exec, hyprshot -m region"
|
||||||
|
|
||||||
"CTRL,Print,exec,grimblast --notify copy area"
|
|
||||||
"CTRL SHIFT,Print,exec,grimblast --notify save area"
|
|
||||||
|
|
||||||
"$mod, 0, workspace, 10"
|
"$mod, 0, workspace, 10"
|
||||||
"$mod SHIFT, 0, movetoworkspacesilent, 10"
|
"$mod SHIFT, 0, movetoworkspacesilent, 10"
|
||||||
|
|
@ -160,24 +157,23 @@
|
||||||
++ (map (n: "$mod,${n},workspace,${n}") workspaces)
|
++ (map (n: "$mod,${n},workspace,${n}") workspaces)
|
||||||
++ (map (n: "$mod SHIFT,${n},movetoworkspacesilent,${n}") workspaces);
|
++ (map (n: "$mod SHIFT,${n},movetoworkspacesilent,${n}") workspaces);
|
||||||
|
|
||||||
#bindel = let
|
bindel = let
|
||||||
#swayosd = lib.getExe' pkgs.swayosd "swayosd-client";
|
brightnessctl = lib.getExe' pkgs.brightnessctl "brightnessctl";
|
||||||
#in [
|
in [
|
||||||
# ", XF86AudioRaiseVolume, exec, ${swayosd} --output-volume=raise"
|
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
# ", XF86AudioLowerVolume, exec, ${swayosd} --output-volume=lower"
|
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
# ", XF86MonBrightnessUp,exec, ${swayosd} --brightness=raise"
|
" ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
# ", XF86MonBrightnessDown,exec, ${swayosd} --brightness=lower"
|
", XF86MonBrightnessUp,exec, ${brightnessctl} s 5%+"
|
||||||
#];
|
", XF86MonBrightnessDown,exec, ${brightnessctl} s 5%-"
|
||||||
|
];
|
||||||
|
|
||||||
#bindl = let
|
bindl = let
|
||||||
# playerctl = lib.getExe' pkgs.playerctl "playerctl";
|
playerctl = lib.getExe' pkgs.playerctl "playerctl";
|
||||||
# swayosd = lib.getExe' pkgs.swayosd "swayosd-client";
|
in [
|
||||||
#in [
|
", XF86AudioPrev, exec, ${playerctl} previous"
|
||||||
# ", XF86AudioMute, exec, ${swayosd} --output-volume mute-toggle"
|
", XF86AudioPlay, exec, ${playerctl} play-pause"
|
||||||
# ", XF86AudioPrev, exec, ${playerctl} previous"
|
", XF86AudioNext, exec, ${playerctl} next"
|
||||||
# ", XF86AudioPlay, exec, ${playerctl} play-pause"
|
];
|
||||||
# ", XF86AudioNext, exec, ${playerctl} next"
|
|
||||||
#];
|
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,16 @@
|
||||||
gparted
|
gparted
|
||||||
# Authentication agent
|
# Authentication agent
|
||||||
polkit_gnome
|
polkit_gnome
|
||||||
|
|
||||||
|
# For Hyprland hotkeys:
|
||||||
|
# control backlight
|
||||||
|
brightnessctl
|
||||||
|
# control media players
|
||||||
|
playerctl
|
||||||
|
# make screenshots
|
||||||
|
hyprshot
|
||||||
|
|
||||||
|
# to better find execs
|
||||||
|
nix-index
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue