feat: thesis config
This commit is contained in:
parent
a5b65926be
commit
d7b73f7126
@ -18,9 +18,8 @@ xrdb "$XDG_CONFIG_HOME/X11/xresources"
|
||||
xrdb -merge "$XDG_STATE_HOME/xcolors"
|
||||
xautolock -locker slock -time 5 -corners 000- &
|
||||
|
||||
xinput set-prop 'Synaptics TM3072-003' 'libinput Tapping Enabled' 1 &
|
||||
xinput set-prop 'Synaptics TM3072-003' 'libinput Natural Scrolling Enabled' 1 &
|
||||
xinput set-prop 'Synaptics TM3072-003' 'libinput Accel Speed' 0.4 &
|
||||
cursor_setup "SYNA30BD:00 06CB:CE08" &> /dev/null &
|
||||
cursor_setup "PIXART HP Wireless Keyboard and Mouse" &> /dev/null &
|
||||
setxkbmap 'fr(oss)'
|
||||
remaps &
|
||||
sxhkd &
|
||||
|
@ -1,13 +1,13 @@
|
||||
!! Set a default font and font size as below:
|
||||
*.font: Iosevka Fixed Slab:size=12
|
||||
*.symbols: Symbols Nerd Font:size=11
|
||||
*.font: FiraCode Nerd Font Mono:size=14
|
||||
*.symbols: FiraCode nerd Font Mono:size=14
|
||||
|
||||
/* dwm config */
|
||||
dwm.borderpx: 2
|
||||
dwm.gappx: 15
|
||||
|
||||
/* st config */
|
||||
st.font: Iosevka Fixed Slab:size=14
|
||||
st.symbols: Symbols Nerd Font:size=14
|
||||
st.font: FiraCode Nerd Font Mono:size=14
|
||||
st.symbols: FiraCode Nerd Font:size=14
|
||||
st.termname: st-256color
|
||||
st.borderpx: 5
|
||||
|
@ -1,5 +1,3 @@
|
||||
# See dunst(5) for all configuration options
|
||||
|
||||
[global]
|
||||
### Display ###
|
||||
|
||||
@ -17,53 +15,39 @@
|
||||
#
|
||||
# If this option is set to mouse or keyboard, the monitor option
|
||||
# will be ignored.
|
||||
follow = keyboard
|
||||
follow = mouse
|
||||
|
||||
### Geometry ###
|
||||
# The geometry of the window:
|
||||
# [{width}]x{height}[+/-{x}+/-{y}]
|
||||
# The geometry of the message window.
|
||||
# The height is measured in number of notifications everything else
|
||||
# in pixels. If the width is omitted but the height is given
|
||||
# ("-geometry x2"), the message window expands over the whole screen
|
||||
# (dmenu-like). If width is 0, the window expands to the longest
|
||||
# message displayed. A positive x is measured from the left, a
|
||||
# negative from the right side of the screen. Y is measured from
|
||||
# the top and down respectively.
|
||||
# The width can be negative. In this case the actual width is the
|
||||
# screen width minus the width defined in within the geometry option.
|
||||
geometry = "450x50-25+47"
|
||||
|
||||
# dynamic width from 0 to 300
|
||||
# width = (0, 300)
|
||||
# constant width of 300
|
||||
width = 450
|
||||
|
||||
# The maximum height of a single notification, excluding the frame.
|
||||
height = 300
|
||||
|
||||
# Position the notification in the top right corner
|
||||
origin = top-right
|
||||
|
||||
# Offset from the origin
|
||||
offset = 25x47
|
||||
|
||||
# Scale factor. It is auto-detected if value is 0.
|
||||
scale = 0
|
||||
|
||||
# Turn on the progess bar
|
||||
progress_bar = true
|
||||
|
||||
# Set the progress bar height. This includes the frame, so make sure
|
||||
# it's at least twice as big as the frame width.
|
||||
progress_bar_height = 10
|
||||
|
||||
# Set the frame width of the progress bar
|
||||
progress_bar_frame_width = 1
|
||||
|
||||
# Set the minimum width for the progress bar
|
||||
progress_bar_min_width = 150
|
||||
|
||||
# Set the maximum width for the progress bar
|
||||
progress_bar_max_width = 300
|
||||
|
||||
|
||||
# Show how many messages are currently hidden (because of
|
||||
# notification_limit).
|
||||
# Show how many messages are currently hidden (because of geometry).
|
||||
indicate_hidden = yes
|
||||
|
||||
# Shrink window if it's smaller than the width. Will be ignored if
|
||||
# width is 0.
|
||||
shrink = no
|
||||
|
||||
# The transparency of the window. Range: [0; 100].
|
||||
# This option will only work if a compositing window manager is
|
||||
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
||||
# present (e.g. xcompmgr, compiz, etc.).
|
||||
transparency = 0
|
||||
|
||||
# The height of the entire notification. If the height is smaller
|
||||
# than the font height and padding combined, it will be raised
|
||||
# to the font height and padding.
|
||||
notification_height = 0
|
||||
|
||||
# Draw a line of "separator_height" pixel height between two
|
||||
# notifications.
|
||||
# Set to 0 to disable.
|
||||
@ -75,9 +59,6 @@
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 8
|
||||
|
||||
# Padding between text and icon.
|
||||
text_icon_padding = 0
|
||||
|
||||
# Defines width in pixels of frame around the notification window.
|
||||
# Set to 0 to disable.
|
||||
frame_width = 3
|
||||
@ -101,11 +82,11 @@
|
||||
# Set to 0 to disable.
|
||||
# A client can set the 'transient' hint to bypass this. See the rules
|
||||
# section for how to disable this if necessary
|
||||
# idle_threshold = 120
|
||||
idle_threshold = 120
|
||||
|
||||
### Text ###
|
||||
|
||||
font = Iosevka Fixed Slab 14
|
||||
font = FiraCode 14
|
||||
|
||||
# The spacing between lines. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
@ -160,7 +141,11 @@
|
||||
# Set to -1 to disable.
|
||||
show_age_threshold = -1
|
||||
|
||||
# Specify where to make an ellipsis in long lines.
|
||||
# Split notifications into multiple lines if they don't fit into
|
||||
# geometry.
|
||||
word_wrap = yes
|
||||
|
||||
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
|
||||
# Possible values are "start", "middle" and "end".
|
||||
ellipsize = middle
|
||||
|
||||
@ -187,7 +172,7 @@
|
||||
min_icon_size = 0
|
||||
|
||||
# Scale larger icons down to this size, set to 0 to disable
|
||||
max_icon_size = 80
|
||||
max_icon_size = 32
|
||||
|
||||
# Paths to default icons.
|
||||
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||
@ -207,7 +192,7 @@
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
|
||||
# Browser for opening urls in context menu.
|
||||
browser = /usr/bin/xdg-open
|
||||
browser = /usr/bin/firefox
|
||||
|
||||
# Always run rule-defined scripts, even if the notification is suppressed
|
||||
always_run_script = true
|
||||
@ -218,6 +203,20 @@
|
||||
# Define the class of the windows spawned by dunst
|
||||
class = Dunst
|
||||
|
||||
# Print a notification on startup.
|
||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||
# automatically after a crash.
|
||||
startup_notification = false
|
||||
|
||||
# Manage dunst's desire for talking
|
||||
# Can be one of the following values:
|
||||
# crit: Critical features. Dunst aborts
|
||||
# warn: Only non-fatal warnings
|
||||
# mesg: Important Messages
|
||||
# info: all unimportant stuff
|
||||
# debug: all less than unimportant stuff
|
||||
verbosity = mesg
|
||||
|
||||
# Define the corner radius of the notification window
|
||||
# in pixel size. If the radius is 0, you have no rounded
|
||||
# corners.
|
||||
@ -248,14 +247,10 @@
|
||||
# Defines list of actions for each mouse event
|
||||
# Possible values are:
|
||||
# * none: Don't do anything.
|
||||
# * do_action: Invoke the action determined by the action_name rule. If there is no
|
||||
# such action, open the context menu.
|
||||
# * open_url: If the notification has exactly one url, open it. If there are multiple
|
||||
# ones, open the context menu.
|
||||
# * do_action: If the notification has exactly one action, or one is marked as default,
|
||||
# invoke it. If there are multiple and no default, open the context menu.
|
||||
# * close_current: Close current notification.
|
||||
# * close_all: Close all notifications.
|
||||
# * context: Open context menu for the notification.
|
||||
# * context_all: Open context menu for all notifications.
|
||||
# These values can be strung together for each mouse event, and
|
||||
# will be executed in sequence.
|
||||
mouse_left_click = close_current
|
||||
@ -272,6 +267,27 @@
|
||||
# where there are multiple screens with very different dpi values.
|
||||
per_monitor_dpi = false
|
||||
|
||||
[shortcuts]
|
||||
|
||||
# Shortcuts are specified as [modifier+][modifier+]...key
|
||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
|
||||
# "mod3" and "mod4" (windows-key).
|
||||
# Xev might be helpful to find names for keys.
|
||||
|
||||
# Close notification.
|
||||
close = ctrl+space
|
||||
|
||||
# Close all notifications.
|
||||
close_all = ctrl+shift+space
|
||||
|
||||
# Redisplay last message(s).
|
||||
# On the US keyboard layout "grave" is normally above TAB and left
|
||||
# of "1". Make sure this key actually exists on your keyboard layout,
|
||||
# e.g. check output of 'xmodmap -pke'
|
||||
history = ctrl+grave
|
||||
|
||||
# Context menu.
|
||||
context = ctrl+shift+period
|
||||
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
@ -295,7 +311,7 @@
|
||||
background = "#131616"
|
||||
foreground = "#ea6962"
|
||||
frame_color = "#ea6962"
|
||||
timeout = 10
|
||||
timeout = 0
|
||||
# Icon for notifications with critical urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
@ -324,7 +340,6 @@
|
||||
# set_transient
|
||||
# timeout
|
||||
# urgency
|
||||
# action_name
|
||||
#
|
||||
# Shell-like globbing will get expanded.
|
||||
#
|
||||
@ -339,6 +354,8 @@
|
||||
# script appname summary body icon urgency
|
||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
|
||||
#
|
||||
# NOTE: if you don't want a notification to be displayed, set the format
|
||||
# to "".
|
||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
||||
# to find fitting options for rules.
|
||||
|
||||
@ -377,7 +394,7 @@
|
||||
#[ignore]
|
||||
# # This notification will not be displayed
|
||||
# summary = "foobar"
|
||||
# skip_display = true
|
||||
# format = ""
|
||||
|
||||
#[history-ignore]
|
||||
# # This notification will not be saved in history
|
||||
|
@ -10,13 +10,13 @@ CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
MaildirStore david.julien@posteo.net-local
|
||||
Subfolders Verbatim
|
||||
Path /home/swytch/.local/share/mail/david.julien@posteo.net/
|
||||
Inbox /home/swytch/.local/share/mail/david.julien@posteo.net/INBOX
|
||||
Path /home/julien-d/.local/share/mail/david.julien@posteo.net/
|
||||
Inbox /home/julien-d/.local/share/mail/david.julien@posteo.net/INBOX
|
||||
|
||||
Channel david.julien@posteo.net
|
||||
Expunge Both
|
||||
Far :david.julien@posteo.net-remote:
|
||||
Near :david.julien@posteo.net-local:
|
||||
Master :david.julien@posteo.net-remote:
|
||||
Slave :david.julien@posteo.net-local:
|
||||
Patterns * !"[Gmail]/All Mail"
|
||||
Create Both
|
||||
SyncState *
|
||||
@ -36,13 +36,13 @@ CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
MaildirStore david.julien@etu.univ-nantes.fr-local
|
||||
Subfolders Verbatim
|
||||
Path /home/swytch/.local/share/mail/david.julien@etu.univ-nantes.fr/
|
||||
Inbox /home/swytch/.local/share/mail/david.julien@etu.univ-nantes.fr/INBOX
|
||||
Path /home/julien-d/.local/share/mail/david.julien@etu.univ-nantes.fr/
|
||||
Inbox /home/julien-d/.local/share/mail/david.julien@etu.univ-nantes.fr/INBOX
|
||||
|
||||
Channel david.julien@etu.univ-nantes.fr
|
||||
Expunge Both
|
||||
Far :david.julien@etu.univ-nantes.fr-remote:
|
||||
Near :david.julien@etu.univ-nantes.fr-local:
|
||||
Master :david.julien@etu.univ-nantes.fr-remote:
|
||||
Slave :david.julien@etu.univ-nantes.fr-local:
|
||||
Patterns * !"[Gmail]/All Mail"
|
||||
Create Both
|
||||
SyncState *
|
||||
@ -50,54 +50,27 @@ MaxMessages 0
|
||||
ExpireUnread no
|
||||
# End Profile
|
||||
|
||||
# Personnal
|
||||
IMAPStore david.julien@mailo.com-remote
|
||||
Host mail.mailo.com
|
||||
Port 993
|
||||
User david.julien@mailo.com
|
||||
PassCmd "pass mailo.com/david.julien"
|
||||
AuthMechs LOGIN
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
MaildirStore david.julien@mailo.com-local
|
||||
Subfolders Verbatim
|
||||
Path /home/swytch/.local/share/mail/david.julien@mailo.com/
|
||||
Inbox /home/swytch/.local/share/mail/david.julien@mailo.com/INBOX
|
||||
|
||||
Channel david.julien@mailo.com
|
||||
Expunge Both
|
||||
Far :david.julien@mailo.com-remote:
|
||||
Near :david.julien@mailo.com-local:
|
||||
Patterns * !"[Gmail]/All Mail"
|
||||
Create Both
|
||||
SyncState *
|
||||
MaxMessages 0
|
||||
ExpireUnread no
|
||||
# End Profile
|
||||
|
||||
# Centrale
|
||||
IMAPStore david.julien@centrale-marseille.fr-remote
|
||||
Host imaps.centrale-marseille.fr
|
||||
# University - old
|
||||
IMAPStore david.julien@ens-lyon.fr-remote
|
||||
Host imaps.ens-lyon.fr
|
||||
Port 993
|
||||
User djulien
|
||||
PassCmd "pass centrale-marseille.fr/djulien"
|
||||
PassCmd "pass ens-lyon.fr/djulien"
|
||||
AuthMechs LOGIN
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
MaildirStore david.julien@centrale-marseille.fr-local
|
||||
MaildirStore david.julien@ens-lyon.fr-local
|
||||
Subfolders Verbatim
|
||||
Path /home/swytch/.local/share/mail/david.julien@centrale-marseille.fr/
|
||||
Inbox /home/swytch/.local/share/mail/david.julien@centrale-marseille.fr/INBOX
|
||||
Path /home/julien-d/.local/share/mail/david.julien@ens-lyon.fr/
|
||||
Inbox /home/julien-d/.local/share/mail/david.julien@ens-lyon.fr/INBOX
|
||||
|
||||
Channel david.julien@centrale-marseille.fr
|
||||
Channel david.julien@ens-lyon.fr
|
||||
Expunge Both
|
||||
Far :david.julien@centrale-marseille.fr-remote:
|
||||
Near :david.julien@centrale-marseille.fr-local:
|
||||
Master :david.julien@ens-lyon.fr-remote:
|
||||
Slave :david.julien@ens-lyon.fr-local:
|
||||
Patterns * !"[Gmail]/All Mail"
|
||||
Create Both
|
||||
SyncState *
|
||||
MaxMessages 0
|
||||
ExpireUnread no
|
||||
# End Profile
|
||||
|
@ -1,8 +1,4 @@
|
||||
[Default Applications]
|
||||
|
||||
# xdg-open will use these settings to determine how to open filetypes.
|
||||
# These .desktop entries can also be seen and changed in ~/.local/share/applications/
|
||||
|
||||
text/x-shellscript=text.desktop;
|
||||
x-scheme-handler/magnet=torrent.desktop;
|
||||
application/x-bittorrent=torrent.desktop;
|
||||
@ -16,3 +12,25 @@ image/gif=img.desktop;
|
||||
application/rss+xml=rss.desktop
|
||||
video/x-matroska=video.desktop
|
||||
inode/directory=file.desktop
|
||||
x-scheme-handler/http=firefox-esr.desktop
|
||||
x-scheme-handler/https=firefox-esr.desktop
|
||||
x-scheme-handler/chrome=firefox-esr.desktop
|
||||
text/html=firefox-esr.desktop
|
||||
application/x-extension-htm=firefox-esr.desktop
|
||||
application/x-extension-html=firefox-esr.desktop
|
||||
application/x-extension-shtml=firefox-esr.desktop
|
||||
application/xhtml+xml=firefox-esr.desktop
|
||||
application/x-extension-xhtml=firefox-esr.desktop
|
||||
application/x-extension-xht=firefox-esr.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/http=firefox-esr.desktop;
|
||||
x-scheme-handler/https=firefox-esr.desktop;
|
||||
x-scheme-handler/chrome=firefox-esr.desktop;
|
||||
text/html=firefox-esr.desktop;
|
||||
application/x-extension-htm=firefox-esr.desktop;
|
||||
application/x-extension-html=firefox-esr.desktop;
|
||||
application/x-extension-shtml=firefox-esr.desktop;
|
||||
application/xhtml+xml=firefox-esr.desktop;
|
||||
application/x-extension-xhtml=firefox-esr.desktop;
|
||||
application/x-extension-xht=firefox-esr.desktop;
|
||||
|
@ -23,7 +23,7 @@ audio_output {
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "my_fifo"
|
||||
name "Visualize Feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
@ -19,26 +19,3 @@ auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile /home/swytch/.config/msmtp/msmtp.log
|
||||
|
||||
account david.julien@mailo.com
|
||||
host mail.mailo.com
|
||||
port 587
|
||||
from david.julien@mailo.com
|
||||
user david.julien@mailo.com
|
||||
passwordeval "pass mailo.com/david.julien"
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile /home/swytch/.config/msmtp/msmtp.log
|
||||
|
||||
account david.julien@centrale-marseille.fr
|
||||
host smtp.centrale-marseille.fr
|
||||
port 587
|
||||
from david.julien@centrale-marseille.fr
|
||||
user djulien
|
||||
passwordeval "pass centrale-marseille.fr/djulien"
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile /home/swytch/.config/msmtp/msmtp.log
|
||||
|
||||
|
@ -43,9 +43,9 @@ set spoolfile = "+INBOX"
|
||||
macro index,pager gf "<change-folder>=fanfare<enter>" "go to fanfare"
|
||||
macro index,pager Mf ";<save-message>=fanfare<enter>" "move mail to fanfare"
|
||||
macro index,pager Cf ";<copy-message>=fanfare<enter>" "copy mail to fanfare"
|
||||
macro index,pager gI "<change-folder>=internship<enter>" "go to internship"
|
||||
macro index,pager MI ";<save-message>=internship<enter>" "move mail to internship"
|
||||
macro index,pager CI ";<copy-message>=internship<enter>" "copy mail to internship"
|
||||
macro index,pager gT "<change-folder>=thesis<enter>" "go to thesis"
|
||||
macro index,pager MT ";<save-message>=thesis<enter>" "move mail to thesis"
|
||||
macro index,pager CT ";<copy-message>=thesis<enter>" "copy mail to thesis"
|
||||
macro index,pager gm "<change-folder>=MOVEP<enter>" "go to MOVEP"
|
||||
macro index,pager Mm ";<save-message>=MOVEP<enter>" "move mail to MOVEP"
|
||||
macro index,pager Cm ";<copy-message>=MOVEP<enter>" "copy mail to MOVEP"
|
||||
|
@ -1,58 +0,0 @@
|
||||
# vim: filetype=neomuttrc
|
||||
# muttrc file for account email@adress.you
|
||||
set realname = "David JULIEN"
|
||||
set from = "david.julien@mailo.com"
|
||||
set sendmail = "msmtp -a david.julien@mailo.com"
|
||||
alias me david.julien <david.julien@mailo.com>
|
||||
set folder = "$XDG_DATA_HOME/mail/david.julien@mailo.com"
|
||||
set header_cache = "$XDG_CACHE_HOME/mutt/david.julien@mailo.com/headers"
|
||||
set message_cachedir = "$XDG_CACHE_HOME/mutt/david.julien@mailo.com/bodies"
|
||||
set mbox_type = Maildir
|
||||
|
||||
set crypt_autosign = yes
|
||||
set pgp_sign_as = "0x86C2FBBE4A4F0F7F"
|
||||
|
||||
bind index,pager gg noop
|
||||
bind index,pager g noop
|
||||
bind index,pager M noop
|
||||
bind index,pager C noop
|
||||
bind index gg first-entry
|
||||
unmailboxes *
|
||||
unalternates *
|
||||
set signature="$XDG_CONFIG_HOME/mutt/accounts/mailo.signature"
|
||||
unmacro index o
|
||||
macro index o "<shell-escape>mailsync<enter>" "run mbsync to sync david.julien@mailo.com"
|
||||
|
||||
mailboxes "=sent" "=draftbox" "=trash" "=INBOX" "=farigoule" "=promo_fanfare" "=mediapart" "=git" "=sosh"
|
||||
set record = "+sent"
|
||||
macro index,pager gs "<change-folder>=sent<enter>" "go to sent"
|
||||
macro index,pager Ms ";<save-message>=sent<enter>" "move mail to sent"
|
||||
macro index,pager Cs ";<copy-message>=sent<enter>" "copy mail to sent"
|
||||
set postponed = "+draftbox"
|
||||
macro index,pager gd "<change-folder>=draftbox<enter>" "go to drafts"
|
||||
macro index,pager Md ";<save-message>=draftbox<enter>" "move mail to drafts"
|
||||
macro index,pager Cd ";<copy-message>=draftbox<enter>" "copy mail to drafts"
|
||||
macro index,pager gt "<change-folder>=trash<enter>" "go to trash"
|
||||
macro index,pager Mt ";<save-message>=trash<enter>" "move mail to trash"
|
||||
macro index,pager Ct ";<copy-message>=trash<enter>" "copy mail to trash"
|
||||
set trash = "+trash"
|
||||
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
|
||||
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
|
||||
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
|
||||
set spoolfile = "+INBOX"
|
||||
|
||||
macro index,pager gf "<change-folder>=farigoule<enter>" "go to farigoule"
|
||||
macro index,pager Mf ";<save-message>=farigoule<enter>" "move mail to farigoule"
|
||||
macro index,pager Cf ";<copy-message>=farigoule<enter>" "copy mail to farigoule"
|
||||
macro index,pager gp "<change-folder>=promo_fanfare<enter>" "go to promo_fanfare"
|
||||
macro index,pager Mp ";<save-message>=promo_fanfare<enter>" "move mail to promo_fanfare"
|
||||
macro index,pager Cp ";<copy-message>=promo_fanfare<enter>" "copy mail to promo_fanfare"
|
||||
macro index,pager gm "<change-folder>=mediapart<enter>" "go to mediapart"
|
||||
macro index,pager Mm ";<save-message>=mediapart<enter>" "move mail to mediapart"
|
||||
macro index,pager Cm ";<copy-message>=mediapart<enter>" "copy mail to mediapart"
|
||||
macro index,pager gg "<change-folder>=git<enter>" "go to git"
|
||||
macro index,pager Mg ";<save-message>=git<enter>" "move mail to git"
|
||||
macro index,pager Cg ";<copy-message>=git<enter>" "copy mail to git"
|
||||
macro index,pager gh "<change-folder>=sosh<enter>" "go to sosh"
|
||||
macro index,pager Mh ";<save-message>=sosh<enter>" "move mail to sosh"
|
||||
macro index,pager Ch ";<copy-message>=sosh<enter>" "copy mail to sosh"
|
@ -1,45 +0,0 @@
|
||||
# vim: filetype=neomuttrc
|
||||
# muttrc file for account david.julien@centrale-marseille.fr
|
||||
set realname = "Smecta"
|
||||
set from = "david.julien@centrale-marseille.fr"
|
||||
set sendmail = "msmtp -a david.julien@centrale-marseille.fr"
|
||||
alias me david.julien <david.julien@centrale-marseille.fr>
|
||||
set folder = "$XDG_DATA_HOME/mail/david.julien@centrale-marseille.fr"
|
||||
set header_cache = "$XDG_CACHE_HOME/mutt/david.julien@centrale-marseille.fr/headers"
|
||||
set message_cachedir = "$XDG_CACHE_HOME/mutt/david.julien@centrale-marseille.fr/bodies"
|
||||
set mbox_type = Maildir
|
||||
|
||||
set crypt_autosign = no
|
||||
set pgp_sign_as = "0x9F46CD164AE1E813"
|
||||
|
||||
bind index,pager gg noop
|
||||
bind index,pager g noop
|
||||
bind index,pager M noop
|
||||
bind index,pager C noop
|
||||
bind index gg first-entry
|
||||
unmailboxes *
|
||||
unalternates *
|
||||
set signature="$XDG_CONFIG_HOME/mutt/accounts/centrale.signature"
|
||||
unmacro index o
|
||||
macro index o "<shell-escape>mailsync<enter>" "run mbsync to sync david.julien@centrale-marseille.fr"
|
||||
|
||||
mailboxes "=Sent" "=Drafts" "=INBOX" "=Trash" "=Fanfare"
|
||||
set record = "+Sent"
|
||||
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
|
||||
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
|
||||
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
|
||||
set postponed = "+Drafts"
|
||||
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
|
||||
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
|
||||
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
|
||||
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
|
||||
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
|
||||
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
|
||||
set trash = "+Trash"
|
||||
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
|
||||
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
|
||||
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
|
||||
set spoolfile = "+INBOX"
|
||||
macro index,pager gf "<change-folder>=Fanfare<enter>" "go to fanfare"
|
||||
macro index,pager Mf ";<save-message>=Fanfare<enter>" "move mail to fanfare"
|
||||
macro index,pager Cf ";<copy-message>=Fanfare<enter>" "copy mail to fanfare"
|
@ -3,5 +3,4 @@ source $XDG_CONFIG_HOME/mutt/neomutt.muttrc
|
||||
macro index,pager ip '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-david.julien@posteo.net.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@posteo.net"
|
||||
macro index,pager is '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@ens-lyon.fr"
|
||||
macro index,pager in '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@etu.univ-nantes.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@etu.univ-nantes.fr"
|
||||
macro index,pager im '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-david.julien@mailo.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@mailto.com"
|
||||
source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@etu.univ-nantes.fr.muttrc
|
||||
|
@ -77,7 +77,7 @@ mpd_music_dir = ~/music
|
||||
## to synchronize with audio.
|
||||
##
|
||||
#
|
||||
#visualizer_output_name = Visualizer feed
|
||||
visualizer_output_name = Visualizer Feed
|
||||
#
|
||||
##
|
||||
## If you set format to 44100:16:2, make it 'yes'.
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
# System stuff
|
||||
|
||||
super + F1
|
||||
pulsemixer --toggle-mute; audio-notify
|
||||
super + {F2, F3}
|
||||
XF86AudioMute
|
||||
pulsemixer --toggle-mute; audio-notify
|
||||
{XF86AudioLowerVolume,XF86AudioRaiseVolume}
|
||||
pulsemixer --change-volume {-5, +5}; audio-notify
|
||||
|
||||
super + {F5, F6}
|
||||
@ -72,10 +72,10 @@ super + shift + m
|
||||
$TERMINAL -g 128x32 -c "floating" -e $MUSIC_CLIENT
|
||||
|
||||
super + shift + n
|
||||
$TERMINAL -g 128x32 -c "floating" -e tsession "mail" "$MAIL_CLIENT"
|
||||
$TERMINAL -g 128x32 -c "floating" -e $MAIL_CLIENT
|
||||
|
||||
super + shift + i
|
||||
$TERMINAL -g 128x32 -c "floating" -e tsession "irc" "$IRC_CLIENT"
|
||||
$TERMINAL -g 128x32 -c "floating" -e $IRC_CLIENT
|
||||
|
||||
super + shift + t
|
||||
$TERMINAL -g 128x32 -c "floating" -e tremc
|
||||
|
@ -71,14 +71,14 @@ precmd_dunctions() { zle-line-init ;} # Use beam shape cursor for each new promp
|
||||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
|
||||
|
||||
# Load zsh-history-search
|
||||
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh 2>/dev/null
|
||||
source "$HOME/.local/src/zsh-history-substring-search/zsh-history-substring-search.zsh" 2>/dev/null
|
||||
|
||||
# Load zsh-syntax-highlighting
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
typeset -A ZSH_HIGHLIGHT_STYLES
|
||||
ZSH_HIGHLIGHT_STYLES[alias]='fg=green,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[path]='fg=magenta,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='bg=red,fg=white,bold'
|
||||
|
||||
# opam configuration
|
||||
test -r "$OPAMROOT/opam-init/init.zsh" && . "$OPAMROOT/opam-init/init.zsh" > /dev/null 2> /dev/null || true
|
||||
#test -r "$OPAMROOT/opam-init/init.zsh" && . "$OPAMROOT/opam-init/init.zsh" > /dev/null 2> /dev/null || true
|
||||
|
@ -87,4 +87,4 @@ case "$chosen" in
|
||||
esac
|
||||
|
||||
setbg # Fix background if screen size/arangement has changed.
|
||||
pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen
|
||||
pgrep -x dunst >/dev/null && kill -9 $(pidof dunst) && setsid dunst & # Restart dunst to ensure proper location on screen
|
||||
|
@ -18,7 +18,7 @@ case "$state" in
|
||||
INTERFACE_DISABLED) str="WIFI DOWN" ;;
|
||||
*) str="$(printf "NO WIFI")";;
|
||||
esac
|
||||
eth="$(cat /sys/class/net/enp0s31f6/operstate)"
|
||||
eth="$(cat /sys/class/net/eth0/operstate)"
|
||||
if [ "up" = "$eth" ]; then
|
||||
str="$(printf "%s / " "$str")"
|
||||
fi
|
||||
|
@ -14,11 +14,11 @@
|
||||
vol="$(pulsemixer --get-volume | awk -F " " '{ printf "%d", $1 }')"
|
||||
|
||||
if [ "$vol" -gt "70" ]; then
|
||||
icon="墳"
|
||||
icon=""
|
||||
elif [ "$vol" -lt "30" ]; then
|
||||
icon="奄"
|
||||
icon=""
|
||||
else
|
||||
icon="奔"
|
||||
icon=""
|
||||
fi
|
||||
|
||||
printf " %s %3d%% " $icon $vol
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7c322470fd2b9e3af4ea5620a163dbe9a1c37350
|
||||
Subproject commit 9176d6fcf8a3ced5eb3e390faebf76d0618f65b9
|
Reference in New Issue
Block a user