Browse Source

Ugh sway paths on NixOS right now...

master
Daniel Flanagan 2 months ago
parent
commit
516e51d493
Signed by: lytedev GPG Key ID: 5B2020A0F9921EF4
4 changed files with 5 additions and 7 deletions
  1. +2
    -1
      apps/neovim/init.vim
  2. +1
    -3
      bin/app-launcher
  3. +1
    -1
      bin/floating-term
  4. +1
    -2
      bin/pass-chooser

+ 2
- 1
apps/neovim/init.vim View File

@ -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


+ 1
- 3
bin/app-launcher View File

@ -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 --"

+ 1
- 1
bin/floating-term View File

@ -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 \
"$@"

+ 1
- 2
bin/pass-chooser View File

@ -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 &"

Loading…
Cancel
Save