Configurations and Enhancements: Added Alacritty terminal settings, adjusted Cava audio visualizer and i3 window manager configurations, updated Nushell settings, refined Ranger bookmarks, introduced a battery statistics script, updated SSH configurations, fine-tuned Emacs and Zsh settings. Also, included new files for battery statistics and Emacs-related configurations. This commit enhances the overall user experience and system configurations.
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
19
config/.config/alacritty/alacritty.toml
Normal file
19
config/.config/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[font]
|
||||
size = 10
|
||||
|
||||
[font.bold]
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "DejaVu Sans Mono for Powerline"
|
||||
style = "Regular"
|
||||
|
||||
[window]
|
||||
decorations = "none"
|
||||
opacity = 0.9
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
||||
# Bars' width and space between bars in number of characters.
|
||||
; bars = 0
|
||||
; bars = 19
|
||||
; bar_width = 2
|
||||
; bar_spacing = 1
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
# the bandwidth of the visualizer.
|
||||
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
||||
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
||||
; lower_cutoff_freq = 50
|
||||
; higher_cutoff_freq = 10000
|
||||
lower_cutoff_freq = 0
|
||||
higher_cutoff_freq = 20000
|
||||
|
||||
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
#
|
||||
# For alsa 'source' will be the capture device.
|
||||
# For fifo 'source' will be the path to fifo-file.
|
||||
; method = pulse
|
||||
; source = auto
|
||||
method = pulse
|
||||
source = auto
|
||||
|
||||
; method = alsa
|
||||
; source = hw:Loopback,1
|
||||
|
||||
@@ -105,9 +105,10 @@ exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
|
||||
# exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
|
||||
exec --no-startup-id dunst
|
||||
exec --no-startup-id ~/.scripts/startup.sh
|
||||
exec --no-startup-id ~/.scripts/battery_stats.sh
|
||||
exec --no-startup-id llk
|
||||
exec --no-startup-id syncthing
|
||||
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off; feh --randomize --bg-fill /home/tuan/Pictures/Wallpaper/*
|
||||
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off
|
||||
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
|
||||
|
||||
###############################################################################
|
||||
|
||||
@@ -191,9 +191,6 @@ $env.config = {
|
||||
rm: {
|
||||
always_trash: false # always act as if -t was given. Can be overridden with -p
|
||||
}
|
||||
cd: {
|
||||
abbreviations: false # allows `cd s/o/f` to expand to `cd some/other/folder`
|
||||
}
|
||||
table: {
|
||||
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
||||
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
||||
@@ -541,7 +538,7 @@ $env.config = {
|
||||
}
|
||||
|
||||
def add_soft [project] { git remote add soft $"ssh://git.aya00:/($project)" }
|
||||
export def-env own_ranger [] {
|
||||
export def --env own_ranger [] {
|
||||
let lastdir_path = $"($env.HOME)/.rangerdir";
|
||||
^ranger $"--choosedir=($lastdir_path)";
|
||||
let lastdir = (open $lastdir_path);
|
||||
@@ -550,8 +547,8 @@ export def-env own_ranger [] {
|
||||
|
||||
def pwd_xsel [] {
|
||||
let path = $"(pwd)";
|
||||
$"cd `($path)`"| xsel -b;
|
||||
$"Copied `($path)`";
|
||||
$"cd \"($path)\"; nu;"| xsel -b;
|
||||
$"Copied \"($path)\"; nu;";
|
||||
}
|
||||
|
||||
alias ll = ls -la
|
||||
|
||||
@@ -82,8 +82,4 @@ $env.NU_PLUGIN_DIRS = [
|
||||
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
||||
# $env.PATH = ($env.PATH | split row (char esep))
|
||||
|
||||
$env.EDITOR = "emacs -nw"
|
||||
$env.VISUAL = "bat"
|
||||
$env.PAGER = "bat --pager auto"
|
||||
|
||||
$env.KUBECONFIG = $"($env.HOME)/.kube/config"
|
||||
|
||||
@@ -9,8 +9,8 @@ t:/home/tuan/Templates
|
||||
w:/home/tuan/workspace_l/home_lab/wiki
|
||||
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
||||
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
||||
':/home/tuan/.dotfiles/config/.config/nushell
|
||||
e:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/LibAFL with EVM/Project/ethfuzz
|
||||
':/home/tuan/workspace_l/rust/LibAFL/fuzzers
|
||||
e:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/ethfuzz
|
||||
s:/home/tuan/Pictures/Screenshots
|
||||
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
||||
f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen
|
||||
|
||||
10
config/.scripts/battery_stats.sh
Executable file
10
config/.scripts/battery_stats.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILENAME=$(date -I)
|
||||
|
||||
while true; do
|
||||
TIMESTAMP=$(date +%s)
|
||||
STATS=$(acpi | sed "s/.*\([0-9]\{2\}\)%.*/\1/")
|
||||
echo "$TIMESTAMP,$STATS" >> ~/.scripts/battery_$FILENAME.log
|
||||
sleep 1
|
||||
done
|
||||
@@ -30,6 +30,12 @@ Host git.tudattr.dev
|
||||
IdentityFile /mnt/veracrypt1/git
|
||||
|
||||
# Homeserver
|
||||
Host behemoth
|
||||
HostName 192.168.30.80
|
||||
Port 22
|
||||
User tuan
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host madrigal
|
||||
HostName 192.168.70.1
|
||||
Port 2200
|
||||
@@ -42,6 +48,12 @@ Host aya01
|
||||
User tudattr
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host inko
|
||||
HostName 192.168.20.14
|
||||
Port 22
|
||||
User tudattr
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host naruto
|
||||
HostName 192.168.20.13
|
||||
Port 22
|
||||
@@ -88,12 +100,11 @@ Host naruto.mii
|
||||
ProxyJump mii
|
||||
|
||||
# Work
|
||||
Host ncs-head.mii
|
||||
HostName 132.252.68.50
|
||||
Port 2122
|
||||
User tuan-dat.tran
|
||||
Host ncs-tailscale
|
||||
HostName 100.93.79.94
|
||||
Port 22
|
||||
User tuant
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
ProxyJump mii
|
||||
|
||||
Host ncs-head
|
||||
HostName 132.252.68.50
|
||||
@@ -101,6 +112,7 @@ Host ncs-head
|
||||
User tuan-dat.tran
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
ForwardX11 yes
|
||||
ProxyJump ncs-tailscale
|
||||
|
||||
Host ncs-head-user
|
||||
HostName 132.252.68.50
|
||||
@@ -214,34 +226,6 @@ Host ncs-wedge
|
||||
# ForwardX11 yes
|
||||
ProxyJump ncs-head
|
||||
|
||||
Host ncs-local-server
|
||||
HostName 192.168.1.1
|
||||
Port 22
|
||||
User tuan-dat.tran
|
||||
IdentityFile /mnt/veracrypt1/tudattr
|
||||
StrictHostKeyChecking no
|
||||
|
||||
Host ncs-local-server-user
|
||||
HostName 192.168.1.1
|
||||
Port 22
|
||||
User user
|
||||
IdentityFile /mnt/veracrypt1/tudattr
|
||||
StrictHostKeyChecking no
|
||||
|
||||
Host ncs-local-server2
|
||||
HostName 192.168.2.2
|
||||
Port 22
|
||||
User user
|
||||
IdentityFile /mnt/veracrypt1/tudattr
|
||||
StrictHostKeyChecking no
|
||||
ProxyJump ncs-local-server
|
||||
|
||||
Host phone
|
||||
Hostname 192.168.30.245
|
||||
Port 2222
|
||||
User tuan-dat.tran
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host ncs-gpu
|
||||
Hostname 192.168.1.21
|
||||
Port 22
|
||||
@@ -274,8 +258,9 @@ Host 5g-mec-ovpn
|
||||
User udue
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
Host ncs-jetson00
|
||||
Hostname 192.168.0.147
|
||||
Host minis
|
||||
Hostname 192.168.0.115
|
||||
Port 22
|
||||
User user
|
||||
User tudattr
|
||||
IdentityFile /mnt/veracrypt1/genesis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user