feat(nixos): add browser and monitor config to Hyprland
This commit is contained in:
parent
8b43e47c2a
commit
5bc25b4dfb
2 changed files with 15 additions and 2 deletions
|
@ -78,7 +78,6 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Mohammad Rafiq";
|
description = "Mohammad Rafiq";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
|
@ -108,6 +107,9 @@
|
||||||
|
|
||||||
# Terminal
|
# Terminal
|
||||||
kitty # Terminal Emulator (requirement for default Hyprland)
|
kitty # Terminal Emulator (requirement for default Hyprland)
|
||||||
|
|
||||||
|
# Browser
|
||||||
|
firefox
|
||||||
];
|
];
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
|
|
13
home.nix
13
home.nix
|
@ -49,11 +49,22 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$mainMod" = "SUPER"; # Sets the modifier key to Windows key
|
monitor = [
|
||||||
|
"HDMI-A-1, 3840x2160@60, 0x0, 2"
|
||||||
|
"DP-6, 1920x1080@60, -1920x0, 1"
|
||||||
|
", preferred, auto, 1"
|
||||||
|
];
|
||||||
|
"$mainMod" = "SUPER"; # Windows key
|
||||||
|
"$mod" = "CTRL";
|
||||||
"$terminal" = "kitty";
|
"$terminal" = "kitty";
|
||||||
|
"$browser" = "firefox";
|
||||||
bind = [
|
bind = [
|
||||||
"$mainMod, Q, exec, $terminal"
|
"$mainMod, Q, exec, $terminal"
|
||||||
"$mainMod, W, killactive"
|
"$mainMod, W, killactive"
|
||||||
|
"$mainMod, E, exec, $browser"
|
||||||
|
];
|
||||||
|
bindm = [
|
||||||
|
"$mod, mouse:272, movewindow"
|
||||||
];
|
];
|
||||||
debug = {
|
debug = {
|
||||||
disable_logs = false;
|
disable_logs = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue