summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconkyrc13
-rw-r--r--gdbinit5
-rwxr-xr-xinstall15
-rw-r--r--install.config1
4 files changed, 31 insertions, 3 deletions
diff --git a/conkyrc b/conkyrc
index b3b6f18..17098a2 100755
--- a/conkyrc
+++ b/conkyrc
@@ -57,7 +57,8 @@ ${color lightgrey}Processes:$color $processes ${color grey}Running:$color $runn
#(cpu 0)=total util (cpuX)=util core X [here X=1,2,3,4]
${color #75C8ff}CPU: ${cpu cpu0}% ${cpubar}
${color}Name PID CPU% MEM%
-${font Monospace:size=8}${color lightgrey}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
+${font Monospace:size=8}
+${color lightgrey}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
@@ -71,8 +72,9 @@ ${cpugraph cpu3 30,160 0032bc 75C8ff} ${cpugraph cpu4 30,160 0032bc 75C8ff}
#############################################################
$font${color #75C8ff}RAM: $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap: $swap/$swapmax - $swapperc% ${swapbar}
-${color}Name PID CPU% MEM%
-${font Monospace:size=8}${color lightgrey}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
+${color}Name PID CPU% MEM%
+${font Monospace:size=8}
+${color lightgrey}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
@@ -92,3 +94,8 @@ ${color lightgrey}$stippled_hr
${color lightgrey}system: ${fs_used /}/${fs_size /} free:${fs_free_perc /}% ${fs_bar /}
${color lightgrey}home: ${fs_used /home}/${fs_size /home} free:${fs_free_perc /home}% ${fs_bar /home}
DiskIO: ${diskiograph /dev/sda 32,280 104E8B 0077ff 750}
+${color}Name IO% W R
+${font Monospace:size=8}
+${color lightgrey}${top_io name 1} ${top_io io_perc 1} ${top_io io_write 1} ${top_io io_read 1}
+${color lightgrey}${top_io name 2} ${top_io io_perc 2} ${top_io io_write 2} ${top_io io_read 2}
+${color lightgrey}${top_io name 3} ${top_io io_perc 3} ${top_io io_write 3} ${top_io io_read 3}
diff --git a/gdbinit b/gdbinit
new file mode 100644
index 0000000..758d532
--- /dev/null
+++ b/gdbinit
@@ -0,0 +1,5 @@
+# dotfiles -- gdbinit
+# author: johannst
+
+set history filename ~/.gdb_history
+set history save on
diff --git a/install b/install
index 7205287..a6f18c8 100755
--- a/install
+++ b/install
@@ -7,6 +7,7 @@ gInstallConfigFile=install.config
#"<config_tag>:<dep_binary>:<installer_fct_name>"
gToolsConfig=(
"bashrc:bash:bashrcInstaller"
+"gdb:cgdb:gdbrcInstaller"
"cgdb:cgdb:cgdbrcInstaller"
"conkyrc:conky:conkyrcInstaller"
"gitconfig:git:gitConfigInstaller"
@@ -33,6 +34,20 @@ function bashrcInstaller() {
}
#}}}
+#{{{ gdbrcInstaller
+
+function gdbrcInstaller() {
+ local gdbinit=~/.gdbinit
+ touch $gdbinit
+ grep $gMagicNumber $gdbinit > /dev/null 2>&1
+ if [[ $? = 0 ]]; then
+ return
+ fi
+ echo -e "\n# $gMagicNumber - Auto generated, do not delete or modify!" >> $gdbinit
+ echo -e "source $ABS_BASE_DIR/gdbinit" >> $gdbinit
+}
+
+#}}}
#{{{ cgdbrcInstaller
function cgdbrcInstaller() {
diff --git a/install.config b/install.config
index 26d4325..e9d8be9 100644
--- a/install.config
+++ b/install.config
@@ -4,6 +4,7 @@
# lines not starting with [yYnN] are ignored
n - bashrc
+n - gdb
n - cgdb
n - conkyrc
n - gitconfig