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"
|
||||
|
||||
Reference in New Issue
Block a user