Skip to content

Instantly share code, notes, and snippets.

@ghifarit53
Last active September 6, 2020 00:12
Show Gist options
  • Save ghifarit53/a1a0d4a9f71735bb71f9df713c9c5c3f to your computer and use it in GitHub Desktop.
Save ghifarit53/a1a0d4a9f71735bb71f9df713c9c5c3f to your computer and use it in GitHub Desktop.
[bspwm] Green Tea Setup

green tea setup

greentea01 greentea02

available config

  • bspwmrc
  • polybar
  • vimrc
  • Xresources
#! /bin/sh
sxhkd &
~/.config/polybar/run.sh &
~/.fehbg &
xsetroot -cursor_name left_ptr &
# create workspaces
bspc monitor -d 1 2 3 4 5
# window gaps and width
bspc config border_width 0
bspc config window_gap 14
# window splitting rule
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle true
[bar/mainbar]
monitor = "eDP-1"
background = #323d43
foreground = #d8caac
font-0 = Inter:style=Medium:pixelsize=11;2
font-1 = Font Awesome 5 Free Solid:style=Regular:size=9;2
height = 22
line-size = 1
wm-restack = bspwm
modules-left = bspwm
modules-right = network battery alsa datetime
padding = 2
module-margin = 2
[module/bspwm]
type = internal/bspwm
format = <label-state>
label-focused-underline = #d8caac
label-focused = %name%
label-occupied = %name%
label-empty = %name%
label-focused-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
format-muted = <label-muted>
label-muted =  Muted
label-volume = 
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP0
format-charging = <ramp-capacity>
format-discharging = <ramp-capacity>
ramp-capacity-0 = ""
ramp-capacity-1 = ""
ramp-capacity-2 = ""
ramp-capacity-3 = ""
ramp-capacity-4 = ""
[module/network]
type = internal/network
interface = wlp2s0
label-disconnected = " Not connected"
label-connected = " "
[module/datetime]
type = internal/date
date = %b %d, %H.%M
" ===== plugins list =====
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'itchyny/lightline.vim'
Plug 'sainnhe/forest-night'
call plug#end()
" ===== vim builtin config =====
syntax enable
set termguicolors
set showtabline=2
set laststatus=2
set number
set noshowmode
" ===== colorscheme config =====
colorscheme forest-night
" ===== lightline config =====
let g:lightline = {
\ 'colorscheme': 'forest_night',
\ 'active': {
\ 'left': [ ['mode'], ['filename'] ],
\ 'right': [ ['filetype'] ]},
\ 'inactive': {
\ 'left': [ ['filename'] ],
\ 'right': [] }
\ }
let g:lightline.tab = {
\ 'active' : [ 'filename', 'modified' ],
\ 'inactive' : [ 'filename', 'modified' ] }
*faceName: JetBrains Mono
*faceSize: 10
*background:#323d43
*cursorColor:#d8caac
*foreground:#d8caac
*color0: #323d43
*color1: #e68183
*color10: #a7c080
*color11: #d9bb80
*color12: #89beba
*color13: #d3a0bc
*color14: #87c095
*color15: #d8caac
*color2: #a7c080
*color3: #d9bb80
*color4: #89beba
*color5: #d3a0bc
*color6: #87c095
*color7: #d8caac
*color8: #d8caac
*color9: #e68183
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment