Laptop stuff

This commit is contained in:
Daniel Flanagan 2020-09-05 15:43:55 -05:00
parent 0e87a22283
commit 2ff12709c4
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 7 additions and 55 deletions

View file

@ -1,5 +1,6 @@
[Desktop Entry] [Desktop Entry]
Version=1.0
Name=sway-lytedev Name=sway-lytedev
Comment=SirCmpwn's Wayland window manager with lytedev's config Comment=SirCmpwn's Wayland window manager with lytedev's config
Exec=sway-lytedev Exec=/usr/bin/sway-lytedev
Type=Application Type=Application

View file

@ -1,10 +1,10 @@
font_family iosevka-lyte font_family Iosevka Fixed SS07 Medium
repaint_delay 5 repaint_delay 5
input_delay 1 input_delay 1
sync_to_monitor no sync_to_monitor no
font_features iosevka-lyte -liga -dlig -calt # font_features Iosevka Fixed SS07 Medium -liga -dlig -calt
font_size 11.0 font_size 11.0
adjust_line_height 0 adjust_line_height 0

View file

@ -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']
\ }
\})

View file

@ -5,3 +5,5 @@
if [[ -f "$HOME/.bashrc" ]]; then if [[ -f "$HOME/.bashrc" ]]; then
source "$HOME/.bashrc" source "$HOME/.bashrc"
fi fi
export PATH="$HOME/.cargo/bin:$PATH"

View file

@ -1,28 +1,8 @@
# TODO: setup displays # TODO: setup displays
output HDMI-A-1 res 2560x1440@60Hz pos 0 0 output eDP-1 res 1600x900 pos 0 0
output HDMI-A-1 transform 270
output DP-1 res 3440x1440@100Hz pos 1440 1120
bindswitch lid:toggle exec swaylock 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 { input type:touchpad {
dwt enabled dwt enabled
tap enabled tap enabled