Update 2024-06-15 08:18 Linux/x86_64
This commit is contained in:
parent
9682e0bafc
commit
29e77ba5a5
17
.Xresources
17
.Xresources
@ -1,6 +1,6 @@
|
||||
! special
|
||||
*.foreground: #c5c8c6
|
||||
*.background: #1e1e1e
|
||||
*.background: #1d1f21
|
||||
*.cursorColor: #c5c8c6
|
||||
|
||||
! black
|
||||
@ -38,10 +38,7 @@
|
||||
|
||||
! URxvt Appearance
|
||||
|
||||
Rxvt*font: xft:DejaVuSansMono:size=9
|
||||
Rxvt*boldFont: xft:DejaVuSansMono:bold:size=9
|
||||
Rxvt*italicFont: xft:DejaVuSansMono:italic:autohint=true:size=9
|
||||
Rxvt*boldItalicFont: xft:DejaVuSansMono:bold:italic:autohint=true:size=9
|
||||
xterm*font: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
|
||||
|
||||
URxvt.keysym.Shift-C-Up: font-size:increase
|
||||
URxvt.keysym.Shift-C-Down: font-size:decrease
|
||||
@ -55,14 +52,9 @@ dwm.selbordercolor: #595959
|
||||
dwm.selbgcolor: #a58804
|
||||
dwm.selfgcolor: #ffffff
|
||||
|
||||
! Setting transparency and background
|
||||
! URxvt.depth: 32
|
||||
! URxvt*background: rgba:0000/0000/0000/cccc
|
||||
|
||||
|
||||
URxvt.letterSpace: 0
|
||||
URxvt.letterSpace: 1
|
||||
URxvt.lineSpace: -2
|
||||
URxvt.geometry: 80x25
|
||||
URxvt.geometry: 75x24
|
||||
URxvt.internalBorder:10
|
||||
URxvt.cursorBlink: true
|
||||
URxvt.cursorUnderline: false
|
||||
@ -109,3 +101,4 @@ xlock.username: username:
|
||||
xlock.password: password:
|
||||
xlock.font: XFONT
|
||||
xlock.planfont: XFONT
|
||||
|
||||
|
@ -304,8 +304,8 @@ globalkeys = gears.table.join(
|
||||
{description = "open a terminal", group = "launcher"}),
|
||||
awful.key({ modkey, "Shift" }, "r", awesome.restart,
|
||||
{description = "reload awesome", group = "awesome"}),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||
{description = "quit awesome", group = "awesome"}),
|
||||
- awful.key({ "Ctrl", "Alt" }, "Escape", awesome.quit,
|
||||
- {description = "quit awesome", group = "awesome"}),
|
||||
|
||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
||||
{description = "increase master width factor", group = "layout"}),
|
||||
|
@ -1,16 +1,17 @@
|
||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
htop_version=3.2.2
|
||||
config_reader_min_version=3
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
sort_key=46
|
||||
sort_direction=-1
|
||||
tree_sort_key=46
|
||||
tree_sort_direction=-1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
hide_running_in_container=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=0
|
||||
highlight_base_name=0
|
||||
highlight_deleted_exe=1
|
||||
shadow_distribution_path_prefix=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
highlight_changes=0
|
||||
@ -18,9 +19,8 @@ highlight_changes_delay_secs=5
|
||||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
tree_view=1
|
||||
tree_view_always_by_pid=0
|
||||
header_margin=1
|
||||
screen_tabs=0
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_one=0
|
||||
show_cpu_usage=1
|
||||
@ -32,8 +32,32 @@ account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
enable_mouse=1
|
||||
delay=15
|
||||
left_meters=LeftCPUs2 Memory Swap
|
||||
left_meter_modes=1 1 1
|
||||
right_meters=RightCPUs2 Tasks LoadAverage Uptime
|
||||
right_meter_modes=1 2 2 2
|
||||
hide_function_bar=0
|
||||
header_layout=two_50_50
|
||||
column_meters_0=LeftCPUs2 Memory Swap
|
||||
column_meter_modes_0=1 1 1
|
||||
column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
|
||||
column_meter_modes_1=1 2 2 2
|
||||
tree_view=0
|
||||
sort_key=38
|
||||
tree_sort_key=46
|
||||
sort_direction=-1
|
||||
tree_sort_direction=-1
|
||||
tree_view_always_by_pid=0
|
||||
all_branches_collapsed=0
|
||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||
.sort_key=M_VIRT
|
||||
.tree_sort_key=PERCENT_CPU
|
||||
.tree_view=0
|
||||
.tree_view_always_by_pid=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=-1
|
||||
.all_branches_collapsed=0
|
||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
||||
.sort_key=IO_RATE
|
||||
.tree_sort_key=PID
|
||||
.tree_view=0
|
||||
.tree_view_always_by_pid=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=0
|
||||
|
@ -1,74 +1,44 @@
|
||||
|
||||
# Join The Linux Cast Discord https://discord.gg/bPJ4A3bPbV
|
||||
# Challenge script by TechnoDaft#0647
|
||||
|
||||
# All the Timing information
|
||||
let Minute=60
|
||||
let Hour=3600
|
||||
let Day=86400
|
||||
let Week=604800
|
||||
|
||||
# Year_days=365.25 days # 4 years (1461 days cause leap year) Divided by 4
|
||||
# Month_days=30.4375 days # Year Divided by 12
|
||||
let Month=2629743
|
||||
let Year=31556926
|
||||
|
||||
# Year = 365 days, Month = 30 days.
|
||||
# let Month=2592000
|
||||
# let Year=31536000
|
||||
|
||||
|
||||
# Define the two time strings
|
||||
time1="9/28/2023 12:27AM"
|
||||
time2="9/28/2025 12:27AM"
|
||||
time3="3/23/2024 9:30PM"
|
||||
time4="3/1/2024 9:30PM"
|
||||
let current=$(date +%s)
|
||||
|
||||
# Convert the time strings to Unix timestamps
|
||||
timestamp1=$(date -d "$time1" +%s)
|
||||
timestamp2=$(date -d "$time2" +%s)
|
||||
timestamp3=$(date -d "$time3" +%s)
|
||||
timestamp4=$(date -d "$time4" +%s)
|
||||
|
||||
# Calculate the time difference in seconds
|
||||
time_difference=$((timestamp2 - current))
|
||||
time_progression=$((current - timestamp1))
|
||||
theme_progression=$((current - timestamp3))
|
||||
plasma_progression=$((current - timestamp4))
|
||||
# Convert the time difference to days (86400 seconds in a day)
|
||||
days_difference=$((time_difference / 86400))
|
||||
days_done=$((time_progression/ 86400))
|
||||
theme_done=$((theme_progression/ 86400))
|
||||
plasma_done=$((plasma_progression/ 86400))
|
||||
|
||||
# Calculation of everything needed
|
||||
# let birth_install=$(stat -c %W /) # Comment out if using the custom Epoch
|
||||
let birth_install=1695895024 # Custom Epoch for Reinstalls
|
||||
|
||||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
info title
|
||||
info underline
|
||||
|
||||
info "${c2} Distro----------->" distro
|
||||
info "${c2} Kernel----------->" kernel
|
||||
"prin"
|
||||
info "${c3} DE/WM------------>" de
|
||||
info "${c3} Terminal--------->" term
|
||||
info "${c3} Packages--------->" packages
|
||||
"prin"
|
||||
info "${c4} Processor-------->" cpu
|
||||
info "${c4} Memory----------->" memory
|
||||
info "${c4} GPU-------------->" gpu
|
||||
info "${c4} Uptime----------->" uptime
|
||||
info "${c4} Resolution------->" resolution
|
||||
"prin"
|
||||
prin "${c5} Installed-------->" "$(echo $birth_install | awk '{print strftime("%m/%d/%Y, %H:%M:%S",$1)}')"
|
||||
prin "${c5} Time Now--------->" "$(echo $current | awk '{print strftime("%m/%d/%Y, %H:%M:%S",$1)}')"
|
||||
prin "${c5} End Date--------->" "$(echo "09/28/2025, 00:27" )"
|
||||
prin "${c5} Days Done-------->" "$(echo $days_done days )"
|
||||
prin "${c5} Days Left-------->" "$(echo $days_difference days )"
|
||||
info "OS" distro
|
||||
info "Host" model
|
||||
info "Kernel" kernel
|
||||
info "Uptime" uptime
|
||||
info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "Resolution" resolution
|
||||
info "DE" de
|
||||
info "WM" wm
|
||||
info "WM Theme" wm_theme
|
||||
info "Theme" theme
|
||||
info "Icons" icons
|
||||
info "Terminal" term
|
||||
info "Terminal Font" term_font
|
||||
info "CPU" cpu
|
||||
info "GPU" gpu
|
||||
info "Memory" memory
|
||||
|
||||
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||
# info "CPU Usage" cpu_usage
|
||||
# info "Disk" disk
|
||||
# info "Battery" battery
|
||||
# info "Font" font
|
||||
# info "Song" song
|
||||
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||
# info "Local IP" local_ip
|
||||
# info "Public IP" public_ip
|
||||
# info "Users" users
|
||||
# info "Locale" locale # This only works on glibc systems.
|
||||
|
||||
info cols
|
||||
}
|
||||
|
||||
##--------- Title
|
||||
# Title
|
||||
|
||||
|
||||
# Hide/Show Fully qualified domain name.
|
||||
#
|
||||
@ -78,7 +48,8 @@ print_info() {
|
||||
title_fqdn="off"
|
||||
|
||||
|
||||
##--------- Kernel
|
||||
# Kernel
|
||||
|
||||
|
||||
# Shorten the output of the kernel function.
|
||||
#
|
||||
@ -90,10 +61,11 @@ title_fqdn="off"
|
||||
# Example:
|
||||
# on: '4.8.9-1-ARCH'
|
||||
# off: 'Linux 4.8.9-1-ARCH'
|
||||
kernel_shorthand="off"
|
||||
kernel_shorthand="on"
|
||||
|
||||
|
||||
##--------- Distro
|
||||
# Distro
|
||||
|
||||
|
||||
# Shorten the output of the distro function
|
||||
#
|
||||
@ -116,7 +88,8 @@ distro_shorthand="off"
|
||||
os_arch="on"
|
||||
|
||||
|
||||
##--------- Uptime
|
||||
# Uptime
|
||||
|
||||
|
||||
# Shorten the output of the uptime function
|
||||
#
|
||||
@ -128,10 +101,11 @@ os_arch="on"
|
||||
# on: '2 days, 10 hours, 3 mins'
|
||||
# tiny: '2d 10h 3m'
|
||||
# off: '2 days, 10 hours, 3 minutes'
|
||||
uptime_shorthand="off"
|
||||
uptime_shorthand="on"
|
||||
|
||||
|
||||
##--------- Memory
|
||||
# Memory
|
||||
|
||||
|
||||
# Show memory pecentage in output.
|
||||
#
|
||||
@ -142,7 +116,7 @@ uptime_shorthand="off"
|
||||
# Example:
|
||||
# on: '1801MiB / 7881MiB (22%)'
|
||||
# off: '1801MiB / 7881MiB'
|
||||
memory_percent="on"
|
||||
memory_percent="off"
|
||||
|
||||
# Change memory output unit.
|
||||
#
|
||||
@ -154,10 +128,11 @@ memory_percent="on"
|
||||
# kib '1020928KiB / 7117824KiB'
|
||||
# mib '1042MiB / 6951MiB'
|
||||
# gib: ' 0.98GiB / 6.79GiB'
|
||||
memory_unit="gib"
|
||||
memory_unit="mib"
|
||||
|
||||
|
||||
##--------- Packages
|
||||
# Packages
|
||||
|
||||
|
||||
# Show/Hide Package Manager names.
|
||||
#
|
||||
@ -172,7 +147,8 @@ memory_unit="gib"
|
||||
package_managers="on"
|
||||
|
||||
|
||||
##--------- Shell
|
||||
# Shell
|
||||
|
||||
|
||||
# Show the path to $SHELL
|
||||
#
|
||||
@ -197,7 +173,8 @@ shell_path="off"
|
||||
shell_version="on"
|
||||
|
||||
|
||||
##--------- CPU
|
||||
# CPU
|
||||
|
||||
|
||||
# CPU speed type
|
||||
#
|
||||
@ -218,7 +195,7 @@ speed_type="bios_limit"
|
||||
# Example:
|
||||
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||
speed_shorthand="on"
|
||||
speed_shorthand="off"
|
||||
|
||||
# Enable/Disable CPU brand in output.
|
||||
#
|
||||
@ -272,10 +249,11 @@ cpu_cores="logical"
|
||||
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||
cpu_temp="on"
|
||||
cpu_temp="off"
|
||||
|
||||
|
||||
##--------- GPU
|
||||
# GPU
|
||||
|
||||
|
||||
# Enable/Disable GPU Brand
|
||||
#
|
||||
@ -308,7 +286,8 @@ gpu_brand="on"
|
||||
gpu_type="all"
|
||||
|
||||
|
||||
##--------- Resolution
|
||||
# Resolution
|
||||
|
||||
|
||||
# Display refresh rate next to each monitor
|
||||
# Default: 'off'
|
||||
@ -322,7 +301,8 @@ gpu_type="all"
|
||||
refresh_rate="off"
|
||||
|
||||
|
||||
##--------- Gtk Theme / Icons / Font
|
||||
# Gtk Theme / Icons / Font
|
||||
|
||||
|
||||
# Shorten output of GTK Theme / Icons / Font
|
||||
#
|
||||
@ -335,6 +315,7 @@ refresh_rate="off"
|
||||
# off: 'Numix [GTK2], Adwaita [GTK3]'
|
||||
gtk_shorthand="off"
|
||||
|
||||
|
||||
# Enable/Disable gtk2 Theme / Icons / Font
|
||||
#
|
||||
# Default: 'on'
|
||||
@ -358,7 +339,8 @@ gtk2="on"
|
||||
gtk3="on"
|
||||
|
||||
|
||||
##--------- IP Address
|
||||
# IP Address
|
||||
|
||||
|
||||
# Website to ping for the public IP
|
||||
#
|
||||
@ -374,8 +356,10 @@ public_ip_host="http://ident.me"
|
||||
# Flag: --ip_timeout
|
||||
public_ip_timeout=2
|
||||
|
||||
|
||||
# Desktop Environment
|
||||
|
||||
|
||||
# Show Desktop Environment version
|
||||
#
|
||||
# Default: 'on'
|
||||
@ -384,7 +368,8 @@ public_ip_timeout=2
|
||||
de_version="on"
|
||||
|
||||
|
||||
##--------- Disk
|
||||
# Disk
|
||||
|
||||
|
||||
# Which disks to display.
|
||||
# The values can be any /dev/sdXX, mount point or directory.
|
||||
@ -441,7 +426,8 @@ disk_subtitle="mount"
|
||||
disk_percent="on"
|
||||
|
||||
|
||||
##--------- Song
|
||||
# Song
|
||||
|
||||
|
||||
# Manually specify a music player.
|
||||
#
|
||||
@ -525,7 +511,8 @@ song_shorthand="off"
|
||||
mpc_args=()
|
||||
|
||||
|
||||
##--------- Text Colors
|
||||
# Text Colors
|
||||
|
||||
|
||||
# Text Colors
|
||||
#
|
||||
@ -542,7 +529,8 @@ mpc_args=()
|
||||
colors=(distro)
|
||||
|
||||
|
||||
##--------- Text Options
|
||||
# Text Options
|
||||
|
||||
|
||||
# Toggle bold text
|
||||
#
|
||||
@ -563,7 +551,8 @@ underline_enabled="on"
|
||||
# Default: '-'
|
||||
# Values: 'string'
|
||||
# Flag: --underline_char
|
||||
underline_char=""
|
||||
underline_char="-"
|
||||
|
||||
|
||||
# Info Separator
|
||||
# Replace the default separator with the specified string.
|
||||
@ -574,10 +563,11 @@ underline_char=""
|
||||
# Example:
|
||||
# separator="->": 'Shell-> bash'
|
||||
# separator=" =": 'WM = dwm'
|
||||
separator=" "
|
||||
separator=":"
|
||||
|
||||
|
||||
##--------- Color Blocks
|
||||
# Color Blocks
|
||||
|
||||
|
||||
# Color block range
|
||||
# The range of colors to print.
|
||||
@ -630,7 +620,8 @@ block_height=1
|
||||
# col_offset=7 - Leave 7 spaces then print the colors
|
||||
col_offset="auto"
|
||||
|
||||
##--------- Progress Bars
|
||||
# Progress Bars
|
||||
|
||||
|
||||
# Bar characters
|
||||
#
|
||||
@ -672,6 +663,7 @@ bar_length=15
|
||||
bar_color_elapsed="distro"
|
||||
bar_color_total="distro"
|
||||
|
||||
|
||||
# Info display
|
||||
# Display a bar with the info.
|
||||
#
|
||||
@ -693,7 +685,8 @@ battery_display="off"
|
||||
disk_display="off"
|
||||
|
||||
|
||||
##--------- Backend Settings
|
||||
# Backend Settings
|
||||
|
||||
|
||||
# Image backend.
|
||||
#
|
||||
@ -701,7 +694,7 @@ disk_display="off"
|
||||
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
||||
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
||||
# Flag: --backend
|
||||
image_backend="kitty"
|
||||
image_backend="ascii"
|
||||
|
||||
# Image Source
|
||||
#
|
||||
@ -715,10 +708,11 @@ image_backend="kitty"
|
||||
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
|
||||
# In ascii mode, distro ascii art will be used and in an image mode, your
|
||||
# wallpaper will be used.
|
||||
image_source="$HOME/mhome/Downloads/opensusegirl.png"
|
||||
image_source="auto"
|
||||
|
||||
|
||||
##--------- Ascii Options
|
||||
# Ascii Options
|
||||
|
||||
|
||||
# Ascii distro
|
||||
# Which distro's ascii art to display.
|
||||
@ -777,7 +771,7 @@ ascii_distro="auto"
|
||||
# Example:
|
||||
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
|
||||
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
|
||||
ascii_colors=(2 2 3 4 5 6 7 8)
|
||||
ascii_colors=(distro)
|
||||
|
||||
# Bold ascii logo
|
||||
# Whether or not to bold the ascii logo.
|
||||
@ -785,10 +779,11 @@ ascii_distro="auto"
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --ascii_bold
|
||||
ascii_bold="off"
|
||||
ascii_bold="on"
|
||||
|
||||
|
||||
##--------- Image Options
|
||||
# Image Options
|
||||
|
||||
|
||||
# Image loop
|
||||
# Setting this to on will make neofetch redraw the image constantly until
|
||||
@ -822,7 +817,7 @@ crop_mode="normal"
|
||||
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||
# 'east', 'southwest', 'south', 'southeast'
|
||||
# Flag: --crop_offset
|
||||
crop_offset="north"
|
||||
crop_offset="center"
|
||||
|
||||
# Image size
|
||||
# The image is half the terminal width by default.
|
||||
@ -831,14 +826,14 @@ crop_offset="north"
|
||||
# Values: 'auto', '00px', '00%', 'none'
|
||||
# Flags: --image_size
|
||||
# --size
|
||||
image_size="300px"
|
||||
image_size="auto"
|
||||
|
||||
# Gap between image and text
|
||||
#
|
||||
# Default: '3'
|
||||
# Values: 'num', '-num'
|
||||
# Flag: --gap
|
||||
gap=2
|
||||
gap=3
|
||||
|
||||
# Image offsets
|
||||
# Only works with the w3m backend.
|
||||
@ -859,7 +854,7 @@ xoffset=0
|
||||
background_color=
|
||||
|
||||
|
||||
##--------- Misc Options
|
||||
# Misc Options
|
||||
|
||||
# Stdout mode
|
||||
# Turn off all colors and disables image backend (ASCII/Image).
|
||||
|
26
.config/neomutt/accounts/mail.blank
Normal file
26
.config/neomutt/accounts/mail.blank
Normal file
@ -0,0 +1,26 @@
|
||||
set from = "@.net"
|
||||
set sendmail = "/usr/bin/msmtp -a mail"
|
||||
|
||||
# Set folders
|
||||
set spoolfile = "+mail/INBOX"
|
||||
set postponed = "+mail/drafts"
|
||||
set record = "+mail/Sent"
|
||||
set trash = "+mail/trash"
|
||||
|
||||
# custom signaure
|
||||
# set signature = ~/.mutt/signatures/tinfoil
|
||||
|
||||
color status cyan default
|
||||
|
||||
# macro index o "<shell-escape>offlineimap -a privat<enter>" "run offlineimap to sync mail for this account"
|
||||
|
||||
macro index,pager J \
|
||||
"<enter-command>set my_old_resolve=\$resolve noresolve<enter>\
|
||||
<tag-prefix><clear-flag>n<enter-command>set resolve=\$my_old_resolve<enter>\
|
||||
<save-message>+privat/junk<enter>" \
|
||||
"mark as read and move to junk folder"
|
||||
|
||||
macro index,pager I \
|
||||
"<save-message>+mail/INBOX<enter>" \
|
||||
"move message to the inbox"
|
||||
|
42
.config/neomutt/bindings
Normal file
42
.config/neomutt/bindings
Normal file
@ -0,0 +1,42 @@
|
||||
# some sane vim-like keybindings
|
||||
bind index,pager k previous-entry
|
||||
bind index,pager j next-entry
|
||||
bind index,pager g noop
|
||||
bind index,pager \Cu half-up
|
||||
bind index,pager \Cd half-down
|
||||
bind pager gg top
|
||||
bind index gg first-entry
|
||||
bind pager G bottom
|
||||
bind index G last-entry
|
||||
|
||||
# Sidebar Navigation
|
||||
bind index,pager <down> sidebar-next
|
||||
bind index,pager <up> sidebar-prev
|
||||
bind index,pager <right> sidebar-open
|
||||
|
||||
# index and pager shortcuts
|
||||
bind index,pager @ compose-to-sender
|
||||
bind index,pager R group-reply
|
||||
bind index,pager D purge-message
|
||||
bind index <tab> sync-mailbox
|
||||
bind index <space> collapse-thread
|
||||
# Save all attachments
|
||||
macro index,pager S "<pipe-message>ripmime -i - -d ~/Downloads && rm ~/Downloads/textfile*" "Save all non-text attachments using ripmime"
|
||||
# opening urls with urlscan
|
||||
macro index,pager \cb "<pipe-message>urlscan<enter>" "call urlscan to extract URLs out of a message"
|
||||
# Sync all email
|
||||
macro index,pager O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
|
||||
|
||||
# View attachments properly.
|
||||
bind attach <return> view-mailcap
|
||||
|
||||
# Drafts
|
||||
bind compose P postpone-message
|
||||
bind index p recall-message
|
||||
|
||||
# finding stuff
|
||||
bind editor <tab> complete-query
|
||||
macro index F "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mu/results " "mu find"
|
||||
macro index \cf "<change-folder-readonly>~/.mu/results<enter>" "mu find results"
|
||||
|
||||
|
48
.config/neomutt/colors
Normal file
48
.config/neomutt/colors
Normal file
@ -0,0 +1,48 @@
|
||||
# basic colors ---------------------------------------------------------
|
||||
color normal white default
|
||||
color error red default
|
||||
color tilde black default
|
||||
color message cyan default
|
||||
color markers red white
|
||||
color attachment white default
|
||||
color search brightmagenta default
|
||||
color indicator brightblack yellow
|
||||
color tree green default
|
||||
|
||||
# sidebarh
|
||||
color sidebar_new default blue
|
||||
|
||||
# index ----------------------------------------------------------------
|
||||
|
||||
color index red default "~A" # all messages
|
||||
color index brightred default "~E" # expired messages
|
||||
color index blue default "~N" # new messages
|
||||
color index blue default "~O" # old messages
|
||||
color index brightmagenta default "~Q" # messages that have been replied to
|
||||
color index brightwhite default "~R" # read messages
|
||||
color index blue default "~U" # unread messages
|
||||
color index brightyellow default "~v" # messages part of a collapsed thread
|
||||
color index brightyellow default "~P" # messages from me
|
||||
color index red default "~F" # flagged messages
|
||||
color index black red "~D" # deleted messages
|
||||
|
||||
# message headers ------------------------------------------------------
|
||||
|
||||
color hdrdefault brightgreen default
|
||||
color header brightyellow default "^(From)"
|
||||
color header blue default "^(Subject)"
|
||||
|
||||
# body -----------------------------------------------------------------
|
||||
|
||||
color quoted blue default
|
||||
color quoted1 cyan default
|
||||
color quoted2 yellow default
|
||||
color quoted3 red default
|
||||
color quoted4 brightred default
|
||||
|
||||
color signature brightblack default
|
||||
color bold black default
|
||||
color underline black default
|
||||
color normal default default
|
||||
|
||||
|
10
.config/neomutt/mailcap
Normal file
10
.config/neomutt/mailcap
Normal file
@ -0,0 +1,10 @@
|
||||
image/*; /usr/local/bin/xdg-open %s
|
||||
|
||||
application/msword; /usr/local/bin/xdg-open %s
|
||||
application/pdf; /usr/local/bin/xdg-open %s
|
||||
application/postscript ; /usr/local/bin/xdg-open %s
|
||||
|
||||
# text/html; qutebrowser %s && sleep 5 ; test=test -n "$DISPLAY";
|
||||
nametemplate=%s.html; needsterminal
|
||||
# text/html; lynx -dump %s ; copiousoutput; nametemplate=%s.html
|
||||
text/html; w3m -I %{charset} -T text/html ; copiousoutput; nametemplate=%s.html
|
131
.config/neomutt/muttrc.blank
Normal file
131
.config/neomutt/muttrc.blank
Normal file
@ -0,0 +1,131 @@
|
||||
set folder = ~/Mail
|
||||
set message_cachedir = ~/.config/neomutt/cache/bodies
|
||||
set certificate_file = /etc/ssl/certs/ca-certificates.crt
|
||||
set mailcap_path = ~/.config/neomutt/mailcap
|
||||
set tmpdir = ~/.config/neomutt/tmp
|
||||
|
||||
# Sync Mails
|
||||
macro index o "<shell-escape>offlineimap<enter>" "run offlineimap for all accounts"
|
||||
|
||||
# basic options
|
||||
set wait_key = no
|
||||
set mbox_type = Maildir
|
||||
set timeout = 3
|
||||
set mail_check = 0
|
||||
set delete
|
||||
set quit
|
||||
set thorough_search
|
||||
set mail_check_stats
|
||||
set reply_with_xorig = yes
|
||||
unset confirmappend
|
||||
unset move
|
||||
unset mark_old
|
||||
unset beep_new
|
||||
|
||||
# Macros
|
||||
macro index o "<shell-escape>offlineimap<enter>" "run offlineimap to sync mail for all accounts"
|
||||
|
||||
# compose View Options
|
||||
set envelope_from # which from?
|
||||
set edit_headers # show headers when composing
|
||||
set fast_reply # skip to compose when replying
|
||||
set askcc # ask for CC:
|
||||
set fcc_attach # save attachments with the body
|
||||
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||||
set forward_decode # decode when forwarding
|
||||
set attribution = "On %d, %n wrote:" # format of quoting header
|
||||
set reply_to # reply to Reply to: field
|
||||
set reverse_name # reply as whomever it was to
|
||||
set include # include message in replies
|
||||
set forward_quote # include message in forwards
|
||||
set editor = "vim"
|
||||
set text_flowed
|
||||
set sig_dashes # no dashes before sig
|
||||
unset mime_forward # forward attachments as part of body
|
||||
auto_view image/jpeg application/pdf
|
||||
|
||||
# status bar, date format, finding stuff etc.
|
||||
set status_chars = " *%A"
|
||||
set status_format = "[ Folder: %f ] [%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]%>-%?p?( %p postponed )?"
|
||||
set date_format = "%d.%m.%Y %H:%M"
|
||||
set index_format = "[%Z] %?X?A&-? %D %-20.20F %s"
|
||||
set sort = threads
|
||||
set sort_aux = last-date-received
|
||||
set uncollapse_jump
|
||||
set sort_re
|
||||
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set send_charset = "utf-8:iso-8859-1:us-ascii"
|
||||
set charset = "utf-8"
|
||||
|
||||
# when composing emails, use this command to get addresses from
|
||||
# the addressbook with khard first, and everything else from mu index
|
||||
set query_command="goobook query %s"
|
||||
|
||||
|
||||
# Pager View Options
|
||||
set pager_index_lines = 10
|
||||
set pager_context = 3
|
||||
set pager_stop
|
||||
set menu_scroll
|
||||
set tilde
|
||||
unset markers
|
||||
|
||||
# set mailcup
|
||||
set mailcap_path = ~/.config/neomutt/mailcap
|
||||
auto_view text/html
|
||||
|
||||
# email headers and attachments
|
||||
ignore *
|
||||
unignore from: to: cc: bcc: date: subject:
|
||||
unhdr_order *
|
||||
hdr_order from: to: cc: bcc: date: subject:
|
||||
alternative_order text/plain text/enriched text/html
|
||||
auto_view text/html
|
||||
|
||||
# GPG/PGP
|
||||
set pgp_decrypt_command= yes
|
||||
set my_msmtp_pass="gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.config/neomutt/msmtp-mail.gpg"
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_verify_sig = yes
|
||||
set crypt_replysign = yes
|
||||
set crypt_replyencrypt = yes
|
||||
set crypt_replysignencrypted = yes
|
||||
|
||||
# sidebar patch config
|
||||
set sidebar_visible
|
||||
set sidebar_short_path
|
||||
set sidebar_folder_indent
|
||||
set sidebar_width = 25
|
||||
set sidebar_divider_char = ' | '
|
||||
set sidebar_indent_string = ' ''
|
||||
set sidebar_format = "%B %* [%?N?%N / ?%S]"
|
||||
|
||||
# Mailboxes to show in the sidebar.
|
||||
mailboxes =mail/INBOX =mail/Sent =mail/Drafts =mail/Junk =mail/Trash
|
||||
# mailboxes =****/INBOX =****/Sent =****/Drafts =****/Spam =****/Trash
|
||||
|
||||
# source colors and keybindings
|
||||
# keeping those in one place makes it easier for my brain
|
||||
source ~/.config/neomutt/colors
|
||||
source ~/.config/neomutt/bindings
|
||||
|
||||
# And finally the account config for multiple accounts
|
||||
#############################################################
|
||||
|
||||
# by default, use privat
|
||||
set realname = " "
|
||||
set spoolfile = "+mail/INBOX"
|
||||
source ~/.config/neomutt/accounts/mail
|
||||
|
||||
# when changing into other mailboxes, use different adresses etc.
|
||||
# folder-hook privat/* source ~/.config/neomutt/accounts/privat
|
||||
# folder-hook account/* source ~/.config/neomutt/accounts/account
|
||||
folder-hook mail/* source ~/.config/neomutt/accounts/*****
|
||||
# folder-hook listsub/* source ~/.config/neomutt/accounts/listsub
|
||||
# folder-hook social/* source ~/.config/neomutt/accounts/social
|
||||
|
||||
set sendmail="/usr/bin/msmtp" # Use msmtp rather than sendmail
|
||||
|
||||
|
31
.offlineimaprc.blank
Normal file
31
.offlineimaprc.blank
Normal file
@ -0,0 +1,31 @@
|
||||
[general]
|
||||
# List of accounts to be synced, separated by a comma.
|
||||
accounts = mail
|
||||
fsync = false
|
||||
ui = ttyui
|
||||
type = Maildir
|
||||
maxsyncaccounts = 1
|
||||
singlethreadperfolder = false
|
||||
holdconnectionopen = yes
|
||||
ssl_version = StartTLS
|
||||
usecompression = yes
|
||||
keepalive = 60
|
||||
postsynchook = mu index -m ~/Mail
|
||||
|
||||
|
||||
[Account mail]
|
||||
|
||||
localrepository = mail-local
|
||||
remoterepository = mail-remote
|
||||
|
||||
[Repository mail-local]
|
||||
type = Maildir
|
||||
localfolders = ~/Mail/mail
|
||||
|
||||
[Repository mail-remote]
|
||||
type = IMAP
|
||||
repoteport = 993
|
||||
remotehost = imap..org
|
||||
remoteuser = @.net
|
||||
remotepass =
|
||||
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
2
.vimrc
2
.vimrc
@ -1,6 +1,6 @@
|
||||
" Colour
|
||||
colorscheme badwolf
|
||||
set background=dark
|
||||
" set background=dark
|
||||
|
||||
|
||||
|
||||
|
5
.zshrc
5
.zshrc
@ -6,6 +6,7 @@ ZSH_THEME="jonathan"
|
||||
plugins=(git)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
setopt autocd # change directory just by typing its name
|
||||
#setopt correct # auto correct mistakes
|
||||
setopt interactivecomments # allow comments in interactive mode
|
||||
@ -223,7 +224,7 @@ alias darknet="torsocks w3m -o auto_image=FALSE .w3m/bookmark.html"
|
||||
# Open Weechat that runs on Server
|
||||
alias reechat="ssh chrissly@vps -t screen -rd weechat"
|
||||
# Openvpn
|
||||
alias cast-tay="sudo openvpn ~/Seafile/Crypt/tay.ovpn"
|
||||
alias cast-home="sudo openvpn ~/Seafile/Crypt/zuhause.ovpn"
|
||||
alias cast-vps="openvpn ~/Seafile/Crypt/vps.ovpn"
|
||||
# webserver statistics
|
||||
alias goaccess="ssh tay -t goaccess -c /var/log/nginx/access.log"
|
||||
@ -264,6 +265,7 @@ alias timer="termdown"
|
||||
alias ll='ls -l'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
alias xfix="./xfix.sh"
|
||||
|
||||
# functions
|
||||
# Functions
|
||||
@ -346,3 +348,4 @@ fi
|
||||
# Install Ruby Gems to ~/gems
|
||||
export GEM_HOME="$HOME/gems"
|
||||
export PATH="$HOME/gems/bin:$PATH"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user