mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Started adding a hyprland config
This commit is contained in:
parent
a7c110a684
commit
e5f1f9beaf
4 changed files with 58 additions and 3 deletions
41
dot_config/flake/home/hyprland/default.nix
Normal file
41
dot_config/flake/home/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../sway/rofi.nix
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
# package = null;
|
||||
# portalPackage = null;
|
||||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
|
||||
monitor = "eDP-1,2256x1504@59.99900,0x0,1.0";
|
||||
|
||||
input.touchpad.natural_scroll = true;
|
||||
|
||||
bind =
|
||||
[
|
||||
"$mod, Q, killactive"
|
||||
"$mod, F, exec, firefox"
|
||||
", Print, exec, grimblast copy area"
|
||||
"$mod, Space, exec, rofi -combi-modi window,drun,ssh -show combi -show-icons"
|
||||
]
|
||||
++ (
|
||||
# workspaces
|
||||
# binds $mod + [shift +] {1..9} to [move to] workspace {1..9}
|
||||
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)
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue