Skip to content

Commit bb0a55b

Browse files
committed
Update htop config, make it readonly
1 parent f5e16c0 commit bb0a55b

7 files changed

Lines changed: 10 additions & 3 deletions

File tree

alpine/alpine-root/home/USERNAME_WILL_BE_AUTOMATICALLY_REPLACED/.config/htop/htoprc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
hide_kernel_threads=0
2+
show_cpu_frequency=1
3+
show_cpu_temperature=1
14
delay=2

alpine/install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ chattr +i /etc/update-extlinux.conf
236236
echo 'source /etc/profile.d/99local.sh' > /etc/conf.d/local
237237
chattr +i /etc/conf.d/local
238238
239+
chattr +i /root/.config/htop/htoprc || :
240+
239241
sync
240242
echo 3 > /proc/sys/vm/drop_caches
241243
cat /etc/alpine-release || :

gentoo/03-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ set -e
333333
[ -e /root/.zshrc.pre-oh-my-zsh ] && mv -fv /root/.zshrc{.pre-oh-my-zsh,}
334334
[ -e /home/${USERNAME}/.zshrc.pre-oh-my-zsh ] && mv -fv /home/${USERNAME}/.zshrc{.pre-oh-my-zsh,}
335335
[ -e /etc/conf.d/nginx ] && chattr +i /etc/conf.d/nginx
336+
chattr +i /root/.config/htop/htoprc || :
336337
337338
rm -v /$(basename "${stage3_url}")*
338339
sync

gentoo/gentoo-root/home/USERNAME_WILL_BE_AUTOMATICALLY_REPLACED/.config/htop/htoprc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
hide_kernel_threads=0
2+
show_cpu_frequency=1
3+
show_cpu_temperature=1
14
delay=2

gentoo/gentoo-root/root/.tmux.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bind-key Escape copy-mode
7373
bind TAB select-pane -l
7474
bind Space resize-pane -Z
7575

76-
bind-key H new-window -n htop 'htop'
76+
bind-key H new-window -n htop 'sudo htop'
7777
bind-key b split-window -h -l 30 'bc -ql'
7878

7979

0 commit comments

Comments
 (0)