From 7f6f59c74baa7fd04d6a6e1e3250eb3c7a3821cb Mon Sep 17 00:00:00 2001 From: Tristaan Date: Wed, 31 Jan 2018 18:19:13 +0100 Subject: [PATCH] switched from sys ruby to rvm, polybar deprecation warnings & i3 floating windows --- .config/polybar/config | 2 +- .config/ranger/bookmarks | 1 + .i3/config | 8 ++++++-- .zshrc | 12 ++++-------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 5632728..c43bb2e 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -217,7 +217,7 @@ format-connected = format-disconnected = format-packetloss = -label-connected = %local_ip%%downspeed:9% +label-connected = %local_ip%%downspeed:1:4% label-connected-foreground = ${colors.green} label-disconnected = %ifname% label-disconnected-foreground = ${colors.bright_red} diff --git a/.config/ranger/bookmarks b/.config/ranger/bookmarks index 91c0b52..97d8afa 100755 --- a/.config/ranger/bookmarks +++ b/.config/ranger/bookmarks @@ -2,3 +2,4 @@ v:/home/tristan/build/rineja/app/views a:/home/tristan/build/rineja/app/assets c:/home/tristan/build/rineja/app/controllers l:/home/tristan/build/shoppe/config/locales +':/home/tristan/build/doc24_backend/db/data diff --git a/.i3/config b/.i3/config index 499ecf3..7c4ea0d 100644 --- a/.i3/config +++ b/.i3/config @@ -22,8 +22,7 @@ exec --no-startup-id blueman-applet exec setxkbmap us altgr-intl exec xmodmap $HOME/.i3/custom.map -font pango: Font Awesome 5 Free, Font Awesome 5 Brands, xos4 Terminus 12 - +font pango: xos4 Terminus, Font Awesome 5 Free, Font Awesome 5 Brands 12 #--APPEARANCE--# #--T-netbook---# @@ -57,6 +56,7 @@ for_window [class="Pavucontrol"] floating enable for_window [class="octopi"] floating enable for_window [class="lxappearance"] floating enable for_window [class="mojo"] floating enable +for_window [class="nitrogen"] floating enable for_window [title="Hold On*"] floating enable for_window [title="Cerebro*"] floating enable for_window [title="florence"] floating enable @@ -202,6 +202,10 @@ bindsym $mod+Left move container to output left bindsym $mod+Right move container to output right bindsym $mod+Shift+Left move workspace to output left bindsym $mod+Shift+Right move workspace to output right +bindsym $mod+Up move container to output up +bindsym $mod+Down move container to output down +bindsym $mod+Shift+Up move workspace to output up +bindsym $mod+Shift+Down move workspace to output down #//WORKSPACES//# # resize window (you can also use the mouse for that) diff --git a/.zshrc b/.zshrc index fa654f3..3235e5f 100755 --- a/.zshrc +++ b/.zshrc @@ -1,8 +1,6 @@ # Path to your oh-my-zsh installation. export ZSH=/home/tristan/.oh-my-zsh - export PATH=$HOME/.gem/ruby/2.4.0/bin/:$PATH - export PATH=$HOME/.gem/ruby/2.5.0/bin/:$PATH # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. @@ -20,12 +18,6 @@ plugins=(archlinux zsh-autosuggestions) source $ZSH/oh-my-zsh.sh -# User configuration -export RUBY_GC_HEAP_INIT_SLOTS=800000 -export RUBY_HEAP_FREE_MIN=100000 -export RUBY_HEAP_SLOTS_INCREMENT=300000 -export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 -export RUBY_GC_MALLOC_LIMIT=79000000 # export MANPATH="/usr/local/man:$MANPATH" export RANGER_LOAD_DEFAULT_RC=FALSE @@ -55,3 +47,7 @@ alias lh="ls -lh" alias ip="ip -c" alias be="bundle exec" alias ber="bundle exec rails" + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$HOME/.rvm/bin:$PATH" +export PATH="$HOME/.rvm/wrappers/jruby-9.1.15.0@global:$PATH"