mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-07 11:07:53 +01:00
Compare commits
No commits in common. "a35dff2f8be7e1a4c435c015f6a0c02c396a26cd" and "8fe59dd040a2a75ebb45b8071e94eaf671f5240a" have entirely different histories.
a35dff2f8b
...
8fe59dd040
@ -1,34 +0,0 @@
|
|||||||
# ~/.MangoHud/$APPNAME.conf
|
|
||||||
# MangoHud.conf in binary directory
|
|
||||||
# ~/.MangoHud/MangoHud.conf
|
|
||||||
background_alpha=0
|
|
||||||
battery_time
|
|
||||||
battery
|
|
||||||
blacklist=
|
|
||||||
cpu_stats
|
|
||||||
cpu_temp
|
|
||||||
device_battery=gamepad+mouse
|
|
||||||
device_battery_icon
|
|
||||||
display_server
|
|
||||||
fan
|
|
||||||
font_size=13
|
|
||||||
fps
|
|
||||||
frametime
|
|
||||||
frame_timing
|
|
||||||
gpu_stats
|
|
||||||
gpu_temp
|
|
||||||
horizontal
|
|
||||||
mangoapp_steam
|
|
||||||
no_small_font
|
|
||||||
position=bottom-left
|
|
||||||
ram
|
|
||||||
read_cfg
|
|
||||||
retro
|
|
||||||
swap
|
|
||||||
text_outline
|
|
||||||
throttling_status
|
|
||||||
time
|
|
||||||
time_format=%X
|
|
||||||
time_no_label
|
|
||||||
vram
|
|
||||||
wine
|
|
||||||
@ -10,10 +10,8 @@ background=000000
|
|||||||
cursor=282a36 ffffff
|
cursor=282a36 ffffff
|
||||||
foreground=ffffff
|
foreground=ffffff
|
||||||
|
|
||||||
[environment]
|
#[environment]
|
||||||
COLORTERM=truecolor
|
#name=value
|
||||||
TERM=foot
|
|
||||||
MANGOHUD=1
|
|
||||||
|
|
||||||
#[tweak]
|
[tweak]
|
||||||
#render-timer=osd
|
render-timer=osd
|
||||||
|
|||||||
@ -30,10 +30,10 @@ save-position-on-quit
|
|||||||
# subtitles and UI. Subtitle preferred font may get used if it exists in the
|
# subtitles and UI. Subtitle preferred font may get used if it exists in the
|
||||||
# system though?
|
# system though?
|
||||||
embeddedfonts=no
|
embeddedfonts=no
|
||||||
#sub-font='OpenDyslexic'
|
#sub-font='Inclusive Sans'
|
||||||
#osd-font='OpenDyslexic'
|
#osd-font='Inclusive Sans'
|
||||||
sub-font='Atkinson Hyperlegible Next'
|
sub-font='OpenDyslexic'
|
||||||
osd-font='Atkinson Hyperlegible Mono'
|
osd-font='OpenDyslexic'
|
||||||
|
|
||||||
# Amber font color for subtitles, unless they otherwise specify?
|
# Amber font color for subtitles, unless they otherwise specify?
|
||||||
sub-color='#ffb700'
|
sub-color='#ffb700'
|
||||||
|
|||||||
@ -38,7 +38,7 @@ Host *
|
|||||||
|
|
||||||
# Send needed environment variables. I don't like setting wildcards
|
# Send needed environment variables. I don't like setting wildcards
|
||||||
# and LC_ALL is disabled on purpouse.
|
# and LC_ALL is disabled on purpouse.
|
||||||
SendEnv COLORTERM EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TMUX TZ
|
SendEnv EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TMUX TZ
|
||||||
|
|
||||||
# "ssh will automatically add new host keys to the user's known_hosts file, but will not permit connections to hosts with changed host keys."
|
# "ssh will automatically add new host keys to the user's known_hosts file, but will not permit connections to hosts with changed host keys."
|
||||||
StrictHostKeyChecking accept-new
|
StrictHostKeyChecking accept-new
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
# Allow the client to send needed environment variables. I don't like
|
|
||||||
# setting wildcards and LC_ALL is disabled on purpose.
|
|
||||||
AcceptEnv COLORTERM EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TMUX TERM TZ
|
|
||||||
3
etc/ssh/sshd_config.d/acceptenv.conf
Normal file
3
etc/ssh/sshd_config.d/acceptenv.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Allow the client to send needed environment variables. I don't like
|
||||||
|
# setting wildcards and LC_ALL is disabled on purpose.
|
||||||
|
AcceptEnv EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TMUX TERM TZ
|
||||||
@ -1,2 +0,0 @@
|
|||||||
# Remember these environment variables
|
|
||||||
Defaults env_keep += "TERM COLORTERM"
|
|
||||||
21
install
21
install
@ -37,10 +37,7 @@ cp -v rc/zshrc $HOME/.zshrc
|
|||||||
cp -v rc/profile $HOME/.profile
|
cp -v rc/profile $HOME/.profile
|
||||||
|
|
||||||
# Create configuration directories missed later
|
# Create configuration directories missed later
|
||||||
mkdir -vp $HOME/.config/{autostart,foot,git,MangoHud,mpv,nvim,systemd/user,yt-dlp}/
|
mkdir -vp $HOME/.config/{autostart,foot,git,mpv,nvim,systemd/user,yt-dlp}/
|
||||||
|
|
||||||
# terminfo just in case it needs to be copied to remote system
|
|
||||||
mkdir -vp $HOME/.terminfo/{A..z}
|
|
||||||
|
|
||||||
# Git config, legacy support for old location as well.
|
# Git config, legacy support for old location as well.
|
||||||
# The other script appends sourced file, so if thou aren't I, thou should
|
# The other script appends sourced file, so if thou aren't I, thou should
|
||||||
@ -57,9 +54,6 @@ cp -v rc/vimrc $HOME/.vimrc
|
|||||||
cp -v conf/init.vim $HOME/.config/nvim/init.vim
|
cp -v conf/init.vim $HOME/.config/nvim/init.vim
|
||||||
cp -v conf/makepkg.conf $HOME/.makepkg.conf
|
cp -v conf/makepkg.conf $HOME/.makepkg.conf
|
||||||
|
|
||||||
# system information overlay
|
|
||||||
cp -v conf/MangoHud.conf $HOME/.config/MangoHud/
|
|
||||||
|
|
||||||
# the media player
|
# the media player
|
||||||
cp -v conf/mpv.conf $HOME/.config/mpv/mpv.conf
|
cp -v conf/mpv.conf $HOME/.config/mpv/mpv.conf
|
||||||
mkdir -vp $HOME/.var/app/io.mpv.Mpv/config/mpv
|
mkdir -vp $HOME/.var/app/io.mpv.Mpv/config/mpv
|
||||||
@ -92,11 +86,7 @@ mkdir -vp $HOME/.inxi
|
|||||||
cp -v conf/inxi.conf $HOME/.inxi/inxi.conf
|
cp -v conf/inxi.conf $HOME/.inxi/inxi.conf
|
||||||
|
|
||||||
# laziness
|
# laziness
|
||||||
if [ -d submodules/pgp-alt-wot/me ]; then
|
gpg --quiet --import .mikaela/keys/*.asc &
|
||||||
gpg --quiet --import submodules/pgp-alt-wot/me/*.asc &
|
|
||||||
else
|
|
||||||
gpg --quiet --import .mikaela/keys/*.asc &
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Utilized by my ssh_config (not to be confused with sshd_config)
|
# Utilized by my ssh_config (not to be confused with sshd_config)
|
||||||
mkdir -vp $HOME/.ssh/sockets/
|
mkdir -vp $HOME/.ssh/sockets/
|
||||||
@ -156,11 +146,6 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
mkdir -vp /usr/local/share/applications/
|
mkdir -vp /usr/local/share/applications/
|
||||||
cp -v local/share/applications/*.desktop /usr/local/share/applications/
|
cp -v local/share/applications/*.desktop /usr/local/share/applications/
|
||||||
|
|
||||||
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
|
|
||||||
if [ -d /etc/sudoers.d ]; then
|
|
||||||
cp -v etc/sudoers.d/{lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Profile configuration. SECURITY WARNING
|
# Profile configuration. SECURITY WARNING
|
||||||
cp -v etc/profile.d/*.sh /etc/profile.d/
|
cp -v etc/profile.d/*.sh /etc/profile.d/
|
||||||
chmod -v a+r /etc/profile.d/*.sh
|
chmod -v a+r /etc/profile.d/*.sh
|
||||||
@ -173,7 +158,7 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
# SSHd hardening hopefully. SECURITY WARNING
|
# SSHd hardening hopefully. SECURITY WARNING
|
||||||
mkdir -vp /etc/ssh/sshd_config.d/
|
mkdir -vp /etc/ssh/sshd_config.d/
|
||||||
chmod -v a+x /etc/ssh/sshd_config.d/
|
chmod -v a+x /etc/ssh/sshd_config.d/
|
||||||
cp etc/ssh/sshd_config.d/{00-basic-security.conf,01-acceptenv.conf} /etc/ssh/sshd_config.d/
|
cp etc/ssh/sshd_config.d/00-basic-security.conf /etc/ssh/sshd_config.d/
|
||||||
chmod -v a+r /etc/ssh/sshd_config.d/*.conf
|
chmod -v a+r /etc/ssh/sshd_config.d/*.conf
|
||||||
|
|
||||||
# Systemd configuration directories. SECURITY WARNINGS!
|
# Systemd configuration directories. SECURITY WARNINGS!
|
||||||
|
|||||||
@ -1018,6 +1018,9 @@ if [ -f ~/.bash_custom ]; then
|
|||||||
source ~/.bash_custom
|
source ~/.bash_custom
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#TODO: FIXME:
|
||||||
|
TERM=xterm-256color
|
||||||
|
|
||||||
# If $TMUX, then TERM is tmux-256color
|
# If $TMUX, then TERM is tmux-256color
|
||||||
if [ -v TMUX ]; then
|
if [ -v TMUX ]; then
|
||||||
TERM=tmux-256color
|
TERM=tmux-256color
|
||||||
|
|||||||
3
rc/vimrc
3
rc/vimrc
@ -112,6 +112,3 @@ set textwidth=78
|
|||||||
" Marginal/line just before that. Set separately so it gets affected by
|
" Marginal/line just before that. Set separately so it gets affected by
|
||||||
" editorconfig and modelines?
|
" editorconfig and modelines?
|
||||||
set colorcolumn=-1
|
set colorcolumn=-1
|
||||||
|
|
||||||
" Enable truecolor support
|
|
||||||
set termguicolors
|
|
||||||
|
|||||||
3
rc/zshrc
3
rc/zshrc
@ -1011,6 +1011,9 @@ if [ -f ~/.warnings ]; then
|
|||||||
source ~/.warnings
|
source ~/.warnings
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#TODO: FIXME:
|
||||||
|
TERM=xterm-256color
|
||||||
|
|
||||||
# If $TMUX, then TERM is tmux-256color
|
# If $TMUX, then TERM is tmux-256color
|
||||||
if [ -v TMUX ]; then
|
if [ -v TMUX ]; then
|
||||||
TERM=tmux-256color
|
TERM=tmux-256color
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user