Umbreon install update

This commit is contained in:
Wryn (yage) Wagner 2022-04-20 12:59:45 -06:00
parent c1ee716a90
commit 1c329c86f6
15 changed files with 61 additions and 9 deletions

View File

@ -4,6 +4,7 @@ _HOSTNAME=$(hostnamectl --static)
case $_HOSTNAME in case $_HOSTNAME in
butterfree ) DEFAULT=undock ;; butterfree ) DEFAULT=undock ;;
altaria ) DEFAULT=hdmi4k ;; altaria ) DEFAULT=hdmi4k ;;
umbreon ) DEFAULT=undock ;;
esac esac
LAYOUT="${0:a:h}/$_HOSTNAME/$DEFAULT" LAYOUT="${0:a:h}/$_HOSTNAME/$DEFAULT"

2
bin/xorg/umbreon/common Normal file
View File

@ -0,0 +1,2 @@
#!/bin/zsh
source $HOME/.config/wryn/env.zsh

16
bin/xorg/umbreon/homedock Executable file
View File

@ -0,0 +1,16 @@
#!/bin/zsh
source ${0:a:h}/common
xrandr \
--output DP-3 \
--primary \
--auto \
--mode 1920x1080 \
--rotate normal \
--pos 0x0 \
--output eDP-1 \
--off \
;
$DOTWRYN/bin/set-background random
PLAY_SFX gamedock

16
bin/xorg/umbreon/undock Executable file
View File

@ -0,0 +1,16 @@
#!/bin/zsh
source ${0:a:h}/common
xrandr \
--output eDP-1 \
--primary \
--auto \
--mode 1920x1200 \
--rotate normal \
--pos 0x0 \
--output DP-3 \
--off \
;
$DOTWRYN/bin/set-background random
PLAY_SFX gamedock

6
config/bat.conf Normal file
View File

@ -0,0 +1,6 @@
--theme="ansi"
--italic-text=always
--map-syntax "*.clisp:lisp"
--map-syntax "Dockerfile*:Dockerfile"

View File

@ -1,8 +1,10 @@
background_opacity 0.85 background_opacity 0.85
font_family DejaVuSansMono Nerd Font Complete Mono font_family DejaVuSansMono Nerd Font Complete Mono
font_size 17.0 font_size 14.0
allow_remote_control yes allow_remote_control yes
confirm_os_window_close 0
cursor_shape block cursor_shape block
shell_integration no-cursor shell_integration no-cursor

1
config/xconfig.conf Normal file
View File

@ -0,0 +1 @@
setxkbmap -option compose:ralt

View File

@ -7,10 +7,12 @@ X11_SCRIPTS='/etc/X11/xinit/xinitrc.d';
if [ -d $X11_SCRIPTS ] if [ -d $X11_SCRIPTS ]
then then
for script in $(find "$X11_SCRIPTS" -name \*.sh); do for script in $(find "$X11_SCRIPTS" -name \*.sh); do
source "$script"; source "$script"
done done
fi fi
command -v dex && dex -a
##################################################################### #####################################################################
CUSTOM_DMENU_COMMANDS="$HOME/.local/dmenu" CUSTOM_DMENU_COMMANDS="$HOME/.local/dmenu"
@ -27,5 +29,6 @@ $DOTWRYN/bin/xorg/activate-default &
##################################################################### #####################################################################
cd cd
exec i3 exec i3

View File

