From c2cfd01af7d704e2ffc65dc123ef88e7ff082478 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 7 Dec 2020 20:50:13 -0600 Subject: [PATCH] Updates --- apps/de/kanshi/config | 5 +++++ apps/de/kanshi/desktop-single-workspace.sh | 6 ++++++ apps/neovim/.gitignore | 1 + apps/neovim/init.vim | 1 + apps/shell/vt_colors | 1 + env/arch-linux/provision.d/20-install-packages.bash | 2 +- 6 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 apps/de/kanshi/desktop-single-workspace.sh create mode 100644 apps/shell/vt_colors diff --git a/apps/de/kanshi/config b/apps/de/kanshi/config index f2edfbb..b3f702a 100644 --- a/apps/de/kanshi/config +++ b/apps/de/kanshi/config @@ -5,6 +5,11 @@ profile desktop-H { exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-H-workspaces.sh" } +profile desktop-H { + output "Samsung Electric Company CF791 HTRJ500315" enable mode 3440x1440@100Hz position 1440,560 scale 1 transform normal + exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-single-workspace.sh" +} + profile laptop-solo { output "Sharp Corporation 0x144A 0x00000000" enable mode 3200x1800@60Hz position 0,0 scale 2 transform normal } diff --git a/apps/de/kanshi/desktop-single-workspace.sh b/apps/de/kanshi/desktop-single-workspace.sh new file mode 100644 index 0000000..69b1fdc --- /dev/null +++ b/apps/de/kanshi/desktop-single-workspace.sh @@ -0,0 +1,6 @@ + +#!/usr/bin/env bash + +move_workspace() { swaymsg workspace "$1"; swaymsg move workspace to "'$2'"; } +setup_output() { out="$1"; shift; while (($#)); do move_workspace "$1" "$out"; shift; done; } +setup_output 'Samsung Electric Company CF791 HTRJ500315' 1 2 3 4 5 6 7 8 9 diff --git a/apps/neovim/.gitignore b/apps/neovim/.gitignore index 181428d..9f28ab9 100644 --- a/apps/neovim/.gitignore +++ b/apps/neovim/.gitignore @@ -2,3 +2,4 @@ !/.gitignore !/init.vim !/nvim_lsp.lua +!/ftplugin diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index 7b90cb2..0233fc1 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -172,6 +172,7 @@ au BufReadPost * | if stridx(&ft, 'commit') >= 0 | exe "startinsert!" | endif let g:status_line_max_length = 5 function! StatusLineBuffers() + " TODO: mark buffers with unsaved changes let l:active_index = -1 let l:acc = [] for l:bufnum in nvim_list_bufs() diff --git a/apps/shell/vt_colors b/apps/shell/vt_colors new file mode 100644 index 0000000..0b44069 --- /dev/null +++ b/apps/shell/vt_colors @@ -0,0 +1 @@ +vt.default_red=0x11,0xf9,0xa6,0xf4,0x66,0xae,0xa1,0xf8,0x75,0xf9,0xa6,0xf4,0x66,0xae,0xa1,0xf9 vt.default_grn=0x11,0x26,0xe2,0xbf,0xd9,0x81,0xef,0xf8,0x71,0x26,0xe2,0xbf,0xd9,0x81,0xef,0xf8 vt.default_blu=0x11,0x72,0x2e,0x75,0xef,0xff,0xe4,0xf2,0x5e,0x72,0x2e,0x75,0xef,0xff,0xe4,0xf5 diff --git a/env/arch-linux/provision.d/20-install-packages.bash b/env/arch-linux/provision.d/20-install-packages.bash index 1f41805..04e85b6 100755 --- a/env/arch-linux/provision.d/20-install-packages.bash +++ b/env/arch-linux/provision.d/20-install-packages.bash @@ -60,7 +60,7 @@ yay -Sy \ asdf-vm `# Runtime Version Manager` \ python python-pip `# Python 3 Language` \ hexyl `# CLI Hex Viewer` \ - pass `# Password Management` \ + pass passff-host `# Password Management` \ firefox-developer-edition `# Default Web Browser` \ rsync `# File Transfer` \ alsa-utils `# Audio Utilities` \