mirror of
https://github.com/fredrikr79/nixos.git
synced 2025-12-21 08:44:36 +01:00
kitty finish + nvim no wrap
This commit is contained in:
12
home.nix
12
home.nix
@@ -232,9 +232,10 @@ in
|
||||
|
||||
updatetime = 50;
|
||||
|
||||
textwidth = 80;
|
||||
textwidth = 0;
|
||||
formatoptions = "tcqjn1"; # auto-format
|
||||
colorcolumn = "81";
|
||||
wrap = false;
|
||||
|
||||
ignorecase = true;
|
||||
smartcase = true;
|
||||
@@ -410,6 +411,7 @@ in
|
||||
};
|
||||
};
|
||||
clangd.enable = true;
|
||||
vtsls.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -654,11 +656,11 @@ in
|
||||
enable = true;
|
||||
settings = {
|
||||
confirm_os_window_close = 0;
|
||||
# dynamic_background_opacity = true;
|
||||
dynamic_background_opacity = true;
|
||||
enable_audio_bell = false;
|
||||
mouse_hide_wait = "-1.0";
|
||||
window_padding_width = 2;
|
||||
background_opacity = "0.7";
|
||||
background_opacity = "0.85";
|
||||
background_blur = 5;
|
||||
disable_ligatures = "cursor";
|
||||
# symbol_map = let
|
||||
@@ -685,9 +687,9 @@ in
|
||||
# in
|
||||
# (builtins.concatStringsSep "," mappings) + " Symbols Nerd Font";
|
||||
};
|
||||
font.name = "monocraft";
|
||||
font.name = "Monocraft Nerd Font";
|
||||
font.size = 16;
|
||||
font.package = pkgs.monocraft;
|
||||
# font.package = pkgs.monocraft;
|
||||
shellIntegration.enableZshIntegration = true;
|
||||
theme = "Dracula";
|
||||
};
|
||||
|
||||
@@ -40,7 +40,7 @@ main = xmonad
|
||||
toggleStrutsKey XConfig{ modMask = m } = (m, xK_End)
|
||||
|
||||
myConfig = let
|
||||
terminal = "alacritty"
|
||||
terminal = "kitty"
|
||||
browser = "firefox"
|
||||
modm = mod4Mask -- super/meta
|
||||
in def
|
||||
@@ -53,6 +53,7 @@ myConfig = let
|
||||
`additionalKeysP`
|
||||
[ ("M-b", spawn browser)
|
||||
-- , ("M-t", spawn terminal)
|
||||
-- , ("M-S-Enter", spawn terminal)
|
||||
-- , ("<Print>", spawn "scrot ~/Pictures/Screenshots/%b-%d::%H-%M-%S.png")
|
||||
, ("<Print>", spawn "/home/fredrikr/.scrot.sh")
|
||||
-- , ("<M-S-s>", unGrab *> spawn "scrot -s ~/Pictures/Screenshots/%b-%d::%H-%M-%S.png")
|
||||
@@ -75,6 +76,7 @@ myConfig = let
|
||||
, ((0, xF86XK_AudioMute ), spawn "amixer set Master toggle")
|
||||
, ((0, xF86XK_MonBrightnessUp ), spawn "brightnessctl set 5%+")
|
||||
, ((0, xF86XK_MonBrightnessDown ), spawn "brightnessctl set 5%-")
|
||||
, ((modm .|. shiftMask, xK_Return), spawn terminal)
|
||||
]
|
||||
++
|
||||
[((m .|. modm, k), windows $ f i)
|
||||
|
||||
Reference in New Issue
Block a user