@ -1,9 +1,11 @@
function SETUP__CONFIG() { function SETUP__CONFIG() {
############################################################################################ ############################################################################################
# ~/.config/THE_REST .wryn/config/THE_REST # ~/.config/THE_REST .wryn/config/THE_REST
CONFIG__SYMLINK '../.XCompose' 'xcompose.conf'
CONFIG__SYMLINK '../.gitconfig' 'gitconfig' CONFIG__SYMLINK '../.gitconfig' 'gitconfig'
CONFIG__SYMLINK '../.tmux.conf' 'tmux.conf' CONFIG__SYMLINK '../.tmux.conf' 'tmux.conf'
CONFIG__SYMLINK '../.xinitrc' 'xinitrc' CONFIG__SYMLINK '../.xinitrc' 'xinitrc'
CONFIG__SYMLINK 'bat/config' 'bat.conf'
CONFIG__SYMLINK 'code-activator-zsh/settings.zsh' 'code-activator.conf' CONFIG__SYMLINK 'code-activator-zsh/settings.zsh' 'code-activator.conf'
CONFIG__SYMLINK 'compton/compton.conf' 'compton.conf' CONFIG__SYMLINK 'compton/compton.conf' 'compton.conf'
CONFIG__SYMLINK 'i3/config' 'i3.conf' CONFIG__SYMLINK 'i3/config' 'i3.conf'
@ -30,6 +32,7 @@ function CONFIG__SYMLINK() {
CHECK "linking $FRIENDLY_NAME" CHECK "linking $FRIENDLY_NAME"
{ {
[ ! -d $(dirname $LOCAL_CONFIG) ] && mkdir -p $(dirname $LOCAL_CONFIG)
mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak" mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak"
ln -s "$DOTWRYN_CONFIG" "$LOCAL_CONFIG" ln -s "$DOTWRYN_CONFIG" "$LOCAL_CONFIG"
} >>$LOG 2>&1 && OK || WARN } >>$LOG 2>&1 && OK || WARN

View File

@ -1,4 +1,4 @@
aws-cli-v2 aws-cli-v2-bin
cmake cmake
cowsay cowsay
figlet figlet

View File

@ -28,7 +28,7 @@ function VIM__CREATE_PANE_DEFAULT_APP() {
CHECK 'updating vim to open in panes by default' CHECK 'updating vim to open in panes by default'
{ {
echo '#!/bin/sh' echo '#!/bin/sh'
echo "exec $(which vim) -p "'$@' echo "exec $(which vim) -p "'"$@"'
} > "$HOME/.local/bin/vim" && OK || WARN } > "$HOME/.local/bin/vim" && OK || WARN
chmod +x "$HOME/.local/bin/vim" chmod +x "$HOME/.local/bin/vim"
} }

View File

@ -15,13 +15,13 @@ Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
" nerdtree " nerdtree
Plugin 'git://github.com/scrooloose/nerdtree.git' Plugin 'https://github.com/scrooloose/nerdtree.git'
" go-vim " go-vim
Plugin 'fatih/vim-go' Plugin 'fatih/vim-go'
" youCompleteMe " youCompleteMe
Plugin 'git://github.com/Valloric/YouCompleteMe.git' Plugin 'https://github.com/Valloric/YouCompleteMe.git'
" omnisharp (c#) " omnisharp (c#)
Plugin 'OmniSharp/omnisharp-vim' Plugin 'OmniSharp/omnisharp-vim'
@ -49,7 +49,7 @@ filetype plugin indent on
" =================================================================================== " ===================================================================================
" --- Nerd Tree --------------------------------------------------------------------- " --- Nerd Tree ---------------------------------------------------------------------
map <C-o> :NERDTreeToggle %<CR> nnoremap <C-o> :NERDTreeToggle %<CR>
let g:NERDTreeNodeDelimiter = "\u00a0" " -- Was seeing ^G character, and this should fix that let g:NERDTreeNodeDelimiter = "\u00a0" " -- Was seeing ^G character, and this should fix that

View File

@ -16,6 +16,8 @@ alias readable-date='date +"%A %B %d, %Y"'
alias fix='vim $(git diff --name-only | uniq) -p' alias fix='vim $(git diff --name-only | uniq) -p'
alias i3-config-update="$DOTWRYN/bin/i3/update-local-config" alias i3-config-update="$DOTWRYN/bin/i3/update-local-config"
command -v bat >/dev/null 2>&1 && alias cat='bat --style="plain"'
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
alias erg='EDIT_RIP_GREP_FILE_MATCHES'; alias erg='EDIT_RIP_GREP_FILE_MATCHES';

@ -1 +1 @@
Subproject commit e8145d541a35d8a03df49fbbeefa50c4a0076bbf Subproject commit 27610c03dd950dedb22010aa07d5cc01c43f9f69

2
zsh/rc
View File

@ -38,4 +38,4 @@ for p in $EXTERNAL_PLUGINS; do [ -f $p ] && source $p; done
SET_PREFERRED_EDITOR SET_PREFERRED_EDITOR
WELCOME WELCOME
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
return 0 true