From 516e51d4938693e32227f386e27080de8d3527e5 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 9 Nov 2020 23:19:36 -0600 Subject: [PATCH] Ugh sway paths on NixOS right now... --- apps/neovim/init.vim | 3 ++- bin/app-launcher | 4 +--- bin/floating-term | 2 +- bin/pass-chooser | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index 5d6815d..4252bb2 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -42,7 +42,7 @@ filetype plugin on set encoding=utf8 set tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab set autoindent smartindent -set list nostartofline listchars=trail:·,tab:\ \ ,trail:~ fcs=eob:\+ +set list nostartofline listchars=trail:·,tab:\ \ ,trail:~ set linebreak formatoptions=crql1jn " TODO: see if there is more in `:h fo-table` set synmaxcol=200 set lazyredraw @@ -62,6 +62,7 @@ set noautowrite autochdir autoread set nomodeline noshowmode noshowcmd laststatus=0 " TODO: custom modeline and buffer list? set clipboard+=unnamedplus set t_Co=256 +let &fcs = 'eob: ' syntax enable colorscheme base16-donokai diff --git a/bin/app-launcher b/bin/app-launcher index bb0cc05..ef2bf01 100755 --- a/bin/app-launcher +++ b/bin/app-launcher @@ -1,4 +1,2 @@ #!/usr/bin/env sh - -source "$(dirname "$0")/prelude" -floating-term sh -c "launch | xargs swaymsg exec --" +"$(dirname "$0")/floating-term" sh -c "\"$(dirname "$0")/launch\" | xargs swaymsg exec --" diff --git a/bin/floating-term b/bin/floating-term index 948023b..8394505 100755 --- a/bin/floating-term +++ b/bin/floating-term @@ -2,8 +2,8 @@ kitty \ --single-instance \ + --class floating_terminal \ -o remember_window_size=no \ -o initial_window_width=60c \ -o initial_window_height=12c \ - --class floating_terminal \ "$@" diff --git a/bin/pass-chooser b/bin/pass-chooser index f870783..bd5c566 100755 --- a/bin/pass-chooser +++ b/bin/pass-chooser @@ -1,3 +1,2 @@ #!/usr/bin/env sh - -env WAYLAND_DEBUG=1 FZFP_HEIGHT="100%" floating-term bash -c "fzfp | head -n 1 | wl-copy &" +env FZFP_HEIGHT="100%" floating-term bash -c "fzfp | head -n 1 | wl-copy &"