made changes

This commit is contained in:
Schrottkatze 2022-09-17 15:30:46 +02:00
parent b1db9c8278
commit 36ca408b4b
3 changed files with 36 additions and 17 deletions

View file

@ -115,7 +115,7 @@ in with lib; {
"${mod}+t" = "exec ocr-screenshot.sh";
# rofi fuckery
"${mod}+d" = "exec --no-startup-id rofi -show drun -theme ${../other/rofi-themes/applauncher.rasi}";
"${mod}+space" = "exec --no-startup-id -show window";
"${mod}+space" = "exec --no-startup-id rofi -show window -theme ${../other/rofi-themes/applauncher.rasi}";
"${mod}+i" = "exec --no-startup-id rofimoji -f alchemical_symbols anatolian_hieroglyphs emojis braille_patterns box_drawing chess_symbols emoticons geometric_shapes gothic greek_extended math mathematical_alphanumeric_symbols mathematical_operators miscellaneous_symbols miscellaneous_mathematical_symbols-a miscellaneous_mathematical_symbols-b miscellaneous_symbols_and_arrows miscellaneous_symbols_and_pictographs miscellaneous_technical modi modifier_tone_letters musical_symbols nerd_font number_forms shorthand_format_controls specials variation_selectors vertical_forms -a copy";
"${mod}+Shift+e" = "exec --no-startup-id rofi -show \"desktopctl\" -modes \"desktopctl:${desktop-ctl.outPath}/bin/desktopctl\" -theme ${../other/rofi-themes/applauncher.rasi}";
"${mod}+m" = "exec --no-startup-id menu-qalc";
@ -193,15 +193,15 @@ in with lib; {
];
vSync = true;
opacityRules = [
"90:class_g = 'kitty'"
"80:class_g = 'Signal'"
"80:class_g = 'Rofi'"
"80:class_g = 'discord'"
"80:class_g = 'Mailspring'"
"85:class_g = 'nheko'"
"75:class_g = 'obsidian'"
];
#opacityRules = [
#"90:class_g = 'kitty'"
#"80:class_g = 'Signal'"
#"80:class_g = 'Rofi'"
#"80:class_g = 'discord'"
#"80:class_g = 'Mailspring'"
#"85:class_g = 'nheko'"
#"75:class_g = 'obsidian'"
#];
settings = {
# blur
#"detect-client-opacity = true;"
@ -210,10 +210,10 @@ in with lib; {
#"blur-deviation = 15"
#"blur-background-fixed = true"
"detect-client-opacity" = true;
"blur-method" = "gaussian";
"blur-size" = 30;
"blur-deviation" = 15;
"blur-background-fixed" = true;
#"blur-method" = "gaussian";
#"blur-size" = 30;
#"blur-deviation" = 15;
#"blur-background-fixed" = true;
# fading rofi
"fading" = true;

View file

@ -34,6 +34,20 @@ in with lib; {
coc-emmet
coc-vimlsp
coc-tsserver
{
plugin = toggleterm-nvim;
config = ''
lua require("toggleterm").setup{}
autocmd TermEnter term://*toggleterm#*
\ tnoremap <silent><c-t> <Cmd>exe v:count1 . "ToggleTerm"<CR>
" By applying the mappings this way you can pass a count to your
" mapping to open a specific window.
" For example: 2<C-t> will open terminal 2
nnoremap <silent><c-t> <Cmd>exe v:count1 . "ToggleTerm direction=float"<CR>
inoremap <silent><c-t> <Esc><Cmd>exe v:count1 . "ToggleTerm direction=float"<CR>
'';
}
{
plugin = gruvbox-nvim;
config = "colorscheme gruvbox";
@ -124,10 +138,12 @@ in with lib; {
extraConfig = ''
" neovide
let g:neovide_refresh_rate_idle=5
let g:neovide_cursor_animation_length=0.2
let g:neovide_cursor_trail_size=0.2
let g:neovide_cursor_animation_length=0.1
let g:neovide_cursor_trail_size=0.3
let g:neovide_cursor_vfx_mode="railgun"
let g:neovide_remember_window_size = v:false
set guifont=FiraCode\ Nerd\ Font:h11
set fdm=marker
nmap H _

View file

@ -10,6 +10,9 @@ in with lib; {
home.packages = with pkgs; [
thefuck
];
home.sessionVariables = {
"NEOVIDE_MULTIGRID" = "true";
};
programs.zsh = {
enable = true;
enableAutosuggestions = true;