From 37baec21f82da3087eb2993e360cb693633e668c Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Mon, 23 Jan 2023 12:24:27 -0600 Subject: fix monitor discovery woes --- .config/nvim/init.vim | 4 ++++ .config/sway/config | 17 ++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) (limited to '.config') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 91391a4..64ae501 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -29,6 +29,9 @@ Plug 'vim-airline/vim-airline-themes' Plug 'edkolev/tmuxline.vim' +" make searching less annoying +Plug 'romainl/vim-cool' + " :) Plug 'jasonccox/vim-wayland-clipboard' Plug 'lambdalisue/suda.vim' @@ -54,6 +57,7 @@ colorscheme gruvbox hi clear SignColumn set textwidth=80 +au BufRead,BufNewFile *.html,*.py,*.json,*.yaml set textwidth=0 set clipboard+=unnamedplus " " Copy to clipboard diff --git a/.config/sway/config b/.config/sway/config index 7d24757..1684ad4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -194,7 +194,8 @@ exec_always --no-startup-id dunst exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec ~/bin/idlechecker -exec nm-applet --indicator +exec nm-applet --indicator +exec blueman-applet ############################# ### settings for i3-gaps: ### @@ -212,15 +213,17 @@ bar { # Set inner/outer gaps default_border none +default_floating_border none gaps inner 10 gaps outer 0 +titlebar_border_thickness 0 # A lock command used in several places -set $lock_script ~/bin/pretty-lock +# set $lock_script ~/bin/pretty-lock # A sleep command used in several places. # We leave a bit of time for locking to happen before putting the system to sleep -set $sleep $lock_script && sleep 3 && systemctl suspend +# set $sleep $lock_script && sleep 3 && systemctl suspend # Triggers a short notification set $notify dunstify --timeout 1500 @@ -240,18 +243,18 @@ workspace 2 output eDP-1 DP-3 DP-4 bindsym --release Print exec grim -g "$(slurp)" -t png - | wl-copy -t image/png # Sway display things -output DP-4 { +output 'LG Electronics LG ULTRAGEAR 107NTDVCR242' { position 0,0 scale 1.0 } -output DP-3 { +output 'Dell Inc. DELL P2723QE 3940MP3' { position 2560,0 scale 1.5 } output eDP-1 { - position 5120,0 + position 0,0 scale 1.25 } @@ -266,7 +269,7 @@ input type:touchpad { input type:keyboard { - # Capslock key should work as escape key + # Capslock key should work as control key # See /usr/share/X11/xkb/rules/xorg.lst for options xkb_options caps:ctrl_modifier -- cgit v1.2.3-70-g09d2