Better hidpi handling
This commit is contained in:
parent
1ff8c90653
commit
35a7315b77
4 changed files with 10 additions and 7 deletions
|
@ -76,8 +76,9 @@ in
|
|||
clickMethod = "clickfinger";
|
||||
};
|
||||
|
||||
displayManager.slim = {
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
enableHidpi = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,7 +27,6 @@ in
|
|||
];
|
||||
home.sessionVariables = {
|
||||
TERMINAL="alacritty";
|
||||
GDK_SCALE="2";
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR="1";
|
||||
};
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
font = {
|
||||
family = "DejaVu Sans Mono for Powerline";
|
||||
size = 12.0;
|
||||
size = 8.0;
|
||||
};
|
||||
|
||||
draw_bold_text_with_bright_colors = true;
|
||||
|
@ -50,7 +50,7 @@
|
|||
white= "0xfdf6e3";
|
||||
};
|
||||
|
||||
background_opacity= 1.0;
|
||||
background_opacity = 0.9;
|
||||
dynamic_title= true;
|
||||
};
|
||||
cursor= {
|
||||
|
|
|
@ -14,6 +14,7 @@ in
|
|||
package = pkgs.i3-gaps;
|
||||
config = {
|
||||
startup = [
|
||||
{ command = "exec autorandr -c"; always = true; notification = false; }
|
||||
{ command = "exec i3-sensible-terminal"; always = false; notification = false; }
|
||||
{ command = "exec $HOME/dev/dotfiles/lock.sh"; always = false; notification = false; }
|
||||
];
|
||||
|
@ -61,6 +62,10 @@ in
|
|||
|
||||
programs.autorandr = {
|
||||
enable = true;
|
||||
hooks.postswitch = {
|
||||
"notify-i3" = "''${pkgs.i3}/bin/i3-msg restart";
|
||||
};
|
||||
|
||||
profiles = {
|
||||
"foureighty-alone" = {
|
||||
fingerprint = {
|
||||
|
@ -70,10 +75,8 @@ in
|
|||
eDP1 = {
|
||||
enable = true;
|
||||
primary = true;
|
||||
position = "0x0";
|
||||
mode = "2560x1440";
|
||||
rate = "60.00";
|
||||
scale = { x=1.25; y=1.25; };
|
||||
dpi = 192;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue