Improve hyprland config
This commit is contained in:
parent
8e46ecdb3a
commit
f07853ac05
@ -32,10 +32,14 @@
|
|||||||
"$mon_right" = "desc:Samsung Electric Company LS27A600U HNMT502390";
|
"$mon_right" = "desc:Samsung Electric Company LS27A600U HNMT502390";
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
"$mon_top,1920x1080@60,2560x0,1" # top T2B04424SL000
|
# "$mon_top,1920x1080@60,2560x0,1" # top T2B04424SL000
|
||||||
"$mon_left,2560x1440@75,0x1080,1" # left
|
"DP-6,1920x1080@60,2560x0,1" # top T2B04424SL000 60
|
||||||
"$mon_center,2560x1440@120,2560x1080,1" # main #ASPVEKfgZ8Dd
|
# "$mon_left,2560x1440@75,0x1080,1" # left
|
||||||
"$mon_right,2560x1440@75,5120x1080,1" # right
|
"DP-8,2560x1440@60,0x1080,1" # left 75hz
|
||||||
|
# "$mon_center,2560x1440@120,2560x1080,1" # main #ASPVEKfgZ8Dd
|
||||||
|
"DP-5,2560x1440@60,2560x1080,1" # main #ASPVEKfgZ8Dd 120hz
|
||||||
|
# "$mon_right,2560x1440@75,5120x1080,1" # right
|
||||||
|
"DP-7,2560x1440@60,5120x1080,1" # right 75hz
|
||||||
];
|
];
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "no";
|
kb_layout = "no";
|
||||||
@ -46,7 +50,7 @@
|
|||||||
"LIBVA_DRIVER_NAME,nvidia"
|
"LIBVA_DRIVER_NAME,nvidia"
|
||||||
"XDG_SESSION_TYPE,wayland"
|
"XDG_SESSION_TYPE,wayland"
|
||||||
"GBM_BACKEND,nvidia-drm"
|
"GBM_BACKEND,nvidia-drm"
|
||||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
# "__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||||
"WLR_NO_HARDWARE_CURSORS,1"
|
"WLR_NO_HARDWARE_CURSORS,1"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -99,7 +103,7 @@
|
|||||||
"name:left, monitor:$mon_left, persistent:true, default:true"
|
"name:left, monitor:$mon_left, persistent:true, default:true"
|
||||||
"name:right, monitor:$mon_right, persistent:true, default:true"
|
"name:right, monitor:$mon_right, persistent:true, default:true"
|
||||||
"name:main 1, monitor:$mon_center, persistent:true, default:true"
|
"name:main 1, monitor:$mon_center, persistent:true, default:true"
|
||||||
"name:main 2, monitor:$mon_center, persistent:true, default:false"
|
"name:main 2, monitor:$mon_center, persistent:true, default:true"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
@ -146,14 +150,15 @@
|
|||||||
# ",code:202,exec,mumble rpc starttalking"
|
# ",code:202,exec,mumble rpc starttalking"
|
||||||
",code:202,exec,pamixer --default-source -u"
|
",code:202,exec,pamixer --default-source -u"
|
||||||
|
|
||||||
] ++ (builtins.concatLists (builtins.genList
|
# worspace switching
|
||||||
(x:
|
"$mainMod,1,workspace,name:main 1"
|
||||||
let
|
"$mainMod,2,workspace,name:main 2"
|
||||||
ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
|
"$mainMod,3,workspace,3"
|
||||||
in
|
"$mainMod,4,workspace,4"
|
||||||
[
|
"$mainMod,5,workspace,5"
|
||||||
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
|
"$mainMod,6,workspace,6"
|
||||||
]) 10));
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"waybar"
|
"waybar"
|
||||||
"hyprpaper & sleep 2 && randomwp"
|
"hyprpaper & sleep 2 && randomwp"
|
||||||
|
Loading…
Reference in New Issue
Block a user