Browse Source

update tmux_start script to auto run powermate script

master
dummy 7 years ago
parent
commit
852265f245
  1. 2
      bash_scripts/tmux_start.sh
  2. 1
      dot/.bashrc
  3. 22
      dot/conky.conf
  4. 5
      vim/.vimrc

2
bash_scripts/tmux_start.sh

@ -12,7 +12,7 @@ if [ -n "$TMUX_PANE" ]; then
# create a new default session
else
SESSION='default'
tmux -2 -C new -s $SESSION
tmux -2 -C new -s $SESSION 'powermate_pactl.py'
tmux -C rename-window -t $SESSION powermate
tmux -C new-window -n dev -t $SESSION
tmux -C new-window -t $SESSION

1
dot/.bashrc

@ -40,6 +40,7 @@ alias grep='grep --color=auto'
alias tmux='tmux -2'
alias gdb='gdb -q'
alias tree='tree -C --dirsfirst'
alias less='less -R'
# Umask
#

22
dot/conky.conf

@ -1,7 +1,7 @@
conky.config = {
-- CONKY SETTINGS
--background = true,
update_interval = 1,
update_interval = 2,
total_run_times = 0,
cpu_avg_samples = 2,
@ -81,25 +81,31 @@ ${cpubar cpu1 7,60} ${cpubar cpu2 7,60} ${cpubar cpu3 7,60} ${cpubar cpu4 7,60}
${cpubar cpu5 7,60} ${cpubar cpu6 7,60} ${cpubar cpu7 7,60} ${cpubar cpu8 7,60}
${cpubar cpu9 7,60} ${cpubar cpu10 7,60} ${cpubar cpu11 7,60} ${cpubar cpu12 7,60}
${cpubar cpu13 7,60} ${cpubar cpu14 7,60} ${cpubar cpu15 7,60} ${cpubar cpu16 7,60}
#${cpugraph -t 30,280 119911 FF0000}
${cpugraph -t 30,280 119911 FF0000}
#temps: ${alignr}${hwmon 0 temp 1}°C ${hwmon 0 temp 2}°C
# MEMORY ----------------------------
${voffset -10}
MEMORY ${hr 2}
${voffset -14}
$mem ${alignc}${membar 7, 125}${alignr}$memmax
#${voffset -14}
#$mem ${alignc}${membar 7, 125}${alignr}$memmax
#${memgraph 15,300, 32CD32 8B0000 -t}
# VIDEO CARD -----------------------
GPU ${hr 2}
GPU usage: ${nvidia gpuutil}%
GPU freq: ${nvidia gpufreqcur} Mhz / ${nvidia gpufreqmax} Mhz
GMEM usage: ${nvidia memused} MB / ${nvidia memmax} MB
# NETWORK ----------------------------
${voffset -10}
NETWORK ${hr 2}
${voffset -14}
ip: ${alignr}${addr enp34s0}
#up: ${upspeed enp5s0}${goto 150}${upspeedgraph enp5s0 15,140 ADFF2F 32CD32 -t}
${voffset -14}
#down: ${downspeed enp5s0}${goto 150}${downspeedgraph enp5s0 15,140 FF0000 8B0000 -t}
${voffset -14}
up: ${upspeed enp34s0}${goto 150}${upspeedgraph enp34s0 15,140 ADFF2F 32CD32 -t}
${voffset -10}
down: ${downspeed enp34s0}${goto 150}${downspeedgraph enp34s0 15,140 FF0000 8B0000 -t}
${voffset -5}
totals, up: ${totalup enp34s0} ${alignr}down:${totaldown enp34s0}
# disks ----------------------------

5
vim/.vimrc

@ -72,6 +72,11 @@ set ttimeoutlen=10
" line numbering gutter
set nonu
" gvim options
if has("gui_running")
set lines=60 columns=100
endif
"------------------
" airline plugin stuffs

Loading…
Cancel
Save