Compare commits

...

2 Commits

Author SHA1 Message Date
a1c4af6fd9 fix: syntax highlighting 2024-04-30 14:00:17 +02:00
9f4d27711d feat: improve monitor support 2024-04-30 10:18:08 +02:00
3 changed files with 7 additions and 5 deletions

View File

@@ -41,10 +41,6 @@
bind = import ./keybinds.nix; bind = import ./keybinds.nix;
bindm = import ./mousebinds.nix; bindm = import ./mousebinds.nix;
bindr = [ "SUPER,SUPER_L,exec,pkill anyrun || anyrun" ]; bindr = [ "SUPER,SUPER_L,exec,pkill anyrun || anyrun" ];
monitor = [
"DP-1,highrr,0x0,1"
"DP-1,addreserved,250,0,0,0"
];
workspace = [ workspace = [
"special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc" "special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc"
]; ];

View File

@@ -163,6 +163,8 @@ hi Function guifg={{colors.functions.default.hex}}
hi Structure guifg={{colors.structures.default.hex}} hi Structure guifg={{colors.structures.default.hex}}
hi def link PreProc Structure hi def link PreProc Structure
hi def link Tag Structure hi def link Tag Structure
hi def link @attribute.typescript Structure
hi Type gui=none guifg={{colors.types.default.hex}} hi Type gui=none guifg={{colors.types.default.hex}}
hi def link @lsp.type.interface Type hi def link @lsp.type.interface Type

View File

@@ -1,5 +1,4 @@
{ {
pkgs,
lib, lib,
config, config,
username, username,
@@ -20,6 +19,11 @@ in
hardware.gbmonctl.enable = true; hardware.gbmonctl.enable = true;
boot.kernelParams = [ "video=3840x2160@144" ]; boot.kernelParams = [ "video=3840x2160@144" ];
home-manager.users.${username}.wayland.windowManager.hyprland.settings.monitor = [
"DP-1,highrr,0x0,1"
"DP-1,addreserved,300,0,0,0"
];
programs.steam.gamescopeSession = { programs.steam.gamescopeSession = {
env = { env = {
SCREEN_WIDTH = "3840"; SCREEN_WIDTH = "3840";