feat(rafiq/hyprland): set monitor resolution
This commit is contained in:
parent
ee129ea287
commit
182dd20f88
3 changed files with 21 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
{config, lib, osConfig, ...}:
|
||||
let
|
||||
mainMonitor = osConfig.desktop.mainMonitor;
|
||||
in
|
||||
{
|
||||
xdg.configFile."uwsm/env".text = # sh
|
||||
''
|
||||
|
@ -9,6 +12,12 @@
|
|||
systemd.enable = false;
|
||||
settings = {
|
||||
"$hypr" = "CTRL_SUPER_ALT_SHIFT";
|
||||
|
||||
monitor = [
|
||||
"${mainMonitor.id}, ${mainMonitor.resolution}@${mainMonitor.refresh-rate}, auto, ${mainMonitor.scale}"
|
||||
", preferred, auto, 1"
|
||||
];
|
||||
|
||||
bind = [
|
||||
"$hypr, Q, exec, uwsm stop"
|
||||
"SUPER, W, killactive"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue