Skip to content

Instantly share code, notes, and snippets.

@rberaldo
Last active January 19, 2019 11:41
Show Gist options
  • Save rberaldo/967e6b9dc2a50df7ee2a6e01fe5e86a6 to your computer and use it in GitHub Desktop.
Save rberaldo/967e6b9dc2a50df7ee2a6e01fe5e86a6 to your computer and use it in GitHub Desktop.
My config files for Vaporwave Paraiso theme.
[options]
resize_grip = false
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
visible_bell = true
mouse_autohide = true
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
font = Fira Mono for Powerline 12
scrollback_lines = 2000
search_wrap = true
geometry = 920x800
# 0.0: opaque, 1.0: transparent
# transparency = 0.15
transparency = 0
pseudo_transparency = false
# "system", "on" or "off"
cursor_blink = system
# "block", "underline" or "ibeam"
cursor_shape = block
# $BROWSER is used by default
browser = chromium
# word characters used for word selection
# (default if unset: all graphic non-punctuation/space characters)
#word_chars = -A-Za-z0-9,./?%&#:_=+@~
[colors]
# base16 paraiso.dark from terminal.sexy
# special
foreground = #a39e9b
foreground_bold = #a39e9b
cursor = #a39e9b
background = #2f1e2e
# black
color0 = #2f1e2e
color8 = #776e71
# red
color1 = #ef6155
color9 = #ef6155
# green
color2 = #48b685
color10 = #48b685
# yellow
color3 = #fec418
color11 = #fec418
# blue
color4 = #06b6ef
color12 = #06b6ef
# magenta
color5 = #815ba4
color13 = #815ba4
# cyan
color6 = #5bc4bf
color14 = #5bc4bf
# white
color7 = #a39e9b
color15 = #e7e9db
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
font pango:Fira Mono for Powerline, FontAwesome 10
# Window decoration colors (base16 railscasts)
# class border backgr. text indicator
client.focused #815BA4 #815BA4 #E7E9DB #FF6AD5
client.focused_inactive #2F1E2E #2F1E2E #E7E9DB #b6b3eb
client.unfocused #2F1E2E #2F1E2E #E7E9DB #b6b3eb
client.urgent #EF6155 #EF6155 #E7E9DB #b6b3eb
client.placeholder #484848 #2d2d2d #E7E9DB #b6b3eb
# Mod key
set $mod Mod4
# use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec termite
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec rofi -show run -lines 4 -eh 2 -opacity "80" -bw 0 -font "Meslo LG S for Powerline 15"
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+ccedilla focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+ccedilla move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# workspace names
set $workspace1 "1: "
set $workspace2 "2: "
set $workspace3 "3: "
set $workspace4 "4: "
set $workspace5 "5: "
set $workspace6 "6: "
set $workspace7 "7: "
set $workspace8 "8: "
set $workspace9 "9: "
set $workspace10 "10: "
# switch to workspace
bindsym $mod+1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+4 workspace $workspace4
bindsym $mod+5 workspace $workspace5
bindsym $mod+6 workspace $workspace6
bindsym $mod+7 workspace $workspace7
bindsym $mod+8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+0 workspace $workspace10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
bindsym $mod+Shift+4 move container to workspace $workspace4
bindsym $mod+Shift+5 move container to workspace $workspace5
bindsym $mod+Shift+6 move container to workspace $workspace6
bindsym $mod+Shift+7 move container to workspace $workspace7
bindsym $mod+Shift+8 move container to workspace $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym ccedilla resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
colors {
background #2F1E2E
statusline #E7E9DB
# kolor_class border backg. text
focused_workspace #815BA4 #815BA4 #E7E9DB
active_workspace #2F1E2E #2F1E2E #E7E9DB
inactive_workspace #2F1E2E #2F1E2E #E7E9DB
urgent_workspace #EF6155 #EF6155 #E7E9DB
}
}
# Shortcuts
#bind 172 exec /usr/bin/mpc toggle
#bind 174 exec /usr/bin/mpc stop
#bind 171 exec /usr/bin/mpc next
#bind 173 exec /usr/bin/mpc prev
bindsym XF86AudioPlay exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
bindsym XF86AudioPrev exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
bindsym XF86AudioNext exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
bindsym XF86AudioRaiseVolume exec amixer -q set Master 2%+
bindsym XF86AudioLowerVolume exec amixer -q set Master 2%-
bindsym XF86AudioMute exec amixer -q set Master toggle
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym $mod+m exec /usr/sbin/spotify
bindsym $mod+z exec /usr/bin/i3lock -i $wallpaper -d && /usr/bin/xset dpms force off
bindsym $mod+q exec /usr/bin/chromium
bindsym $mod+t exec /usr/bin/termite
bindsym $mod+x exec LANG=en_US:pt_BR /usr/bin/hexchat
bindsym $mod+Shift+z exec /usr/bin/xset dpms force off
# Window rules
for_window [class="^.*"] border pixel 1
for_window [class="Termite"] border 1pixel
for_window [title=" - Chromium$"] border pixel 1
# for_window [class="Steam"] floating enable
for_window [class="Anki"] floating enable
for_window [class="Gvim"] border 1pixel
# Assign windows
assign [class="Chromium$"] → $workspace1
assign [class="Transmission"] → $workspace10
for_window [class="^Spotify$"] move to workspace $workspace10
gaps inner 8
gaps outer 1
smart_gaps on
smart_borders on
# Set wallpaper
set $wallpaper "/home/rberaldo/Pictures/wallpapers/neon-japan.png"
#######################################################################
# automatically start i3-config-wizard to offer the user to create a
# keysym-based config which used his favorite modifier (alt or windows)
#
# i3-config-wizard will not launch if there already is a config file
# in ~/.i3/config.
#
# Please remove the following exec line:
#######################################################################
# exec i3-config-wizard
exec_always --no-startup-id feh --bg-center $wallpaper
exec_always compton -f -b
exec --no-startup-id setxkbmap br -model abnt2
exec --no-startup-id clipit
exec --no-startup-id xset dpms 600
exec --no-startup-id xmodmap /home/rberaldo/.Xmodmap
exec --no-startup-id reshift -l geoclue2
exec /usr/sbin/transmission-gtk
exec /usr/bin/chromium
# vim: set nospell:
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
#
#
general {
colors = true
color_good = "#48B685"
color_degraded = "#FEC418"
color_bad = "#EF6155"
interval = 1
}
order += "disk /"
order += "disk /data"
order += "wireless wlp2s0"
order += "battery 1"
order += "load"
order += "volume master"
order += "tztime local"
wireless wlp2s0 {
format_up = " (%quality at %essid) %ip"
format_down = " down"
}
battery 1 {
format = "%status %percentage"
status_chr = "⚇ CHR"
status_bat = "⚡ BAT"
status_full = " FULL"
low_threshold = 20
last_full_capacity = true
integer_battery_capacity = true
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
tztime local {
format = "%H:%M"
}
load {
format = "⌛ %1min"
}
disk "/" {
format = " %avail"
}
disk "/data" {
format = " %avail"
}
volume master {
format = " %volume"
device = "default"
mixer = "Master"
mixer_idx = 0
}
! ------------------------------------------------------------------------------
! ROFI Color theme
! ------------------------------------------------------------------------------
rofi.color-enabled: true
rofi.color-window: #2f1e2e, #a39e9b, #815ba4
rofi.color-normal: #2f1e2e, #a39e9b, #41323f, #e96ba8, #ffffff
rofi.color-active: #2f1e2e, #a39e9b, #41323f, #e96ba8, #66c6ff
rofi.color-urgent: #2f1e2e, #a39e9b, #41323f, #e96ba8, #890661
" pathogen
execute pathogen#infect()
" Vim. Live it. {{{
noremap <up> <nop>
noremap <down> <nop>
noremap <left> <nop>
noremap <right> <nop>
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
inoremap <up> <nop>
" }}}
" General options
set number
set ruler
set autoindent
set smartindent
set modeline
set cursorline
set title
set encoding=utf-8
colorscheme base16-paraiso
filetype plugin indent on
set ic is hls scs
set spelllang=pt_br,en_us
autocmd FileType tex setlocal spell spelllang=pt_br,en_us
set spell
highlight clear SpellBad
highlight SpellBad term=reverse cterm=reverse
filetype plugin on
syntax on
set timeoutlen=500
set wildmenu
set scrolloff=1
set backspace=indent,eol,start
" Use the same symbols as TextMate for tabstops and EOLs
" See vimcasts.org/e/1
set listchars=tab:▸\ ,eol:¬
" Swap files are useful, but let's keep it organized
set backupdir=~/.vim/backup/
set directory=~/.vim/backup/
" Key mappings
:map <F3> :!lualatex %
" Shorten size of indentation
set expandtab
set shiftwidth=2
set softtabstop=2
" gui options
if has('gui_running')
set guioptions-=r
set guioptions-=T
set guioptions-=m
set guifont=Fira\ Mono\ for\ Powerline\ 12
set background=dark
colorscheme base16-paraiso
endif
" using 256 colors
set t_Co=256
let base16colorspace=256
" online run airline
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1
set laststatus=2
@rberaldo
Copy link
Author

rberaldo commented Nov 27, 2016

VaporwaveParaiso

My i3, termite, rofi and vim configs for a vaporwavy GNU/Linux look.

To help me get the look, I use these two projects:

I don't know who to credit the neon-japan.png image to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment