mirror of
https://github.com/italicsjenga/dotfiles.git
synced 2024-11-24 01:51:32 +11:00
another scheme change
This commit is contained in:
parent
740e791155
commit
71342bd9b8
|
@ -3,7 +3,7 @@
|
||||||
wmname LG3D
|
wmname LG3D
|
||||||
|
|
||||||
bspc config border_width 0
|
bspc config border_width 0
|
||||||
bspc config window_gap 12
|
bspc config window_gap 8
|
||||||
|
|
||||||
bspc config split_ratio 0.5
|
bspc config split_ratio 0.5
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
|
|
|
@ -25,7 +25,7 @@ Plugin 'airblade/vim-gitgutter'
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
colorscheme gotham
|
colorscheme base16-atelierlakeside
|
||||||
|
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# Example panel for LemonBoy's bar
|
# Example panel for lemonbar
|
||||||
|
|
||||||
. panel_colors
|
. panel_colors
|
||||||
|
|
||||||
|
@ -10,65 +10,80 @@ while read -r line ; do
|
||||||
case $line in
|
case $line in
|
||||||
S*)
|
S*)
|
||||||
# clock output
|
# clock output
|
||||||
sys_infos="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${line#?} %{B-}%{F-}"
|
sys="%{F$COLOR_SYS_FG}%{B$COLOR_SYS_BG} ${line#?} %{B-}%{F-}"
|
||||||
;;
|
;;
|
||||||
T*)
|
T*)
|
||||||
# xtitle output
|
# xtitle output
|
||||||
title="%{F$COLOR_TITLE_FG}%{B$COLOR_TITLE_BG} ${line#?} %{B-}%{F-}"
|
title="%{F$COLOR_TITLE_FG}%{B$COLOR_TITLE_BG} ${line#?} %{B-}%{F-}"
|
||||||
;;
|
;;
|
||||||
W*)
|
W*)
|
||||||
# bspwm internal state
|
# bspwm's state
|
||||||
wm_infos=""
|
wm=""
|
||||||
IFS=':'
|
IFS=':'
|
||||||
set -- ${line#?}
|
set -- ${line#?}
|
||||||
while [ $# -gt 0 ] ; do
|
while [ $# -gt 0 ] ; do
|
||||||
item=$1
|
item=$1
|
||||||
name=${item#?}
|
name=${item#?}
|
||||||
case $item in
|
case $item in
|
||||||
#M*)
|
[mM]*)
|
||||||
# active monitor
|
[ $num_mon -lt 2 ] && shift && continue
|
||||||
# if [ $num_mon -gt 1 ] ; then
|
case $item in
|
||||||
# wm_infos="$wm_infos %{F$COLOR_ACTIVE_MONITOR_FG}%{B$COLOR_ACTIVE_MONITOR_BG} ${name} %{B-}%{F-} "
|
m*)
|
||||||
# fi
|
# monitor
|
||||||
# ;;
|
FG=$COLOR_MONITOR_FG
|
||||||
#m*)
|
BG=$COLOR_MONITOR_BG
|
||||||
# inactive monitor
|
;;
|
||||||
# if [ $num_mon -gt 1 ] ; then
|
M*)
|
||||||
# wm_infos="$wm_infos %{F$COLOR_INACTIVE_MONITOR_FG}%{B$COLOR_INACTIVE_MONITOR_BG} ${name} %{B-}%{F-} "
|
# focused monitor
|
||||||
# fi
|
FG=$COLOR_FOCUSED_MONITOR_FG
|
||||||
# ;;
|
BG=$COLOR_FOCUSED_MONITOR_BG
|
||||||
O*)
|
;;
|
||||||
# focused occupied desktop
|
esac
|
||||||
wm_infos="${wm_infos}%{F$COLOR_FOCUSED_OCCUPIED_FG}%{B$COLOR_FOCUSED_OCCUPIED_BG}%{U$COLOR_FOREGROUND}%{+u} ${name} %{-u}%{B-}%{F-}"
|
wm="${wm}%{F${FG}}%{B${BG}}%{A:bspc monitor -f ${name}:} ${name} %{A}%{B-}%{F-}"
|
||||||
;;
|
;;
|
||||||
F*)
|
[fFoOuU]*)
|
||||||
# focused free desktop
|
case $item in
|
||||||
wm_infos="${wm_infos}%{F$COLOR_FOCUSED_FREE_FG}%{B$COLOR_FOCUSED_FREE_BG}%{U$COLOR_FOREGROUND}%{+u} ${name} %{-u}%{B-}%{F-}"
|
f*)
|
||||||
|
# free desktop
|
||||||
|
FG=$COLOR_FREE_FG
|
||||||
|
BG=$COLOR_FREE_BG
|
||||||
|
;;
|
||||||
|
F*)
|
||||||
|
# focused free desktop
|
||||||
|
FG=$COLOR_FOCUSED_FREE_FG
|
||||||
|
BG=$COLOR_FOCUSED_FREE_BG
|
||||||
|
;;
|
||||||
|
o*)
|
||||||
|
# occupied desktop
|
||||||
|
FG=$COLOR_OCCUPIED_FG
|
||||||
|
BG=$COLOR_OCCUPIED_BG
|
||||||
|
;;
|
||||||
|
O*)
|
||||||
|
# focused occupied desktop
|
||||||
|
FG=$COLOR_FOCUSED_OCCUPIED_FG
|
||||||
|
BG=$COLOR_FOCUSED_OCCUPIED_BG
|
||||||
|
;;
|
||||||
|
u*)
|
||||||
|
# urgent desktop
|
||||||
|
FG=$COLOR_URGENT_FG
|
||||||
|
BG=$COLOR_URGENT_BG
|
||||||
|
;;
|
||||||
|
U*)
|
||||||
|
# focused urgent desktop
|
||||||
|
FG=$COLOR_FOCUSED_URGENT_FG
|
||||||
|
BG=$COLOR_FOCUSED_URGENT_BG
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
wm="${wm}%{F${FG}}%{B${BG}}%{A:bspc desktop -f ${name}:} ${name} %{A}%{B-}%{F-}"
|
||||||
;;
|
;;
|
||||||
U*)
|
[LTG]*)
|
||||||
# focused urgent desktop
|
# layout, state and flags
|
||||||
wm_infos="${wm_infos}%{F$COLOR_FOCUSED_URGENT_FG}%{B$COLOR_FOCUSED_URGENT_BG}%{U$COLOR_FOREGROUND}%{+u} ${name} %{-u}%{B-}%{F-}"
|
wm="${wm}%{F$COLOR_STATE_FG}%{B$COLOR_STATE_BG} ${name} %{B-}%{F-}"
|
||||||
;;
|
;;
|
||||||
o*)
|
|
||||||
# occupied desktop
|
|
||||||
wm_infos="${wm_infos}%{F$COLOR_OCCUPIED_FG}%{B$COLOR_OCCUPIED_BG} ${name} %{B-}%{F-}"
|
|
||||||
;;
|
|
||||||
f*)
|
|
||||||
# free desktop
|
|
||||||
wm_infos="${wm_infos}%{F$COLOR_FREE_FG}%{B$COLOR_FREE_BG} ${name} %{B-}%{F-}"
|
|
||||||
;;
|
|
||||||
u*)
|
|
||||||
# urgent desktop
|
|
||||||
wm_infos="${wm_infos}%{F$COLOR_URGENT_FG}%{B$COLOR_URGENT_BG} ${name} %{B-}%{F-}"
|
|
||||||
;;
|
|
||||||
#L*)
|
|
||||||
# layout
|
|
||||||
# wm_infos="$wm_infos %{F$COLOR_LAYOUT_FG}%{B$COLOR_LAYOUT_BG} ${name} %{B-}%{F-}"
|
|
||||||
# ;;
|
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
printf "%s\n" "%{l}${wm_infos}%{c}${title}%{r}${sys_infos}"
|
printf "%s\n" "%{l}${wm}%{c}${title}%{r}${sys}"
|
||||||
done
|
done
|
||||||
|
|
|
@ -46,13 +46,18 @@ super + g
|
||||||
#
|
#
|
||||||
|
|
||||||
# set the window state
|
# set the window state
|
||||||
super + {t,shift + t,s,f}
|
super + {s,f}
|
||||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
state={floating,fullscreen}; \
|
||||||
|
bspc query -N --node "focused.$\{state\}" && state=tiled; \
|
||||||
|
bspc node -t "$state"
|
||||||
|
|
||||||
# set the node flags
|
# set the node flags
|
||||||
super + ctrl + {x,y,z}
|
super + ctrl + {x,y,z}
|
||||||
bspc node -g {locked,sticky,private}
|
bspc node -g {locked,sticky,private}
|
||||||
|
|
||||||
|
super + apostrophe
|
||||||
|
bspc node focused -s last
|
||||||
|
|
||||||
#
|
#
|
||||||
# focus/swap
|
# focus/swap
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,39 +12,67 @@ URxvt*font: xft:Inconsolata:size=10:antialias=true:hin
|
||||||
URxvt*letterSpace: -1
|
URxvt*letterSpace: -1
|
||||||
URxvt*perl-ext-common: tabbedex
|
URxvt*perl-ext-common: tabbedex
|
||||||
|
|
||||||
URxvt*background: #eeeeee
|
#define base00 #161b1d
|
||||||
URxvt*foreground: #444444
|
#define base01 #1f292e
|
||||||
URxvt*cursorColor: #5f87af
|
#define base02 #516d7b
|
||||||
URxvt*color0: #444444
|
#define base03 #5a7b8c
|
||||||
URxvt*color8: #444444
|
#define base04 #7195a8
|
||||||
URxvt*color1: #af0000
|
#define base05 #7ea2b4
|
||||||
URxvt*color9: #af0000
|
#define base06 #c1e4f6
|
||||||
URxvt*color2: #008700
|
#define base07 #ebf8ff
|
||||||
URxvt*color10: #008700
|
#define base08 #d22d72
|
||||||
URxvt*color3: #af5f00
|
#define base09 #935c25
|
||||||
URxvt*color11: #af5f00
|
#define base0A #8a8a0f
|
||||||
URxvt*color4: #005faf
|
#define base0B #568c3b
|
||||||
URxvt*color12: #005faf
|
#define base0C #2d8f6f
|
||||||
URxvt*color5: #870087
|
#define base0D #257fad
|
||||||
URxvt*color13: #870087
|
#define base0E #5d5db1
|
||||||
URxvt*color6: #008787
|
#define base0F #b72dd2
|
||||||
URxvt*color14: #008787
|
|
||||||
URxvt*color7: #eeeeee
|
|
||||||
URxvt*color15: #eeeeee
|
|
||||||
|
|
||||||
rofi.fg: #444444
|
URxvt*.foreground: base02
|
||||||
rofi.bg: #eeeeee
|
URxvt*.background: base07
|
||||||
|
URxvt*.cursorColor: base02
|
||||||
|
|
||||||
rofi.fg-active: #008787
|
URxvt*.color0: base00
|
||||||
rofi.fg-urgent: #af0000
|
URxvt*.color1: base08
|
||||||
|
URxvt*.color2: base0B
|
||||||
|
URxvt*.color3: base0A
|
||||||
|
URxvt*.color4: base0D
|
||||||
|
URxvt*.color5: base0E
|
||||||
|
URxvt*.color6: base0C
|
||||||
|
URxvt*.color7: base05
|
||||||
|
|
||||||
rofi.hlfg-active: #008700
|
URxvt*.color8: base03
|
||||||
rofi.hlfg-urgent: #af0000
|
URxvt*.color9: base08
|
||||||
|
URxvt*.color10: base0B
|
||||||
|
URxvt*.color11: base0A
|
||||||
|
URxvt*.color12: base0D
|
||||||
|
URxvt*.color13: base0E
|
||||||
|
URxvt*.color14: base0C
|
||||||
|
URxvt*.color15: base07
|
||||||
|
|
||||||
rofi.bg-active: #444444
|
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
|
||||||
rofi.bg-urgent: #008700
|
! use 'shell' template to set these if necessary
|
||||||
|
URxvt*.color16: base09
|
||||||
|
URxvt*.color17: base0F
|
||||||
|
URxvt*.color18: base01
|
||||||
|
URxvt*.color19: base02
|
||||||
|
URxvt*.color20: base04
|
||||||
|
URxvt*.color21: base06
|
||||||
|
|
||||||
rofi.hlbg-active: #005faf
|
rofi.fg: base02
|
||||||
rofi.hlbg-urgent: #005faf
|
rofi.bg: base07
|
||||||
|
|
||||||
rofi.bc: #870087
|
rofi.fg-active: base0C
|
||||||
|
rofi.fg-urgent: base08
|
||||||
|
|
||||||
|
rofi.hlfg-active: base0B
|
||||||
|
rofi.hlfg-urgent: base08
|
||||||
|
|
||||||
|
rofi.bg-active: base03
|
||||||
|
rofi.bg-urgent: base0B
|
||||||
|
|
||||||
|
rofi.hlbg-active: base0D
|
||||||
|
rofi.hlbg-urgent: base0D
|
||||||
|
|
||||||
|
rofi.bc: base0E
|
||||||
|
|
Loading…
Reference in a new issue