Multiple changes for gunter
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
{ inputs, pkgs, lib, config, ... }: {
|
||||
options.hyprland.enable = lib.mkEnableOption "Hyprland";
|
||||
config = {
|
||||
home.packages = with pkgs; [ swww wl-clipboard cliphist hyprpaper hyprlock ];
|
||||
home.packages = with pkgs; [
|
||||
cliphist
|
||||
dunst
|
||||
hyprlock
|
||||
hyprpaper
|
||||
rofi-wayland
|
||||
slurp
|
||||
swww
|
||||
waybar
|
||||
wl-clipboard
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
@@ -9,12 +19,25 @@
|
||||
"$mainMod" = "SUPER";
|
||||
"$term" = "alacritty";
|
||||
|
||||
# monitor = [ "eDP-1,1920x1080@60,0x0,1" ];
|
||||
monitor = [
|
||||
"DP-3,1920x1080@60,2560x0,1" # top
|
||||
"DP-8,2560x1440@75,0x1080,1" # left
|
||||
"DP-2,2560x1440@120,2560x1080,1" # main
|
||||
"DP-7,2560x1440@75,5120x1080,1" # right
|
||||
];
|
||||
input = {
|
||||
kb_layout = "no";
|
||||
follow_mouse = 1;
|
||||
};
|
||||
|
||||
env = [
|
||||
# "LIBVA_DRIVER_NAME,nvidia"
|
||||
# "XDG_SESSION_TYPE,wayland"
|
||||
# "GBM_BACKEND,nvidia-drm"
|
||||
# "__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
];
|
||||
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
drop_shadow = true;
|
||||
@@ -55,7 +78,17 @@
|
||||
misc.force_default_wallpaper = -1;
|
||||
|
||||
windowrulev2 = [
|
||||
"opacity 0.95 override 0.5 override,class:^(Alacritty)$"
|
||||
"opacity 0.95 override 0.7 override,class:^(Alacritty)$"
|
||||
"opacity 0.95 override 0.7 override,class:^(kitty)$"
|
||||
];
|
||||
|
||||
bindm = [
|
||||
"ALT,mouse:272,movewindow"
|
||||
];
|
||||
|
||||
bindr = [
|
||||
# mumble ptt release
|
||||
",code:202,exec,mumble rpc stoptalking"
|
||||
];
|
||||
|
||||
bind = [
|
||||
@@ -80,6 +113,10 @@
|
||||
"$mainMod,l,movewindow,r"
|
||||
"$mainMod,k,movewindow,u"
|
||||
"$mainMod,j,movewindow,d"
|
||||
|
||||
# mumble ptt click
|
||||
",code:202,exec,mumble rpc starttalking"
|
||||
|
||||
] ++ (builtins.concatLists (builtins.genList
|
||||
(x:
|
||||
let
|
||||
@@ -89,7 +126,12 @@
|
||||
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"ALT, ${ws}, workspace, ${toString (x + 1)}"
|
||||
]) 10));
|
||||
exec-once = [ "waybar & hyprpaper" ];
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"hyprpaper"
|
||||
"easy-effects --gapplication-service"
|
||||
# "dunst"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user