From 2ff12709c48044a6808c907a54819214a7374516 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 5 Sep 2020 15:43:55 -0500 Subject: [PATCH] Laptop stuff --- apps/de/sway/dm-entry | 3 ++- apps/kitty/kitty.conf | 4 ++-- apps/neovim/ftplugin/elixir.vim | 31 ------------------------------- apps/shell/bash/profile | 2 ++ env/laptop/sway/config.d/main | 22 +--------------------- 5 files changed, 7 insertions(+), 55 deletions(-) delete mode 100644 apps/neovim/ftplugin/elixir.vim diff --git a/apps/de/sway/dm-entry b/apps/de/sway/dm-entry index 5f1511f..78f99fd 100644 --- a/apps/de/sway/dm-entry +++ b/apps/de/sway/dm-entry @@ -1,5 +1,6 @@ [Desktop Entry] +Version=1.0 Name=sway-lytedev Comment=SirCmpwn's Wayland window manager with lytedev's config -Exec=sway-lytedev +Exec=/usr/bin/sway-lytedev Type=Application diff --git a/apps/kitty/kitty.conf b/apps/kitty/kitty.conf index b96c3f9..b698d2f 100644 --- a/apps/kitty/kitty.conf +++ b/apps/kitty/kitty.conf @@ -1,10 +1,10 @@ -font_family iosevka-lyte +font_family Iosevka Fixed SS07 Medium repaint_delay 5 input_delay 1 sync_to_monitor no -font_features iosevka-lyte -liga -dlig -calt +# font_features Iosevka Fixed SS07 Medium -liga -dlig -calt font_size 11.0 adjust_line_height 0 diff --git a/apps/neovim/ftplugin/elixir.vim b/apps/neovim/ftplugin/elixir.vim deleted file mode 100644 index c1a72b3..0000000 --- a/apps/neovim/ftplugin/elixir.vim +++ /dev/null @@ -1,31 +0,0 @@ -let g:elixirls = { - \ 'path': printf('%s/%s', stdpath('config'), 'bundle/elixir-ls'), - \ } - -let g:elixirls.lsp = printf( - \ '%s/%s', - \ g:elixirls.path, - \ 'release/language_server.sh') - -function! g:elixirls.compile(...) - let l:commands = join([ - \ 'mix local.hex --force', - \ 'mix local.rebar --force', - \ 'mix deps.get', - \ 'mix compile', - \ 'mix elixir_ls.release' - \ ], '&&') - - echom '>>> Compiling elixirls' - silent call system(l:commands) - echom '>>> elixirls compiled' -endfunction - -call coc#config('languageserver', { - \ 'elixir': { - \ 'command': g:elixirls.lsp, - \ 'trace.server': 'verbose', - \ 'filetypes': ['elixir', 'eelixir'] - \ } - \}) - diff --git a/apps/shell/bash/profile b/apps/shell/bash/profile index cd7ca39..4f19120 100644 --- a/apps/shell/bash/profile +++ b/apps/shell/bash/profile @@ -5,3 +5,5 @@ if [[ -f "$HOME/.bashrc" ]]; then source "$HOME/.bashrc" fi + +export PATH="$HOME/.cargo/bin:$PATH" diff --git a/env/laptop/sway/config.d/main b/env/laptop/sway/config.d/main index 2fd5683..189497b 100644 --- a/env/laptop/sway/config.d/main +++ b/env/laptop/sway/config.d/main @@ -1,28 +1,8 @@ # TODO: setup displays -output HDMI-A-1 res 2560x1440@60Hz pos 0 0 -output HDMI-A-1 transform 270 -output DP-1 res 3440x1440@100Hz pos 1440 1120 +output eDP-1 res 1600x900 pos 0 0 bindswitch lid:toggle exec swaylock -# TODO: setup trackpad/gestures -### Input configuration -# -# Example configuration: -# -#input "2:14:SynPS/2_Synaptics_TouchPad" { -# dwt enabled -# tap enabled -# natural_scroll enabled -# middle_emulation enabled -#} -# -# You can get the names of your inputs by running: swaymsg -t get_inputs -# Read `man 5 sway-input` for more information about this section. - - -# Touchpad -# Identifier: 1739:30383:DLL075B:01_06CB:76AF_Touchpad input type:touchpad { dwt enabled tap enabled