mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
more hyprland binds
This commit is contained in:
parent
4c85782928
commit
3313490b3f
|
@ -47,11 +47,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1674507403,
|
"lastModified": 1674604320,
|
||||||
"narHash": "sha256-OpBVvPcoZqHy5hmbks7W9WAXb4HzfpSy0wFrD5F56Q4=",
|
"narHash": "sha256-yhSiPmT3fmOaV2dLBNCsGGpN4t2Ucs6Q3dGygBH34sc=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "70b5c1b119bd1c350b0bdc9058298146827d669f",
|
"rev": "12e293e3092b03dbb9d82e7a749f482ef2b7ea6e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -26,18 +26,15 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
{
|
{
|
||||||
nix.settings = {
|
|
||||||
substituters = [ "https://hyprland.cachix.org" ];
|
|
||||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = attrs;
|
home-manager.extraSpecialArgs = attrs;
|
||||||
home-manager.users.rouven = {
|
home-manager.users.rouven = {
|
||||||
imports = [
|
imports = [
|
||||||
nix-colors.homeManagerModule
|
nix-colors.homeManagerModule
|
||||||
hyprland.homeManagerModules.default
|
hyprland.homeManagerModules.default
|
||||||
];
|
];
|
||||||
config.colorScheme = nix-colors.colorSchemes.dracula;
|
config = {
|
||||||
|
colorScheme = nix-colors.colorSchemes.dracula;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -150,12 +150,14 @@ bindm = $mainMod, mouse:273, resizewindow
|
||||||
# All the fancy XF86 Keys
|
# All the fancy XF86 Keys
|
||||||
bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png
|
bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png
|
||||||
bind = ,XF86Launch2, exec, grim -g "$(slurp)" - | swappy -f -
|
bind = ,XF86Launch2, exec, grim -g "$(slurp)" - | swappy -f -
|
||||||
bind = ,XF86MonBrightnessUp, exec, light -A 10
|
binde = ,XF86MonBrightnessUp, exec, light -A 10
|
||||||
bind = ,XF86MonBrightnessDown, exec, light -U 10
|
binde = ,XF86MonBrightnessDown, exec, light -U 10
|
||||||
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
bind = ,XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bind = ,XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
binde = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
binde = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
binde = SHIFT, XF86AudioRaiseVolume, exec, pactl set-source-volume @DEFAULT_SOURCE@ +5%
|
||||||
|
binde = SHIFT, XF86AudioLowerVolume, exec, pactl set-source-volume @DEFAULT_SOURCE@ -5%
|
||||||
|
|
||||||
# even more fancy stuff (aka abusing XF86 keys)
|
# even more fancy stuff (aka abusing XF86 keys)
|
||||||
bind = ,XF86Messenger, exec, makoctl dismiss
|
bind = ,XF86Messenger, exec, makoctl dismiss
|
||||||
|
@ -164,3 +166,6 @@ bind = ,XF86Go, exec, makoctl invoke
|
||||||
bind = ,Cancel, exec, sh ~/.config/mako/do-not-disturb.sh
|
bind = ,Cancel, exec, sh ~/.config/mako/do-not-disturb.sh
|
||||||
bind = ,XF86Display, exec, hyprpaper
|
bind = ,XF86Display, exec, hyprpaper
|
||||||
bind = ,XF86Favorites, exec, swaylock
|
bind = ,XF86Favorites, exec, swaylock
|
||||||
|
|
||||||
|
# lock on lid
|
||||||
|
bindl = ,switch:Lid Switch, exec, swaylock
|
||||||
|
|
Loading…
Reference in a new issue