asdfasdfasdfasdfasdfasdfadsf
This commit is contained in:
parent
66aaccb69a
commit
d129a7ea94
2 changed files with 62 additions and 13 deletions
18
bash/.bashrc
18
bash/.bashrc
|
|
@ -267,19 +267,19 @@ ftext() {
|
||||||
cpp() {
|
cpp() {
|
||||||
set -e
|
set -e
|
||||||
strace -q -ewrite cp -- "${1}" "${2}" 2>&1 |
|
strace -q -ewrite cp -- "${1}" "${2}" 2>&1 |
|
||||||
awk '{
|
awk '{
|
||||||
count += $NF
|
count += $NF
|
||||||
if (count % 10 == 0) {
|
if (count % 10 == 0) {
|
||||||
percent = count / total_size * 100
|
percent = count / total_size * 100
|
||||||
printf "%3d%% [", percent
|
printf "%3d%% [", percent
|
||||||
for (i=0;i<=percent;i++)
|
for (i=0;i<=percent;i++)
|
||||||
printf "="
|
printf "="
|
||||||
printf ">"
|
printf ">"
|
||||||
for (i=percent;i<100;i++)
|
for (i=percent;i<100;i++)
|
||||||
printf " "
|
printf " "
|
||||||
printf "]\r"
|
printf "]\r"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
END { print "" }' total_size="$(stat -c '%s' "${1}")" count=0
|
END { print "" }' total_size="$(stat -c '%s' "${1}")" count=0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,54 @@
|
||||||
theme = catppuccin-mocha
|
#theme = catppuccin-mocha
|
||||||
font-size = 16
|
#font-size = 16
|
||||||
font-family = MesloLGS Nerd Font Mono
|
#font-family = MesloLGS Nerd Font Mono
|
||||||
gtk-titlebar = false
|
#font-family-bold = MesloLGS Nerd Font Mono Bold
|
||||||
|
#font-family-italic = MesloLGS Nerd Font Mono Italic
|
||||||
|
#font-family-bold-italic = MesloLGS Nerd Font Mono Bold Italic
|
||||||
|
#font-feature = -calt, -liga, -dlig
|
||||||
|
#gtk-titlebar = false
|
||||||
|
#background-opacity = 0.9
|
||||||
|
#window-decoration = auto
|
||||||
|
#window-title-font-family = MesloLGS Nerd Font Mono
|
||||||
|
#window-theme = auto
|
||||||
|
|
||||||
|
# Window settings
|
||||||
|
#window-decoration = false
|
||||||
|
window-inherit-working-directory = true
|
||||||
|
window-theme = dark
|
||||||
|
window-save-state = always
|
||||||
|
#window-width = 1920
|
||||||
|
#window-height = 1080
|
||||||
|
|
||||||
|
mouse-hide-while-typing = true
|
||||||
|
copy-on-select = true
|
||||||
|
|
||||||
|
background = #282a36
|
||||||
|
background-opacity = 0.7
|
||||||
|
|
||||||
|
font-family = MesloLGDZ Nerd Font
|
||||||
|
font-size = 16
|
||||||
|
cursor-style = block
|
||||||
|
|
||||||
|
# Color scheme (Dracula-inspired dark theme)
|
||||||
|
foreground = #f8f8f2
|
||||||
|
selection-foreground = #ffffff
|
||||||
|
selection-background = #44475a
|
||||||
|
cursor-color = #f8f8f2
|
||||||
|
|
||||||
|
# ANSI Colors (Dracula)
|
||||||
|
palette = 0=#21222c
|
||||||
|
palette = 1=#ff5555
|
||||||
|
palette = 2=#50fa7b
|
||||||
|
palette = 3=#f1fa8c
|
||||||
|
palette = 4=#bd93f9
|
||||||
|
palette = 5=#ff79c6
|
||||||
|
palette = 6=#8be9fd
|
||||||
|
palette = 7=#f8f8f2
|
||||||
|
palette = 8=#6272a4
|
||||||
|
palette = 9=#ff6e6e
|
||||||
|
palette = 10=#69ff94
|
||||||
|
palette = 11=#ffffa5
|
||||||
|
palette = 12=#d6acff
|
||||||
|
palette = 13=#ff92df
|
||||||
|
palette = 14=#a4ffff
|
||||||
|
palette = 15=#ffffff
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue