some more keybindings
This commit is contained in:
parent
1d2b3f799d
commit
7bf8c855b8
@ -2,29 +2,51 @@
|
||||
{
|
||||
programs.kitty.enable = true;
|
||||
|
||||
home.packages = [
|
||||
pkgs.hyprshot
|
||||
pkgs.nautilus
|
||||
pkgs.gnome-control-center
|
||||
pkgs.brightnessctl
|
||||
];
|
||||
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
bind =
|
||||
[
|
||||
"$mod, F, exec, firefox"
|
||||
"$mod, return, exec, walker"
|
||||
"$mod_SHIFT, return, exec, kitty"
|
||||
"$mod, s, exec, code"
|
||||
"$mod, Q, killactive," # Close window
|
||||
"$mod, T, togglefloating," # Toggle Floating
|
||||
|
||||
"$mod, left, movefocus, l" # Move focus left
|
||||
"$mod, right, movefocus, r" # Move focus Right
|
||||
"$mod, up, movefocus, u" # Move focus Up
|
||||
"$mod, down, movefocus, d" # Move focus Down
|
||||
# "$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
|
||||
];
|
||||
# Global bindings
|
||||
bind = [
|
||||
"$mod, return, exec, walker"
|
||||
"$mod+Shift, return, exec, kitty"
|
||||
"$mod, F, exec, firefox"
|
||||
"$mod, s, exec, code"
|
||||
"$mod, e, exec, nautilus"
|
||||
"$mod+Shift, Q, killactive," # Close window
|
||||
"$mod+Shift, T, togglefloating," # Toggle Floating
|
||||
|
||||
# Move the focus
|
||||
"$mod, left, movefocus, l"
|
||||
"$mod, right, movefocus, r"
|
||||
"$mod, up, movefocus, u"
|
||||
"$mod, down, movefocus, d"
|
||||
|
||||
# Move the window
|
||||
"$mod+Shift, left, movewindow, l"
|
||||
"$mod+Shift, right, movewindow, r"
|
||||
"$mod+Shift, up, movewindow, u"
|
||||
"$mod+Shift, down, movewindow, d"
|
||||
|
||||
# Switch workspace
|
||||
"$mod+Ctrl, left, workspace, -1"
|
||||
"$mod+Ctrl, right, workspace, +1"
|
||||
|
||||
# Screenshot
|
||||
"$mod, Print, exec, hyprshot -m region -o ~/Pictures/Screenshots"
|
||||
"$mod+Shift, Print, exec, hyprshot -m window -o ~/Pictures/Screenshots"
|
||||
];
|
||||
|
||||
general = {
|
||||
resize_on_border = true;
|
||||
gaps_in = 5;
|
||||
@ -32,7 +54,7 @@
|
||||
border_size = 1;
|
||||
layout = "master";
|
||||
};
|
||||
|
||||
|
||||
misc = {
|
||||
disable_hyprland_logo = true;
|
||||
};
|
||||
@ -54,11 +76,10 @@
|
||||
workspace_swipe_fingers = 4;
|
||||
workspace_swipe_touch = true;
|
||||
};
|
||||
|
||||
|
||||
decoration = {
|
||||
rounding = 5;
|
||||
};
|
||||
# plugin.virtual-desktops = {}
|
||||
|
||||
monitor = [
|
||||
"eDP-1, highres, 0x0, 1.5" # the internal laptop monitor
|
||||
@ -104,7 +125,6 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -122,13 +142,6 @@
|
||||
websearch.prefix = "?";
|
||||
switcher.prefix = "/";
|
||||
};
|
||||
|
||||
# If this is not set the default styling is used.
|
||||
# style = ''
|
||||
# * {
|
||||
# color: #dcd7ba;
|
||||
# }
|
||||
# '';
|
||||
};
|
||||
|
||||
|
||||
|
@ -3,5 +3,4 @@
|
||||
home.packages = [
|
||||
pkgs.keepassxc
|
||||
];
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user