Ugh sway paths on NixOS right now...

This commit is contained in:
Daniel Flanagan 2020-11-09 23:19:36 -06:00
parent 3891d87292
commit 516e51d493
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
4 changed files with 5 additions and 7 deletions

View File

@ -42,7 +42,7 @@ filetype plugin on
set encoding=utf8 set encoding=utf8
set tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab set tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab
set autoindent smartindent 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 linebreak formatoptions=crql1jn " TODO: see if there is more in `:h fo-table`
set synmaxcol=200 set synmaxcol=200
set lazyredraw set lazyredraw
@ -62,6 +62,7 @@ set noautowrite autochdir autoread
set nomodeline noshowmode noshowcmd laststatus=0 " TODO: custom modeline and buffer list? set nomodeline noshowmode noshowcmd laststatus=0 " TODO: custom modeline and buffer list?
set clipboard+=unnamedplus set clipboard+=unnamedplus
set t_Co=256 set t_Co=256
let &fcs = 'eob: '
syntax enable syntax enable
colorscheme base16-donokai colorscheme base16-donokai

View File

@ -1,4 +1,2 @@
#!/usr/bin/env sh #!/usr/bin/env sh
"$(dirname "$0")/floating-term" sh -c "\"$(dirname "$0")/launch\" | xargs swaymsg exec --"
source "$(dirname "$0")/prelude"
floating-term sh -c "launch | xargs swaymsg exec --"

View File

@ -2,8 +2,8 @@
kitty \ kitty \
--single-instance \ --single-instance \
--class floating_terminal \
-o remember_window_size=no \ -o remember_window_size=no \
-o initial_window_width=60c \ -o initial_window_width=60c \
-o initial_window_height=12c \ -o initial_window_height=12c \
--class floating_terminal \
"$@" "$@"

View File

@ -1,3 +1,2 @@
#!/usr/bin/env sh #!/usr/bin/env sh
env FZFP_HEIGHT="100%" floating-term bash -c "fzfp | head -n 1 | wl-copy &"
env WAYLAND_DEBUG=1 FZFP_HEIGHT="100%" floating-term bash -c "fzfp | head -n 1 | wl-copy &"