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