dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit df4d44b1c875485d16e78dfde8077556eee28179
parent e9cfaa75fe90ff41bbb442aa5bf6cbd835e298aa
Author: Ashymad <szymon.mikulicz@posteo.net>
Date:   Wed, 25 Mar 2026 20:58:56 +0100

A bit of mergeupdate

Diffstat:
Dalacritty/.config/alacritty/alacritty.toml | 611-------------------------------------------------------------------------------
Dalot/.config/alot/config | 627-------------------------------------------------------------------------------
Dalot/.mailcap | 1-
Daspell/.aspell.conf | 1-
Dastroid/.config/astroid/config | 137-------------------------------------------------------------------------------
Dastroid/.config/astroid/get_pass.py | 20--------------------
Dastroid/.config/astroid/kpxcnm | 1-
Dastroid/.config/astroid/poll.sh | 61-------------------------------------------------------------
Dastroid/.config/astroid/saveto.sh | 8--------
Dbash/.bashrc | 36------------------------------------
Dcava/.config/cava/config | 205-------------------------------------------------------------------------------
Dcmus/.cmus/cmus-geeqie.sh | 7-------
Dcmus/.cmus/rc | 9---------
Dcmus/.cmus/start-cmus.sh | 6------
Ddunst/.config/dunst/dunstrc | 51---------------------------------------------------
Demacs/.emacs.d/init.el | 152-------------------------------------------------------------------------------
Dfirefox/.mozilla/firefox/chrome/userChrome.css | 10----------
Mfish/.config/fish/config.fish | 22+++++++++++++++++++---
Mfoot/.config/foot/foot.ini | 2+-
Dgit/.gitconfig | 10----------
Dgoimapnotify/.config/goimapnotify/config.json | 17-----------------
Di3/.i3/brightness.sh | 7-------
Di3/.i3/cmus.json | 89-------------------------------------------------------------------------------
Di3/.i3/config.d/bindsyms | 96-------------------------------------------------------------------------------
Di3/.i3/config.d/execs | 7-------
Di3/.i3/config.d/modes | 48------------------------------------------------
Di3/.i3/config.d/windows | 18------------------
Di3/.i3/config.in | 29-----------------------------
Di3/.i3/lock.sh | 13-------------
Di3/.i3/start.sh | 4----
Di3/.i3/toggle_touchpad.sh | 9---------
Disync/.mbsyncrc | 36------------------------------------
Dkitty/.config/kitty/kitty.conf | 389-------------------------------------------------------------------------------
Dmako/.config/mako/config | 14--------------
Dmlterm/.mlterm/aafont | 53-----------------------------------------------------
Dmlterm/.mlterm/color | 17-----------------
Dmlterm/.mlterm/main | 276-------------------------------------------------------------------------------
Dmlterm/.mlterm/msg.log | 1-
Dmpv/.config/mpv/mpv.conf | 7-------
Dmsmtp/.msmtprc | 18------------------
Dneomutt/.config/neomutt/neomuttrc | 1000-------------------------------------------------------------------------------
Dnotmuch/.notmuch-config | 99-------------------------------------------------------------------------------
Dnvidia-xrun/.nvidia-xinitrc | 2--
Mnvim/.config/nvim/init.vim | 5+++++
Anvim/.config/nvim/lazy-lock.json | 36++++++++++++++++++++++++++++++++++++
Mnvim/.config/nvim/lua/plugins.lua | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
Dnyxt/.config/nyxt/auto-config.3.lisp | 0
Dnyxt/.config/nyxt/config.lisp | 6------
Dnyxt/.config/nyxt/search-engines.lisp | 18------------------
Dofflineimap/.offlineimap.py | 22----------------------
Dofflineimap/.offlineimaprc | 1406-------------------------------------------------------------------------------
Dopenbox/.config/openbox/rc.xml | 796-------------------------------------------------------------------------------
Dpicom/.config/picom.conf | 423-------------------------------------------------------------------------------
Dpolybar/.config/polybar/cmus.sh | 12------------
Dpolybar/.config/polybar/config | 471-------------------------------------------------------------------------------
Dpolybar/.config/polybar/launch.sh | 4----
Dpolybar/.config/polybar/polybar-scripts | 1-
Drofi/.config/rofi/config | 1-
Dst/.st/config.h | 463-------------------------------------------------------------------------------
Asway/.config/sway/BG | 2++
Msway/.config/sway/config | 38++++++++++++++++++++++++++++++++++----
Dtrackma/.trackma/ui-qt.json | 42------------------------------------------
Dwaybar/.config/waybar/config | 91-------------------------------------------------------------------------------
Dxorg/.Xresources | 56--------------------------------------------------------
Dxorg/.xprofile | 7-------
65 files changed, 179 insertions(+), 8061 deletions(-)

diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml @@ -1,611 +0,0 @@ - -[bell] -animation = "EaseOutExpo" -duration = 0 - -[colors] -draw_bold_text_with_bright_colors = false - -[colors.bright] -black = "0x6e6a86" -blue = "0x9ccfd8" -cyan = "0xebbcba" -green = "0x31748f" -magenta = "0xc4a7e7" -red = "0xeb6f92" -white = "0xe0def4" -yellow = "0xf6c177" - -[colors.cursor] -cursor = "0x524f67" -text = "0xe0def4" - -[colors.hints.end] -background = "#1f1d2e" -foreground = "#6e6a86" - -[colors.hints.start] -background = "#1f1d2e" -foreground = "#908caa" - -[colors.line_indicator] -background = "None" -foreground = "None" - -[colors.normal] -black = "0x26233a" -blue = "0x9ccfd8" -cyan = "0xebbcba" -green = "0x31748f" -magenta = "0xc4a7e7" -red = "0xeb6f92" -white = "0xe0def4" -yellow = "0xf6c177" - -[colors.primary] -background = "0x191724" -foreground = "0xe0def4" - -[colors.selection] -background = "0x403d52" -text = "0xe0def4" - -[colors.vi_mode_cursor] -cursor = "0x524f67" -text = "0xe0def4" - -[cursor] -style = "Block" - -[debug] -render_timer = false - -[env] -TERM = "xterm-256color" - -[font] -size = 10 - -[font.bold] -family = "CodeNewRoman Nerd Font" -style = "Bold" - -[font.glyph_offset] -x = 0 -y = 0 - -[font.italic] -family = "CodeNewRoman Nerd Font" -style = "Italic" - -[font.normal] -family = "CodeNewRoman Nerd Font" -style = "Book" - -[font.offset] -x = 0 -y = 0 - -[[keyboard.bindings]] -action = "Paste" -key = "V" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Copy" -key = "C" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Quit" -key = "Q" -mods = "Command" - -[[keyboard.bindings]] -action = "Quit" -key = "W" -mods = "Command" - -[[keyboard.bindings]] -action = "PasteSelection" -key = "Insert" -mods = "Shift" - -[[keyboard.bindings]] -action = "ResetFontSize" -key = "Key0" -mods = "Control" - -[[keyboard.bindings]] -action = "IncreaseFontSize" -key = "Equals" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "Minus" -mods = "Control" - -[[keyboard.bindings]] -action = "ScrollToTop" -key = "Up" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "ScrollToBottom" -key = "Down" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "ScrollPageUp" -key = "PageUp" -mods = "Shift" - -[[keyboard.bindings]] -action = "ScrollPageDown" -key = "PageDown" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001BOH" -key = "Home" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[H" -key = "Home" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOF" -key = "End" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[F" -key = "End" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[5;2~" -key = "PageUp" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[5~" -key = "PageUp" - -[[keyboard.bindings]] -chars = "\u001B[6;5~" -key = "PageDown" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[6~" -key = "PageDown" - -[[keyboard.bindings]] -chars = "\u001B[Z" -key = "Tab" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u007F" -key = "Back" - -[[keyboard.bindings]] -chars = "\u001B\u007F" -key = "Back" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[2~" -key = "Insert" - -[[keyboard.bindings]] -chars = "\u001B[3~" -key = "Delete" - -[[keyboard.bindings]] -chars = "\u001B[1;2D" -key = "Left" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5D" -key = "Left" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3D" -key = "Left" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[D" -key = "Left" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOD" -key = "Left" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2C" -key = "Right" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5C" -key = "Right" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3C" -key = "Right" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[C" -key = "Right" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOC" -key = "Right" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2A" -key = "Up" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5A" -key = "Up" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3A" -key = "Up" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[A" -key = "Up" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOA" -key = "Up" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2B" -key = "Down" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5B" -key = "Down" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3B" -key = "Down" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[B" -key = "Down" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOB" -key = "Down" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOP" -key = "F1" - -[[keyboard.bindings]] -chars = "\u001BOQ" -key = "F2" - -[[keyboard.bindings]] -chars = "\u001BOR" -key = "F3" - -[[keyboard.bindings]] -chars = "\u001BOS" -key = "F4" - -[[keyboard.bindings]] -chars = "\u001B[15~" -key = "F5" - -[[keyboard.bindings]] -chars = "\u001B[17~" -key = "F6" - -[[keyboard.bindings]] -chars = "\u001B[18~" -key = "F7" - -[[keyboard.bindings]] -chars = "\u001B[19~" -key = "F8" - -[[keyboard.bindings]] -chars = "\u001B[20~" -key = "F9" - -[[keyboard.bindings]] -chars = "\u001B[21~" -key = "F10" - -[[keyboard.bindings]] -chars = "\u001B[23~" -key = "F11" - -[[keyboard.bindings]] -chars = "\u001B[24~" -key = "F12" - -[[keyboard.bindings]] -chars = "\u001B[1;2P" -key = "F1" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2Q" -key = "F2" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2R" -key = "F3" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2S" -key = "F4" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[15;2~" -key = "F5" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[17;2~" -key = "F6" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[18;2~" -key = "F7" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[19;2~" -key = "F8" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[20;2~" -key = "F9" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[21;2~" -key = "F10" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[23;2~" -key = "F11" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[24;2~" -key = "F12" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5P" -key = "F1" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5Q" -key = "F2" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5R" -key = "F3" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5S" -key = "F4" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[15;5~" -key = "F5" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[17;5~" -key = "F6" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[18;5~" -key = "F7" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[19;5~" -key = "F8" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[20;5~" -key = "F9" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[21;5~" -key = "F10" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[23;5~" -key = "F11" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[24;5~" -key = "F12" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;6P" -key = "F1" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6Q" -key = "F2" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6R" -key = "F3" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6S" -key = "F4" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[15;6~" -key = "F5" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[17;6~" -key = "F6" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[18;6~" -key = "F7" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[19;6~" -key = "F8" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[20;6~" -key = "F9" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[21;6~" -key = "F10" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[23;6~" -key = "F11" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[24;6~" -key = "F12" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;3P" -key = "F1" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3Q" -key = "F2" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3R" -key = "F3" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3S" -key = "F4" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[15;3~" -key = "F5" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[17;3~" -key = "F6" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[18;3~" -key = "F7" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[19;3~" -key = "F8" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[20;3~" -key = "F9" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[21;3~" -key = "F10" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[23;3~" -key = "F11" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[24;3~" -key = "F12" -mods = "Super" - -[mouse] -hide_when_typing = false - -[[mouse.bindings]] -action = "PasteSelection" -mouse = "Middle" - -[selection] -semantic_escape_chars = ",│`|:\"' ()[]{}<>" - -[window] -opacity = 0.8 - -[general] -live_config_reload = true diff --git a/alot/.config/alot/config b/alot/.config/alot/config @@ -1,627 +0,0 @@ -# vim: filetype=cfg -# -# ask_subject -# Type: boolean -# Default: True -# -attachment_prefix = "~/Downloads/fordenmark/" -# -# directory prefix for downloading attachments -# -# Type: string -# Default: “~” -# -# auto_remove_unread -# -# automatically remove ‘unread’ tag when focussing messages in thread mode -# -# Type: boolean -# Default: True -# -# auto_replyto_mailinglist -# -# Automatically switch to list reply mode if appropriate -# -# Type: boolean -# Default: False -# -# bounce_force_address -# -# Always use the accounts main address when constructing “Resent-From” headers for bounces. Set this to False to use the address string as received in the original message. -# -# Type: boolean -# Default: False -# -# bounce_force_realname -# -# Always use the proper realname when constructing “Resent-From” headers for bounces. Set this to False to use the realname string as received in the original message. -# -# Type: boolean -# Default: True -# -# bufferclose_focus_offset -# -# offset of next focused buffer if the current one gets closed -# -# Type: integer -# Default: -1 -# -# bufferlist_statusbar -# -# Format of the status-bar in bufferlist mode. This is a pair of strings to be left and right aligned in the status-bar that may contain variables: -# -# {buffer_no}: index of this buffer in the global buffer list -# {total_messages}: total numer of messages indexed by notmuch -# {pending_writes}: number of pending write operations to the index -# -# Type: mixed_list -# Default: [{buffer_no}: bufferlist], {input_queue} total messages: {total_messages} -# -# bug_on_exit -# -# confirm exit -# -# Type: boolean -# Default: False -# -# colourmode -# -# number of colours to use on the terminal -# -# Type: option, one of [‘1’, ‘16’, ‘256’] -# Default: 256 -# -# complete_matching_abook_only -# -# in case more than one account has an address book: Set this to True to make tab completion for recipients during compose only look in the abook of the account matching the sender address -# -# Type: boolean -# Default: False -# -# compose_ask_tags -# -# prompt for initial tags when compose -# -# Type: boolean -# Default: False -# -# displayed_headers -# -# headers that get displayed by default -# -# Type: string list -# Default: From, To, Cc, Bcc, Subject -# -# edit_headers_blacklist -# -# see edit_headers_whitelist -# -# Type: string list -# Default: Content-Type, MIME-Version, References, In-Reply-To -# -# edit_headers_whitelist -# -# Which header fields should be editable in your editor used are those that match the whitelist and don’t match the blacklist. in both cases ‘*’ may be used to indicate all fields. -# -# Type: string list -# Default: *, -# -editor_cmd = "nvim" -# -# editor command if unset, alot will first try the EDITOR env variable, then /usr/bin/editor -# -# Type: string -# Default: None -# -editor_in_thread = True -# -# call editor in separate thread. In case your editor doesn’t run in the same window as alot, setting true here will make alot non-blocking during edits -# -# Type: boolean -# Default: False -# -editor_spawn = True -# -# use terminal_cmd to spawn a new terminal for the editor? equivalent to always providing the –spawn=yes parameter to compose/edit commands -# -# Type: boolean -# Default: False -# -# editor_writes_encoding -# -# file encoding used by your editor -# -# Type: string -# Default: “UTF-8” -# -# envelope_edit_default_alternative -# -# always edit the given body text alternative when editing outgoing messages in envelope mode. alternative, and not the html source, even if that is currently displayed. If unset, html content will be edited unless the current envelope shows the plaintext alternative. -# -# Type: option, one of [‘plaintext’, ‘html’] -# Default: None -# -# envelope_headers_blacklist -# -# headers that are hidden in envelope buffers by default -# -# Type: string list -# Default: In-Reply-To, References -# -envelope_html2txt = "pandoc -f html -t markdown" -# -# Use this command to turn a html message body to plaintext in envelope mode. The command will receive the html on stdin and should produce text on stdout (as pandoc -f html -t markdown does for example). -# -# Type: string -# Default: None -# -# envelope_statusbar -# -# Format of the status-bar in envelope mode. This is a pair of strings to be left and right aligned in the status-bar. Apart from the global variables listed at bufferlist_statusbar these strings may contain variables: -# -# {to}: To-header of the envelope -# {displaypart}: which body part alternative is currently in view (can be ‘plaintext,’src’, or ‘html’) -# -# Type: mixed_list -# Default: [{buffer_no}: envelope ({displaypart})], {input_queue} total messages: {total_messages} -# -envelope_txt2html = "pandoc -f markdown -t html -s --self-contained" -# -# Use this command to construct a html alternative message body text in envelope mode. If unset, we send only the plaintext part, without html alternative. The command will receive the plaintex on stdin and should produce html on stdout. (as pandoc -t html does for example). -# -# Type: string -# Default: None -# -# exclude_tags -# -# A list of tags that will be excluded from search results by default. Using an excluded tag in a query will override that exclusion. .. note:: this config setting is equivalent to, but independent of, the ‘search.exclude_tags’ in the notmuch config. -# -# Type: string list -# Default: , -# -# flush_retry_timeout -# -# timeout in seconds after a failed attempt to writeout the database is repeated. Set to 0 for no retry. -# -# Type: integer -# Default: 5 -# -# followup_to -# -# When one of the recipients of an email is a subscribed mailing list, set the “Mail-Followup-To” header to the list of recipients without yourself -# -# Type: boolean -# Default: False -# -# forward_force_address -# -# Always use the accounts main address when constructing “From” headers for forwards. Set this to False to use the address string as received in the original message. -# -# Type: boolean -# Default: False -# -# forward_force_realname -# -# Always use the proper realname when constructing “From” headers for forwards. Set this to False to use the realname string as received in the original message. -# -# Type: boolean -# Default: True -# -# forward_subject_prefix -# -# String prepended to subject header on forward only if original subject doesn’t start with ‘Fwd:’ or this prefix -# -# Type: string -# Default: “Fwd: “ -# -handle_mouse = True -# -# enable mouse support - mouse tracking will be handled by urwid -# -# Note -# -# If this is set to True mouse events are passed from the terminal to urwid/alot. This means that normal text selection in alot will not be possible. Most terminal emulators will still allow you to select text when shift is pressed. -# -# Type: boolean -# Default: False -# -# history_size -# -# The number of command line history entries to save -# -# Note -# -# You can set this to -1 to save all entries to disk but the history file might get very long. -# -# Type: integer -# Default: 50 -# -# honor_followup_to -# -# When group-reply-ing to an email that has the “Mail-Followup-To” header set, use the content of this header as the new “To” header and leave the “Cc” header empty -# -# Type: boolean -# Default: False -# -# hooksfile -# -# where to look up hooks -# -# Type: string -# Default: “~/.config/alot/hooks.py” -# -initial_command = "search tag:inbox AND NOT tag:deleted" -# -# initial command when none is given as argument: -# -# Type: string -# Default: “search tag:inbox AND NOT tag:killed” -# -# input_timeout -# -# timeout in (floating point) seconds until partial input is cleared -# -# Type: float -# Default: 1.0 -# -# interpret_ansi_background -# -# display background colors set by ANSI character escapes -# -# Type: boolean -# Default: True -# -# mailinglists -# -# The list of addresses associated to the mailinglists you are subscribed to -# -# Type: string list -# Default: , -# -# msg_summary_hides_threadwide_tags -# -# In a thread buffer, hide from messages summaries tags that are commom to all messages in that thread. -# -# Type: boolean -# Default: True -# -# namedqueries_statusbar -# -# Format of the status-bar in named query list mode. This is a pair of strings to be left and right aligned in the status-bar. These strings may contain variables listed at bufferlist_statusbar that will be substituted accordingly. -# -# Type: mixed_list -# Default: [{buffer_no}: namedqueries], {query_count} named queries -# -# notify_timeout -# -# time in secs to display status messages -# -# Type: integer -# Default: 2 -# -# periodic_hook_frequency -# -# The number of seconds to wait between calls to the loop_hook -# -# Type: integer -# Default: 300 -# -# prefer_plaintext -# -# prefer plaintext alternatives over html content in multipart/alternative -# -# Type: boolean -# Default: False -# -prefer_plaintext = True -# print_cmd -# -# how to print messages: this specifies a shell command used for printing. threads/messages are piped to this command as plain text. muttprint/a2ps works nicely -# -# Type: string -# Default: None -# -# prompt_suffix -# -# Suffix of the prompt used when waiting for user input -# -# Type: string -# Default: “:” -# -# quit_on_last_bclose -# -# shut down when the last buffer gets closed -# -# Type: boolean -# Default: False -# -# quote_prefix -# -# String prepended to line when quoting -# -# Type: string -# Default: “> “ -# -# reply_account_header_priority -# -# The list of headers to match to determine sending account for a reply. Headers are searched in the order in which they are specified here, and the first header containing a match is used. If multiple accounts match in that header, the one defined first in the account block is used. -# -# Type: string list -# Default: From, To, Cc, Envelope-To, X-Envelope-To, Delivered-To -# -# reply_force_address -# -# Always use the accounts main address when constructing “From” headers for replies. Set this to False to use the address string as received in the original message. -# -# Type: boolean -# Default: False -# -# reply_force_realname -# -# Always use the proper realname when constructing “From” headers for replies. Set this to False to use the realname string as received in the original message. -# -# Type: boolean -# Default: True -# -# reply_subject_prefix -# -# String prepended to subject header on reply only if original subject doesn’t start with ‘Re:’ or this prefix -# -# Type: string -# Default: “Re: “ -# -# search_statusbar -# -# Format of the status-bar in search mode. This is a pair of strings to be left and right aligned in the status-bar. Apart from the global variables listed at bufferlist_statusbar these strings may contain variables: -# -# {querystring}: search string -# {result_count}: number of matching messages -# {result_count_positive}: ‘s’ if result count is greater than 0. -# -# Type: mixed_list -# Default: [{buffer_no}: search] for “{querystring}”, {input_queue} {result_count} of {total_messages} messages -# -# search_threads_rebuild_limit -# -# maximum amount of threads that will be consumed to try to restore the focus, upon triggering a search buffer rebuild when set to 0, no limit is set (can be very slow in searches that yield thousands of results) -# -# Type: integer -# Default: 0 -# -# search_threads_sort_order -# -# default sort order of results in a search -# -# Type: option, one of [‘oldest_first’, ‘newest_first’, ‘message_id’, ‘unsorted’] -# Default: newest_first -# -# show_statusbar -# -# display status-bar at the bottom of the screen? -# -# Type: boolean -# Default: True -# -tabwidth = 4 -# -# number of spaces used to replace tab characters -# -# Type: integer -# Default: 8 -# -# taglist_statusbar -# -# Format of the status-bar in taglist mode. This is a pair of strings to be left and right aligned in the status-bar. These strings may contain variables listed at bufferlist_statusbar that will be substituted accordingly. -# -# Type: mixed_list -# Default: [{buffer_no}: taglist], {input_queue} total messages: {total_messages} -# -# template_dir -# -# templates directory that contains your message templates. It will be used if you give compose –template a filename without a path prefix. -# -# Type: string -# Default: “$XDG_CONFIG_HOME/alot/templates” -# -terminal_cmd = "alacritty -e" -# -# set terminal command used for spawning shell commands -# -# Type: string -# Default: “x-terminal-emulator -e” -# -# theme -# -# name of the theme to use -# -# Type: string -# Default: None -# -# themes_dir -# -# directory containing theme files. -# -# Type: string -# Default: “$XDG_CONFIG_HOME/alot/themes” -# -# thread_authors_me -# -# Word to replace own addresses with. Works in combination with thread_authors_replace_me -# -# Type: string -# Default: “Me” -# -# thread_authors_order_by -# -# When constructing the unique list of thread authors, order by date of author’s first or latest message in thread -# -# Type: option, one of [‘first_message’, ‘latest_message’] -# Default: first_message -# -# thread_authors_replace_me -# -# Replace own email addresses with “me” in author lists Uses own addresses and aliases in all configured accounts. -# -# Type: boolean -# Default: True -# -# thread_focus_linewise -# -# Split message body linewise and allows to (move) the focus to each individual line. Setting this to False will result in one potentially big text widget for the whole message body. -# -# Type: boolean -# Default: True -# -# thread_indent_replies -# -# number of characters used to indent replies relative to original messages in thread mode -# -# Type: integer -# Default: 2 -# -# thread_statusbar -# -# Format of the status-bar in thread mode. This is a pair of strings to be left and right aligned in the status-bar. Apart from the global variables listed at bufferlist_statusbar these strings may contain variables: -# -# {tid}: thread id -# {subject}: subject line of the thread -# {authors}: abbreviated authors string for this thread -# {message_count}: number of contained messages -# {thread_tags}: displays all tags present in the current thread. -# {intersection_tags}: displays tags common to all messages in the current thread. -# {mimetype}: content type of the mime part displayed in the focused message. -# -# Type: mixed_list -# Default: [{buffer_no}: thread] {subject}, [{mimetype}] {input_queue} total messages: {total_messages} -# -# thread_subject -# -# What should be considered to be “the thread subject”. Valid values are: -# -# ‘notmuch’ (the default), will use the thread subject from notmuch, which depends on the selected sorting method -# ‘oldest’ will always use the subject of the oldest message in the thread as the thread subject -# -# Type: option, one of [‘oldest’, ‘notmuch’] -# Default: notmuch -# -# timestamp_format -# -# timestamp format in strftime format syntax -# -# Type: string -# Default: None -# -# user_agent -# -# value of the User-Agent header used for outgoing mails. setting this to the empty string will cause alot to omit the header all together. The string ‘{version}’ will be replaced by the version string of the running instance. -# -# Type: string -# Default: “alot/{version}” -[accounts] - [[posteo]] - realname = Szymon Mikulicz - address = szymon.mikulicz@posteo.net - aliases = s_m@posteo.net, ashymad@posteo.net - sendmail_command = msmtp --account=posteo -t - sent_box = maildir://~/.mail/posteo/Sent - draft_box = maildir://~/.mail/posteo/Drafts - [[[abook]]] - type = shellcommand - command = 'notmuch address --format=json date:1Y..' - regexp = '\[?{"name": "(?P<name>.*)", "address": "(?P<email>.+)", "name-addr": ".*"}[,\]]?' - shellcommand_external_filtering = False - -[bindings] - up = move up - down = move down - page up = move page up - page down = move page down - mouse press 4 = move up - mouse press 5 = move down - j = move down - k = move up - 'g g' = move first - G = move last - ' ' = move page down - 'ctrl d' = move halfpage down - 'ctrl u' = move halfpage up - @ = refresh - ? = help bindings - I = search tag:inbox AND NOT tag:deleted - '#' = taglist - shift tab = bprevious - U = search tag:unread - tab = bnext - \ = prompt 'search ' - d = bclose - $ = flush - m = compose - o = prompt 'search ' - q = exit - ';' = bufferlist - ':' = prompt - . = repeat - - [[bufferlist]] - x = close - enter = open - - [[search]] - enter = untag unread; select - a = toggletags archived; toggletags inbox - & = toggletags deleted - ! = toggletags flagged - s = toggletags unread - l = retagprompt - O = refineprompt - | = refineprompt - - [[envelope]] - a = prompt 'attach ~/' - y = send - P = save - s = 'refine Subject' - f = prompt 'set From ' - t = 'refine To' - b = 'refine Bcc' - c = 'refine Cc' - S = togglesign - enter = edit - 'g f' = togglesource - - [[taglist]] - enter = select - - [[namedqueries]] - enter = select - - [[thread]] - enter = select - C = fold * - E = unfold * - c = fold - e = unfold - < = fold - > = unfold - [ = indent - - ] = indent + - 'g f' = togglesource - H = toggleheaders - P = print --all --separately --add_tags - S = save --all - g = reply --all - f = forward - p = print --add_tags - n = editnew - b= bounce - s = save - r = reply - | = prompt 'pipeto ' - t = togglemimetree - h = togglemimepart - - 'g j' = move next sibling - 'g k' = move previous sibling - 'g h' = move parent - 'g l' = move first reply - ' ' = move next diff --git a/alot/.mailcap b/alot/.mailcap @@ -1 +0,0 @@ -text/html; w3m -dump -cols 120 -T text/html -I %{charset} -O utf-8 %s; copiousoutput; description=HTML Text; nametemplate=%s.html diff --git a/aspell/.aspell.conf b/aspell/.aspell.conf @@ -1 +0,0 @@ -lang pl diff --git a/astroid/.config/astroid/config b/astroid/.config/astroid/config @@ -1,137 +0,0 @@ -{ - "astroid": { - "config": { - "version": "10" - }, - "notmuch_config": "\/home\/shyman\/.notmuch-config", - "debug": { - "dryrun_sending": "false" - }, - "hints": { - "level": "0" - } - }, - "terminal": { - "height": "10", - "font_description": "Overpass" - }, - "thread_index": { - "page_jump_rows": "6", - "sort_order": "newest", - "cell": { - "font_description": "Overpass 14", - "line_spacing": "2", - "date_length": "10", - "message_count_length": "4", - "authors_length": "20", - "subject_color": "#ffffff", - "subject_color_selected": "#ffffff", - "background_color_selected": "", - "background_color_marked": "#660000", - "background_color_marked_selected": "#990000", - "tags_length": "80", - "tags_upper_color": "#e5e5e5", - "tags_lower_color": "#333333", - "tags_alpha": "0.5", - "hidden_tags": "attachment,flagged,unread" - } - }, - "general": { - "time": { - "clock_format": "local", - "same_year": "%b %-e", - "diff_year": "%x" - } - }, - "editor": { - "cmd": "alacritty --embed %3 -e nvim %1", - "external_editor": "false", - "charset": "utf-8", - "save_draft_on_force_quit": "true", - "attachment_words": "attach", - "attachment_directory": "~", - "markdown_processor": "marked" - }, - "mail": { - "reply": { - "quote_line": "Excerpts from %1's message of %2:", - "mailinglist_reply_to_sender": "true" - }, - "forward": { - "quote_line": "Forwarding %1's message of %2:", - "disposition": "inline" - }, - "sent_tags": "sent", - "message_id_fqdn": "", - "message_id_user": "", - "user_agent": "default", - "send_delay": "2", - "close_on_success": "false", - "format_flowed": "true" - }, - "poll": { - "interval": "300", - "always_full_refresh": "false" - }, - "attachment": { - "external_open_cmd": "\/home\/shyman\/.config\/astroid\/saveto.sh" - }, - "thread_view": { - "open_html_part_external": "false", - "preferred_type": "plain", - "preferred_html_only": "false", - "allow_remote_when_encrypted": "false", - "open_external_link": "xdg-open", - "default_save_directory": "~", - "indent_messages": "false", - "code_prettify": { - "enable": "true", - "for_tags": "", - "code_tag": "```", - "enable_for_patches": "true" - }, - "gravatar": { - "enable": "true" - }, - "mark_unread_delay": "0.5", - "expand_flagged": "true" - }, - "crypto": { - "gpg": { - "path": "gpg2", - "always_trust": "true", - "enabled": "true" - } - }, - "saved_searches": { - "show_on_startup": "false", - "save_history": "true", - "history_lines_to_show": "15", - "history_lines": "1000" - }, - "accounts": { - "o2": { - "name": "Szymon Mikulicz", - "email": "szymon.mikulicz@posteo.net", - "gpgkey": "", - "always_gpg_sign": "false", - "sendmail": "msmtp -i -t", - "default": "true", - "save_sent": "true", - "save_sent_to": "\/home\/shyman\/.mail\/posteo\/Sent\/cur\/", - "additional_sent_tags": "posteo", - "save_drafts_to": "\/home\/shyman\/.mail\/posteo\/Drafts\/cur\/", - "signature_separate": "false", - "signature_file": "", - "signature_file_markdown": "", - "signature_default_on": "true", - "signature_attach": "false", - "select_query": "" - } - }, - "startup": { - "queries": { - "inbox": "tag:inbox" - } - } -} diff --git a/astroid/.config/astroid/get_pass.py b/astroid/.config/astroid/get_pass.py @@ -1,20 +0,0 @@ -#!/usr/bin/env python3 - -from os import path -import configparser -import sys -import pathlib - -from nacl.public import PrivateKey -import kpxcnm - -CONFIG = configparser.ConfigParser() -CONFIG.read(path.expanduser(pathlib.Path(__file__).parent.resolve() / "keys.ini")) - -k = kpxcnm.Kpxcnm(PrivateKey(kpxcnm.Kpxcnm._from_b64_str(CONFIG['DEFAULT']['privkey'])), - CONFIG['DEFAULT']['dbid']) - -k.change_public_keys() -if k.test_associate(True): - print(k.get_logins(sys.argv[1])[0]['password']) - diff --git a/astroid/.config/astroid/kpxcnm b/astroid/.config/astroid/kpxcnm @@ -1 +0,0 @@ -Subproject commit c6af33b80aa1f948f85255192e47f0284854986c diff --git a/astroid/.config/astroid/poll.sh b/astroid/.config/astroid/poll.sh @@ -1,61 +0,0 @@ -#!/usr/bin/env bash - -set -e - -if ! pgrep -x keepassxc; then - echo "KeePassXC is not running!" - exit -fi - -if ! ping -w 1 -W 1 -c 1 posteo.de; then - echo "No connection to posteo" - exit -fi - -MAILDIR="/home/shyman/.mail" -TAGSTRING="" - -moveIt() -{ - s=${1##*/} - s=${s%%,*} - mv -f $1 $2/$s - true -} -export -f moveIt - -movemail() { - notmuch search --output=files tag:$2 and tag:$1 and not folder:$1/$3 | xargs -I{} bash -c "moveIt '{}' $MAILDIR/$1/$3/new/" -} - -tag() { - TAGSTRING="$TAGSTRING$1 tag:new and $2\n" -} - -tag_exec() { - TAGSTRING="$TAGSTRING-new tag:new\n" - printf "Tagging:\n$TAGSTRING" - printf "$TAGSTRING" | notmuch tag --batch -} - - -movemail posteo deleted Trash -movemail posteo archived Archive -movemail posteo note Notes - -mbsync posteo -if ! notmuch new | grep "No new mail"; then - notify-send "New mail - $(notmuch search tag:new | sed 's/^thread:[0-9a-z]*[ ]*//')" | true -fi - -tag +posteo path:"posteo/**" -tag +o2 to:czilukim@o2.pl -tag +deleted folder:posteo/Trash -tag +sent folder:posteo/Sent -tag +inbox folder:posteo/Inbox -tag +draft folder:posteo/Drafts -tag +note folder:posteo/Notes -tag_exec - -pkill -SIGUSR1 alot diff --git a/astroid/.config/astroid/saveto.sh b/astroid/.config/astroid/saveto.sh @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -FILENAME="$(basename "$1" | sed -n 's/-/&\n/;s/.*\n//p')" -DIRECTORY="$(yad --file --directory)" - -if [[ ! -z $DIRECTORY ]]; then - cp "$1" "$DIRECTORY/$FILENAME" -fi diff --git a/bash/.bashrc b/bash/.bashrc @@ -1,36 +0,0 @@ -# -# ~/.bashrc -# - -[[ $- != *i* ]] && return - -[ -x /usr/bin/fish ] && [ -z "$FISH_RAMP_DISABLE" ] && exec fish - -colors() { - local fgc bgc vals seq0 - - printf "Color escapes are %s\n" '\e[${value};...;${value}m' - printf "Values 30..37 are \e[33mforeground colors\e[m\n" - printf "Values 40..47 are \e[43mbackground colors\e[m\n" - printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" - - # foreground colors - for fgc in {30..37}; do - # background colors - for bgc in {40..47}; do - fgc=${fgc#37} # white - bgc=${bgc#40} # black - - vals="${fgc:+$fgc;}${bgc}" - vals=${vals%%;} - - seq0="${vals:+\e[${vals}m}" - printf " %-9s" "${seq0:-(default)}" - printf " ${seq0}TEXT\e[m" - printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" - done - echo; echo - done -} - -[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion diff --git a/cava/.config/cava/config b/cava/.config/cava/config @@ -1,205 +0,0 @@ -## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. - - -[general] - -# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0 -mode = waves - -# Accepts only non-negative values. -framerate = 60 - -# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off -# new as of 0.6.0 autosens of low values (dynamic range) -# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0 -autosens = 1 -; overshoot = 10 - -# Manual sensitivity in %. Autosens must be turned off for this to take effect. -# 200 means double height. Accepts only non-negative values. -; sensitivity = 100 - -# The number of bars (0-200). 0 sets it to auto (fill up console). -# Bars' width and space between bars in number of characters. -# These options DO NOT apply if you're using 'sdl' or 'x' modes. -; bars = 20 -bar_width = 1 -; bar_spacing = 1 - -# Lower and higher cutoff frequencies for lowest and highest bars -# 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 = 20 -higher_cutoff_freq = 20000 - - - -[window] - -# Bars' width and space between bars in pixels. -# Doesn't apply to terminal or serial modes. -; bar_width = 31 -; bar_spacing = 4 - -# Window width and height -; width = 640 -; height = 480 - -# Fullscreen toggle (1 = on, 0 = off) -; fullscreen = 0 - -# Enables or disables window borders (1 = on, 0 = off) -; border = 1 - -# Window transparency toggle (works under X ONLY) (same applies) -; transparency = 1 - -# Keeps the window under any other (works under X ONLY) (again, same applies) -; keep_below = 0 - -# Set window properties like WM_CLASS. -; set_win_props = 0 - -# This allows for the window to be positioned a bit easier -# by putting the window to the part of the screen, which are: -# top_left, top, top_right, left, center, right, bottom_left, -# bottom, bottom_right and none if you don't want automatic positioning -; alignment = 'none' - -# Additionally we can move the window from the already set -# part of the screen (units are in pixels) -; x_padding = 0 -; y_padding = 0 - - - -[input] - -# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'. -# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. -# -# All input methods uses the same config variable 'source' -# to define where it should get the audio. -# -# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink -# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). -# -# For alsa 'source' will be the capture device. -# For fifo 'source' will be the path to fifo-file. -method = pulse -source = auto - -; method = alsa -; source = hw:Loopback,1 - -; method = fifo -; source = /tmp/mpd.fifo - - - -[output] - -# Ouput method. Can be 'ncurses', 'noncurses', 'raw', 'sdl' or 'x'. -# 'noncurses' is for systems that does not suport ncurses. -# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications. -# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. -# 'sdl' is for a graphical window using OpenGL -# 'x' is for a graphical window using XRender (usually faster, unsupported in wayland however) -method = ncurses - -# Additionally with Xlib, you can enable OpenGL mode to make full use of your hardware. -; opengl = 1 - -# Visual channels. Can be 'stereo' or 'mono'. -# 'stereo' mirrors both channels with low frequencies in center. -# 'mono' averages both channels and outputs left to right lowest to highest frequencies. -channels = mono - -# Raw output target. A fifo will be created if target does not exist. -; raw_target = /dev/stdout - -# Raw data format. Can be 'binary' or 'ascii'. -; data_format = binary - -# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). -; bit_format = 16bit - -# Ascii max value. In 'ascii' mode range will run from 0 to value specified here -; ascii_max_range = 1000 - -# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. -# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). -; bar_delimiter = 59 -; frame_delimiter = 10 - - - -[color] - -# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. -# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a -# terminal that can change color definitions such as Gnome-terminal or rxvt. -# Or in case you're running in 'x' you could use the default option -; background = none -foreground = '#98c379' - -# Only works in X mode, and is REALLY BUGGY. -; foreground_opacity = 1.0 - -# Gradient mode, only hex defined colors are supported, background must also be defined in hex -# or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will -# not able to restore color definitions on exit, simply restart your terminal to restore colors. -# This option now works in graphical modes too -; gradient = 0 -; gradient_color_1 = '#0099ff' -; gradient_color_2 = '#ff3399' - - - -[smoothing] - -# Percentage value for integral smoothing. Takes values from 0 - 100. -# Higher values means smoother, but less precise. 0 to disable. -integral = 40 - -# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. -monstercat = 0 -; waves = 0; - -# Alternate monstercat smoothing algorithm -; monstercat_alternative = 1 - -# Set gravity percentage for "drop off". Higher values means bars will drop faster. -# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". -; gravity = 100 - - -# In bar height, bars that would have been lower that this will not be drawn. -; ignore = 0 - -# Because fftw doesn't have any logarithmic data sorting (or that I'm not aware of) -# I made my "logartimic bar sorter", which is litterally a for loop doing magic. -# Before you ask why didn't I just do log function instead. I lack knoweledge in how they work, that's why. -# Use only if you know what are you doing. -; fake_log = 1.0 - - -[shadow] -# Fake shadow effect (works under X only) -# Warning shadows may not be larger than bars, or it will cause issues. -; size = 0 -# Valid shadow format is #aarrggbb -; color = "#ff000000" - - -[eq] - -# This one is tricky. You can have as much keys as you want. -# Remember to uncomment more then one key! More keys = more precision. -# Look at readme.md on github for further explanations and examples. -; 1 = 1 # bass -; 2 = 1 -; 3 = 1 # midtone -; 4 = 1 -; 5 = 1 # treble diff --git a/cmus/.cmus/cmus-geeqie.sh b/cmus/.cmus/cmus-geeqie.sh @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -## 'status_display_program' for Cmus. Shows album art in a fixed size window. -## Use your window manager to automatically manipulate the window. -## There are several album art viewers for Cmus but this I believe is the most -## compatible with different setups as it is simpler. No weird hacks. - -cmus-remote -Q | tee /tmp/cmus.status diff --git a/cmus/.cmus/rc b/cmus/.cmus/rc @@ -1,9 +0,0 @@ -set output_plugin=pulse -set dsp.alsa.device=sysdefault:CARD=CODEC -set mixer.alsa.device=sysdefault:CARD=CODEC -set mixer.alsa.channel=master -set mouse=true -set resume=true -colorscheme night -shell tmux set status off -bind -f common q shell tmux bind-key -n 'q' detach \\\; unbind-key -n 'q'; sleep 1; tmux unbind-key -n 'q' diff --git a/cmus/.cmus/start-cmus.sh b/cmus/.cmus/start-cmus.sh @@ -1,6 +0,0 @@ -#!/bin/sh - -i3-msg "workspace 4; append_layout /home/shyman/.i3/cmus.json" -nohup geeqie -t > /dev/null & -nohup st -e "cmus" > /dev/null & -nohup cava > /dev/null & diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc @@ -1,51 +0,0 @@ -[global] -font = "Noto Sans 10" -markup = yes -format = "<b>%s</b>\n%b" -sort = yes -indicate_hidden = yes -monitor = 0 -alignment = center -bounce_freq = 0 -show_age_threshold = 60 -word_wrap = yes -ignore_newline = no -geometry = "200x0+10+10" -transparency = 10 -idle_threshold = 120 -follow = mouse -sticky_history = yes -line_height = 0 -separator_height = 2 -padding = 8 -horizontal_padding = 8 -separator_color = foreground -startup_notification = false -frame_width = 2 -frame_color = "#5c6370" - -[shortcuts] -close = ctrl+space -close_all = ctrl+shift+space -history = ctrl+grave -context = ctrl+shift+period - -[urgency_low] -background = "#282c34" -foreground = "#dcdfe4" -frame_color = "#56b6c2" -timeout = 5 - -[urgency_normal] -background = "#282c34" -foreground = "#dcdfe4" -frame_color = "#98c379" -timeout = 20 - -[urgency_critical] -background = "#282c34" -foreground = "#dcdfe4" -frame_color = "#e5c07b" -timeout = 0 - -; vim:ft=dosini diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el @@ -1,152 +0,0 @@ -;; (package-initialize) - -;; Sane amount of scroll -(setq mouse-wheel-scroll-amount '(3)) -(setq mouse-wheel-progressive-speed nil) - -;; Setup package.el -(require 'package) -(setq package-enable-at-startup nil) -(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) -(package-initialize) - -;; Bootstrap `use-package' -(unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) - -;; Initialize use-package -(require 'use-package) - -;; Recompile emacs.d -(byte-recompile-directory (expand-file-name "~/.emacs.d") 0) - -;; Initialize Paradox -(use-package paradox - :config - ;; Override default package manager with paradox - (paradox-enable)) - -;; Initialize Evil -(use-package evil - :config - ;; Global evil mode - (evil-mode 1)) - -;; Initialize magit -(use-package magit - :config - (global-set-key (kbd "C-x g") 'magit-status)) - -;; Initialize evil-magit -(use-package evil-magit - :requires - (evil magit)) - -;; Initialize AUCTeX -(use-package tex - :hook - (TeX-language-pl . (lambda () (ispell-change-dictionary "polish"))) - (LaTeX-mode . flyspell-mode) - :init - (setq TeX-source-correlate-mode t - TeX-source-correlate-start-server t - TeX-parse-self t ; Enable parse on load - TeX-auto-save t ; Enable parse on save - TeX-auto-untabify t) ; Auto change tabs to spaces - :config - ;; Set default PDF viewer - (add-to-list 'TeX-view-program-selection - '(output-pdf "Zathura"))) - -(use-package flyspell-lazy - :config - (flyspell-lazy-mode 1)) - -;; Initalize ESS -(use-package ess-site - :hook - (ess-noweb-mode . (lambda () (if (not ess-swv-plug-into-AUCTeX-p) - (ess-swv-toggle-plug-into-AUCTeX)))) - :config - (setq ess-swv-pdflatex-commands (quote ("pdflatex" "texi2pdf" "make"))) - (setq ess-swv-processor 'knitr) - ;; Change AUCTeX Sweave commands to Knitr - (defun ess-swv-add-TeX-commands () - "Add commands to AUCTeX's \\[TeX-command-list]." - (unless (and (featurep 'tex-site) (featurep 'tex)) - (error "AUCTeX does not seem to be loaded")) - (add-to-list 'TeX-command-list - '("Knit" "Rscript -e \"library(knitr); knit('%t')\"" - TeX-run-command nil (latex-mode) :help - "Run Knitr") t) - (add-to-list 'TeX-command-list - '("LaTeXKnit" "%l %(mode) %s; Rscript -e \"require('patchSynctex'); patchSynctex('%s')\"" - TeX-run-TeX nil (latex-mode) :help - "Run LaTeX after Knit") t) - (setq TeX-command-default "Knit") - (mapc (lambda (suffix) - (add-to-list 'TeX-file-extensions suffix)) - '("nw" "Snw" "Rnw"))) - (defun ess-swv-remove-TeX-commands (x) - "Helper function: check if car of X is one of the Knitr strings" - (let ((swv-cmds '("Knit" "LaTeXKnit"))) - (unless (member (car x) swv-cmds) x)))) - -;; Initialize company-mode -(use-package company - :config - (global-company-mode)) - -;; Initialize SLIME -(use-package slime - :init - (load (expand-file-name "~/quicklisp/slime-helper.el")) - (setq inferior-lisp-program "sbcl")) - -;; Initialize slime-company -(use-package slime-company - :requires - (slime company) - :config - (slime-setup '(slime-company))) - -;; Initialize rainbow-delimiters -(use-package rainbow-delimiters - :hook - (prog-mode . rainbow-delimiters-mode)) - -;; Initialize zerodark theme -(use-package zerodark-theme - :config - (zerodark-setup-modeline-format)) - -;; Initialize hy-mode -(use-package hy-mode - :init - (add-to-list 'auto-mode-alist '("\\.hy\\'" . hy-mode))) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(ansi-color-faces-vector - [default default default italic underline success warning error]) - '(ansi-color-names-vector - ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"]) - '(custom-enabled-themes (quote (zerodark))) - '(custom-safe-themes - (quote - ("f142c876b896c6ca19149cacd80ddd68a351f67f7fe3b786274ceee970276780" default))) - '(package-selected-packages - (quote - (racket-mode hy-mode slime slime-company use-package rainbow-delimiters zerodark-theme wc-mode flyspell-lazy ess markdown-mode async auctex evil-magit magit evil ## paradox))) - '(paradox-github-token t) - '(tool-bar-mode nil)) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(default ((t (:family "Code New Roman" :foundry "CNR " :slant normal :weight normal :height 143 :width normal))))) diff --git a/firefox/.mozilla/firefox/chrome/userChrome.css b/firefox/.mozilla/firefox/chrome/userChrome.css @@ -1,10 +0,0 @@ -/*I symlink this to my profile direcotry*/ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -#TabsToolbar { - visibility: collapse; -} - -#sidebar-header { - display: none; -} diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish @@ -9,7 +9,9 @@ if test -n "$NVIM" alias nvim 'nvr -s' end -source "$HOME/.cargo/env.fish" +if test -f "$HOME/.cargo/env.fish" + source "$HOME/.cargo/env.fish" +end alias cmus='tmux attach-session -t cmus || tmux new-session -A -D -s cmus ~/.local/bin/cmus' @@ -20,5 +22,19 @@ alias :split 'swaymsg split v\; exec alacritty' alias :vsplit 'swaymsg split h\; exec alacritty' set ET_NO_TELEMETRY 1 -set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/arista-ssh/agent.sock" -set -x PERL5LIB "$HOME/.local/lib/perl5/" + +if test -f "$XDG_RUNTIME_DIR/arista-ssh/agent.sock" + set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/arista-ssh/agent.sock" +end + +set -x PERL5LIB "$HOME/.usr/local/lib/perl5/" +set -x XDG_DATA_DIRS $XDG_DATA_DIRS "$HOME/.usr/local/share" + +#direnv hook fish | source + +# pnpm +set -gx PNPM_HOME "/home/shyman/.local/share/pnpm" +if not string match -q -- $PNPM_HOME $PATH + set -gx PATH "$PNPM_HOME" $PATH +end +# pnpm end diff --git a/foot/.config/foot/foot.ini b/foot/.config/foot/foot.ini @@ -86,7 +86,7 @@ dpi-aware=yes [touch] # long-press-delay=400 -[colors] +[colors-dark] alpha=0.8 background=191724 foreground=e0def4 diff --git a/git/.gitconfig b/git/.gitconfig @@ -1,10 +0,0 @@ -[user] - email = szymon.mikulicz@posteo.net - name = Szymon Mikulicz -[github] - user = Ashymad -[core] - editor = nvim - autocrlf = input -[init] - defaultBranch = main diff --git a/goimapnotify/.config/goimapnotify/config.json b/goimapnotify/.config/goimapnotify/config.json @@ -1,17 +0,0 @@ -{ - "host": "posteo.de", - "port": 993, - "tls": true, - "tlsOptions": { - "rejectUnauthorized": false - }, - "username": "szymon.mikulicz@posteo.net", - "password": "", - "passwordCmd": "~/.config/astroid/get_pass.py \"https://posteo.de\"", - "onNewMail": "~/.config/astroid/poll.sh", - "onNewMailPost": "", - "boxes": [ - "INBOX" - ] -} - diff --git a/i3/.i3/brightness.sh b/i3/.i3/brightness.sh @@ -1,7 +0,0 @@ -#!/bin/sh - -MON_NMB=2 - -for i in $(seq 1 $MON_NMB); do - while ! ddcutil -d $i setvcp 10 $1; do :; done -done diff --git a/i3/.i3/cmus.json b/i3/.i3/cmus.json @@ -1,89 +0,0 @@ -// vim:ts=4:sw=4:et -{ - // splitv split container with 2 children - "border": "pixel", - "floating": "auto_off", - "layout": "splitv", - "percent": 1, - "type": "con", - "nodes": [ - { - "border": "pixel", - "current_border_width": 2, - "floating": "auto_off", - "geometry": { - "height": 508, - "width": 804, - "x": 0, - "y": 0 - }, - "name": "cava", - "percent": 0.460111812932657, - "swallows": [ - { - // "class": "^URxvt$", - // "instance": "^cava$", - "title": "^CAVA$" - // "transient_for": "^$" - } - ], - "type": "con" - }, - { - // splith split container with 2 children - "border": "pixel", - "floating": "auto_off", - "layout": "splith", - "percent": 0.539888187067343, - "type": "con", - "nodes": [ - { - "border": "pixel", - "current_border_width": 2, - "floating": "auto_off", - "geometry": { - "height": 508, - "width": 804, - "x": 0, - "y": 0 - }, - "name": "Me Myself And I - Takadum! - Takadum Old (2011)", - "percent": 0.704207952778811, - "swallows": [ - { - // "class": "^URxvt$", - "instance": "^st\\-256color$" - // "title": "^Me\\ Myself\\ And\\ I\\ \\-\\ Takadum\\!\\ \\-\\ Takadum\\ Old\\ \\(2011\\)$", - // "transient_for": "^$" - } - ], - "type": "con" - }, - { - "border": "pixel", - "current_border_width": 2, - "floating": "auto_off", - "geometry": { - "height": 507, - "width": 507, - "x": 1399, - "y": 531 - }, - "name": "cover.jpg - Geeqie", - "percent": 0.295792047221188, - "swallows": [ - { - // "class": "^Geeqie$", - "instance": "^geeqie$" - // "title": "^cover\\.jpg\\ \\-\\ Geeqie$", - // "transient_for": "^$", - // "window_role": "^geeqie$" - } - ], - "type": "con" - } - ] - } - ] -} - diff --git a/i3/.i3/config.d/bindsyms b/i3/.i3/config.d/bindsyms @@ -1,96 +0,0 @@ -// vim: filetype=i3config -bindsym $mod+Shift+q kill - -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -bindsym $mod+g split h - -bindsym $mod+v split v - -bindsym $mod+f fullscreen toggle - -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -bindsym $mod+Shift+space floating toggle - -bindsym $mod+space focus mode_toggle - -bindsym $mod+a focus parent - -// bindsym $mod+d focus child - -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 -bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 - -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+7 move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8 -bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace 10 - -bindsym $mod+Shift+c exec cpp ~/.i3/config.in > ~/.i3/config && sleep 1 && i3-msg 'reload' - -bindsym $mod+Shift+r exec cpp ~/.i3/config.in > ~/.i3/config && sleep 1 && i3-msg 'restart' - -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -// Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle - -// C* Music Player controls -bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u -bindsym XF86AudioStop exec --no-startup-id cmus-remote -s -bindsym XF86AudioNext exec --no-startup-id cmus-remote -n -bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r - -bindsym $mod+c exec alacritty --class CMUS -e fish -c cmus - -// Sreen brightness controls -bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +10% # increase screen brightness -bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s +10%- # decrease screen brightness -bindsym $mod+F12 exec --no-startup-id brightnessctl s +10% # increase screen brightness -bindsym $mod+F11 exec --no-startup-id brightnessctl s +10%- # decrease screen brightness - -// Change wallpaper -bindsym $mod+p exec --no-startup-id ~/.fehbg -r - -// Take screenshot -bindsym $mod+Shift+s exec --no-startup-id flameshot gui - -// Toggle touvhpad -bindsym $mod+F10 exec ~/.i3/toggle_touchpad.sh "Synaptics TM3276-022" diff --git a/i3/.i3/config.d/execs b/i3/.i3/config.d/execs @@ -1,7 +0,0 @@ -// vim: filetype=i3config -exec --no-startup-id picom -exec --no-startup-id xss-lock -l -- ~/.i3/lock.sh -exec --no-startup-id nm-applet -exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent -exec --no-startup-id redshift-gtk -exec sleep 1 && ~/.screenlayout/default.sh && ~/.fehbg && ~/.config/polybar/launch.sh diff --git a/i3/.i3/config.d/modes b/i3/.i3/config.d/modes @@ -1,48 +0,0 @@ -// vim: filetype=i3config -mode "resize" { - bindsym l resize shrink width 10 px or 10 ppt - bindsym semicolon resize grow height 10 px or 10 ppt - bindsym apostrophe resize shrink height 10 px or 10 ppt - bindsym backslash resize grow width 10 px or 10 ppt - - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+r mode "resize" - -set $power_control "[l]ock log[o]ut [s]uspend [h]ibernate [r]eboot [p]oweroff" -mode $power_control { - bindsym l exec xset s activate; mode "default" - bindsym o exec i3-msg exit; mode "default" - bindsym s exec systemctl suspend; mode "default" - bindsym h exec systemctl hibernate; mode "default" - bindsym r exec systemctl reboot; mode "default" - bindsym p exec systemctl poweroff; mode "default" - - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+n mode $power_control - -mode "brightness" { - bindsym grave exec ~/.i3/brightness.sh 00 - bindsym 1 exec ~/.i3/brightness.sh 10 - bindsym 2 exec ~/.i3/brightness.sh 20 - bindsym 3 exec ~/.i3/brightness.sh 30 - bindsym 4 exec ~/.i3/brightness.sh 40 - bindsym 5 exec ~/.i3/brightness.sh 50 - bindsym 6 exec ~/.i3/brightness.sh 60 - bindsym 7 exec ~/.i3/brightness.sh 70 - bindsym 8 exec ~/.i3/brightness.sh 80 - bindsym 9 exec ~/.i3/brightness.sh 90 - bindsym 0 exec ~/.i3/brightness.sh 100 - - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+Shift+b mode "brightness" diff --git a/i3/.i3/config.d/windows b/i3/.i3/config.d/windows @@ -1,18 +0,0 @@ -// vim: filetype=i3config -// class border bg text indicator -client.focused #5c6370e6 #5c6370e6 #ffffff #5c6370e6 -client.unfocused #282c34e6 #282c34e6 #dcdfe4 #282c34e6 -client.focused_inactive #282c34e6 #282c34e6 #dcdfe4 #282c34e6 -client.urgent #383a3be6 #383a3be6 #e06c75 #383a3be6 - -default_border pixel 1 -default_floating_border pixel 1 -gaps inner 10 - -for_window [instance="polybar"] gaps inner 0 -for_window [instance="mpv"] pixel 0 -for_window [instance="^r_x11$"] floating enable -for_window [instance="^octave\-gui$"] floating enable -for_window [instance="^matplotlib$"] floating enable -for_window [instance="^gnuplot_qt$"] floating enable -for_window [instance="CMUS"] floating enable diff --git a/i3/.i3/config.in b/i3/.i3/config.in @@ -1,29 +0,0 @@ -// vim: filetype=i3config - -set $mod Mod4 - -font pango:Terminus 11px - -floating_modifier $mod - -bindsym $mod+Return exec alacritty -bindsym $mod+d exec rofi -modi drun -show drun - -bindsym $mod+Shift+d exec xhost + 192.168.100.123; mode "remote" -mode "remote" { - bindsym $mod+d exec ssh mikulicz@192.168.100.123 env DISPLAY=192.168.100.102:0 rofi -modi drun -show drun - bindsym $mod+Return exec alacritty -e ssh -t mikulicz@192.168.100.123 env DISPLAY=192.168.100.102:0 '$SHELL' - -#include "config.d/bindsyms" - - bindsym $mod+Shift+d mode "default" -} - -workspace 1 output eDP1 -workspace 2 output DP1 -workspace 3 output HDMI2 - -#include "config.d/bindsyms" -#include "config.d/modes" -#include "config.d/windows" -#include "config.d/execs" diff --git a/i3/.i3/lock.sh b/i3/.i3/lock.sh @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -export XSECURELOCK_FONT="-misc-liberation mono-medium-r-normal--0-0-0-0-m-0-iso10646-1" -export XSECURELOCK_SAVER=$HOME/.local/share/xsecurelock/helpers/saver_mpv -export XSECURELOCK_PASSWORD_PROMPT=time_hex -export XSECURELOCK_LIST_VIDEOS_COMMAND="echo ~/.i3/BG.png" -export XSECURELOCK_IMAGE_DURATION_SECONDS=inf -export XSECURELOCK_BLANK_TIMEOUT=30 -export XSECURELOCK_AUTH_TIMEOUT=10 -xsecurelock& -sleep 0.5 -pkill -SIGSTOP picom -wait < <(jobs -p) -pkill -SIGCONT picom diff --git a/i3/.i3/start.sh b/i3/.i3/start.sh @@ -1,4 +0,0 @@ -#!/bin/sh - -cpp $HOME/.i3/config.in > $HOME/.i3/config -exec i3 diff --git a/i3/.i3/toggle_touchpad.sh b/i3/.i3/toggle_touchpad.sh @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -en=$(xinput list-props "$1" | grep 'Device Enabled' | tail -c-2) - -if [[ en -eq 0 ]]; then - xinput enable "$1" -else - xinput disable "$1" -fi diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc @@ -1,36 +0,0 @@ -IMAPAccount posteo -# Address to connect to -Host posteo.de -User szymon.mikulicz@posteo.net -PassCmd "~/.config/astroid/get_pass.py \"https://posteo.de\"" -# Pass *************** -# To store the password in an encrypted file use PassCmd instead of Pass -# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg" -# -# Use SSL -SSLType IMAPS -# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section. -CertificateFile /etc/ssl/certs/ca-certificates.crt -#CertificateFile ~/.cert/imap.gmail.com.pem -#CertificateFile ~/.cert/Equifax_Secure_CA.pem - -IMAPStore posteo-remote -Account posteo - -MaildirStore posteo-local -Subfolders Verbatim -# The trailing "/" is important -Path ~/.mail/posteo/ -Inbox ~/.mail/posteo/Inbox - -Channel posteo -Master :posteo-remote: -Slave :posteo-local: -# Exclude everything under the internal [Gmail] folder, except the interesting folders -# Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail" -# Or include everything -Patterns * -# Automatically create missing mailboxes, both locally and on the server -Create Both -# Save the synchronization state files in the relevant directory -SyncState * diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf @@ -1,389 +0,0 @@ -# vim:fileencoding=utf-8:ft=conf - -# Font family. You can also specify different fonts for the -# bold/italic/bold-italic variants. By default they are derived automatically, -# by the OSes font system. Setting them manually is useful for font families -# that have many weight variants like Book, Medium, Thick, etc. For example: -# font_family Operator Mono Book -# bold_font Operator Mono Medium -# italic_font Operator Mono Book Italic -# bold_italic_font Operator Mono Medium Italic -# -# You can get a list of full family names available on your computer by running -# kitty list-fonts -font_family Code New Roman -italic_font Code New Roman italic -bold_font Code New Roman bold -bold_italic_font auto - -# Font size (in pts) -font_size 14.0 - -# Adjust the cell dimensions. -# You can use either numbers, which are interpreted as pixels or percentages -# (number followed by %), which are interpreted as percentages of the -# unmodified values. You can use negative pixels or percentages less than -# 100% to reduce sizes (but this might cause rendering artifacts). -adjust_line_height 90% -adjust_column_width 0 - -# Change the sizes of the lines used for the box drawing unicode characters -# These values are in pts. They will be scaled by the monitor DPI to arrive at -# a pixel value. There must be four values corresponding to thin, normal, thick, -# and very thick lines; -# box_drawing_scale 0.001, 1, 1.5, 2 - -# The foreground color -foreground #a8a8a8 - -# The background color -background #000000 - -# The opacity of the background. A number between 0 and 1, where 1 is opaque and 0 is fully transparent. -# This will only work if supported by the OS (for instance, when using a compositor under X11). Note -# that it only sets the default background color's opacity. This is so that -# things like the status bar in vim, powerline prompts, etc. still look good. -# But it means that if you use a color theme with a background color in your -# editor, it will not be rendered as transparent. Instead you should change the -# default background color in your kitty config and not use a background color -# in the editor color scheme. Or use the escape codes to set the terminals -# default colors in a shell script to launch your editor. -# Be aware that using a value less than 1.0 is a (possibly significant) performance hit. -background_opacity 1.0 - -# The foreground for selections -selection_foreground #000000 - -# The background for selections -selection_background #a8a8a8 - -# The color and style for highlighting URLs on mouse-over. url_style can be one of: -# none, single, double, curly -url_color #0087BD -url_style curly - -# The cursor color -cursor #cccccc - -# The cursor shape can be one of (block, beam, underline) -cursor_shape block - -# The interval (in seconds) at which to blink the cursor. Set to zero to -# disable blinking. Note that numbers smaller than repaint_delay will be -# limited to repaint_delay. -cursor_blink_interval 0.5 - -# Stop blinking cursor after the specified number of seconds of keyboard inactivity. Set to -# zero to never stop blinking. -cursor_stop_blinking_after 15.0 - -# Number of lines of history to keep in memory for scrolling back -scrollback_lines 2000 - -# Program with which to view scrollback in a new window. The scrollback buffer is passed as -# STDIN to this program. If you change it, make sure the program you use can -# handle ANSI escape sequences for colors and text formatting. -scrollback_pager less +G -R - -# Wheel scroll multiplier (modify the amount scrolled by the mouse wheel). Use negative -# numbers to change scroll direction. -wheel_scroll_multiplier 5.0 - -# The interval between successive clicks to detect double/triple clicks (in seconds) -click_interval 0.5 - -# Characters considered part of a word when double clicking. In addition to these characters -# any character that is marked as an alpha-numeric character in the unicode -# database will be matched. -select_by_word_characters :@-./_~?&=%+# - -# The shell program to execute. The default value of . means -# to use whatever shell is set as the default shell for the current user. -# Note that on macOS if you change this, you might need to add --login to -# ensure that the shell starts in interactive mode and reads its rc files. -shell . - -# Hide mouse cursor after the specified number of seconds of the mouse not being used. Set to -# zero to disable mouse cursor hiding. -mouse_hide_wait 3.0 - -# Set the active window to the window under the mouse when moving the mouse around -focus_follows_mouse no - -# The enabled window layouts. A comma separated list of layout names. The special value * means -# all layouts. The first listed layout will be used as the startup layout. -# For a list of available layouts, see the file layouts.py -enabled_layouts * - -# If enabled, the window size will be remembered so that new instances of kitty will have the same -# size as the previous instance. If disabled, the window will initially have size configured -# by initial_window_width/height, in pixels. -remember_window_size yes -initial_window_width 640 -initial_window_height 400 - -# Delay (in milliseconds) between screen updates. Decreasing it, increases -# frames-per-second (FPS) at the cost of more CPU usage. The default value -# yields ~100 FPS which is more than sufficient for most uses. Note that to -# actually achieve 100FPS you have to either set sync_to_monitor to no or use a -# monitor with a high refresh rate. -repaint_delay 10 - -# Delay (in milliseconds) before input from the program running in the terminal -# is processed. Note that decreasing it will increase responsiveness, but also -# increase CPU usage and might cause flicker in full screen programs that -# redraw the entire screen on each loop, because kitty is so fast that partial -# screen updates will be drawn. -input_delay 3 - -# Sync screen updates to the refresh rate of the monitor. This prevents -# tearing (https://en.wikipedia.org/wiki/Screen_tearing) when scrolling. However, -# it limits the rendering speed to the refresh rate of your monitor. With a -# very high speed mouse/high keyboard repeat rate, you may notice some slight input latency. -# If so, set this to no. -sync_to_monitor yes - -# Visual bell duration. Flash the screen when a bell occurs for the specified number of -# seconds. Set to zero to disable. -visual_bell_duration 0.0 - -# Enable/disable the audio bell. Useful in environments that require silence. -enable_audio_bell yes - -# The modifier keys to press when clicking with the mouse on URLs to open the URL -open_url_modifiers ctrl+shift - -# The program with which to open URLs that are clicked on. The special value "default" means to -# use the operating system's default URL handler. -open_url_with default - -# The modifiers to use rectangular selection (i.e. to select text in a -# rectangular block with the mouse) -rectangle_select_modifiers ctrl+alt - - -# Allow other programs to control kitty. If you turn this on other programs can -# control all aspects of kitty, including sending text to kitty windows, -# opening new windows, closing windows, reading the content of windows, etc. -# Note that this even works over ssh connections. -allow_remote_control no - -# The value of the TERM environment variable to set -term xterm-kitty - -# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution. -# Note that borders are displayed only when more than one window is visible. They are meant to separate multiple windows. -window_border_width 1 - -# The window margin (in pts) (blank area outside the border) -window_margin_width 0 - -# The window padding (in pts) (blank area between the text and the window border) -window_padding_width 0 - -# The color for the border of the active window -active_border_color #00ff00 - -# The color for the border of inactive windows -inactive_border_color #cccccc - -# Fade the text in inactive windows by the specified amount (a number between -# zero and one, with 0 being fully faded). -inactive_text_alpha 1.0 - -# Which edge to show the tab bar on, top or bottom -tab_bar_edge bottom - -# The separator between tabs in the tab bar -tab_separator " ┇" - -# Tab bar colors and styles -active_tab_foreground #000 -active_tab_background #eee -active_tab_font_style bold-italic -inactive_tab_foreground #444 -inactive_tab_background #999 -inactive_tab_font_style normal - - -# The 16 terminal colors. There are 8 basic colors, each color has a dull and -# bright version. - -#Normal colors - -color0 #000000 -color1 #a80000 -color2 #00a800 -color3 #a85400 -color4 #0000a8 -color5 #a800a8 -color6 #00a8a8 -color7 #a8a8a8 - -#Bright colors - -color8 #545454 -color9 #fc5454 -color10 #54fc54 -color11 #fcfc54 -color12 #5454fc -color13 #fc54fc -color14 #54fcfc -color15 #fcfcfc - - -# Key mapping -# For a list of key names, see: http://www.glfw.org/docs/latest/group__keys.html -# For a list of modifier names, see: http://www.glfw.org/docs/latest/group__mods.html -# -# You can use the special action no_op to unmap a keyboard shortcut that is -# assigned in the default configuration. -# -# You can combine multiple actions to be triggered by a single shortcut, using the -# syntax below: -# map key combine <separator> action1 <separator> action2 <separator> action3 ... -# For example: -# map ctrl+shift+e combine : new_window : next_layout -# this will create a new window and switch to the next available layout - -# Clipboard -map ctrl+shift+v paste_from_clipboard -map ctrl+shift+s paste_from_selection -map ctrl+shift+c copy_to_clipboard -map shift+insert paste_from_selection -# You can also pass the contents of the current selection to any program using -# pass_selection_to_program. By default, the system's open program is used, but -# you can specify your own, for example: -# map ctrl+shift+o pass_selection_to_program firefox -map ctrl+shift+o pass_selection_to_program - -# Scrolling -map ctrl+shift+up scroll_line_up -map ctrl+shift+down scroll_line_down -map ctrl+shift+k scroll_line_up -map ctrl+shift+j scroll_line_down -map ctrl+shift+page_up scroll_page_up -map ctrl+shift+page_down scroll_page_down -map ctrl+shift+home scroll_home -map ctrl+shift+end scroll_end -map ctrl+shift+h show_scrollback - -# Window management -map ctrl+shift+enter new_window -map ctrl+shift+n new_os_window -map ctrl+shift+w close_window -map ctrl+shift+] next_window -map ctrl+shift+[ previous_window -map ctrl+shift+f move_window_forward -map ctrl+shift+b move_window_backward -map ctrl+shift+` move_window_to_top -map ctrl+shift+1 first_window -map ctrl+shift+2 second_window -map ctrl+shift+3 third_window -map ctrl+shift+4 fourth_window -map ctrl+shift+5 fifth_window -map ctrl+shift+6 sixth_window -map ctrl+shift+7 seventh_window -map ctrl+shift+8 eighth_window -map ctrl+shift+9 ninth_window -map ctrl+shift+0 tenth_window -# You can open a new window running an arbitrary program, for example: -# map ctrl+shift+y new_window mutt -# -# You can pass the current selection to the new program by using the @selection placeholder -# map ctrl+shift+y new_window less @selection -# -# You can even send the contents of the current screen + history buffer as stdin using -# the placeholders @text (which is the plain text) and @ansi (which includes text styling escape codes). -# For only the current screen, use @screen or @ansi_screen. -# For example, the following command opens the scrollback buffer in less in a new window. -# map ctrl+shift+y new_window @ansi less +G -R -# -# You can open a new window with the current working directory set to the -# working directory of the current window using -# map ctrl+alt+enter new_window_with_cwd - - -# Tab management -map ctrl+shift+right next_tab -map ctrl+shift+left previous_tab -map ctrl+shift+t new_tab -map ctrl+shift+q close_tab -map ctrl+shift+l next_layout -map ctrl+shift+. move_tab_forward -map ctrl+shift+, move_tab_backward -# You can also create shortcuts to go to specific tabs, with 1 being the first tab -# map ctrl+alt+1 goto_tab 1 -# map ctrl+alt+2 goto_tab 2 - -# Just as with new_window above, you can also pass the name of arbitrary -# commands to run when using new_tab and use new_tab_with_cwd. - - -# Miscellaneous -map ctrl+shift+equal increase_font_size -map ctrl+shift+minus decrease_font_size -map ctrl+shift+backspace restore_font_size -map ctrl+shift+f11 toggle_fullscreen -map ctrl+shift+u input_unicode_character -# Open a currently visible URL using the keyboard. The program used ot open the URL is specified in open_url_with. -# You can customize how the URLs are detected and opened by specifying command line options to -# url_hints. For example: -# map ctrl+shift+e run_simple_kitten text url_hints --program firefox --regex "http://[^ ]+" -map ctrl+shift+e run_simple_kitten text url_hints - -# Sending arbitrary text on shortcut key presses -# You can tell kitty to send arbitrary (UTF-8) encoded text to -# the client program when pressing specified shortcut keys. For example: -# map ctrl+alt+a send_text all Special text -# This will send "Special text" when you press the Ctrl+Alt+a key combination. -# The text to be sent is a python string literal so you can use escapes like -# \x1b to send control codes or \u21fb to send unicode characters (or you can -# just input the unicode characters directly as UTF-8 text). The first argument -# to send_text is the keyboard modes in which to activate the shortcut. The possible -# values are normal or application or kitty or a comma separated combination of them. -# The special keyword all means all modes. The modes normal and application refer to -# the DECCKM cursor key mode for terminals, and kitty refers to the special kitty -# extended keyboard protocol. Another example, that outputs a word and then moves the cursor -# to the start of the line (same as pressing the Home key): -# map ctrl+alt+a send_text normal Word\x1b[H -# map ctrl+alt+a send_text application Word\x1bOH - -# Symbol mapping (special font for specified unicode code points). Map the -# specified unicode codepoints to a particular font. Useful if you need special -# rendering for some symbols, such as for Powerline. Avoids the need for -# patched fonts. Each unicode code point is specified in the form U+<code point -# in hexadecimal>. You can specify multiple code points, separated by commas -# and ranges separated by hyphens. symbol_map itself can be specified multiple times. -# Syntax is: -# -# symbol_map codepoints Font Family Name -# -# For example: -# -# symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols - - -# OS specific tweaks - -# Copy to clipboard on select. With this enabled, simply selecting text with -# the mouse will cause the text to be copied to clipboard. Useful on platforms -# such as macOS/Wayland that do not have the concept of primary selections. Note -# that this is a security risk, as all programs, including websites open in your -# browser can read the contents of the clipboard. -copy_on_select no - -# Change the color of the kitty window's titlebar on macOS. A value of "system" -# means to use the default system color, a value of "background" means to use -# the default background color and finally you can use an arbitrary color, such -# as #12af59 or "red". -macos_titlebar_color system - -# Hide the kitty window's title bar on macOS. -macos_hide_titlebar no - -# Use the option key as an alt key. With this set to no, kitty will use -# the macOS native Option+Key = unicode character behavior. This will -# break any Alt+key keyboard shortcuts in your terminal programs, but you -# can use the macOS unicode input technique. -macos_option_as_alt yes diff --git a/mako/.config/mako/config b/mako/.config/mako/config @@ -1,14 +0,0 @@ -font=DejaVu Sans Mono 11 -background-color=#000000 -text-color=#ffffff -border-color=#333333 -#border-size=10 -#border-color=#00000055 -#margin=25 - -[hidden] -format=(and %h more) -text-color=#777777 - -[urgency=high] -background-color=#ff0000 diff --git a/mlterm/.mlterm/aafont b/mlterm/.mlterm/aafont @@ -1,53 +0,0 @@ -DEFAULT=Code New Roman - -#ISO8859_1=Courier 10 Pitch -#ISO8859_2=Thryomanes -#ISO8859_3=Thryomanes -#ISO8859_4=Thryomanes -#ISO8859_5=Thryomanes -#ISO8859_7=Thryomanes -#ISO8859_9=Thryomanes -#ISO8859_10=Thryomanes -#ISO8859_13=Thryomanes -#ISO8859_14=Thryomanes -#ISO8859_15=Thryomanes -#KOI8_R=Nimbus Mono L -#KOI8_U=Nimbus Mono L -#JISX0208_1978=Kochi Gothic -#JISX0208_1983=Kochi Gothic -#JISX0208_1990=Kochi Gothic -#KSX1001_1997=dotum -#BIG5=AR PL Mingti2L Big5 -#GB2312_80=AR PL SungtiL GB -#GBK=AR PL SungtiL GB - -#ISO10646_UCS4_1=Courier 10 Pitch -#ISO10646_UCS4_1=Thryomanes - -# Japanese speakers may want to enable the following setting. -#ISO10646_UCS4_1_FULLWIDTH=Kochi Gothic -# Unicode Hankaku kana. -#U+FF61-FF9F=Kochi Gothic - -# Korean speakers may want to enable the following setting. -#ISO10646_UCS4_1_FULLWIDTH=dotum - -# Traditional Chinese speakers may want to enable the following setting. -#ISO10646_UCS4_1_FULLWIDTH=AR PL Mingti2L Big5 - -# Simplified Chinese speakers may want to enable the following setting. -#ISO10646_UCS4_1_FULLWIDTH=AR PL SungtiL GB - -#ISCII_ASSAMESE = AS-TTDurga 26 -ISCII_BENGALI = BN-TTDurga 26 -#ISCII_GUJARATI = GJ-TTAvantika 21 -ISCII_HINDI = DV-TTYogesh 23 -#ISCII_KANNADA = KN-TTUma 25 -#ISCII_MALAYALAM = ML-TTKarthika 23 -#ISCII_ORIYA = OR-TTSarala 26 -#ISCII_PUNJABI = PN-TTAmar 30 -ISCII_TAMIL = TM-TTValluvar 18 -#ISCII_TELUGU = TL-TTHemalatha 25 - -# For powerline. -#U+E000-E0FF = PowerlineSymbols diff --git a/mlterm/.mlterm/color b/mlterm/.mlterm/color @@ -1,17 +0,0 @@ -black=#000000 -red=#a80000 -green=#00a800 -yellow=#a85400 -blue=#0000a8 -magenta=#a800a8 -cyan=#00a8a8 -white=#a8a8a8 -hl_black=#545454 -hl_red=#fc5454 -hl_green=#54fc54 -hl_yellow=#fcfc54 -hl_blue=#5454fc -hl_magenta=#fc54fc -hl_cyan=#54fcfc -hl_white=#fcfcfc - diff --git a/mlterm/.mlterm/main b/mlterm/.mlterm/main @@ -1,276 +0,0 @@ -# -# Copy to ~/.mlterm/main -# - -# -- Window -- - -# display = - -# geometry = - -# app_name = mlterm - -# title = mlterm - -# icon_name = mlterm - -# icon_path = - -# screen_width_ratio = 100 - -# inner_border = 2 - -# layout_inner_border = 0 - -# -- Terminal -- -# use_login_shell = false - -# (xterm,mlterm,kterm) -termtype = mlterm-256color - -# max_ptys = 32 - -# startup_screens = 1 - -# default_cell_size = 8,16 - -# console_sixel_colors = 16 - -# -- Encoding -- -# (ISO-8859-[1-11], ISO-8859-[13-16], TIS-620 (same as ISO-8859-11), -# KOI8-[RUT], ISCII, VISCII, TCVN5712, GEORGIAN_PS, CP125[0-8], CP874, -# EUC-JP, EUC-JISX0213, Shift_JIS, Shift_JISX0213, ISO-2022-JP[1-3], -# EUC-KR, UHC, JOHAB, ISO-2022-KR, GB2312 (EUC-CN), GBK, GB18030, -# ISO-2022-CN, HZ, EUC-TW, BIG5, BIG5HKSCS, UTF-8, AUTO) -# ENCODING = auto - -# use_ctl = true - -# (normal,left,right) -# bidi_mode = normal - -# bidi_separators = - -# use_combining = true - -# use_dynamic_comb = false - -# (assamese,bengali,gujarati,hindi,kannada,malayalam,oriya,punjabi,roman,tamil,telugu) -# iscii_lang = malayalam - -# big5_buggy = false - -# col_size_of_width_a = 1 - -# (none,cjk,mongol) -# vertical_mode = none - -# use_vertical_cursor = false - -# use_multi_column_char = false - -# receive_string_via_ucs = false - -# auto_detect_encodings = - -# use_auto_detect = false - -# console_encoding = auto - -# -- Font -- -fontsize = 16 - -# font_size_range = 6-30 - -# step_in_changing_font_size = 1 - -use_point_size = true - -# use_variable_column_width = false - -# type_engine = cairo - -# use_anti_alias = true - -# use_cp932_ucs_for_xft = true - -# not_use_unicode_font = false - -# unicode_noconv_areas = - -# only_use_unicode_font = false - -# iso88591_font_for_usascii = false - -# box_drawing_font = noconv - -# compose_dec_special_font = false - -# use_bold_font = true - -# use_italic_font = true - -# leftward_double_drawing = false - -# unicode_full_width_areas = - -# unicode_half_width_areas = - -# use_ot_layout = false - -# ot_script = latn - -# ot_features = liga,clig,dlig,hlig,rlig - -# emoji_path = - -# -- Appearance -- -# use_transbg = false - -# alpha = 255 - -# (8,16,24,32) -# depth = 0 - -use_scrollbar = false - -# scrollbar_mode = left - -# (simple,sample,sample2,sample3,next,motif,athena,mozmodern) -# scrollbar_view_name = simple - -fg_color = white - -bg_color = black - -# sb_fg_color = - -# sb_bg_color = - -# cursor_fg_color = - -# cursor_bg_color = - -# bd_color = - -# it_color = - -# ul_color = - -# bl_color = - -# co_color = - -# vt_color_mode = high - -# hide_underline = false - -# underline_offset = 0 - -# baseline_offset = 0 - -# wall_picture = - -# fade_ratio = 100 - -# brightness = 100 - -# contrast = 100 - -# gamma = 100 - -# line_space = 0 - -# letter_space = 0 - -borderless = true - -# blink_cursor = false - -# -- Others -- -# use_xim = true - -# (xim,uim,scim,m17n-lib,ibus,fcitx,wnn,canna,skk,iiimf,none) -# input_method = xim - -# tabsize = 8 - -# logsize = 128 - -# word_separators = " ,.:;/@" - -# regard_uri_as_word = false - -# (none,mod1,mod2,mod3,mod4,meta,alt,super,hyper) -mod_meta_key = alt - -# (none,esc,8bit) -mod_meta_mode = esc - -# (none,sound,visual,sound|visual) -# bel_mode = sound - -# use_urgent_bell = false - -# (none,blend,genuine) -# daemon_mode = none - -# use_extended_scroll_shortcut = false - -# init_str = - -# click_interval = 250 - -# static_backscroll_mode = false - -# exit_backscroll_by_pty = false - -# logging_vt_seq = false - -# (raw,ttyrec) -# vt_seq_format = raw - -# use_clipboard = true - -# logging_msg = true - -# server_list = - -# default_server = - -# always_show_dialog = false - -# ssh_public_key = - -# ssh_private_key = - -# cipher_list = - -# ssh_keepalive_interval = 0 - -# ssh_x11_forwarding = false - -# allow_scp = false - -# ssh_auto_reconnect = false - -# auto_restart = true - -# allow_osc52 = false - -# use_local_echo = false - -# use_alt_buffer = true - -# use_ansi_colors = true - -# allow_change_shortcut = false - -# working_directory = - -# trim_trailing_newline_in_pasting = false - -# broadcast = false - -# ignore_broadcasted_chars = false -conf_menu_path_2 = mlterm-zoom diff --git a/mlterm/.mlterm/msg.log b/mlterm/.mlterm/msg.log @@ -1 +0,0 @@ -Apr 27 10:53:41[5306] Font(id 2d1) width(28) is not matched with standard width(22). diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf @@ -1,7 +0,0 @@ -vo=gpu -ao=pipewire -gpu-context=wayland -screenshot-directory=~/Pictures/screenshots/ - -fullscreen -audio-channels=stereo diff --git a/msmtp/.msmtprc b/msmtp/.msmtprc @@ -1,18 +0,0 @@ -# Set default values for all following accounts. -defaults -auth on -tls on -tls_starttls off -tls_trust_file /etc/ssl/certs/ca-certificates.crt -logfile ~/.msmtp.log - -# Gmail -account posteo -host posteo.de -port 465 -from szymon.mikulicz@posteo.net -user szymon.mikulicz@posteo.net -passwordeval "~/.config/astroid/get_pass.py "https://posteo.de"" - -# Set a default account -account default : posteo diff --git a/neomutt/.config/neomutt/neomuttrc b/neomutt/.config/neomutt/neomuttrc @@ -1,1000 +0,0 @@ -########################################################################## -# 00 - Neomutt configuration -########################################################################## -# ------------------------------------------------------------------------- -# Name: tmpdir -# ------------------------------------------------------------------------- -# This variable allows you to specify where NeoMutt will place its -# temporary files needed for displaying and composing messages. If this -# variable is not set, the environment variable $TMPDIR is used. Failing -# that, then “/tmp” is used. -# ------------------------------------------------------------------------- - -# set tmpdir=/tmp -# ------------------------------------------------------------------------- -# Name: alias_file -# ------------------------------------------------------------------------- -# The default file in which to save aliases created by the -# <create-alias> function. Entries added to this file are encoded in -# the character set specified by $con‐ fig_charset if it is set or the -# current character set otherwise. -# ------------------------------------------------------------------------- - -# set alias_file="~/.neomuttrc" -# set alias_file="~/.neomutt/alias" -set alias_file="~/.config/neomutt/alias" - -# ------------------------------------------------------------------------- -# Note: NeoMutt will not automatically source this file; you must -# explicitly use the “source” command for it to be executed in case this -# option points to a dedicated alias file. -# ------------------------------------------------------------------------- - -# source "~/.neomutt/alias" -source "~/.config/neomutt/alias" -# ------------------------------------------------------------------------- -# Name: query_command -# ------------------------------------------------------------------------- -# This specifies the command NeoMutt will use to make external address -# queries. The string may contain a “%s”, which will be substituted with -# the query string the user types. NeoMutt will add quotes around -# the string substituted for “%s” automatically according to shell quoting -# rules, so you should avoid adding your own. If no “%s” is found in -# the string, NeoMutt will append the user's query to the end of the -# string. See “query” for more information. -# ------------------------------------------------------------------------- - -# set query_command = "/usr/bin/lbdbq '%s'" -set query_command = "notmuch address %s" -set query_format = "%5c %t %a %n %?e?(%e)?" - -########################################################################## -# 01 - Basic personal setup -########################################################################## -# ------------------------------------------------------------------------- -# Name: alternates -# ------------------------------------------------------------------------- -# alternates is used to inform NeoMutt about alternate addresses where you -# receive mail; you can use regular expressions (regex) to specify -# alternate addresses. This affects NeoMutt's idea about messages from -# you, and messages addressed to you. unalternates can be used to write -# exceptions to alternates patterns. To remove a regu‐ lar expression from -# the alternates list, use the unalternates command with exactly the same -# regex or use “*” to remove all entries. The optional -group flag -# causes all of the subsequent regular expressions to be added to or -# removed from the named group. - -alternates s_m@posteo.net -alternates ashymad@posteo.net -alternates czilukim@o2.pl -# ------------------------------------------------------------------------- -# Name: realname -# ------------------------------------------------------------------------- -# This variable specifies what “real” or “personal” name should be used -# when sending mes‐ sages. If not specified, then the user's “real name” -# will be read from /etc/passwd. This option will not be used, if -# “$from” is set. -# ------------------------------------------------------------------------- - -set realname = "Szymon Mikulicz" - - -# ------------------------------------------------------------------------- -# Name: from -# ------------------------------------------------------------------------- -# When set, this variable contains a default “from” address. It can be -# overridden using “my_hdr” (including from a “send-hook”) and -# $reverse_name. This variable is ignored if $use_from is unset. If not -# specified, then it may be read from the environment variable $EMAIL. -# ------------------------------------------------------------------------- - -set from="szymon.mikulicz@posteo.net" -# ------------------------------------------------------------------------- -# Name: alias / unalias -# ------------------------------------------------------------------------- -# alias defines a surrogate key for the given address(es). Each address -# will be resolved into either an email address (user@example.com) or a -# named email address (User Name <user@example.com>). The address -# may be specified in either format, or in the format “user@example.com -# (User Name)”. Note: If you want to create an alias for more than one -# address, you must separate the addresses with a comma (“,”). unalias -# removes the alias corresponding to the given key or all aliases when -# “*” is used as an argument. The optional -group flag causes the -# address(es) to be added to or removed from the named group. -# ------------------------------------------------------------------------- - -# unalias * -# alias Lastname.Firstname Full Name <mailbox@domain.tld> -# alias -group Groupname Lastname.Firstname Full Name <mailbox@domain.tld> -########################################################################## -# 02 - Mailbox and folders -########################################################################## -# ------------------------------------------------------------------------- -# Name: mbox_type -# ------------------------------------------------------------------------- -# The default mailbox type used when creating new folders. May be any of -# “mbox”, “MMDF”, “MH” or “Maildir”. -# ------------------------------------------------------------------------- - -# set mbox_type=mbox -# set mbox_type=Maildir -# ------------------------------------------------------------------------- -# Name: folder -# ------------------------------------------------------------------------- -# Specifies the default location of your mailboxes. A “+” or “=” at the -# beginning of a pathname will be expanded to the value of this -# variable. Note that if you change this variable (from the default) value -# you need to make sure that the assignment occurs before you use “+” -# or “=” for any other variables since expansion takes place when han‐ -# dling the “mailboxes” command. -# ------------------------------------------------------------------------- - -# set folder=~/Mail -# ------------------------------------------------------------------------- -# Name: spoolfile -# ------------------------------------------------------------------------- -# If your spool mailbox is in a non-default place where NeoMutt cannot find -# it, you can specify its location with this variable. If not specified, -# then the environment variables $MAIL and $MAILDIR will be checked. -# ------------------------------------------------------------------------- - -# set spoolfile = "" -# ------------------------------------------------------------------------- -# Name: postponed -# ------------------------------------------------------------------------- -# NeoMutt allows you to indefinitely “postpone sending a message” which -# you are editing. When you choose to postpone a message, NeoMutt saves it -# in the mailbox specified by this variable. Also see the $postpone -# variable. -# ------------------------------------------------------------------------- - -# set postponed = "~/postponed" -# set postponed = "+draft" -# ------------------------------------------------------------------------- -# Name: record -# ------------------------------------------------------------------------- -# This specifies the file into which your outgoing messages should be -# appended. (This is meant as the primary method for saving a copy of your -# messages, but another way to do this is using the “my_hdr” command to -# create a “Bcc:” field with your email address in it.) The value of -# $record is overridden by the $force_name and $save_name variables, and -# the “fcc-hook” command. Also see $copy. -# ------------------------------------------------------------------------- - -# set record = "~/sent" -# set record = "+sent" -# ------------------------------------------------------------------------- -# Name: trash -# ------------------------------------------------------------------------- -# If set, this variable specifies the path of the trash folder where the -# mails marked for deletion will be moved, instead of being irremediably -# purged. NOTE: When you delete a message in the trash folder, it is -# really deleted, so that you have a way to clean the trash. -# ------------------------------------------------------------------------- - -# set trash = "" -# set trash = "+deleted" - -# ------------------------------------------------------------------------- -# Name: mailboxes -# ------------------------------------------------------------------------- -# The mailboxes specifies folders which can receive mail and which will -# be checked for new messages. When changing folders, pressing space will -# cycle through folders with new mail. The named-mailboxes is an -# alternative to mailboxes that allows adding a description for a mailbox. -# NeoMutt can be configured to display the description instead of the -# mailbox path. The unmailboxes command is used to remove a file name -# from the list of folders which can receive mail. If “*” is specified as -# the file name, the list is emptied. -# ------------------------------------------------------------------------- - -# unmailboxes * -# mailboxes +Drafts +Sent +Spam -########################################################################## -# 03 - Compose email -########################################################################## -# ------------------------------------------------------------------------- -# Name: my_hdr / unmy_hdr -# ------------------------------------------------------------------------- -# Using my_hdr, you can define headers which will be added to the messages -# you compose. unmy_hdr will remove the given user-defined headers. -# ------------------------------------------------------------------------- - -# unmy_hdr * -# my_hdr X-Location: Europe, Germany -# ------------------------------------------------------------------------- -# Name: user_agent -# ------------------------------------------------------------------------- -# When set, NeoMutt will add a “User-Agent:” header to outgoing -# messages, indicating which version of NeoMutt was used for composing -# them. -# ------------------------------------------------------------------------- - -# set user_agent - -# ------------------------------------------------------------------------- -# Name: editor -# ------------------------------------------------------------------------- -# This variable specifies which editor is used by NeoMutt. It defaults to -# the value of the $VISUAL, or $EDITOR, environment variable, or to -# the string “vi” if neither of those are set. The $editor string may -# contain a %s escape, which will be replaced by the name of the file to -# be edited. If the %s escape does not appear in $editor, a space and the -# name to be edited are appended. The resulting string is then executed by -# running sh -c 'string' where string is the expansion of $editor described -# above. -# ------------------------------------------------------------------------- - -# set editor = "vi" -# set editor="vim -c 'set spell spelllang=de,en' -c 'set colorcolumn=72' -c 'startinsert' -c 'set tw=7 2 et' -c 'set wrap' '+/^$'" -set editor = "nvim" -# ------------------------------------------------------------------------- -# Name: edit_headers -# ------------------------------------------------------------------------- -# This option allows you to edit the header of your outgoing messages along -# with the body of your message. Although the compose menu may have -# localized header labels, the labels passed to your editor will be -# standard RFC2822 headers, (e.g. To:, Cc:, Subject:). Headers added in -# your editor must also be RFC2822 headers, or one of the pseudo headers -# listed in “edit- header”. NeoMutt will not understand localized header -# labels, just as it would not when parsing an actual email. Note -# that changes made to the References: and Date: headers are ignored for -# interoper‐ ability reasons. -# ------------------------------------------------------------------------- - -# set edit_headers -# ------------------------------------------------------------------------- -# Name: ispell -# ------------------------------------------------------------------------- -# How to invoke ispell (GNU's spell-checking software). -# ------------------------------------------------------------------------- - -# set ispell="ispell" -set ispell="aspell -e -c" -# ------------------------------------------------------------------------- -# Name: attribution -# ------------------------------------------------------------------------- -# This is the string that will precede a message which has been included in -# a reply. For a full listing of defined printf(3)-like sequences see the -# section on $index_format. - -# set attribution = "On %d, %n wrote:" -# set attribution = "Am %{%A}, den %{%x} um %{%X} %{%Z} schrieb %F:" -# ------------------------------------------------------------------------- -# Name: forward_format -# ------------------------------------------------------------------------- -# This variable controls the default subject when forwarding a message. It -# uses the same format sequences as the $index_format variable. -# ------------------------------------------------------------------------- - -# set forward_format = "[%a: %s]" -# ------------------------------------------------------------------------- -# Name: signature -# ------------------------------------------------------------------------- -# Specifies the filename of your signature, which is appended to all -# outgoing messages. If the filename ends with a pipe (“|”), it is -# assumed that filename is a shell command and input should be read from -# its standard output. -# ------------------------------------------------------------------------- - -# set signature ="~/.neomutt/signatur" -# ------------------------------------------------------------------------- -# Name: empty_subject -# ------------------------------------------------------------------------- -# This variable specifies the subject to be used when replying to an email -# with an empty subject. It defaults to "Re: your mail". -# ------------------------------------------------------------------------- - -# set empty_subject = "Re: your mail" - -# ------------------------------------------------------------------------- -# Name: autoedit -# ------------------------------------------------------------------------- -# When set along with $edit_headers, NeoMutt will skip the initial -# send-menu (prompting for subject and recipients) and allow you to -# immediately begin editing the body of your message. The send-menu may -# still be accessed once you have finished editing the body of your -# message. -# -# Note: when this option is set, you cannot use send-hooks that depend on -# the recipients when composing a new (non-reply) message, as the initial -# list of recipients is empty. -# -# Also see $fast_reply. -# ------------------------------------------------------------------------- - -# set autoedit = no - -########################################################################## -# 04 - Crypto -########################################################################## -# ------------------------------------------------------------------------- -# Name: crypt_use_gpgme -# ------------------------------------------------------------------------- -# This variable controls the use of the GPGME-enabled crypto backends. If -# it is set and NeoMutt was built with gpgme support, the gpgme code for -# S/MIME and PGP will be used instead of the classic code. Note that -# you need to set this option in .neomuttrc; it won't have any effect when -# used interactively. Note that the GPGME backend does not support -# creating old-style inline (traditional) PGP encrypted or signed -# messages (see $pgp_autoinline) -# ------------------------------------------------------------------------- - -# set crypt_use_gpgme -# ------------------------------------------------------------------------- -# Name: crypt_use_pka -# ------------------------------------------------------------------------- -# Controls whether NeoMutt uses PKA (see -# http://www.g10code.de/docs/pka-intro.de.pdf) during signature -# verification (only supported by the GPGME backend). -# ------------------------------------------------------------------------- - -# set crypt_use_pka - -# ------------------------------------------------------------------------- -# Name: pgp_default_key -# ------------------------------------------------------------------------- -# This is the default key-pair to use for PGP operations. It will be used -# for encryption (see $postpone_encrypt and $pgp_self_encrypt). It will -# also be used for signing unless $pgp_sign_as is set. The (now -# deprecated) pgp_self_encrypt_as is an alias for this variable, and should -# no longer be used. (PGP only -# ------------------------------------------------------------------------- - -# set pgp_default_key = "0x12345678" -# ------------------------------------------------------------------------- -# Name: pgp_self_encrypt -# ------------------------------------------------------------------------- -# When set, PGP encrypted messages will also be encrypted using the key in -# $pgp_default_key. (PGP only) -# ------------------------------------------------------------------------- - -# set pgp_self_encrypt = yes -# ------------------------------------------------------------------------- -# Name: crypt_autoencrypt -# ------------------------------------------------------------------------- -# Setting this variable will cause NeoMutt to always attempt to PGP encrypt -# outgoing messages. This is probably only useful in connection to the -# “send-hook” command. It can be overridden by use of the pgp menu, -# when encryption is not required or signing is requested as well. If -# $smime_is_default is set, then OpenSSL is used instead to create S/MIME -# messages and settings can be overridden by use of the smime menu instead. -# (Crypto only) -# ------------------------------------------------------------------------- - -# set crypt_autoencrypt = no -# ------------------------------------------------------------------------- -# Name: crypt_autopgp -# ------------------------------------------------------------------------- -# This variable controls whether or not NeoMutt may automatically -# enable PGP encryption/signing for messages. See also -# $crypt_autoencrypt, $crypt_replyencrypt, $crypt_autosign, -# $crypt_replysign and $smime_is_default. -# ------------------------------------------------------------------------- - -# set crypt_autopgp = yes -# ------------------------------------------------------------------------- -# Name: crypt_autosign -# ------------------------------------------------------------------------- -# Setting this variable will cause NeoMutt to always attempt to -# cryptographically sign outgoing messages. This can be overridden by use -# of the pgp menu, when signing is not required or encryp‐ tion is -# requested as well. If $smime_is_default is set, then OpenSSL is used -# instead to create S/MIME messages and settings can be overridden by use -# of the smime menu instead of the pgp menu. (Crypto only) -# ------------------------------------------------------------------------- - -# set crypt_autosign = no -########################################################################## -# 05 - View / Look -########################################################################## -# ------------------------------------------------------------------------- -# Name: index_format -# ------------------------------------------------------------------------- -# -# This variable allows you to customize the message index display to your -# personal taste. -# -# “Format strings” are similar to the strings used in the C function -# printf(3) to format output (see the man page for more details). For an -# explanation of the %? construct, see the status_format description. The -# following sequences are defined in NeoMutt: -# -# %a Address of the author -# %A Reply-to address (if present; otherwise: address of author) -# %b Filename of the original message folder (think mailbox) -# %B The list to which the letter was sent, or else the folder name (%b). -# %C Current message number -# %c Number of characters (bytes) in the message -# %D Date and time of message using date_format and local timezone -# %d Date and time of message using date_format and sender's timezone -# %e Current message number in thread -# %E Number of messages in current thread -# %F Author name, or recipient name if the message is from you -# %f Sender (address + real name), either From: or Return-Path: -# %g Newsgroup name (if compiled with NNTP support) -# %g Message tags (e.g. notmuch tags/imap flags) -# %Gx Individual message tag (e.g. notmuch tags/imap flags) -# %H Spam attribute(s) of this message -# %I Initials of author -# %i Message-id of the current message -# %J Message tags (if present, tree unfolded, and != parent's tags) -# %K The list to which the letter was sent (if any; otherwise: empty) -# %L If an address in the “To:” or “Cc:” header field matches an address Defined by the users “subscribe” command, this displays "To <list-name>", otherwise the same as %F -# %l Number of lines in the message (does not work with maildir, Mh, and possibly IMAP folders) -# %M Number of hidden messages if the thread is collapsed -# %m Total number of message in the mailbox -# %N Message score -# %n Author's real name (or address if missing) -# %O Original save folder where NeoMutt would formerly have Stashed the message: list name or recipient name If not sent to a list -# %P Progress indicator for the built-in pager (how much of the file has been displayed) -# %q Newsgroup name (if compiled with NNTP support) -# %R Comma separated list of “Cc:” recipients -# %r Comma separated list of “To:” recipients -# %S Single character status of the message (“N”/“O”/“D”/“d”/“!”/“r”/“*”) -# %s Subject of the message -# %T The appropriate character from the $to_chars string -# %t “To:” field (recipients) -# %u User (login) name of the author -# %v First name of the author, or the recipient if the message is from you -# %W Name of organization of author (“Organization:” field) -# %x “X-Comment-To:” field (if present and compiled with NNTP support) -# %X Number of MIME attachments (please see the “attachments” section for possible speed effects) -# %Y “X-Label:” field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) “X-Label:” is different from Preceding message's “X-Label:” -# %y “X-Label:” field, if present -# %Z A three character set of message status flags. The first character is new/read/replied flags (“n”/“o”/“r”/“O”/“N”). The second is deleted or encryption flags -# (“D”/“d”/“S”/“P”/“s”/“K”). The third is either tagged/flagged (“*”/“!”), or one of the characters Listed in $to_chars. -# %zc Message crypto flags -# %zs Message status flags -# %zt Message tag flags -# %{fmt} the date and time of the message is converted to sender's time zone, and “fmt” is expanded by the library function strftime(3); a leading bang disables locales -# %[fmt] the date and time of the message is converted to the local time zone, and “fmt” is expanded by the library function strftime(3); a leading bang disables locales -# %(fmt) the local date and time when the message was received. “fmt” is expanded by the library function strftime(3); a leading bang disables locales -# %>X right justify the rest of the string and pad with character “X” -# %|X pad to the end of the line with character “X” -# %*X soft-fill with character “X” as pad -# -# Date format expressions can be constructed based on relative dates. Using the date formatting operators along with nested conditionals, the date format can be modified based on how old a mes‐ -# sage is. See the section on “Conditional Dates” for an explanation and examples “Soft-fill” deserves some explanation: Normal right-justification will print everything to the left of the -# “%>”, displaying padding and whatever lies to the right only if there's room. By contrast, soft-fill gives priority to the right-hand side, guaranteeing space to display it and showing pad‐ -# ding only if there's still room. If necessary, soft-fill will eat text leftwards to make room for rightward text. -# -# Note that these expandos are supported in “save-hook”, “fcc-hook” and “fcc-save-hook”, too. -# ------------------------------------------------------------------------- - -# set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" - -# ------------------------------------------------------------------------- -# Name: status_format -# ------------------------------------------------------------------------- -# Controls the format of the status line displayed in the “index” menu. -# This string is similar to $index_format, but has its own set of -# printf(3)-like sequences: -# -# %b Number of mailboxes with new mail * -# %d Number of deleted messages * -# %f The full pathname of the current mailbox -# %F Number of flagged messages * -# %h Local hostname -# %l Size (in bytes) of the current mailbox * -# %L Size (in bytes) of the messages shown (i.e., which match the current limit) * -# %m The number of messages in the mailbox * -# %M The number of messages shown (i.e., which match the current limit) * -# %n Number of new messages in the mailbox * -# %o Number of old unread messages * -# %p Number of postponed messages * -# %P Percentage of the way through the index -# %r Modified/read-only/won't-write/attach-message indicator, According to $status_chars -# %R Number of read messages * -# %s Current sorting mode ($sort) -# %S Current aux sorting method ($sort_aux) -# %t Number of tagged messages * -# %u Number of unread messages * -# %v NeoMutt version string -# %V Currently active limit pattern, if any * -# %>X Right justify the rest of the string and pad with “X” -# %|X Pad to the end of the line with “X” -# %*X Soft-fill with character “X” as pad -# -# For an explanation of “soft-fill”, see the $index_format documentation. -# -# * = can be optionally printed if nonzero -# -# Some of the above sequences can be used to optionally print a string if -# their value is nonzero. For example, you may only want to see the number -# of flagged messages if such messages exist, # since zero is not -# particularly meaningful. To optionally print a string based upon one of -# the above sequences, the following construct is used: -# -# %?<sequence_char>?<optional_string>? -# -# -# where sequence_char is a character from the table above, and -# optional_string is the string you would like printed if sequence_char is -#nonzero. optional_string may contain other sequences as well as normal -# text, but you may not nest optional strings. -# -# -# Here is an example illustrating how to optionally print the number of new messages in a mailbox: -# -# %?n?%n new messages.? -# -# You can also switch between two strings using the following construct: -# -# %?<sequence_char>?<if_string>&<else_string>? -# -# If the value of sequence_char is non-zero, if_string will be expanded, otherwise else_string will be expanded. -# -# You can force the result of any printf(3)-like sequence to be lowercase -# by prefixing the sequence character with an underscore (“_”) sign. For -# example, if you want to display the local host‐ # name in lowercase, you -# would use: “%_h”. If you prefix the sequence character with a colon -# (“:”) character, NeoMutt will replace any dots in the expansion by -# underscores. This might # be helpful with IMAP folders that don't like -# dots in folder names. -# ------------------------------------------------------------------------- - -# set status_format = "-%r-NeoMutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" - - -# ------------------------------------------------------------------------- -# Name alias_format -# ------------------------------------------------------------------------- -# Specifies the format of the data displayed for the ``alias'' menu. The -# following printf(3)-style sequences are available: -# %a Alias name -# %f Flags - currently, a ``d'' for an alias marked for deletion -# %n Index number -# %r Address which alias expands to -# %t Character which indicates if the alias is tagged for inclusion -# ------------------------------------------------------------------------- - -# set alias_format="%4n %2f %t %-10a %r" -# ------------------------------------------------------------------------- -# Name: reverse_alias -# ------------------------------------------------------------------------- -# This variable controls whether or not NeoMutt will display the ``personal'' -# name from your aliases in the index menu if it finds an alias that -# matches the message's sender. For example, if you have the following -# alias: -# alias juser abd30425@somewhere.net (Joe User) -# -# and then you receive mail which contains the following header: -# From: abd30425@somewhere.net -# -# It would be displayed in the index menu as ``Joe User'' instead of -# ``abd30425@somewhere.net.'' This is useful when the person's e-mail -# address is not human friendly. -# ------------------------------------------------------------------------- - -# set reverse_alias=no -# ------------------------------------------------------------------------- -# Name: sort_alias -# ------------------------------------------------------------------------- -# Specifies how the entries in the ``alias'' menu are sorted. The -# following are legal values: -# - address (sort alphabetically by email address) -# - alias (sort alphabetically by alias name) -# - unsorted (leave in order specified in .neomuttrc) -# ------------------------------------------------------------------------- - -# set sort_alias=alias -# ------------------------------------------------------------------------- -# Name: color -# ------------------------------------------------------------------------- -# color object foreground background -# color { header | body } foreground background regex -# color index-object foreground background pattern -# color compose composeobject foreground background -# -# If your terminal supports color, these commands can be used to assign -# foreground/background combinations to certain objects. The currently -# defined objects are: attach_headers, attachment, body, bold, error, -# hdrdefault, header, index, index_author, index_collapsed, index_date, -# index_flags, index_label, index_number, index_size, index_subject, -# index_tag, index_tags, indicator, markers, message, normal, progress, -# prompt, quoted, quotedN, search, signature, status, tilde, tree, -# underline. -# -# If the sidebar is enabled the following objects are also valid: -# sidebar_divider, sidebar_flagged, sidebar_highlight, sidebar_indicator, -# sidebar_new, sidebar_ordinary, sidebar_spoolfile. -# -# The body and header objects allow you to restrict the colorization to a -# regular expression. The index-object permits you to select colored -# messages by pattern. -# -# The header and body match regex in the header/body of a message, -# index-object can match pattern in the message index. Note that IMAP -# server-side searches (=b, =B, =h) are not supported for color index -# patterns. -# -# Valid colors include: default, black, red, green, yellow, blue, magenta, -# cyan, white, colorN. -# -# The uncolor command can be applied to the index, header and body objects -# only. It removes entries from the list. You must specify the same pattern -# specified in the color command for it to be removed. The pattern “*” is a -# special token which means to clear the color list of all entries. -# -# For further information on colorization, please consult the NeoMutt -# manual. -# ------------------------------------------------------------------------- - -# ------------------------------------------------------------------------- -# Name: sidebar_whitelist / unsidebar_whitelist -# ------------------------------------------------------------------------- -# The sidebar_whitelist command specifies mailboxes that will always be -# displayed in the sidebar, even if $sidebar_new_mail_only is set and the -# mailbox does not contain new mail. -# The unsidebar_whitelist command is used to remove a mailbox from the list -# of whitelisted mailboxes. Use “unsidebar_whitelist *” to remove all -# mailboxes. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_component_depth -# ------------------------------------------------------------------------- -# By default the sidebar will show the mailbox's path, relative to the -# $folder variable. This specifies the number of parent directories to hide -# from display in the sidebar. For example: If a maildir is normally -# displayed in the sidebar as dir1/dir2/dir3/maildir, setting -# sidebar_component_depth=2 will display it as dir3/maildir, having -# truncated the 2 highest directories. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_delim_chars -# ------------------------------------------------------------------------- -# This contains the list of characters which you would like to treat as -# folder separators for displaying paths in the sidebar. Local mail is -# often arranged in directories: `dir1/dir2/mailbox'. -# set sidebar_delim_chars='/' -# IMAP mailboxes are often named: `folder1.folder2.mailbox'. -# ------------------------------------------------------------------------- -# set sidebar_delim_chars='.' -# ------------------------------------------------------------------------- -# Name: sidebar_folder_indent -# ------------------------------------------------------------------------- -# Set this to indent mailboxes in the sidebar. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_divider_char -# ------------------------------------------------------------------------- -# This specifies the characters to be drawn between the sidebar (when -# visible) and the other NeoMutt panels. ASCII and Unicode line-drawing -# characters are supported. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_format -# ------------------------------------------------------------------------- -# This variable allows you to customize the sidebar display. This string is -# similar to $index_format, but has its own set of printf(3)-like -# sequences: -# %B Name of the mailbox -# %S * Size of mailbox (total number of messages) -# %N * Number of unread messages in the mailbox -# %n N if mailbox has new mail, blank otherwise -# %F * Number of Flagged messages in the mailbox -# %! “!” : one flagged message; “!!” : two flagged messages; “n!” : n flagged messages (for n > 2). Otherwise prints nothing. -# %d * @ Number of deleted messages -# %L * @ Number of messages after limiting -# %t * @ Number of tagged messages -# %>X right justify the rest of the string and pad with “X” -# %|X pad to the end of the line with “X” -# %*X soft-fill with character “X” as pad -# * = Can be optionally printed if nonzero @ = Only applicable to the current folder -# -# In order to use %S, %N, %F, and %!, $mail_check_stats must be set. When -# thus set, a suggested value for this option is "%B%?F? [%F]?%* -# %?N?%N/?%S". - -set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" -# ------------------------------------------------------------------------- -# Name: sidebar_indent_string -# ------------------------------------------------------------------------- -# This specifies the string that is used to indent mailboxes in the -# sidebar. It defaults to two spaces. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_new_mail_only -# ------------------------------------------------------------------------- -# When set, the sidebar will only display mailboxes containing new, or -# flagged, mail. -# ------------------------------------------------------------------------- -# Name: sidebar_next_new_wrap -# ------------------------------------------------------------------------- -# When set, the <sidebar-next-new> command will not stop and the end of -# the list of mailboxes, but wrap around to the beginning. The -# <sidebar-prev-new> command is similarly affected, wrapping around to the -# end of the list. -# ------------------------------------------------------------------------- - - -# ------------------------------------------------------------------------- -# Name: sidebar_on_right -# ------------------------------------------------------------------------- -# When set, the sidebar will appear on the right-hand side of the screen. -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_short_path -# ------------------------------------------------------------------------- -# By default the sidebar will show the mailbox's path, relative to the -# $folder variable. Setting sidebar_shortpath=yes will shorten the names -# relative to the previous name. Here's an example: -# -# shortpath=no -# shortpath=yes shortpath=yes, folderindent=yes, indentstr=".." -# fruit fruit fruit -# fruit.apple -# apple ..apple -# fruit.banana -# banana ..banana -# fruit.cherry -# cherry ..cherry -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_sort_method -# ------------------------------------------------------------------------- -# Specifies how to sort entries in the file browser. By default, the -# entries are sorted alphabetically. -# -# Valid values: -# ‐ alpha (alphabetically) -# ‐ count (all message count) -# ‐ flagged (flagged message count) -# ‐ name (alphabetically) -# ‐ new (unread message count) -# ‐ path (alphabetically) -# ‐ unread (unread message count) -# ‐ unsorted -# -# You may optionally use the “reverse-” prefix to specify reverse sorting -# order (example: “set sort_browser=reverse-date”). -# ------------------------------------------------------------------------- -# ------------------------------------------------------------------------- -# Name: sidebar_visible -# ------------------------------------------------------------------------- -# This specifies whether or not to show sidebar. The sidebar shows a list -# of all your mailboxes. -# ------------------------------------------------------------------------- -# -# set sidebar_visible = yes -# ------------------------------------------------------------------------- -# Name: sidebar_width -# ------------------------------------------------------------------------- -# This controls the width of the sidebar. It is measured in screen -# columns. For example: sidebar_width=20 could display 20 ASCII -# characters, or 10 Chinese characters. -# ------------------------------------------------------------------------- -# -# set sidebar_width = 50 - -########################################################################## -# 06 - SMTP -########################################################################## -# ------------------------------------------------------------------------- -# Name: smtp_url -# ------------------------------------------------------------------------- -# Defines the SMTP smarthost where sent messages should relayed for -# delivery. This should take the form of an SMTP URL, e.g.: -# smtp[s]://[user[:pass]@]host[:port] -# where “[...]” denotes an optional part. Setting this variable overrides -# the value of the $sendmail variable. - -# set smtp_url = "" -# ------------------------------------------------------------------------- -# Name: smtp_pass -# ------------------------------------------------------------------------- -# Specifies the password for your SMTP account. If unset, NeoMutt -# will prompt you for your password when you first send mail via SMTP. See -# $smtp_url to configure NeoMutt to send mail via SMTP. -# -# Warning: you should only use this option when you are on a fairly secure -# machine, because the superuser can read your neomuttrc even if you are -# the only one who can read the file. - -# set smtp_pass = "" -# ------------------------------------------------------------------------- -# Name: smtp_authenticators -# ------------------------------------------------------------------------- -# This is a colon-delimited list of authentication methods NeoMutt may -# attempt to use to log in to an SMTP server, in the order NeoMutt should -# try them. Authentication methods are any SASL mechanism, e.g. “plain”, -# “digest-md5”, “gssapi” or “cram-md5”. This option is case-insensitive. -# If it is “unset” (the default) NeoMutt will try all available -# methods, in order from most-secure to least-secure. Support for the -# “plain” mechanism is bundled; other mechanisms are provided by an -# external SASL library (look for +USE_SASL in the output of neomutt -v). -# -# Example: -# set smtp_authenticators="digest-md5:cram-md5" -########################################################################## -# 07 - IMAP -########################################################################## -# ------------------------------------------------------------------------- -# Name: imap_user -# ------------------------------------------------------------------------- -# The name of the user whose mail you intend to access on the IMAP server. -# This variable defaults to your user name on the local machine. - -# set imap_user = "imapuser" - -# ------------------------------------------------------------------------- -# Name: imap_pass -# ------------------------------------------------------------------------- -# Specifies the password for your IMAP account. If unset, NeoMutt will -# prompt you for your password when you invoke the <imap-fetch-mail> -# function or try to open an IMAP folder. -# -# Warning: you should only use this option when you are on a fairly secure -# machine, because the superuser can read your neomuttrc even if you are -# the only one who can read the file. - -# set imap_pass = "imappasswd" - -########################################################################## -# 08 - POP3 -########################################################################## -########################################################################## -# 09 - Notmuch -########################################################################## -# ------------------------------------------------------------------------- -# Name: nm_default_uri -# ------------------------------------------------------------------------- -# This variable specifies the default Notmuch database in format -# notmuch://<absolute path>. - -set nm_default_uri = "notmuch:///home/shyman/.mail" - -# ------------------------------------------------------------------------- -# Name: virtual-mailboxes -# ------------------------------------------------------------------------- - -virtual-mailboxes "INBOX" "notmuch://?query=tag:inbox" -virtual-mailboxes "Trash" "notmuch://?query=tag:deleted" -virtual-mailboxes "Sent" "notmuch://?query=tag:sent" -virtual-mailboxes "Drafts" "notmuch://?query=tag:draft" -virtual-mailboxes "Notes" "notmuch://?query=tag:note" -# virtual-mailboxes "Linux" "notmuch://?query=tag:linux" -# virtual-mailboxes "E-Mails von heute" "notmuch://?query=date:today" -# virtual-mailboxes "E-Mails von gestern" "notmuch://?query=date:yesterday" -# virtual-mailboxes "E-Mails von dieser Woche" "notmuch://?query=date:week.." -# virtual-mailboxes "E-Mails von diesem Monat" "notmuch://?query=date:month.." - -# ------------------------------------------------------------------------- -# Name: nm_record -# ------------------------------------------------------------------------- -# This variable specifies if the NeoMutt record should indexed by notmuch. -# - -# set nm_record = no -# ------------------------------------------------------------------------- -# Name: nm_record_tags -# ------------------------------------------------------------------------- -# This variable specifies the default tags applied to messages stored to -# the NeoMutt record. When set to 0 this variable disable the window -# feature. - -# set nm_record_tags = "-inbox,sent,local" -# ------------------------------------------------------------------------- -# Name: virtual_spoolfile -# ------------------------------------------------------------------------- -# When set, NeoMutt will use the first defined virtual mailbox (see -# virtual-mailboxes) as a spool file. -# ------------------------------------------------------------------------- - -# set virtual_spoolfile = no - -# -------------------------------------------------------------------------- -# FUNCTIONS – shown with an example mapping -# -------------------------------------------------------------------------- -# open a different virtual folder -bind index,pager X change-vfolder -# read entire thread of the current message -bind index,pager + entire-thread -# generate virtual folder from query -bind index,pager \eX vfolder-from-query -# generate virtual folder from query with time window -bind index < vfolder-window-backward -bind index > vfolder-window-forward -# toggle between mailboxes and virtual mailboxes -# bind index,pager ??? sidebar-toggle-virtual - -########################################################################## -# 10 - Hooks -########################################################################## -# ------------------------------------------------------------------------- -# Name: folder-hook -# ------------------------------------------------------------------------- -# When NeoMutt enters a folder which matches regex (or, when regex is -# preceded by an exclamation mark, does not match regex), the given command -# is executed. -# When several folder-hooks match a given mail folder, they are executed in -# the order given in the configuration file. - -# ------------------------------------------------------------------------- -# Name: mbox-hook -# ------------------------------------------------------------------------- -# When NeoMutt changes to a mail folder which matches regex, mailbox will -# be used as the “mbox” folder, i.e. read messages will be moved to that -# folder when the mail folder is left. -# Note that execution of mbox-hooks is dependent on the $move configuration -# variable. If set to “no” (the default), mbox-hooks will not be executed. -# The first matching mbox-hook applies. - -# ------------------------------------------------------------------------- -# Name: message-hook -# ------------------------------------------------------------------------- -# Before NeoMutt displays (or formats for replying or forwarding) a message -# which matches the given pattern (or, when it is preceded by an -# exclamation mark, does not match the pattern), the given command is -# executed. When multiple message-hooks match, they are executed in the -# order in which they occur in the configuration file. - - -# ------------------------------------------------------------------------- -# Name: reply-hook -# ------------------------------------------------------------------------- -# These commands can be used to execute arbitrary configuration commands -# based upon recipients of the message. pattern is used to match the -# message, see section “Message Matching in Hooks” in manual for details. -# command is executed when pattern matches. -# -# reply-hook is matched against the message you are replying to, instead of -# the message you are sending. send-hook is matched against all messages, -# both new and replies. Note, reply-hooks are matched before the -# send-hook, regardless of the order specified in the user's configuration -# file. - -# ------------------------------------------------------------------------- -# Name: send-hook -# ------------------------------------------------------------------------- -# These commands can be used to execute arbitrary configuration commands -# based upon recipients of the message. pattern is used to match the -# message, see section “Message Matching in Hooks” in manual for details. -# command is executed when pattern matches. -# -# reply-hook is matched against the message you are replying to, instead of the -# message you are sending. send-hook is matched against all messages, both new -# and replies. Note, reply-hooks are matched before the send-hook, regardless -# of the order specified in the user's configuration file. -# -# send2-hook is matched every time a message is changed, either by editing -# it, or by using the compose menu to change its recipients or subject. -# send2-hook is executed after send-hook, and can, e.g., be used to set -# parameters such as the $sendmail variable depending on the message's sender -# address. Note, send-hooks are only executed once after getting the initial -# list of recip‐ ients. - - -# ------------------------------------------------------------------------- -# Name: send-hook -# ------------------------------------------------------------------------- -# These commands can be used to execute arbitrary configuration commands -# based upon recipients of the message. pattern is used to match the -# message, see section “Message Matching in Hooks” in manual for details. -# command is executed when pattern matches. -# -# reply-hook is matched against the message you are replying to, instead of the -# message you are sending. send-hook is matched against all messages, both new -# and replies. Note, reply-hooks are matched before the send-hook, regardless -# of the order specified in the user's configuration file. -# -# send2-hook is matched every time a message is changed, either by editing -# it, or by using the compose menu to change its recipients or subject. -# send2-hook is executed after send-hook, and can, e.g., be used to set -# parameters such as the $sendmail variable depending on the message's sender -# address. Note, send-hooks are only executed once after getting the initial -# list of recip‐ ients. - - -# ------------------------------------------------------------------------- -# Name: crypt-hook -# ------------------------------------------------------------------------- -# The crypt-hook command provides a method by which you can specify the ID of -# the public key to be used when encrypting messages to a certain recipient. -# The meaning of keyid is to be taken broadly: This can be a different -# email address, a numerical keyid, or even just an arbitrary search string. -# You may use multiple crypt-hooks with the same regex; multiple matching -# crypt-hooks result in the use of multiple keyids for a recipient. -# ------------------------------------------------------------------------- - diff --git a/notmuch/.notmuch-config b/notmuch/.notmuch-config @@ -1,99 +0,0 @@ -# .notmuch-config - Configuration file for the notmuch mail system -# -# For more information about notmuch, see https://notmuchmail.org - -# Database configuration -# -# The only value supported here is 'path' which should be the top-level -# directory where your mail currently exists and to where mail will be -# delivered in the future. Files should be individual email messages. -# Notmuch will store its database within a sub-directory of the path -# configured here named ".notmuch". -# -[database] -path=/home/shyman/.mail - -# User configuration -# -# Here is where you can let notmuch know how you would like to be -# addressed. Valid settings are -# -# name Your full name. -# primary_email Your primary email address. -# other_email A list (separated by ';') of other email addresses -# at which you receive email. -# -# Notmuch will use the various email addresses configured here when -# formatting replies. It will avoid including your own addresses in the -# recipient list of replies, and will set the From address based on the -# address to which the original email was addressed. -# -[user] -name=Szymon Mikulicz -primary_email=szymon.mikulicz@posteo.de - -# Configuration for "notmuch new" -# -# The following options are supported here: -# -# tags A list (separated by ';') of the tags that will be -# added to all messages incorporated by "notmuch new". -# -# ignore A list (separated by ';') of file and directory names -# that will not be searched for messages by "notmuch new". -# -# NOTE: *Every* file/directory that goes by one of those -# names will be ignored, independent of its depth/location -# in the mail store. -# -[new] -tags=new; -ignore=.mbsyncstate;.uidvalidity - -# Search configuration -# -# The following option is supported here: -# -# exclude_tags -# A ;-separated list of tags that will be excluded from -# search results by default. Using an excluded tag in a -# query will override that exclusion. -# -[search] -exclude_tags=deleted;spam; - -# Maildir compatibility configuration -# -# The following option is supported here: -# -# synchronize_flags Valid values are true and false. -# -# If true, then the following maildir flags (in message filenames) -# will be synchronized with the corresponding notmuch tags: -# -# Flag Tag -# ---- ------- -# D draft -# F flagged -# P passed -# R replied -# S unread (added when 'S' flag is not present) -# -# The "notmuch new" command will notice flag changes in filenames -# and update tags, while the "notmuch tag" and "notmuch restore" -# commands will notice tag changes and update flags in filenames -# -[maildir] -synchronize_flags=true - -# Cryptography related configuration -# -# The following *deprecated* option is currently supported: -# -# gpg_path -# binary name or full path to invoke gpg. -# NOTE: In a future build, this option will be ignored. -# Setting $PATH is a better approach. -# -[crypto] -gpg_path=gpg diff --git a/nvidia-xrun/.nvidia-xinitrc b/nvidia-xrun/.nvidia-xinitrc @@ -1,2 +0,0 @@ -#!/bin/sh -exec openbox-session diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim @@ -56,3 +56,8 @@ inoremap <C-v> <C-r>+ vnoremap <C-c> "+y lua require('plugins') + +inoremap <silent><expr> <TAB> + \ pum#visible() ? '<Cmd>call pum#map#insert_relative(+1)<CR>' : + \ (col('.') <= 1 <Bar><Bar> getline('.')[col('.') - 2] =~# '\s') ? + \ '<TAB>' : ddc#map#manual_complete() diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json @@ -0,0 +1,36 @@ +{ + "alpha-nvim": { "branch": "main", "commit": "a9d8fb72213c8b461e791409e7feabb74eb6ce73" }, + "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, + "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, + "ddc-matcher_head": { "branch": "main", "commit": "7a955d2f6a44e39687459f8f3a22f4daa063a981" }, + "ddc-sorter_rank": { "branch": "main", "commit": "eed3cb33b3ae3f9128257fcfb95e0511d1b13891" }, + "ddc-source-around": { "branch": "main", "commit": "68e679ca0b989cfe3300acac9099b893d0675063" }, + "ddc-source-file": { "branch": "main", "commit": "e2386ed1e6739f48d4f3cfea9cc961fb5785480a" }, + "ddc-source-lsp": { "branch": "main", "commit": "352f804c08dbc6ce516234bb97309a5b78a1863f" }, + "ddc-ui-pum": { "branch": "main", "commit": "f7f334380e18af42297468b3cf696794bbfa2652" }, + "ddc.vim": { "branch": "main", "commit": "4a4404d856ed82aec00c4e6d36cab0dd13f7883f" }, + "denops.vim": { "branch": "main", "commit": "1df7a022d6e9cb3f6a3db43235e0f174ccd79e03" }, + "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, + "fzf-lua": { "branch": "main", "commit": "8a79ee54d6216d10b2f153921a12b152be0c1a20" }, + "i3config.vim": { "branch": "master", "commit": "5c753c56c033d3b17e5005a67cdb9653bbb88ba7" }, + "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, + "janet.vim": { "branch": "master", "commit": "a13ab9faad0c1cb11b31bb7f5d528b8668b166bb" }, + "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "lspsaga.nvim": { "branch": "main", "commit": "562d9724e3869ffd1801c572dd149cc9f8d0cc36" }, + "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, + "neogit": { "branch": "master", "commit": "d3890fc3cdf0859845a86b2be306bba01458df1a" }, + "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, + "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, + "nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" }, + "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, + "nvim-transparent": { "branch": "main", "commit": "8ac59883de84e9cd1850ea25cf087031c5ba7d54" }, + "nvim-tree.lua": { "branch": "master", "commit": "f37ebac81164e1445c499cdd6de86e6d8e5d57e4" }, + "nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" }, + "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, + "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, + "pum.vim": { "branch": "main", "commit": "c571869ef143e17e55730b8ce77aea5f5b2a0146" }, + "rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" }, + "telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" }, + "tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "ba133b3e932416e4b9507095731a6d7276878fe8" }, + "vim-wordmotion": { "branch": "master", "commit": "81d9bd298376ab0dc465c85d55afa4cb8d5f47a1" } +} diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua @@ -25,6 +25,23 @@ require('lazy').setup({ end }, + { + "rachartier/tiny-inline-diagnostic.nvim", + event = "VeryLazy", + priority = 1000, + config = function() + require("tiny-inline-diagnostic").setup({ + options = { + multilines = { + enabled = true, + always_show = false, + }, + }, + }) + vim.diagnostic.config({ virtual_text = false }) -- Disable Neovim's default virtual text diagnostics + end, + }, + { 'mboughaba/i3config.vim', ft = {'i3config'}}, { 'janet-lang/janet.vim', ft = {'janet'}}, @@ -42,21 +59,53 @@ require('lazy').setup({ } }, - { "nvimdev/guard.nvim", - dependencies = { - 'nvimdev/guard-collection', + { 'stevearc/conform.nvim', + opts = { + formatters_by_ft = { + c = { "clang-format" }, + cpp = { "clang-format" }, + }, + format_on_save = { + -- These options will be passed to conform.format() + timeout_ms = 500, + lsp_format = "fallback", + }, }, - config = function() - local ft = require('guard.filetype') + }, - ft('cpp'):fmt('clang-format') - ft('c'):fmt('clang-format') + { + "folke/noice.nvim", + event = "VeryLazy", + opts = { + lsp = { + -- override markdown rendering so that **cmp** and other plugins use **Treesitter** + override = { + ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + ["vim.lsp.util.stylize_markdown"] = true, + ["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp + }, + }, + -- you can enable a preset for easier configuration + presets = { + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- position the cmdline and popupmenu together + long_message_to_split = true, -- long messages will be sent to a split + inc_rename = false, -- enables an input dialog for inc-rename.nvim + lsp_doc_border = false, -- add a border to hover docs and signature help + }, - vim.g.guard_config = { - fmt_on_save = true, - lsp_as_default_formatter = false, - } - end + cmdline = { + view = "cmdline", + }, + }, + dependencies = { + -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries + "MunifTanjim/nui.nvim", + -- OPTIONAL: + -- `nvim-notify` is only needed, if you want to use the notification view. + -- If not available, we use `mini` as the fallback + "rcarriga/nvim-notify", + } }, { "ibhagwan/fzf-lua", @@ -155,13 +204,12 @@ require('lazy').setup({ } }, - 'vimwiki/vimwiki', - { "lukas-reineke/indent-blankline.nvim", config = function() require("ibl").setup() end }, + 'chaoren/vim-wordmotion', { 'goolord/alpha-nvim', @@ -175,17 +223,18 @@ require('lazy').setup({ { 'neovim/nvim-lspconfig', config = function() - local lspconfig = require("lspconfig"); - if 1 == vim.fn.executable('clangd') then lspconfig.clangd.setup{} end - if 1 == vim.fn.executable('pylsp') then lspconfig.pylsp.setup{} end - if 1 == vim.fn.executable('zls') then lspconfig.zls.setup{} end - if 1 == vim.fn.executable('bashls') then lspconfig.bashls.setup{} end + if 1 == vim.fn.executable('clangd') then vim.lsp.enable('clangd') end + if 1 == vim.fn.executable('pylsp') then vim.lsp.enable('pylsp') end + if 1 == vim.fn.executable('zls') then vim.lsp.enable('zls') end + if 1 == vim.fn.executable('bashls') then vim.lsp.enable('bashls') end + if 1 == vim.fn.executable('beancount-language-server') then vim.lsp.enable('beancount') end end }, { 'Shougo/ddc.vim', dependencies = { - 'Shougo/ddc-ui-native', + 'Shougo/pum.vim', + 'Shougo/ddc-ui-pum', 'vim-denops/denops.vim', 'Shougo/ddc-source-lsp', 'Shougo/ddc-source-around', @@ -195,10 +244,11 @@ require('lazy').setup({ }, lazy = false, config = function() - require("lspconfig").denols.setup({ + vim.lsp.config('denols', { capabilities = require("ddc_source_lsp").make_client_capabilities(), }) - vim.fn['ddc#custom#patch_global']('ui', 'native') + vim.lsp.enable('denols') + vim.fn['ddc#custom#patch_global']('ui', 'pum') vim.fn['ddc#custom#patch_global']({ sources = {'lsp', 'around', 'file'}, sourceOptions = { @@ -224,16 +274,16 @@ require('lazy').setup({ enableAdditionalTextEdit = true, } }) - vim.keymap.set('i', '<Tab>', function() - local col = vim.fn.col('.') - 1 - if vim.fn.pumvisible() == 1 then - return "<C-n>" - elseif col <= 1 or vim.fn.getline('.'):sub(col, col):match('%s') then - return "<TAB>" - else - return vim.cmd("call ddc#map#manual_complete()") - end - end, {expr = true, silent = true}) + -- vim.keymap.set('i', '<Tab>', function() + -- local col = vim.fn.col('.') - 1 + -- if vim.fn["pum#visible"]() then + -- return vim.fn["pum#map#insert_relative"](1) + -- elseif col <= 1 or vim.fn.getline('.'):sub(col, col):match('%s') then + -- return "<TAB>" + -- else + -- return vim.fn["ddc#map#manual_complete"]() + -- end + -- end, {expr = true, silent = true}) vim.fn["ddc#enable"]() end, diff --git a/nyxt/.config/nyxt/auto-config.3.lisp b/nyxt/.config/nyxt/auto-config.3.lisp diff --git a/nyxt/.config/nyxt/config.lisp b/nyxt/.config/nyxt/config.lisp @@ -1,6 +0,0 @@ -;; Load search-engines.lisp after loading nx-search-engines. -#+nyxt-2 -(load-after-system :nx-search-engines (nyxt-init-file "search-engines.lisp")) -#+nyxt-3 -(define-nyxt-user-system-and-load "nyxt-user/search-engines" - :depends-on (:nx-search-engines) :components ("search-engines.lisp")) diff --git a/nyxt/.config/nyxt/search-engines.lisp b/nyxt/.config/nyxt/search-engines.lisp @@ -1,18 +0,0 @@ -(in-package #:nyxt-user) - -;; Define buffer search-engines slot to be a list of several -;; nx-search-engines-provided ones. -(define-configuration (buffer web-buffer) - ((search-engines (list (engines:google :shortcut "gmaps" - :object :maps) - (engines:wordnet :shortcut "wn" - :show-word-frequencies t) - (engines:google :shortcut "g" - :safe-search nil) - (engines:duckduckgo :theme :terminal - :help-improve-duckduckgo nil - :homepage-privacy-tips nil - :privacy-newsletter nil - :newsletter-reminders nil - :install-reminders nil - :install-duckduckgo nil))))) diff --git a/offlineimap/.offlineimap.py b/offlineimap/.offlineimap.py @@ -1,22 +0,0 @@ -import keepasshttp -import sys, os - -def blockPrint(): - sys.stdout = open(os.devnull, 'w') - -def enablePrint(): - sys.stdout = sys.__stdout__ - -session = keepasshttp.start('ofm') - -def get_password( str ): - blockPrint() - passw = session.getLogins( str )[0]['Password'].value - enablePrint() - return passw - -def get_username( str ): - blockPrint() - login = session.getLogins( str )[0]['Login'] - enablePrint() - return login diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc @@ -1,1406 +0,0 @@ -# Offlineimap sample configuration file - -# This file documents *all* possible options and can be quite scary. -# Looking for a quick start? Take a look at offlineimap.conf.minimal. -# More details can be found at http://www.offlineimap.org . - -################################################## -# Overview -################################################## - -# The default configuration file is "~/.offlineimaprc". -# -# Offlineimap ships with a file named "offlineimap.conf" that you should copy to -# that location and then edit. -# -# Offlineimap also ships a file named "offlineimap.conf.minimal" that you can -# also try. It's useful if you want to get started with the most basic feature -# set, and you can read about other features later with "offlineimap.conf". -# -# If you want to be XDG-compatible, you can put your configuration file into -# "$XDG_CONFIG_HOME/offlineimap/config". - -################################################## -# General definitions -################################################## - -# NOTE 1: Settings generally support python interpolation. This means -# values can contain python format strings which refer to other values -# in the same section, or values in a special DEFAULT section. This -# allows you for example to use common settings for multiple accounts: -# -# [Repository Gmail1] -# trashfolder: %(gmailtrashfolder)s -# -# [Repository Gmail2] -# trashfolder: %(gmailtrashfolder)s -# -# [DEFAULT] -# gmailtrashfolder = [Gmail]/Papierkorb -# -# would set the trashfolder setting for your German Gmail accounts. - -# NOTE 2: Above feature implies that any '%' needs to be encoded as '%%' - -# NOTE 3: Any variable that is subject to the environment variables -# ($NAME) and tilde (~username/~) expansions will receive tilde -# expansion first and only after the environment variable will be -# expanded in the resulting string. This behaviour is intentional -# as it coincides with typical shell expansion strategy. - -# NOTE 4: multiple same-named sections. -# The library used to parse the configuration file has known issue when multiple -# sections have the same name. In such case, only the last section is considered. -# It is strongly discouraged to have multiple sections with the same name. -# See https://github.com/OfflineIMAP/offlineimap/issues/143 for more details. - -[general] - -# This specifies where Offlineimap is to store its metadata. -# This directory will be created if it does not already exist. -# -# Tilde and environment variable expansions will be performed. -# -#metadata = ~/.offlineimap - - -# This option stands in the [general] section. -# -# This variable specifies which accounts are defined. Separate them with commas. -# Account names should be alphanumeric only. You will need to specify one -# section per account below. You may not use "general" for an account name. -# -# Always use ASCII characters only. -# -accounts = o2, freeos, agh - - -# This option stands in the [general] section. -# -# Offlineimap can synchronize more than one account at a time. If you want to -# enable this feature, set the below value to something greater than 1. To -# force it to synchronize only one account at a time, set it to 1. -# -# NOTE: if you are using autorefresh and have more than one account, you must -# set this number to be >= to the number of accounts you have; since any given -# sync run never "finishes" due to a timer, you will never sync your additional -# accounts if this is 1. -# -#maxsyncaccounts = 1 - - -# This option stands in the [general] section. -# -# You can specify one or more user interface. Offlineimap will try the first in -# the list, and if it fails, the second, and so forth. -# -# The pre-defined options are: -# Blinkenlights -- A fancy (terminal) interface -# TTYUI -- a text-based (terminal) interface -# Basic -- Noninteractive interface suitable for cron'ing -# Quiet -- Noninteractive interface, generates no output -# except for errors. -# MachineUI -- Interactive interface suitable for machine -# parsing. -# -# See also offlineimapui(7) -# -# You can override this with a command-line option -u. -# -#ui = basic - - -# This option stands in the [general] section. -# -# If you try to synchronize messages to a folder which the IMAP server -# considers read-only, Offlineimap will generate a warning. If you want -# to suppress these warnings, set ignore-readonly to yes. Read-only -# IMAP folders allow reading but not modification, so if you try to -# change messages in the local copy of such a folder, the IMAP server -# will prevent Offlineimap from propagating those changes to the IMAP -# server. Note that ignore-readonly is UNRELATED to the "readonly" -# setting which prevents a repository from being modified at all. -# -#ignore-readonly = no - - -########## Advanced settings - -# This option stands in the [general] section. -# -# You can give a Python source filename here and all config file -# python snippets will be evaluated in the context of that file. -# This allows you to e.g. define helper functions in the Python -# source file and call them from this config file. You can find -# an example of this in the manual. -# -# Tilde and environment variable expansions will be performed. -# -pythonfile = ~/.offlineimap.py - - -# This option is in the [general] section. -# -# By default, Offlineimap will not exit due to a network error until the -# operating system returns an error code. Operating systems can sometimes take -# forever to notice this. Here you can activate a timeout on the socket. This -# timeout applies to individual socket reads and writes, not to an overall sync -# operation. You could perfectly well have a 30s timeout here and your sync -# still take minutes. -# -# Values in the 30-120 second range are reasonable. -# -# The default is to have no timeout beyond the OS. Times are given in seconds. -# -#socktimeout = 60 - - -# This option stands in the [general] section. -# -# By default, Offlineimap will use fsync() to force data out to disk at -# opportune times to ensure consistency. This can, however, reduce performance. -# Users where /home is on SSD (Flash) may also wish to reduce write cycles. -# Therefore, you can disable Offlineimap's use of fsync(). Doing so will come -# at the expense of greater risk of message duplication in the event of a system -# crash or power loss. Default is true. Set it to false to disable fsync. -# -# SQLite honors this option since v7.0.8+. However, those SQLite improvements -# are still EXPERIMENTAL. -# -#fsync = true - - -################################################## -# Mailbox name recorder -################################################## - -#[mbnames] - -# Offlineimap can record your mailbox names in a format you specify. -# You can define the header, each mailbox item, the separator, -# and the footer. Here is an example for Mutt. -# If enabled is yes, all settings except incremental must be specified, even if -# they are just the empty string "". -# -# The header, peritem, sep, and footer are all Python expressions passed -# through eval, so you can (and must) use Python quoting. -# -# The incremental setting controls whether the file is written after each -# account completes or once all synced accounts are complete. This is useful if -# an account is sightly slower than the other. It allows keeping the previous -# file rather than having it partially written. -# This works best with "no" if in one-shot mode started by cron or systemd -# timers. Default: no. -# -# The following hash key are available to the expansion for 'peritem': -# - accountname: the name of the corresponding account; -# - foldername: the name of the folder; -# - localfolders: path to the local directory hosting all Maildir -# folders for the account. -# -# Tilde and environment variable expansions will be performed -# for "filename" knob. -# -#enabled = no -#filename = ~/Mutt/muttrc.mailboxes -#header = "mailboxes " -#peritem = "+%(accountname)s/%(foldername)s" -#sep = " " -#footer = "\n" -#incremental = no - - -# This option stands in the [mbnames] section. -# -# You can also specify a folderfilter. It will apply to the *translated* folder -# name here, and it takes TWO arguments: accountname and foldername. In all -# other ways, it will behave identically to the folderfilter for accounts. -# Please see the folderfilter option for more information and examples. -# -# This filter can be used only to further restrict mbnames to a subset of -# folders that pass the account's folderfilter. -# -# E.g.: with mbnames_folderfilter defined like this in the python file: -# -# def mbnames_folderfilter(accountname, foldername): -# allowed = {'myaccount': ['folderA', 'folderB']} -# if accountname in allowed: -# return foldername in allowed[accountname] -# return False -# -# For correct folderfilter with Microsoft servers, please see -# http://www.offlineimap.org/doc/FAQ.html#exchange-and-office365 -# -#folderfilter = mbnames_folderfilter - - -# This option stands in the [mbnames] section. -# -# You can customize the order in which mailbox names are listed in the generated -# file by specifying a sort_keyfunc, which takes a single dict argument -# containing keys 'accountname' and 'foldername'. This function will be called -# once for each mailbox, and should return a suitable sort key that defines this -# mailbox' position in the custom ordering. -# -# This is useful with e.g. Mutt-sidebar, which uses the mailbox order from the -# generated file when listing mailboxes in the sidebar. -# -# Default setting is: -#sort_keyfunc = lambda d: (d['accountname'], d['foldername']) - - -################################################## -# Accounts -################################################## - -# This is an account definition clause. You'll have one of these for each -# account listed in the "accounts" option in [general] section (above). - -[Account o2] - -# These settings specify the two folders that you will be syncing. -# You'll need to have a "Repository ..." section for each one. - -localrepository = o2-local -remoterepository = o2-remote - - -[Account freeos] - -localrepository = freeos-local -remoterepository = freeos-remote - -[Account agh] - -localrepository = agh-local -remoterepository = agh-remote - - -########## Advanced settings - -# This option stands in the [Account Test] section. -# -# You can have Offlineimap continue running indefinitely, automatically syncing -# your mail periodically. If you want that, specify how frequently to do that -# (in minutes) here. Fractional minutes (ie, 3.25) is allowed. -# -# If you want more than one account concurrently synced in this mode, don't -# forget to set the maxsyncaccounts option accordingly. -# -#autorefresh = 5 - - -# This option stands in the [Account Test] section. -# -# OfflineImap can replace a number of full updates by quick synchronizations. -# This option is ignored if maxage or startdate are used. -# -# It only synchronizes a folder if -# -# 1) a Maildir folder has changed -# -# or -# -# 2) if an IMAP folder has received new messages or had messages deleted, ie -# it does not update if only IMAP flags have changed. -# -# Full updates need to fetch ALL flags for all messages, so this makes quite a -# performance difference (especially if syncing between two IMAP servers). -# -# Specify 0 for never, -1 for always (works even in non-autorefresh mode) -# -# A positive integer <n> to do <n> quick updates before doing another full -# synchronization (requires autorefresh). Updates are always performed after -# <autorefresh> minutes, be they quick or full. -# -#quick = 10 - - -# This option stands in the [Account Test] section. -# -# You can specify a pre and post sync hook to execute a external command. In -# this case a call to imapfilter to filter mail before the sync process starts -# and a custom shell script after the sync completes. -# -# The pre sync script has to complete before a sync to the account will start. -# -#presynchook = imapfilter -c someotherconfig.lua -#postsynchook = notifysync.sh - - -# This option stands in the [Account Test] section. -# -# If you have a limited amount of bandwidth available you can exclude larger -# messages (e.g. those with large attachments etc). If you do this it will -# appear to Offlineimap that these messages do not exist at all. They will not -# be copied, have flags changed etc. For this to work on an IMAP server the -# server must have server side search enabled. This works with Gmail and most -# imap servers (e.g. cyrus etc) -# -# The maximum size should be specified in bytes - e.g. 2000000 for approx 2MB -# -#maxsize = 2000000 - - -# This option stands in the [Account Test] section. -# -# maxage enables you to sync only recent messages. There are two ways to specify -# what "recent" means: if maxage is given as an integer, then only messages from -# the last maxage days will be synced. If maxage is given as a date, then only -# messages later than that date will be synced. -# -# Messages older than the cutoff will not be synced, their flags will not be -# changed, they will not be deleted, etc. For Offlineimap it will be like these -# messages do not exist. This will perform an IMAP search in the case of IMAP or -# Gmail and therefore requires that the server support server side searching. -# -# Known edge cases are described in offlineimap(1). -# -# maxage is allowed only when the local folder is of type Maildir. It can't be -# used with startdate. -# -# The maxage option expects an integer (for the number of days) or a date of the -# form yyyy-mm-dd. -# -#maxage = 3 -#maxage = 2015-04-01 - - -# This option stands in the [Account Test] section. -# -# Maildir file format uses colon (:) separator between uniq name and info. -# Unfortunatelly colon is not allowed character in windows file name. If you -# enable maildir-windows-compatible option, Offlineimap will be able to store -# messages on windows drive, but you will probably loose compatibility with -# other programs working with the maildir. -# -#maildir-windows-compatible = no - - -# This option stands in the [Account Test] section. -# -# Specifies if we want to sync GMail labels with the local repository. -# Effective only for GMail IMAP repositories. -# -# Non-ASCII characters in labels are bad handled or won't work at all. -# -#synclabels = no - - -# This option stands in the [Account Test] section. -# -# Name of the header to use for label storage. Format for the header -# value differs for different headers, because there are some de-facto -# "standards" set by popular clients: -# -# - X-Label or Keywords keep values separated with spaces; for these -# you, obviously, should not have label values that contain spaces; -# -# - X-Keywords use comma (',') as the separator. -# -# To be consistent with the usual To-like headers, for the rest of header -# types we use comma as the separator. -# -# Use ASCII characters only. -# -#labelsheader = X-Keywords - - -# This option stands in the [Account Test] section. -# -# Set of labels to be ignored. Comma-separated list. GMail-specific -# labels all start with backslash ('\'). -# -# Use ASCII characters only. -# -#ignorelabels = \Inbox, \Starred, \Sent, \Draft, \Spam, \Trash, \Important - - -# This option stands in the [Account Test] section. -# -# Offlineimap can strip off some headers when your messages are propagated -# back to the IMAP server. This option carries the comma-separated list -# of headers to trim off. Header name matching is case-sensitive. -# -# This knob is respected only by IMAP-based accounts. Value of labelsheader -# for GMail-based accounts is automatically added to this list, you don't -# need to specify it explicitely. -# -# Use ASCII characters only. -# -#filterheaders = X-Some-Weird-Header - - -# This option stands in the [Account Test] section. -# -# Use proxy connection for this account. Usefull to bypass the GFW in China. -# To specify a proxy connection, join proxy type, host and port with colons. -# Available proxy types are SOCKS5, SOCKS4, HTTP. -# You also need to install PySocks through pip. -# -# Currently, this feature leaks DNS support. -# -#proxy = SOCKS5:IP:9999 - - -# TESTING: This option stands in the [Account Test] section. -# -# Use authproxy connection for this account. Useful to bypass the GFW in China. -# Set this if you wish to use a proxy for authentication but not for IMAP. -# If not explicitly set, this option defaults to use the proxy socket -# (so as to be compatible with prior config files). -# If that is specifically NOT desired, use authproxy = '' -# -# To specify a proxy connection, join proxy type, host and port with colons. -# Available proxy types are SOCKS5, SOCKS4, HTTP. -# You also need to install PySocks through pip or your distro package manager. -# -#authproxy = SOCKS5:IP:9999 - - -[Repository o2-local] - -# Each repository requires a "type" declaration. The types supported for -# local repositories are Maildir, GmailMaildir and IMAP. -# -type = Maildir - - -# This option stands in the [Repository LocalExample] section. -# -# Specify local repository. Your IMAP folders will be synchronized -# to maildirs created under this path. Offlineimap will create the -# maildirs for you as needed. -# -localfolders = ~/.mail/o2 - - -[Repository freeos-local] - -type = Maildir - -localfolders = ~/.mail/freeos - -[Repository agh-local] - -type = Maildir - -localfolders = ~/.mail/agh - -# This option stands in the [Repository LocalExample] section. -# -# You can specify the "folder separator character" used for your Maildir -# folders. It is inserted in-between the components of the tree. If you -# want your folders to be nested directories, set it to "/". 'sep' is -# ignored for IMAP repositories, as it is queried automatically. -# Otherwise, default value is ".". -# -# Don't use quotes. -# -#sep = . - - -# This option stands in the [Repository LocalExample] section. -# -# startdate syncs mails starting from a given date. It applies the date -# restriction to LocalExample only. The remote repository MUST be empty -# at the first sync where this option is used. -# -# Unlike maxage, this is supported for IMAP-IMAP sync. -# -# startdate can't be used with maxage. -# -# The startdate option expects a date in the format yyyy-mm-dd. -# -#startdate = 2015-04-01 - - -# This option stands in the [Repository LocalExample] section. -# -# Propagate deletions from local to remote. Messages deleted in this repository -# won't get deleted on remote if set to "no". Default is yes. -# -# See sync_deletes in the RemoteExample section, too. -# -#sync_deletes = yes - - -# This option stands in the [Repository LocalExample] section. -# -# Some users may not want the atime (last access time) of folders to be -# modified by Offlineimap. If 'restoreatime' is set to yes, Offlineimap -# will restore the atime of the "new" and "cur" folders in each maildir -# folder to their original value after each sync. -# -# In nearly all cases, the default should be fine. -# -#restoreatime = no - - -# This option stands in the [Repository LocalExample] section. -# -# Set modification time of messages basing on the message's "Date" header. This -# option makes sense for the Maildir type, only. -# -# This is useful if you are doing some processing/finding on your Maildir (for -# example, finding messages older than 3 months), without parsing each -# file/message content. -# -# This option is not compatible with -q (quick mode) CLI option for GmailMaildir -# types. -# -# Default: no. -# -#utime_from_header = no - - -# This option stands in the [Repository LocalExample] section. -# -# This option is similar to "utime_from_header" and could be use as a -# complementary feature to keep track of a message date. This option only -# makes sense for the Maildir type. -# -# By default each message is stored in a file which prefix is the fetch -# timestamp and an order rank such as "1446590057_0". In a multithreading -# environment message are fetched in a random order, then you can't trust -# the file name to sort your boxes. -# -# If set to "yes" the file name prefix if build on the message "Date" header -# (which should be present) or the "Received-date" if "Date" is not -# found. If neither "Received-date" nor "Date" is found, the current system -# date is used. Now you can quickly sort your messages using their file -# names. -# -# Used in combination with "utime_from_header" all your message would be in -# order with the correct mtime attribute. -# -#filename_use_mail_timestamp = no - - -# This option stands in the [Repository LocalExample] section. -# -# Map IMAP [user-defined] keywords to lowercase letters, similar to Dovecot's -# format described in http://wiki2.dovecot.org/MailboxFormat/Maildir . This -# option makes sense for the Maildir type, only. -# -# Configuration example: -# customflag_x = some_keyword -# -# With the configuration example above enabled, all IMAP messages that have -# 'some_keyword' in their FLAGS field will have an 'x' in the flags part of the -# maildir filename: -# 1234567890.M20046P2137.mailserver,S=4542,W=4642:2,Sx -# -# Valid fields are customflag_[a-z], valid values are whatever the IMAP server -# allows. -# -# Comparison in Offlineimap is case-sensitive. -# -#customflag_a = some_keyword -#customflag_b = $OtherKeyword -#customflag_c = NonJunk -#customflag_d = ToDo - -#[Repository GmailLocalExample] - -# This type of repository enables syncing of Gmail. All Maildir -# configuration settings are also valid here but the utime_from_header. -# -# This is a separate Repository type from Maildir because it involves -# some extra overhead which sometimes may be significant. We look for -# modified tags in local messages by looking only to the files -# modified since last run. This is usually rather fast, but the first -# time Offlineimap runs with synclabels enabled, it will have to check -# the contents of all individual messages for labels and this may take -# a while. -# -#type = GmailMaildir - - -[Repository o2-remote] - -# The remote repository. We only support IMAP or Gmail here. -# -type = IMAP - - -# This option stands in the [Repository RemoteExample] section. -# -# Configure which address family to use for the connection. If not specified, -# AF_UNSPEC is used as a fallback (default). -# -# AF_INET6: -#ipv6 = True -# -# AF_INET: -#ipv6 = False - - -# These options stands in the [Repository RemoteExample] section. -# -# The following can fetch the account credentials via a python expression that -# is parsed from the pythonfile parameter. For example, a function called -# "getcredentials" that parses a file "filename" and returns the account -# details for "hostname". -# -# -#remotehosteval = getcredentials("filename", "hostname", "hostname") -# -# The returned value must be int type. -#remoteporteval = getcredentials("filename", "hostname", "port") -# -# The returned value must be unicode type. -#remoteusereval = getcredentials("filename", "hostname", "user") -# -# The returned value must be unicode type. -#remotepasseval = getcredentials("filename", "hostname", "passwd") - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify the remote hostname. -# -remotehost = poczta.o2.pl - - -# This option stands in the [Repository RemoteExample] section. -# -# Whether or not to use STARTTLS. STARTTLS allows to upgrade a plain connection -# to TLS or SSL after negotiation with the server. While a server might pretend -# to support STARTTLS, the communication might not be properly established or -# the secure tunnel might be broken in some way. In this case you might want to -# disable STARTTLS. Unless you hit issues with STARTTLS, you are strongly -# encouraged to keep STARTTLS enabled. -# -# STARTTLS can be used even if the 'ssl' option is disabled. If you want to -# _force_ STARTTLS, you might need to disable 'ssl'. -# -# Default is yes. -# -#starttls = yes - - -# This option stands in the [Repository RemoteExample] section. -# -# Whether or not to use SSL. -# -# Note: be care to configure the 'remotehost' line with the domain name defined -# in the certificate. E.g., if you trust your provider and want to use the -# certificate it provides on a shared server. Otherwise, Offlineimap will stop -# and say that the domain is not named in the certificate. -# -# Default is yes. -# -#ssl = yes - - -# This option stands in the [Repository RemoteExample] section. -# -# SSL Client certificate (optional). -# -# Tilde and environment variable expansions will be performed. -# -#sslclientcert = /path/to/file.crt - - -# This option stands in the [Repository RemoteExample] section. -# -# SSL Client key (optional). -# -# Tilde and environment variable expansions will be performed. -# -#sslclientkey = /path/to/file.key - - -# This option stands in the [Repository RemoteExample] section. -# -# SSL CA Cert(s) to verify the server cert against (optional). -# No SSL verification is done without this option. If it is -# specified, the CA Cert(s) need to verify the Server cert AND -# match the hostname (* wildcard allowed on the left hand side) -# The certificate should be in PEM format. -# -# Tilde and environment variable expansions will be performed. -# -# Special value OS-DEFAULT makes Offlineimap to automatically -# determine system-wide location of standard trusted CA roots file -# for known OS distributions and use the first bundle encountered -# (if any). If no system-wide CA bundle is found, Offlineimap -# will refuse to continue; this is done to prevent creation -# of false security expectations ("I had configured CA bundle, -# thou certificate verification shalt be present"). -# -# You can also use fingerprint verification via cert_fingerprint. -# See below for more verbose explanation. -# -sslcacertfile = /etc/ssl/certs/ca-certificates.crt - -# This option stands in the [Repository RemoteExample] section. -# -# If you connect via SSL/TLS (ssl = yes) and you have no CA certificate -# specified, Offlineimap will refuse to sync as it connects to a server -# with an unknown "fingerprint". If you are sure you connect to the -# correct server, you can then configure the presented server -# fingerprint here. Offlineimap will verify that the server fingerprint -# has not changed on each connect and refuse to connect otherwise. -# -# You can also configure fingerprint validation in addition to -# CA certificate validation above and it will check both: -# Offlineimap fill verify certificate first and if things will be fine, -# fingerprint will be validated. -# -# Multiple fingerprints can be specified, separated by commas. -# -# In Windows, Microsoft uses the term "thumbprint" instead of "fingerprint". -# -# Fingerprints must be in hexadecimal form without leading '0x': -# 40 hex digits like bbfe29cf97acb204591edbafe0aa8c8f914287c9. -# -#cert_fingerprint = <SHA1_of_server_certificate_here>[, <another_SHA1>] - - -# This option stands in the [Repository RemoteExample] section. -# -# Set SSL version to use (optional). -# -# It is best to leave this unset, in which case the correct version will be -# automatically detected. In rare cases, it may be necessary to specify a -# particular version from: tls1, tls1_1, tls1_2, ssl3, ssl23. -# -# tls1_1 and tls1_2 are available with OpenSSL since v1.0.1. -# -# ssl23 automatically selects the highest protocol version that both the client -# and server support. Despite the name, this option can select “TLS” protocols -# as well as “SSL”. -# -# Be aware that a MITM attack can consist in downgrading the protocol version -# which is used upon client/server agreement. So, they might fallback to the -# less secure available protocol. Hence, it is considered more safe to manually -# define the protocol version. -# -# See the configuration option tls_level to disable insecure protocols. -# -#ssl_version = ssl23 - - -# This option stands in the [Repository RemoteExample] section. -# -# TLS support level (optional). -# -# Specify the level of support that should be allowed for this repository. -# Can be used to enable insecure SSL versions as defined by imaplib2. -# See, IETF https://tools.ietf.org/html/rfc6176 to know more. -# -# Supported values are: -# tls_secure, tls_no_ssl, tls_compat (default). -# -# Current mapping: -# - tls_secure: -# - tls1_1 -# - tls1_2 -# - tls_no_ssl: -# - all tls_secure -# - tls1 (less desirable than tls1_1 or higher) -# - tls_compat -# - all tls_no_ssl -# - ssl3 (less desirable than tls1) -# - ssl23 (can fallback up to ssl3) -# -# When tls_level is not set to tls_compat, the ssl_version configuration option -# must be explicitly set. -# -#tls_level = tls_compat - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify the port. If not specified, use a default port. -# -#remoteport = 993 - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify the remote user name. -# -remoteusereval = get_username( 'https://poczta.o2.pl' ) - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify the user to be authorized as. Sometimes we want to -# authenticate with our login/password, but tell the server that we -# really want to be treated as some other user; perhaps server will -# allow us to do that (or maybe not). Some IMAP servers migrate -# account names using this functionality: your credentials remain -# intact, but remote identity changes. -# -# Currently this variable is used only for SASL PLAIN authentication -# mechanism, so consider using auth_mechanisms to prioritize PLAIN -# or even make it the only mechanism to be tried. -# -#remote_identity = authzuser - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify which authentication/authorization mechanisms we should try and the -# order in which Offlineimap will try them. -# -# NOTE: any given mechanism will be tried ONLY if it is supported by the remote -# IMAP server. -# -# Default value is ranged is from strongest to more weak ones. Due to technical -# limitations, if GSSAPI is set, it will be tried first, no matter where it was -# specified in the list. -# -#auth_mechanisms = GSSAPI, XOAUTH2, CRAM-MD5, PLAIN, LOGIN - - -# This option stands in the [Repository RemoteExample] section. -# -# XOAUTH2 authentication (for instance, to use with Gmail). -# -# This option was tested on Gmail only, but should work with type = IMAP for -# compatible servers. -# -# For Gmail (and maybe others), XOAUTH2 requires ssl. This means that STARTTLS -# won't work and that Offlineimap will perform certificate validation. IOW, the -# following configuration is used: -# - sslcacertfile: MUST BE correclty configured -# - ssl = yes (optional, will be used anyway) -# - starttls = no (optional, will be tried but won't work anyway) -# -# Mandatory parameters are "oauth2_client_id", "oauth2_client_secret" and -# either "oauth2_refresh_token" or "oauth2_access_token". XOAUTH2 mechanism -# won't be tried if both oauth2_refresh_token and oauth2_access_token are not -# set. -# -# See below to learn how to get those. -# -# Specify the OAuth2 client id and secret to use for the connection.. -# Here's how to register an OAuth2 client for Gmail, as of 2017-05-15: -# - Go to the Gmail API overview console -# https://console.developers.google.com/apis/api/gmail.googleapis.com/overview -# - Create a new project, name doesn't matter, e.g. 'gmail-sync-bob' -# - In API & Auth, select Credentials -# - Once created, click 'Enable' -# - Click 'Create credentials' in the enabled API overview - -# - In 'Add credentials to your project' select 'Gmail API' as the -# API type, and 'Other UI ...' (not 'Other non-UI ...') for -# 'Where will you be calling the API from?'. For 'What data will -# you be accessing?' select 'User data'. -# - Click 'What credentials do I need?' -# - Create an arbitrary 'Create an OAuth 2.0 client ID', -# e.g. 'gmail-sync-bob-client'. For 'Set up the OAuth 2.0 consent -# screen' select an arbitrary 'Product name shown to users', -# e.g. 'gmail-sync-bob-client' & click 'Continue'. -# - This gives you your client ID displayed on the screen. Click -# 'Download' to get a JSON file that also has the client secret. -# -#oauth2_client_id = YOUR_CLIENT_ID -#oauth2_client_secret = YOUR_CLIENT_SECRET -# -# The return values must be bytes. -#oauth2_client_id_eval = get_client_id("accountname") -#oauth2_client_secret_eval = get_client_secret("accountname") -# -# Specify the refresh token to use for the connection to the mail server. -# Here's an example of a way to get a refresh token: -# - Clone this project: https://github.com/google/gmail-oauth2-tools -# - Type the following command-line in a terminal and follow the instructions -# python python/oauth2.py --generate_oauth2_token \ -# --client_id=YOUR_CLIENT_ID --client_secret=YOUR_CLIENT_SECRET -# - Access token can be obtained using refresh token with command -# python python/oauth2.py --user=YOUR_EMAIL --client_id=YOUR_CLIENT_ID -# --client_secret=YOUR_CLIENT_SECRET --refresh_token=REFRESH_TOKEN -# -# Access tokens have limited lifetimes. If you need access beyond the lifetime -# of a single access token, you should use a refresh token. A refresh token -# allows Offlineimap to obtain new access tokens. -# -# If you want to use a refresh token, make sure you disabled/removed any -# oauth2_access_token option. The access token is downloaded from the URL -# defined in the oauth2_request_url configuration option. -# -# If the type of the remote is IMAP, oauth2_request_url MUST be defined. -# For Gmail, the default URL is https://accounts.google.com/o/oauth2/token. -# -# If you're experiencing issues, please read the "Known issues" section of the -# manual. -# -#oauth2_access_token = ACCESS_TOKEN -#oauth2_request_url = https://accounts.google.com/o/oauth2/token -#oauth2_refresh_token = REFRESH_TOKEN -# -# The returned values must be bytes. -#oauth2_access_token_eval = get_access_token("accountname") -#oauth2_refresh_token_eval = get_refresh_token("accountname") - -########## Passwords - -# There are six ways to specify the password for the IMAP server: -# -# 1. No password at all specified in the config file. -# If a matching entry is found in ~/.netrc (see netrc (5) for -# information) this password will be used. Do note that netrc only -# allows one entry per hostname. If there is no ~/.netrc file but -# there is an /etc/netrc file, the password will instead be taken -# from there. Otherwise you will be prompted for the password when -# Offlineimap starts when using a UI that supports this. -# -# 2. The remote password stored in this file with the remotepass -# option. Save this file with the UTF-8 encoding if your server expect UTF-8 -# encoded password. -# -# Any '%' needs to be encoded as '%%'. Example: -#remotepass = myp%%ssword # Real password is myp%ssword -# -# 3. The remote password stored as a single line in an external file, which is -# referenced by the remotefile option. Must be UTF-8 encoded. Example: -#remotepassfile = ~/Password.IMAP.Account1 -# -# 4. With a preauth tunnel. With this method, you invoke an external -# program that is guaranteed *NOT* to ask for a password, but rather -# to read from stdin and write to stdout an IMAP procotol stream that -# begins life in the PREAUTH state. When you use a tunnel, you do -# NOT specify a user or password (if you do, they'll be ignored.) -# Instead, you specify a preauthtunnel, as this example illustrates -# for Courier IMAP on Debian: -#preauthtunnel = ssh -q imaphost '/usr/bin/imapd ./Maildir' -# -# 5. If you are using Kerberos and have the Python Kerberos package -# installed, you should not specify a remotepass. If the user has a -# valid Kerberos TGT, Offlineimap will figure out the rest all by -# itself, and fall back to password authentication if needed. -# -# 6. Using arbitrary python code. With this method, you invoke a -# function from your pythonfile. To use this method assign the name -# of the function to the variable 'remotepasseval'. Example: -#remotepasseval = get_password("imap.example.net") -# You can also query for the username: -#remoteusereval = get_username("imap.example.net") -# This method can be used to design more elaborate setups, e.g. by -# querying the gnome-keyring via its python bindings. -remotepasseval = get_password( 'https://poczta.o2.pl' ) - - -########## Advanced settings - - -# These options stands in the [Repository RemoteExample] section. -# -# Tunnels. There are two types: -# -# - preauth: they teleport your connection to the remote system -# and you don't need to authenticate yourself there; the sole -# fact that you succeeded to get the tunnel running is enough. -# This tunnel type was explained above in the 'Passwords' section. -# -# - transport: the just provide the transport (probably encrypted) -# to the IMAP server, but you still need to authenticate at the -# IMAP server. -# -# Tunnels are currently working only with IMAP servers and their -# derivatives (GMail currently). Additionally, for GMail accounts -# preauth tunnel settings are ignored: we don't believe that there -# are ways to preauthenticate at Google mail system IMAP servers. -# -# You must choose at most one tunnel type, be wise M'Lord! -# -#preauthtunnel = ssh -q imaphost '/usr/bin/imapd ./Maildir' -#transporttunnel = openssl s_client -host myimap -port 993 -quiet - - -# This option stands in the [Repository RemoteExample] section. -# -# Some IMAP servers need a "reference" which often refers to the "folder root". -# -# This is most commonly needed with UW IMAP, where you might need to specify the -# directory in which your mail is stored. The 'reference' value will be prefixed -# to all folder paths refering to that repository. E.g. accessing folder 'INBOX' -# with "reference = Mail" will try to access Mail/INBOX. -# -# The nametrans and folderfilter functions will apply to the full path, -# including the reference prefix. Most users will not need this. -# -#reference = Mail - - -# This option stands in the [Repository RemoteExample] section. -# -# IMAP defines an encoding for non-ASCII ("international") characters. Enable -# this option if you want to decode them to the nowadays ubiquitous UTF-8. -# -# Note that the IMAP 4rev1 specification (RFC 3501) allows both UTF-8 and -# modified UTF-7 folder names. -# -# WARNING: with this option enabled: -# - compatibility with any other version is NOT GUARANTED (including newer); -# - no support is provided. -# -# This feature was merged because it's small changes in the code. However, this -# might seriously decrease the stability of the program. That's why it will -# likely never be marked stable. The approach is: if it works for you, you're -# lucky and you might choose to go for it. If it doesn't, sorry but this feature -# is known to not work in many cases and it's not available to you. Enabling -# this feature might really be a poor choice for the future since it's not -# supported at all and new releases might break the setup. -# -#decodefoldernames = no - - -# This option stands in the [Repository RemoteExample] section. -# -# In between synchronisations, Offlineimap can monitor mailboxes for new -# messages using the IDLE command. If you want to enable this, specify here the -# folders you wish to monitor. IMAP protocol requires a separate connection for -# each folder monitored in this way, so setting this option will force settings -# for: -# -# - maxconnections: to be at least the number of folders you give -# - holdconnectionopen: to be true -# - keepalive: to be 29 minutes unless you specify otherwise -# - singlethreadperfolder: to be true -# -# The presynchook and postsynchook are executed for each new synchronisation per -# folder. -# -# This feature isn't complete and may well have problems. See the "Known Issues" -# entry in the manual for more details. -# -# This option should return a Python list. For example -# -#idlefolders = ['INBOX', 'INBOX.Alerts'] - - -# This option stands in the [Repository RemoteExample] section. -# -# Offlineimap can use a compressed connection to the IMAP server. -# This can result in faster downloads for some cases. -# -#usecompression = yes - - -# This option stands in the [Repository RemoteExample] section. -# -# Offlineimap can use multiple connections to the server in order -# to perform multiple synchronization actions simultaneously. -# This may place a higher burden on the server. In most cases, -# setting this value to 2 or 3 will speed up the sync, but in some -# cases, it may slow things down. The safe answer is 1. You should -# probably never set it to a value more than 5. -# -#maxconnections = 2 - - -# This option stands in the [Repository RemoteExample] section. -# -# If you want to ensure that only one single thread is used to synchronize each -# folder, set this to 'yes'. If this is set, only one thread will be used to -# copy messages for each folder, but up to maxconnections threads will be used -# overall, copying different folders in parallel. This option is required to -# download in UIDs order. -# -# If this is unset (the default), then up to maxconnections threads are used -# across all currently syncing folders. This option is sightly recommended in -# IMAP/IMAP mode (no maildir). -# -#singlethreadperfolder = no - - -# This option stands in the [Repository RemoteExample] section. -# -# Offlineimap normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. If not specified, the default is -# false. Keeping the connection open means a faster sync start the -# next time and may use fewer server resources on connection, but uses -# more server memory. This setting has no effect if autorefresh is not set. -# -#holdconnectionopen = no - - -# This option stands in the [Repository RemoteExample] section. -# -# If you want to have "keepalives" sent while waiting between syncs, specify the -# amount of time IN SECONDS between keepalives here. Note that sometimes more -# than this amount of time might pass, so don't make it tight. This setting has -# no effect if autorefresh and holdconnectionopen are not both set. -# -#keepalive = 60 - - -# This option stands in the [Repository RemoteExample] section. -# -# Normally, Offlineimap will expunge deleted messages from the server. You can -# disable that if you wish. This means that Offlineimap will mark them deleted -# on the server, but not actually delete them. You must use some other IMAP -# client to delete them if you use this setting; otherwise, the messages will -# just pile up there forever. Therefore, this setting is definitely NOT -# recommended for a long term. -# -# Default is yes. -# -#expunge = no - - -# This option stands in the [Repository RemoteExample] section. -# -# Specify whether to process all mail folders on the server, or only -# those listed as "subscribed". -# -# Default is no. -# -#subscribedonly = no - - -# This option stands in the [Repository RemoteExample] section. -# -# You can specify a folder translator. This must be a eval-able. -# -# Python expression that takes a foldername arg and returns the new value. A -# lambda function is suggested. -# -# WARNING: you MUST construct it so that it NEVER returns the same value for two -# folders, UNLESS the second values are filtered out by folderfilter below. -# Failure to follow this rule will result in undefined behavior. -# -# If you enable nametrans, you will likely need to set the reversed nametrans on -# the other side. See the user documentation for details and use cases. They -# are also online at: http://www.offlineimap.org/doc/nametrans.html -# -# This example below will remove "INBOX." from the leading edge of folders -# (great for Courier IMAP users). -# -#nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername) -# -# Using Courier remotely and want to duplicate its mailbox naming locally? Try -# this: -# -#nametrans = lambda foldername: re.sub('^INBOX\.*', '.', foldername) - - -# This option stands in the [Repository RemoteExample] section. -# -# Determines if folderfilter will be invoked on each run (dynamic folder -# filtering) or filtering status will be determined at startup (default -# behaviour). -# -#dynamic_folderfilter = False - - -# This option stands in the [Repository RemoteExample] section. -# -# You can specify which folders to sync using the folderfilter setting. You can -# provide any python function (e.g. a lambda function) which will be invoked for -# each foldername. If the filter function returns True, the folder will be -# synced, if it returns False, it. -# -# The folderfilter operates on the *UNTRANSLATED* name (before any nametrans -# translation takes place). -# -# Example 1: synchronizing only INBOX and Sent. -# -#folderfilter = lambda foldername: foldername in ['INBOX', 'Sent'] -# -# Example 2: synchronizing everything except Trash. -# -#folderfilter = lambda foldername: foldername not in ['Trash'] -# -# Example 3: Using a regular expression to exclude Trash and all folders -# containing the characters "Del". -# -#folderfilter = lambda foldername: not re.search('(^Trash$|Del)', foldername) -# -# If folderfilter is not specified, ALL remote folders will be synchronized. -# -# You can span multiple lines by indenting the others. (Use backslashes at the -# end when required by Python syntax) For instance: -# -#folderfilter = lambda foldername: foldername in [ -# 'INBOX', 'Sent Mail', -# 'Deleted Items', 'Received'] - - -# This option stands in the [Repository RemoteExample] section. -# -# You can specify folderincludes to include additional folders. It should -# return a Python list. This might be used to include a folder that was -# excluded by your folderfilter rule, to include a folder that your server does -# not specify with its LIST option, or to include a folder that is outside your -# basic reference. -# -# The 'reference' value will not be prefixed to this folder name, even if you -# have specified one. For example: -# -#folderincludes = ['debian.user', 'debian.personal'] - - -# This option stands in the [Repository RemoteExample] section. -# -# If you do not want to have any folders created on this repository, -# set the createfolders variable to False, the default is True. Using -# this feature you can e.g. disable the propagation of new folders to -# the new repository. -# -#createfolders = True - - -# This option stands in the [Repository RemoteExample] section. -# -# Propagate deletions from remote to local. Messages deleted in this repository -# won't get deleted on the local repository if set to "no". Default is yes. -# -# See sync_deletes in the LocalExample section, too. -# -#sync_deletes = yes - - -# This option stands in the [Repository RemoteExample] section. -# -# 'foldersort' determines how folders are sorted. -# -# This affects order of synchronization and mbnames. The expression should -# return -1, 0, or 1, as the default Python cmp() does. The two arguments, x -# and y, are strings representing the names of the folders to be sorted. The -# sorting is applied *AFTER* nametrans, if any. The default is to sort IMAP -# folders alphabetically (case-insensitive). Usually, you should never have to -# modify this. To eg. reverse the sort: -# -#foldersort = lambda x, y: -cmp(x, y) - - -# This option stands in the [Repository RemoteExample] section. -# -# Enable 1-way synchronization. When setting 'readonly' to True, this -# repository will not be modified during synchronization. Usefull to -# e.g. backup an IMAP server. The readonly setting can be applied to any -# type of Repository (Maildir, Imap, etc). -# -# Notice that this does NOT mean that the local Maildir can be used with a -# read-only filesystem When OfflineImap uploads a new email, it is assigned a -# new UID by the remote which is stored in the filename. Otherwise, Offlineimap -# would have no way to map the UID to the file. -# -#readonly = False - - -# This option stands in the [Repository RemoteExample] section. -# -# You can specify a newmail hook to execute an external command upon receipt -# of new mail in the INBOX. -# -# The pythonfile must be set to import any required library. -# -# This example plays a sound file of your chosing when new mail arrives. -# -#newmail_hook = lambda: os.system( -#"cvlc --play-and-stop --play-and-exit /path/to/sound/file.mp3 > /dev/null 2>&1") - - -# This option stands in the [Repository RemoteExample] section. [TESTING] -# -# Operating under extreme network conditions (China) network connectivity -# especially for SSL can be so bad and so slow that absolutely every possible -# kind of connectivity error that can occur does occur. -# -# Rather than have offlineimap exit on errors it may be preferable to have it -# simply retry fetching of messages dozens of times. The alternative is to -# restart offlineimap in a constant loop, which may involve using significant -# CPU cycles (if the repository is large) to load up the UID database again. -# -# This option is best utilised in combination with socktimeout, which catches -# instances of interference by e.g. the GFW at the TCP layer, as well as China -# ISPs simply not coping. -# -# Default value: retrycount = 2 -# -#retrycount = 2 - - -# This option stands in the [Repository RemoteExample] section. -# -# If offlineiamp is having troubles to download some UIDS, it's possible to get -# them ignored in a list. This only ignore the download. -# -# The function must return the list of UIDs (integers), None otherwise. It is -# passed the folder name (using the remote name with the remote separator, -# likely '/'). -# -#copy_ignore_eval = lambda foldername: {'INBOX': [2, 3, 4]}.get(foldername) - - -#[Repository GmailExample] - -# A repository using Gmail's IMAP interface. -# -# Any configuration parameter of "IMAP" type repositories can be used here. -# Only "remoteuser" (or "remoteusereval" ) is mandatory. Default values for -# other parameters are OK, and you should not need fiddle with those. -# -# The Gmail repository provides default values for "remotehost", -# "remoteport", "tunnel" and "ssl". For the defaults we use, see: -# -# http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814 -# -# This means ssl is enabled and must be configured correcly when connecting to -# Gmail. -# -# In addition we provide defaults for "oauth2_request_url", -# "trashfolder" and "spamfolder". -# -# All of the defaults we provide can be overriden. E.g. you can -# override "remotehost"/"remoteport"/"ssl" if you'd like to connect to -# imap.gmail.com via a local stunnel instead of directly. -# -# To enable GMail labels synchronisation, set the option "synclabels" in the -# corresponding "Account" section. -# -# Side note: Gmail will keep the deleted emails in "Gmail\All Mail" unless you -# defined it differently in your online settings. -# -#type = Gmail - - -# This option stands in the [Repository GmailExample] section. -# -# Specify the Gmail user name. This is the only mandatory parameter. -# -#remoteuser = username@gmail.com - - -# This option stands in the [Repository GmailExample] section. -# -# The trash folder name may be different from [Gmail]/Trash due to localization. -# You should look for the localized names of the spam folder too: "spamfolder" -# tunable will help you to override the standard name. -# -# For example on German Gmail, this setting should be: -# -#trashfolder = [Gmail]/Papierkorb - -[Repository freeos-remote] - -type = IMAP - -remotehost = free.os.pl - -sslcacertfile = /etc/ssl/certs/ca-certificates.crt - -remoteusereval = get_username( 'https://free.os.pl' ) - -remotepasseval = get_password( 'https://free.os.pl' ) - -[Repository agh-remote] - -type = IMAP - -remotehost = poczta.agh.edu.pl - -sslcacertfile = /etc/ssl/certs/ca-certificates.crt - -remoteusereval = get_username( 'https://poczta.agh.edu.pl' ) - -remotepasseval = get_password( 'https://poczta.agh.edu.pl' ) diff --git a/openbox/.config/openbox/rc.xml b/openbox/.config/openbox/rc.xml @@ -1,796 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- Do not edit this file, it will be overwritten on install. - Copy the file to $HOME/.config/openbox/ instead. --> -<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> - <resistance> - <strength>10</strength> - <screen_edge_strength>20</screen_edge_strength> - </resistance> - <focus> - <focusNew>yes</focusNew> - <!-- always try to focus new windows when they appear. other rules do - apply --> - <followMouse>no</followMouse> - <!-- move focus to a window when you move the mouse into it --> - <focusLast>yes</focusLast> - <!-- focus the last used window when changing desktops, instead of the one - under the mouse pointer. when followMouse is enabled --> - <underMouse>no</underMouse> - <!-- move focus under the mouse, even when the mouse is not moving --> - <focusDelay>200</focusDelay> - <!-- when followMouse is enabled, the mouse must be inside the window for - this many milliseconds (1000 = 1 sec) before moving focus to it --> - <raiseOnFocus>no</raiseOnFocus> - <!-- when followMouse is enabled, and a window is given focus by moving the - mouse into it, also raise the window --> - </focus> - <placement> - <policy>Smart</policy> - <!-- 'Smart' or 'UnderMouse' --> - <center>yes</center> - <!-- whether to place windows in the center of the free area found or - the top left corner --> - <monitor>Primary</monitor> - <!-- with Smart placement on a multi-monitor system, try to place new windows - on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where - the active window is, 'Primary' - only on the primary monitor --> - <primaryMonitor>1</primaryMonitor> - <!-- The monitor where Openbox should place popup dialogs such as the - focus cycling popup, or the desktop switch popup. It can be an index - from 1, specifying a particular monitor. Or it can be one of the - following: 'Mouse' - where the mouse is, or - 'Active' - where the active window is --> - </placement> - <theme> - <name>Syscrash</name> - <titleLayout>NLIMC</titleLayout> - <!-- - available characters are NDSLIMC, each can occur at most once. - N: window icon - L: window label (AKA title). - I: iconify - M: maximize - C: close - S: shade (roll up/down) - D: omnipresent (on all desktops). - --> - <keepBorder>yes</keepBorder> - <animateIconify>yes</animateIconify> - <font place="ActiveWindow"> - <name>sans</name> - <size>8</size> - <!-- font size in points --> - <weight>bold</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - <font place="InactiveWindow"> - <name>sans</name> - <size>8</size> - <!-- font size in points --> - <weight>bold</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - <font place="MenuHeader"> - <name>sans</name> - <size>9</size> - <!-- font size in points --> - <weight>normal</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - <font place="MenuItem"> - <name>sans</name> - <size>9</size> - <!-- font size in points --> - <weight>normal</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - <font place="ActiveOnScreenDisplay"> - <name>sans</name> - <size>9</size> - <!-- font size in points --> - <weight>bold</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - <font place="InactiveOnScreenDisplay"> - <name>sans</name> - <size>9</size> - <!-- font size in points --> - <weight>bold</weight> - <!-- 'bold' or 'normal' --> - <slant>normal</slant> - <!-- 'italic' or 'normal' --> - </font> - </theme> - <desktops> - <!-- this stuff is only used at startup, pagers allow you to change them - during a session - - these are default values to use when other ones are not already set - by other applications, or saved in your session - - use obconf if you want to change these without having to log out - and back in --> - <number>4</number> - <firstdesk>1</firstdesk> - <names> - <!-- set names up here if you want to, like this: - <name>desktop 1</name> - <name>desktop 2</name> - --> - </names> - <popupTime>875</popupTime> - <!-- The number of milliseconds to show the popup for when switching - desktops. Set this to 0 to disable the popup. --> - </desktops> - <resize> - <drawContents>yes</drawContents> - <popupShow>Nonpixel</popupShow> - <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> - <popupPosition>Center</popupPosition> - <!-- 'Center', 'Top', or 'Fixed' --> - <popupFixedPosition> - <!-- these are used if popupPosition is set to 'Fixed' --> - <x>10</x> - <!-- positive number for distance from left edge, negative number for - distance from right edge, or 'Center' --> - <y>10</y> - <!-- positive number for distance from top edge, negative number for - distance from bottom edge, or 'Center' --> - </popupFixedPosition> - </resize> - <!-- You can reserve a portion of your screen where windows will not cover when - they are maximized, or when they are initially placed. - Many programs reserve space automatically, but you can use this in other - cases. --> - <margins> - <top>0</top> - <bottom>0</bottom> - <left>0</left> - <right>0</right> - </margins> - <dock> - <position>TopLeft</position> - <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> - <floatingX>0</floatingX> - <floatingY>0</floatingY> - <noStrut>no</noStrut> - <stacking>Above</stacking> - <!-- 'Above', 'Normal', or 'Below' --> - <direction>Vertical</direction> - <!-- 'Vertical' or 'Horizontal' --> - <autoHide>no</autoHide> - <hideDelay>300</hideDelay> - <!-- in milliseconds (1000 = 1 second) --> - <showDelay>300</showDelay> - <!-- in milliseconds (1000 = 1 second) --> - <moveButton>Middle</moveButton> - <!-- 'Left', 'Middle', 'Right' --> - </dock> - <keyboard> - <chainQuitKey>C-g</chainQuitKey> - <!-- Keybindings for desktop switching --> - <keybind key="C-A-Left"> - <action name="GoToDesktop"> - <to>left</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="C-A-Right"> - <action name="GoToDesktop"> - <to>right</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="C-A-Up"> - <action name="GoToDesktop"> - <to>up</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="C-A-Down"> - <action name="GoToDesktop"> - <to>down</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="S-A-Left"> - <action name="SendToDesktop"> - <to>left</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="S-A-Right"> - <action name="SendToDesktop"> - <to>right</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="S-A-Up"> - <action name="SendToDesktop"> - <to>up</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="S-A-Down"> - <action name="SendToDesktop"> - <to>down</to> - <wrap>no</wrap> - </action> - </keybind> - <keybind key="W-F1"> - <action name="GoToDesktop"> - <to>1</to> - </action> - </keybind> - <keybind key="W-F2"> - <action name="GoToDesktop"> - <to>2</to> - </action> - </keybind> - <keybind key="W-F3"> - <action name="GoToDesktop"> - <to>3</to> - </action> - </keybind> - <keybind key="W-F4"> - <action name="GoToDesktop"> - <to>4</to> - </action> - </keybind> - <!-- - <keybind key="W-d"> - <action name="ToggleShowDesktop"/> - </keybind> - --> - <!-- Keybindings for windows --> - <keybind key="W-S-Q"> - <action name="Close"/> - </keybind> - <keybind key="A-Escape"> - <action name="Lower"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - </keybind> - <keybind key="A-space"> - <action name="ShowMenu"> - <menu>client-menu</menu> - </action> - </keybind> - <!-- Keybindings for window switching --> - <keybind key="A-Tab"> - <action name="NextWindow"> - <finalactions> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </finalactions> - </action> - </keybind> - <keybind key="A-S-Tab"> - <action name="PreviousWindow"> - <finalactions> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </finalactions> - </action> - </keybind> - <keybind key="C-A-Tab"> - <action name="NextWindow"> - <panels>yes</panels> - <desktop>yes</desktop> - <finalactions> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </finalactions> - </action> - </keybind> - <!-- Keybindings for window switching with the arrow keys --> - <keybind key="W-S-Right"> - <action name="DirectionalCycleWindows"> - <direction>right</direction> - </action> - </keybind> - <keybind key="W-S-Left"> - <action name="DirectionalCycleWindows"> - <direction>left</direction> - </action> - </keybind> - <keybind key="W-S-Up"> - <action name="DirectionalCycleWindows"> - <direction>up</direction> - </action> - </keybind> - <keybind key="W-S-Down"> - <action name="DirectionalCycleWindows"> - <direction>down</direction> - </action> - </keybind> - <!-- Keybindings for running applications --> - <keybind key="W-e"> - <action name="Execute"> - <startupnotify> - <enabled>true</enabled> - <name>Konqueror</name> - </startupnotify> - <command>kfmclient openProfile filemanagement</command> - </action> - </keybind> - <keybind key="W-d"> - <action name="Execute"> - <command>rofi -modi drun -show drun</command> - </action> - </keybind> - <keybind key="W-Return"> - <action name="Execute"> - <command>st</command> - </action> - </keybind> - </keyboard> - <mouse> - <dragThreshold>1</dragThreshold> - <!-- number of pixels the mouse must move before a drag begins --> - <doubleClickTime>500</doubleClickTime> - <!-- in milliseconds (1000 = 1 second) --> - <screenEdgeWarpTime>400</screenEdgeWarpTime> - <!-- Time before changing desktops when the pointer touches the edge of the - screen while moving a window, in milliseconds (1000 = 1 second). - Set this to 0 to disable warping --> - <screenEdgeWarpMouse>false</screenEdgeWarpMouse> - <!-- Set this to TRUE to move the mouse pointer across the desktop when - switching due to hitting the edge of the screen --> - <context name="Frame"> - <mousebind button="A-Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="A-Left" action="Click"> - <action name="Unshade"/> - </mousebind> - <mousebind button="A-Left" action="Drag"> - <action name="Move"/> - </mousebind> - <mousebind button="A-Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="A-Right" action="Drag"> - <action name="Resize"/> - </mousebind> - <mousebind button="A-Middle" action="Press"> - <action name="Lower"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - </mousebind> - <mousebind button="A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="C-A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="C-A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="A-S-Up" action="Click"> - <action name="SendToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="A-S-Down" action="Click"> - <action name="SendToDesktop"> - <to>next</to> - </action> - </mousebind> - </context> - <context name="Titlebar"> - <mousebind button="Left" action="Drag"> - <action name="Move"/> - </mousebind> - <mousebind button="Left" action="DoubleClick"> - <action name="ToggleMaximize"/> - </mousebind> - <mousebind button="Up" action="Click"> - <action name="if"> - <shaded>no</shaded> - <then> - <action name="Shade"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - <action name="Lower"/> - </then> - </action> - </mousebind> - <mousebind button="Down" action="Click"> - <action name="if"> - <shaded>yes</shaded> - <then> - <action name="Unshade"/> - <action name="Raise"/> - </then> - </action> - </mousebind> - </context> - <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Middle" action="Press"> - <action name="Lower"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="ShowMenu"> - <menu>client-menu</menu> - </action> - </mousebind> - </context> - <context name="Top"> - <mousebind button="Left" action="Drag"> - <action name="Resize"> - <edge>top</edge> - </action> - </mousebind> - </context> - <context name="Left"> - <mousebind button="Left" action="Drag"> - <action name="Resize"> - <edge>left</edge> - </action> - </mousebind> - </context> - <context name="Right"> - <mousebind button="Left" action="Drag"> - <action name="Resize"> - <edge>right</edge> - </action> - </mousebind> - </context> - <context name="Bottom"> - <mousebind button="Left" action="Drag"> - <action name="Resize"> - <edge>bottom</edge> - </action> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="ShowMenu"> - <menu>client-menu</menu> - </action> - </mousebind> - </context> - <context name="TRCorner BRCorner TLCorner BLCorner"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Left" action="Drag"> - <action name="Resize"/> - </mousebind> - </context> - <context name="Client"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="Middle" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - </context> - <context name="Icon"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - <action name="ShowMenu"> - <menu>client-menu</menu> - </action> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="ShowMenu"> - <menu>client-menu</menu> - </action> - </mousebind> - </context> - <context name="AllDesktops"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Left" action="Click"> - <action name="ToggleOmnipresent"/> - </mousebind> - </context> - <context name="Shade"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="Left" action="Click"> - <action name="ToggleShade"/> - </mousebind> - </context> - <context name="Iconify"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="Left" action="Click"> - <action name="Iconify"/> - </mousebind> - </context> - <context name="Maximize"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Middle" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Left" action="Click"> - <action name="ToggleMaximize"/> - </mousebind> - <mousebind button="Middle" action="Click"> - <action name="ToggleMaximize"> - <direction>vertical</direction> - </action> - </mousebind> - <mousebind button="Right" action="Click"> - <action name="ToggleMaximize"> - <direction>horizontal</direction> - </action> - </mousebind> - </context> - <context name="Close"> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - <action name="Unshade"/> - </mousebind> - <mousebind button="Left" action="Click"> - <action name="Close"/> - </mousebind> - </context> - <context name="Desktop"> - <mousebind button="Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="C-A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="C-A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="Left" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="Focus"/> - <action name="Raise"/> - </mousebind> - </context> - <context name="Root"> - <!-- Menus --> - <mousebind button="Middle" action="Press"> - <action name="ShowMenu"> - <menu>client-list-combined-menu</menu> - </action> - </mousebind> - <mousebind button="Right" action="Press"> - <action name="ShowMenu"> - <menu>root-menu</menu> - </action> - </mousebind> - </context> - <context name="MoveResize"> - <mousebind button="Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - </context> - </mouse> - <menu> - <!-- You can specify more than one menu file in here and they are all loaded, - just don't make menu ids clash or, well, it'll be kind of pointless --> - <!-- default menu file (or custom one in $HOME/.config/openbox/) --> - <file>menu.xml</file> - <hideDelay>200</hideDelay> - <!-- if a press-release lasts longer than this setting (in milliseconds), the - menu is hidden again --> - <middle>no</middle> - <!-- center submenus vertically about the parent entry --> - <submenuShowDelay>100</submenuShowDelay> - <!-- time to delay before showing a submenu after hovering over the parent - entry. - if this is a negative value, then the delay is infinite and the - submenu will not be shown until it is clicked on --> - <submenuHideDelay>400</submenuHideDelay> - <!-- time to delay before hiding a submenu when selecting another - entry in parent menu - if this is a negative value, then the delay is infinite and the - submenu will not be hidden until a different submenu is opened --> - <showIcons>yes</showIcons> - <!-- controls if icons appear in the client-list-(combined-)menu --> - <manageDesktops>yes</manageDesktops> - <!-- show the manage desktops section in the client-list-(combined-)menu --> - </menu> - <applications> - <!-- - # this is an example with comments through out. use these to make your - # own rules, but without the comments of course. - # you may use one or more of the name/class/role/title/type rules to specify - # windows to match - - <application name="the window's _OB_APP_NAME property (see obxprop)" - class="the window's _OB_APP_CLASS property (see obxprop)" - groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)" - groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)" - role="the window's _OB_APP_ROLE property (see obxprop)" - title="the window's _OB_APP_TITLE property (see obxprop)" - type="the window's _OB_APP_TYPE property (see obxprob).. - (if unspecified, then it is 'dialog' for child windows)"> - # you may set only one of name/class/role/title/type, or you may use more - # than one together to restrict your matches. - - # the name, class, role, and title use simple wildcard matching such as those - # used by a shell. you can use * to match any characters and ? to match - # any single character. - - # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, - # or desktop - - # when multiple rules match a window, they will all be applied, in the - # order that they appear in this list - - - # each rule element can be left out or set to 'default' to specify to not - # change that attribute of the window - - <decor>yes</decor> - # enable or disable window decorations - - <shade>no</shade> - # make the window shaded when it appears, or not - - <position force="no"> - # the position is only used if both an x and y coordinate are provided - # (and not set to 'default') - # when force is "yes", then the window will be placed here even if it - # says you want it placed elsewhere. this is to override buggy - # applications who refuse to behave - <x>center</x> - # a number like 50, or 'center' to center on screen. use a negative number - # to start from the right (or bottom for <y>), ie -50 is 50 pixels from - # the right edge (or bottom). use 'default' to specify using value - # provided by the application, or chosen by openbox, instead. - <y>200</y> - <monitor>1</monitor> - # specifies the monitor in a xinerama setup. - # 1 is the first head, or 'mouse' for wherever the mouse is - </position> - - <size> - # the size to make the window. - <width>20</width> - # a number like 20, or 'default' to use the size given by the application. - # you can use fractions such as 1/2 or percentages such as 75% in which - # case the value is relative to the size of the monitor that the window - # appears on. - <height>30%</height> - </size> - - <focus>yes</focus> - # if the window should try be given focus when it appears. if this is set - # to yes it doesn't guarantee the window will be given focus. some - # restrictions may apply, but Openbox will try to - - <desktop>1</desktop> - # 1 is the first desktop, 'all' for all desktops - - <layer>normal</layer> - # 'above', 'normal', or 'below' - - <iconic>no</iconic> - # make the window iconified when it appears, or not - - <skip_pager>no</skip_pager> - # asks to not be shown in pagers - - <skip_taskbar>no</skip_taskbar> - # asks to not be shown in taskbars. window cycling actions will also - # skip past such windows - - <fullscreen>yes</fullscreen> - # make the window in fullscreen mode when it appears - - <maximized>true</maximized> - # 'Horizontal', 'Vertical' or boolean (yes/no) - </application> - - # end of the example ---> - </applications> -</openbox_config> diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf @@ -1,423 +0,0 @@ -################################# -# Shadows # -################################# - - -# Enabled client-side shadows on windows. Note desktop windows -# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, -# unless explicitly requested using the wintypes option. -# -# shadow = false -shadow = false; - -# The blur radius for shadows, in pixels. (defaults to 12) -# shadow-radius = 12 -#shadow-radius = 7; - -# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) -# shadow-opacity = .75 - -# The left offset for shadows, in pixels. (defaults to -15) -# shadow-offset-x = -15 -#shadow-offset-x = -7; - -# The top offset for shadows, in pixels. (defaults to -15) -# shadow-offset-y = -15 -#shadow-offset-y = -7; - -# Avoid drawing shadows on dock/panel windows. This option is deprecated, -# you should use the *wintypes* option in your config file instead. -# -# no-dock-shadow = false - -# Don't draw shadows on drag-and-drop windows. This option is deprecated, -# you should use the *wintypes* option in your config file instead. -# -# no-dnd-shadow = false - -# Red color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-red = 0 - -# Green color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-green = 0 - -# Blue color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-blue = 0 - -# Do not paint shadows on shaped windows. Note shaped windows -# here means windows setting its shape through X Shape extension. -# Those using ARGB background is beyond our control. -# Deprecated, use -# shadow-exclude = 'bounding_shaped' -# or -# shadow-exclude = 'bounding_shaped && !rounded_corners' -# instead. -# -# shadow-ignore-shaped = '' - -# Specify a list of conditions of windows that should have no shadow. -# -# examples: -# shadow-exclude = "n:e:Notification"; -# -# shadow-exclude = [] -#shadow-exclude = [ -# "name = 'Notification'", -# "class_g = 'Conky'", -# "class_g ?= 'Notify-osd'", -# "class_g = 'Cairo-clock'", -# "_GTK_FRAME_EXTENTS@:c" -#]; - -# Specify a X geometry that describes the region in which shadow should not -# be painted in, such as a dock window region. Use -# shadow-exclude-reg = "x10+0+0" -# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. -# -# shadow-exclude-reg = "" - -# Crop shadow of a window fully on a particular Xinerama screen to the screen. -# xinerama-shadow-crop = false - - -################################# -# Fading # -################################# - - -# Fade windows in/out when opening/closing and when opacity changes, -# unless no-fading-openclose is used. -# fading = false -fading = false - -# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) -# fade-in-step = 0.028 -#fade-in-step = 0.03; - -# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) -# fade-out-step = 0.03 -#fade-out-step = 0.03; - -# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) -# fade-delta = 10 - -# Specify a list of conditions of windows that should not be faded. -# fade-exclude = [] - -# Do not fade on window open/close. -# no-fading-openclose = false - -# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. -# no-fading-destroyed-argb = false - - -################################# -# Transparency / Opacity # -################################# - - -# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) -# inactive-opacity = 1 -#inactive-opacity = 0.8; - -# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) -# frame-opacity = 1.0 -#frame-opacity = 0.7; - -# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) -# menu-opacity = 1.0 - -# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. -# inactive-opacity-override = true -#inactive-opacity-override = false; - -# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -# active-opacity = 1.0 - -# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -# inactive-dim = 0.0 - -# Specify a list of conditions of windows that should always be considered focused. -# focus-exclude = [] -#focus-exclude = [ "class_g = 'Cairo-clock'" ]; - -# Use fixed inactive dim value, instead of adjusting according to window opacity. -# inactive-dim-fixed = 1.0 - -# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, -# like `50:name *= "Firefox"`. picom-trans is recommended over this. -# Note we don't make any guarantee about possible conflicts with other -# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. -# example: -# opacity-rule = [ "80:class_g = 'URxvt'" ]; -# -# opacity-rule = [] - - -################################# -# Background-Blurring # -################################# - - -# Parameters for background blurring, see the *BLUR* section for more information. -# blur-method = -# blur-size = 12 -# -# blur-deviation = false - -# Blur background of semi-transparent / ARGB windows. -# Bad in performance, with driver-dependent behavior. -# The name of the switch may change without prior notifications. -# -blur-background = false - -# Blur background of windows when the window frame is not opaque. -# Implies: -# blur-background -# Bad in performance, with driver-dependent behavior. The name may change. -# -blur-background-frame = false - - -# Use fixed blur strength rather than adjusting according to window opacity. -blur-background-fixed = false - - -# Specify the blur convolution kernel, with the following format: -# example: -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# -# blur-kern = '' -blur-kern = "3x3box"; - - -# Exclude conditions for background blur. -# blur-background-exclude = [] -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; - -################################# -# General Settings # -################################# - -# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. -# daemon = false - -# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. -# `xrender` is the default one. -# -# backend = 'glx' -backend = "glx"; - -# Enable/disable VSync. -# vsync = false -vsync = true - -# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. -# dbus = false - -# Try to detect WM windows (a non-override-redirect window with no -# child that has 'WM_STATE') and mark them as active. -# -# mark-wmwin-focused = false -mark-wmwin-focused = true; - -# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. -# mark-ovredir-focused = false -mark-ovredir-focused = true; - -# Try to detect windows with rounded corners and don't consider them -# shaped windows. The accuracy is not very high, unfortunately. -# -# detect-rounded-corners = false -detect-rounded-corners = true; - -# Detect '_NET_WM_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_OPACITY' of client windows to frame windows. -# -# detect-client-opacity = false -detect-client-opacity = true; - -# Specify refresh rate of the screen. If not specified or 0, picom will -# try detecting this with X RandR extension. -# -# refresh-rate = 60 - -# Limit picom to repaint at most once every 1 / 'refresh_rate' second to -# boost performance. This should not be used with -# vsync drm/opengl/opengl-oml -# as they essentially does sw-opti's job already, -# unless you wish to specify a lower refresh rate than the actual value. -# -# sw-opti = - -# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, -# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, -# provided that the WM supports it. -# -# use-ewmh-active-win = false - -# Unredirect all windows if a full-screen opaque window is detected, -# to maximize performance for full-screen windows. Known to cause flickering -# when redirecting/unredirecting windows. -# -# unredir-if-possible = false - -# Delay before unredirecting the window, in milliseconds. Defaults to 0. -# unredir-if-possible-delay = 0 - -# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. -# unredir-if-possible-exclude = [] - -# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows -# in the same group focused at the same time. -# -# detect-transient = false -detect-transient = true - -# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same -# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if -# detect-transient is enabled, too. -# -# detect-client-leader = false -detect-client-leader = true - -# Resize damaged region by a specific number of pixels. -# A positive value enlarges it while a negative one shrinks it. -# If the value is positive, those additional pixels will not be actually painted -# to screen, only used in blur calculation, and such. (Due to technical limitations, -# with use-damage, those pixels will still be incorrectly painted to screen.) -# Primarily used to fix the line corruption issues of blur, -# in which case you should use the blur radius value here -# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, -# with a 5x5 one you use `--resize-damage 2`, and so on). -# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. -# -# resize-damage = 1 - -# Specify a list of conditions of windows that should be painted with inverted color. -# Resource-hogging, and is not well tested. -# -# invert-color-include = [] - -# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. -# Might cause incorrect opacity when rendering transparent content (but never -# practically happened) and may not work with blur-background. -# My tests show a 15% performance boost. Recommended. -# -# glx-no-stencil = false - -# GLX backend: Avoid rebinding pixmap on window damage. -# Probably could improve performance on rapid window content changes, -# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). -# Recommended if it works. -# -# glx-no-rebind-pixmap = false - -# Disable the use of damage information. -# This cause the whole screen to be redrawn everytime, instead of the part of the screen -# has actually changed. Potentially degrades the performance, but might fix some artifacts. -# The opposing option is use-damage -# -# no-use-damage = false -use-damage = false - -# Use X Sync fence to sync clients' draw calls, to make sure all draw -# calls are finished before picom starts drawing. Needed on nvidia-drivers -# with GLX backend for some users. -# -# xrender-sync-fence = false - -# GLX backend: Use specified GLSL fragment shader for rendering window contents. -# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` -# in the source tree for examples. -# -# glx-fshader-win = '' - -# Force all windows to be painted with blending. Useful if you -# have a glx-fshader-win that could turn opaque pixels transparent. -# -# force-win-blend = false - -# Do not use EWMH to detect fullscreen windows. -# Reverts to checking if a window is fullscreen based only on its size and coordinates. -# -# no-ewmh-fullscreen = false - -# Dimming bright windows so their brightness doesn't exceed this set value. -# Brightness of a window is estimated by averaging all pixels in the window, -# so this could comes with a performance hit. -# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) -# -# max-brightness = 1.0 - -# Make transparent windows clip other windows like non-transparent windows do, -# instead of blending on top of them. -# -# transparent-clipping = false - -# Set the log level. Possible values are: -# "trace", "debug", "info", "warn", "error" -# in increasing level of importance. Case doesn't matter. -# If using the "TRACE" log level, it's better to log into a file -# using *--log-file*, since it can generate a huge stream of logs. -# -# log-level = "debug" -log-level = "warn"; - -# Set the log file. -# If *--log-file* is never specified, logs will be written to stderr. -# Otherwise, logs will to written to the given file, though some of the early -# logs might still be written to the stderr. -# When setting this option from the config file, it is recommended to use an absolute path. -# -# log-file = '/path/to/your/log/file' - -# Show all X errors (for debugging) -# show-all-xerrors = false - -# Write process ID to a file. -# write-pid-path = '/path/to/your/log/file' - -# Window type settings -# -# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: -# "unknown", "desktop", "dock", "toolbar", "menu", "utility", -# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", -# "tooltip", "notification", "combo", and "dnd". -# -# Following per window-type options are available: :: -# -# fade, shadow::: -# Controls window-type-specific shadow and fade settings. -# -# opacity::: -# Controls default opacity of the window type. -# -# focus::: -# Controls whether the window of this type is to be always considered focused. -# (By default, all window types except "normal" and "dialog" has this on.) -# -# full-shadow::: -# Controls whether shadow is drawn under the parts of the window that you -# normally won't be able to see. Useful when the window has parts of it -# transparent, and you want shadows in those areas. -# -# redir-ignore::: -# Controls whether this type of windows should cause screen to become -# redirected again after been unredirected. If you have unredir-if-possible -# set, and doesn't want certain window to cause unnecessary screen redirection, -# you can set this to `true`. -# -#wintypes: -#{ -# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; -# dock = { shadow = false; } -# dnd = { shadow = false; } -# popup_menu = { opacity = 0.8; } -# dropdown_menu = { opacity = 0.8; } -#}; -opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; diff --git a/polybar/.config/polybar/cmus.sh b/polybar/.config/polybar/cmus.sh @@ -1,12 +0,0 @@ -#!/bin/sh -TITLE=$(grep 'tag title ' /tmp/cmus.status | tail -c +11) -ARTIST=$(grep 'tag artist ' /tmp/cmus.status | tail -c +12) -STATE=$(grep 'status ' /tmp/cmus.status | tail -c +8) - -if [ $STATE = 'playing' ]; then - echo "▶ $ARTIST - $TITLE" -elif [ $STATE = 'paused' ]; then - echo "⏸ $ARTIST - $TITLE" -else - echo "■" -fi diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config @@ -1,471 +0,0 @@ -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== - -[colors] -black = #6e6a86 -red = #eb6f92 -green = #9ccfd8 -yellow = #f6c177 -blue = #31748f -magenta = #c4a7e7 -cyan = #ebbcba -white = #e0def4 -altblack = #6e6a86 -altred = #eb6f92 -altgreen = #9ccfd8 -altyellow = #f6c177 -altblue = #31748f -altmagenta = #c4a7e7 -altcyan = #ebbcba -altwhite = #e0def4 - -foreground = #e0def4 -foreground-alt = #f0eeg4 -background = #191724 -background-alt = #292734 - -primary = ${colors.green} -secondary = ${colors.yellow} -alert = ${colors.red} - -[bar/example] -;monitor = HDMI-0 -;monitor = ${env:MONITOR:fallback-value} -width = 100% -height = 20 -;offset-x = 1% -;offset-y = 1% -radius = 0.0 -fixed-center = false -bottom = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = ${colors.red} - -border-size = 0 -border-color = ${colors.white} - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 2 - -font-0 = "Noto Sans Mono:pixelsize=9;1" -font-1 = "Noto Sans Mono CJK JP:pixelsize=9;1" -font-2 = "Siji:pixelsize=10;1" - -modules-left = i3 -modules-center = cmus -modules-right = filesystem memory cpu volume eth xkeyboard date - -tray-position = left -tray-padding = 2 -;tray-background = #0063ff - -;wm-restack = bspwm -wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} - -label-layout = %layout% -label-layout-underline = ${colors.secondary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / -mount-1 = /data - -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline= ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -[module/i3] -type = internal/i3 -format = <label-state> <label-mode> -index-sort = true -wrapping-scroll = false - -; Only show workspaces on the same output as the bar -;pin-workspaces = true - -label-mode-padding = 2 -label-mode-foreground = ${colors.foreground} -label-mode-background = ${colors.primary} - -; focused = Active workspace on focused monitor -label-focused = %index% -label-focused-background = ${module/bspwm.label-focused-background} -label-focused-underline = ${module/bspwm.label-focused-underline} -label-focused-padding = ${module/bspwm.label-focused-padding} - -; unfocused = Inactive workspace on any monitor -label-unfocused = %index% -label-unfocused-padding = ${module/bspwm.label-occupied-padding} - -; visible = Active workspace on unfocused monitor -label-visible = %index% -label-visible-background = ${self.label-focused-background} -label-visible-underline = ${self.label-focused-underline} -label-visible-padding = ${self.label-focused-padding} - -; urgent = Workspace with urgency hint set -label-urgent = %index% -label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-padding = ${module/bspwm.label-urgent-padding} - -[module/cmus] -type = custom/script - -exec = sh ~/.config/polybar/cmus.sh -exec-if = pgrep -x cmus -interval = 1 - -click-left = cmus-remote --pause -click-right = cmus-remote --stop - -[module/mpd] -type = internal/mpd -host = 127.0.0.1 -port = 6600 - -format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - -label-song-maxlen = 50 -label-song-ellipsis = true - -[module/ibacklight] -type = internal/backlight - -card = intel_backlight - -use-actual-brightness = true - -enable-scroll = true - -format = <bar> - -bar-width = 10 -bar-indicator = | -bar-indicator-foreground = ${colors.foreground} -bar-indicator-font = 2 -bar-fill = ─ -bar-fill-font = 2 -bar-empty = ─ -bar-empty-font = 2 -bar-fill-foreground = ${colors.magenta} -bar-empty-foreground = ${colors.foreground} - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground} -format-underline = ${colors.red} -label = %percentage%% - -[module/memory] -type = internal/memory -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground} -format-underline = ${colors.cyan} -label = %percentage_used%% - -[module/wlan] -type = internal/network -interface = wlp0s20f3 -interval = 3.0 - -format-connected = <ramp-signal> <label-connected> -format-connected-underline = ${colors.green} -label-connected = %essid% - -format-disconnected = -;format-disconnected = <label-disconnected> -;format-disconnected-underline = ${self.format-connected-underline} -;label-disconnected = %ifname% disconnected -;label-disconnected-foreground = ${colors.foreground-alt} - -ramp-signal-0 =  -ramp-signal-1 =  -ramp-signal-2 =  -ramp-signal-3 =  -ramp-signal-4 =  -ramp-signal-foreground = ${colors.foreground} - -[module/eth] -type = internal/network -interface = enp4s0 -interval = 3.0 - -format-connected-underline = #55aa55 -format-connected-prefix = " " -format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = %local_ip% - -format-disconnected = -;format-disconnected = <label-disconnected> -;format-disconnected-underline = ${self.format-connected-underline} -;label-disconnected = %ifname% disconnected -;label-disconnected-foreground = ${colors.foreground-alt} -; - -[module/docketh] -type = internal/network -interface = enp60s0u1u3u3 -interval = 3.0 - -format-connected-underline = #55aa55 -format-connected-prefix = " " -format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = %local_ip% - -format-disconnected = -;format-disconnected = <label-disconnected> -;format-disconnected-underline = ${self.format-connected-underline} -;label-disconnected = %ifname% disconnected -;label-disconnected-foreground = ${colors.foreground-alt} -; - -[module/vpn] -type = internal/network -interface = vpn0 -interval = 3.0 - -format-connected-underline = ${colors.green} -format-connected-prefix = " " -format-connected-prefix-foreground = ${colors.foreground} -label-connected = %local_ip% - -format-disconnected = -;format-disconnected = <label-disconnected> -;format-disconnected-underline = ${self.format-connected-underline} -;label-disconnected = %ifname% disconnected -;label-disconnected-foreground = ${colors.foreground-alt} - -[module/date] -type = internal/date -interval = 5 - -date = -date-alt = " %Y-%m-%d" - -time = %H:%M -time-alt = %H:%M:%S - -format-prefix =  -format-prefix-foreground = ${colors.foreground} -format-underline = ${colors.blue} - -label = %date% %time% - -[module/volume] -type = internal/pulseaudio - -format-volume = <label-volume> <bar-volume> -label-volume =  -label-volume-foreground = ${root.foreground} - -format-muted-prefix = " " -format-muted-foreground = ${colors.foreground} -label-muted = |───────── - -bar-volume-width = 10 -bar-volume-foreground-0 = ${colors.green} -bar-volume-foreground-1 = ${colors.green} -bar-volume-foreground-2 = ${colors.green} -bar-volume-foreground-3 = ${colors.green} -bar-volume-foreground-4 = ${colors.green} -bar-volume-foreground-5 = ${colors.yellow} -bar-volume-foreground-6 = ${colors.red} -bar-volume-gradient = false -bar-volume-indicator = | -bar-volume-indicator-font = 2 -bar-volume-fill = ─ -bar-volume-fill-font = 2 -bar-volume-empty = ─ -bar-volume-empty-font = 2 -bar-volume-empty-foreground = ${colors.foreground} - -[module/pulseaudio] -type = internal/pulseaudio - -format-volume = <label-volume> <bar-volume> -label-volume = VOL -label-volume-foreground = ${root.foreground} - -format-muted-prefix = " " -format-muted-foreground = ${colors.foreground-alt} -label-muted = sound muted - -bar-volume-width = 10 -bar-volume-foreground-0 = #55aa55 -bar-volume-foreground-1 = #55aa55 -bar-volume-foreground-2 = #55aa55 -bar-volume-foreground-3 = #55aa55 -bar-volume-foreground-4 = #55aa55 -bar-volume-foreground-5 = #f5a70a -bar-volume-foreground-6 = #ff5555 -bar-volume-gradient = false -bar-volume-indicator = | -bar-volume-indicator-font = 2 -bar-volume-fill = ─ -bar-volume-fill-font = 2 -bar-volume-empty = ─ -bar-volume-empty-font = 2 -bar-volume-empty-foreground = ${colors.foreground-alt} - -[module/pipewire-simple] -type = custom/script -exec = ~/.config/polybar/polybar-scripts/polybar-scripts/pipewire-simple/pipewire-simple.sh -interval = 3 -click-right = exec pavucontrol & -click-left = ~/.config/polybar/polybar-scripts/polybar-scripts/pipewire-simple/pipewire-simple.sh --mute & -scroll-up = ~/.config/polybar/polybar-scripts/polybar-scripts/pipewire-simple/pipewire-simple.sh --up & -scroll-down = ~/.config/polybar/polybar-scripts/polybar-scripts/pipewire-simple/pipewire-simple.sh --down & - -[module/battery0] -type = internal/battery -battery = BAT0 -adapter = ADP0 -full-at = 98 - -format-charging = <animation-charging> <label-charging> -format-charging-underline = ${colors.yellow} - -format-discharging = <ramp-capacity> <label-discharging> -format-discharging-underline = ${self.format-charging-underline} - -format-full-prefix = " " -format-full-prefix-foreground = ${colors.foreground} -format-full-underline = ${self.format-charging-underline} - -ramp-capacity-0 =  -ramp-capacity-1 =  -ramp-capacity-2 =  -ramp-capacity-foreground = ${colors.foreground} - -animation-charging-0 =  -animation-charging-1 =  -animation-charging-2 =  -animation-charging-foreground = ${colors.foreground} -animation-charging-framerate = 750 - -[module/temperature] -type = internal/temperature -thermal-zone = 0 -warn-temperature = 60 - -format = <ramp> <label> -format-underline = #f50a4d -format-warn = <ramp> <label-warn> -format-warn-underline = ${self.format-underline} - -label = %temperature% -label-warn = %temperature% -label-warn-foreground = ${colors.secondary} - -ramp-0 =  -ramp-1 =  -ramp-2 =  -ramp-foreground = ${colors.foreground-alt} - -[module/powermenu] -type = custom/menu - -format-spacing = 1 - -label-open =  -label-open-foreground = ${colors.secondary} -label-close =  cancel -label-close-foreground = ${colors.secondary} -label-separator = | -label-separator-foreground = ${colors.foreground-alt} - -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = poweroff -menu-0-1-exec = menu-open-2 - -menu-1-0 = cancel -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = sudo reboot - -menu-2-0 = power off -menu-2-0-exec = sudo poweroff -menu-2-1 = cancel -menu-2-1-exec = menu-open-0 - -[settings] -screenchange-reload = true -;compositing-background = xor -;compositing-background = screen -;compositing-foreground = source -;compositing-border = over - -[global/wm] -margin-top = 5 -margin-bottom = 5 - -; vim:ft=dosini diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh @@ -1,4 +0,0 @@ -#!/bin/sh -killall polybar -#env MONITOR=$(polybar -m|head -1|sed -e 's/:.*$//g') -exec polybar -r example diff --git a/polybar/.config/polybar/polybar-scripts b/polybar/.config/polybar/polybar-scripts @@ -1 +0,0 @@ -Subproject commit 686f211546b77ced32a8487fe8c2a48f3b59c190 diff --git a/rofi/.config/rofi/config b/rofi/.config/rofi/config @@ -1 +0,0 @@ -rofi.theme: /usr/share/rofi/themes/glue_pro_blue.rasi diff --git a/st/.st/config.h b/st/.st/config.h @@ -1,463 +0,0 @@ -/* See LICENSE file for copyright and license details. */ - -/* - * appearance - * - * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html - */ -static char *font = "Code New Roman:size=14:antialias=true:autohint=true"; -static int borderpx = 2; - -/* - * What program is execed by st depends of these precedence rules: - * 1: program passed with -e - * 2: utmp option - * 3: SHELL environment variable - * 4: value of shell in /etc/passwd - * 5: value of shell in config.h - */ -static char *shell = "/bin/sh"; -char *utmp = NULL; -char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400"; - -/* identification sequence returned in DA and DECID */ -char *vtiden = "\033[?6c"; - -/* Kerning / character bounding-box multipliers */ -static float cwscale = 1.0; -static float chscale = 1.0; - -/* - * word delimiter string - * - * More advanced example: L" `'\"()[]{}" - */ -wchar_t *worddelimiters = L" "; - -/* selection timeouts (in milliseconds) */ -static unsigned int doubleclicktimeout = 300; -static unsigned int tripleclicktimeout = 600; - -/* alt screens */ -int allowaltscreen = 1; - -/* frames per second st should at maximum draw to the screen */ -static unsigned int xfps = 120; -static unsigned int actionfps = 30; - -/* - * blinking timeout (set to 0 to disable blinking) for the terminal blinking - * attribute. - */ -static unsigned int blinktimeout = 800; - -/* - * thickness of underline and bar cursors - */ -static unsigned int cursorthickness = 2; - -/* - * bell volume. It must be a value between -100 and 100. Use 0 for disabling - * it - */ -static int bellvolume = 0; - -/* default TERM value */ -char *termname = "st-256color"; - -/* - * spaces per tab - * - * When you are changing this value, don't forget to adapt the »it« value in - * the st.info and appropriately install the st.info in the environment where - * you use this st version. - * - * it#$tabspaces, - * - * Secondly make sure your kernel is not expanding tabs. When running `stty - * -a` »tab0« should appear. You can tell the terminal to not expand tabs by - * running following command: - * - * stty tabs - */ -unsigned int tabspaces = 8; - -/* Terminal colors (16 first used in escape sequence) */ -static const char *colorname[] = { - /* 8 normal colors */ - "#000000", - "#a80000", - "#00a800", - "#a85400", - "#0000a8", - "#a800a8", - "#00a8a8", - "#a8a8a8", - - /* 8 bright colors */ - "#545454", - "#fc5454", - "#54fc54", - "#fcfc54", - "#5454fc", - "#fc54fc", - "#54fcfc", - "#fcfcfc", - - [255] = 0, - - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", -}; - - -/* - * Default colors (colorname index) - * foreground, background, cursor, reverse cursor - */ -unsigned int defaultfg = 7; -unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; - -/* - * Default shape of cursor - * 2: Block ("█") - * 4: Underline ("_") - * 6: Bar ("|") - * 7: Snowman ("☃") - */ -static unsigned int cursorshape = 2; - -/* - * Default columns and rows numbers - */ - -static unsigned int cols = 80; -static unsigned int rows = 24; - -/* - * Default colour and shape of the mouse cursor - */ -static unsigned int mouseshape = XC_xterm; -static unsigned int mousefg = 7; -static unsigned int mousebg = 0; - -/* - * Color used to display font attributes when fontconfig selected a font which - * doesn't match the ones requested. - */ -static unsigned int defaultattr = 11; - -/* - * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set). - * Note that if you want to use ShiftMask with selmasks, set this to an other - * modifier, set to 0 to not use it. - */ -static uint forcemousemod = ShiftMask; - -/* - * Internal mouse shortcuts. - * Beware that overloading Button1 will disable the selection. - */ -static MouseShortcut mshortcuts[] = { - /* mask button function argument release */ - { XK_ANY_MOD, Button4, kscrollup, {.i = 1}, 0, /* !alt */ -1 }, - { XK_ANY_MOD, Button5, kscrolldown, {.i = 1}, 0, /* !alt */ -1 }, - { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, - { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, - { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, -}; - -/* Internal keyboard shortcuts. */ -#define MODKEY Mod1Mask -#define TERMMOD (ControlMask|ShiftMask) - -static Shortcut shortcuts[] = { - /* mask keysym function argument */ - { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, - { ControlMask, XK_Print, toggleprinter, {.i = 0} }, - { ShiftMask, XK_Print, printscreen, {.i = 0} }, - { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, - { TERMMOD, XK_Prior, zoom, {.f = +1} }, - { TERMMOD, XK_Next, zoom, {.f = -1} }, - { TERMMOD, XK_Home, zoomreset, {.f = 0} }, - { TERMMOD, XK_C, clipcopy, {.i = 0} }, - { TERMMOD, XK_V, clippaste, {.i = 0} }, - { TERMMOD, XK_Y, selpaste, {.i = 0} }, - { ShiftMask, XK_Insert, selpaste, {.i = 0} }, - { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, - { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, - { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, -}; - -/* - * Special keys (change & recompile st.info accordingly) - * - * Mask value: - * * Use XK_ANY_MOD to match the key no matter modifiers state - * * Use XK_NO_MOD to match the key alone (no modifiers) - * appkey value: - * * 0: no value - * * > 0: keypad application mode enabled - * * = 2: term.numlock = 1 - * * < 0: keypad application mode disabled - * appcursor value: - * * 0: no value - * * > 0: cursor application mode enabled - * * < 0: cursor application mode disabled - * - * Be careful with the order of the definitions because st searches in - * this table sequentially, so any XK_ANY_MOD must be in the last - * position for a key. - */ - -/* - * If you want keys other than the X11 function keys (0xFD00 - 0xFFFF) - * to be mapped below, add them to this array. - */ -static KeySym mappedkeys[] = { -1 }; - -/* - * State bits to ignore when matching key or button events. By default, - * numlock (Mod2Mask) and keyboard layout (XK_SWITCH_MOD) are ignored. - */ -static uint ignoremod = Mod2Mask|XK_SWITCH_MOD; - -/* - * This is the huge key array which defines all compatibility to the Linux - * world. Please decide about changes wisely. - */ -static Key key[] = { - /* keysym mask string appkey appcursor */ - { XK_KP_Home, ShiftMask, "\033[2J", 0, -1}, - { XK_KP_Home, ShiftMask, "\033[1;2H", 0, +1}, - { XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1}, - { XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1}, - { XK_KP_Up, XK_ANY_MOD, "\033Ox", +1, 0}, - { XK_KP_Up, XK_ANY_MOD, "\033[A", 0, -1}, - { XK_KP_Up, XK_ANY_MOD, "\033OA", 0, +1}, - { XK_KP_Down, XK_ANY_MOD, "\033Or", +1, 0}, - { XK_KP_Down, XK_ANY_MOD, "\033[B", 0, -1}, - { XK_KP_Down, XK_ANY_MOD, "\033OB", 0, +1}, - { XK_KP_Left, XK_ANY_MOD, "\033Ot", +1, 0}, - { XK_KP_Left, XK_ANY_MOD, "\033[D", 0, -1}, - { XK_KP_Left, XK_ANY_MOD, "\033OD", 0, +1}, - { XK_KP_Right, XK_ANY_MOD, "\033Ov", +1, 0}, - { XK_KP_Right, XK_ANY_MOD, "\033[C", 0, -1}, - { XK_KP_Right, XK_ANY_MOD, "\033OC", 0, +1}, - { XK_KP_Prior, ShiftMask, "\033[5;2~", 0, 0}, - { XK_KP_Prior, XK_ANY_MOD, "\033[5~", 0, 0}, - { XK_KP_Begin, XK_ANY_MOD, "\033[E", 0, 0}, - { XK_KP_End, ControlMask, "\033[J", -1, 0}, - { XK_KP_End, ControlMask, "\033[1;5F", +1, 0}, - { XK_KP_End, ShiftMask, "\033[K", -1, 0}, - { XK_KP_End, ShiftMask, "\033[1;2F", +1, 0}, - { XK_KP_End, XK_ANY_MOD, "\033[4~", 0, 0}, - { XK_KP_Next, ShiftMask, "\033[6;2~", 0, 0}, - { XK_KP_Next, XK_ANY_MOD, "\033[6~", 0, 0}, - { XK_KP_Insert, ShiftMask, "\033[2;2~", +1, 0}, - { XK_KP_Insert, ShiftMask, "\033[4l", -1, 0}, - { XK_KP_Insert, ControlMask, "\033[L", -1, 0}, - { XK_KP_Insert, ControlMask, "\033[2;5~", +1, 0}, - { XK_KP_Insert, XK_ANY_MOD, "\033[4h", -1, 0}, - { XK_KP_Insert, XK_ANY_MOD, "\033[2~", +1, 0}, - { XK_KP_Delete, ControlMask, "\033[M", -1, 0}, - { XK_KP_Delete, ControlMask, "\033[3;5~", +1, 0}, - { XK_KP_Delete, ShiftMask, "\033[2K", -1, 0}, - { XK_KP_Delete, ShiftMask, "\033[3;2~", +1, 0}, - { XK_KP_Delete, XK_ANY_MOD, "\033[P", -1, 0}, - { XK_KP_Delete, XK_ANY_MOD, "\033[3~", +1, 0}, - { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +2, 0}, - { XK_KP_Add, XK_ANY_MOD, "\033Ok", +2, 0}, - { XK_KP_Enter, XK_ANY_MOD, "\033OM", +2, 0}, - { XK_KP_Enter, XK_ANY_MOD, "\r", -1, 0}, - { XK_KP_Subtract, XK_ANY_MOD, "\033Om", +2, 0}, - { XK_KP_Decimal, XK_ANY_MOD, "\033On", +2, 0}, - { XK_KP_Divide, XK_ANY_MOD, "\033Oo", +2, 0}, - { XK_KP_0, XK_ANY_MOD, "\033Op", +2, 0}, - { XK_KP_1, XK_ANY_MOD, "\033Oq", +2, 0}, - { XK_KP_2, XK_ANY_MOD, "\033Or", +2, 0}, - { XK_KP_3, XK_ANY_MOD, "\033Os", +2, 0}, - { XK_KP_4, XK_ANY_MOD, "\033Ot", +2, 0}, - { XK_KP_5, XK_ANY_MOD, "\033Ou", +2, 0}, - { XK_KP_6, XK_ANY_MOD, "\033Ov", +2, 0}, - { XK_KP_7, XK_ANY_MOD, "\033Ow", +2, 0}, - { XK_KP_8, XK_ANY_MOD, "\033Ox", +2, 0}, - { XK_KP_9, XK_ANY_MOD, "\033Oy", +2, 0}, - { XK_Up, ShiftMask, "\033[1;2A", 0, 0}, - { XK_Up, Mod1Mask, "\033[1;3A", 0, 0}, - { XK_Up, ShiftMask|Mod1Mask,"\033[1;4A", 0, 0}, - { XK_Up, ControlMask, "\033[1;5A", 0, 0}, - { XK_Up, ShiftMask|ControlMask,"\033[1;6A", 0, 0}, - { XK_Up, ControlMask|Mod1Mask,"\033[1;7A", 0, 0}, - { XK_Up,ShiftMask|ControlMask|Mod1Mask,"\033[1;8A", 0, 0}, - { XK_Up, XK_ANY_MOD, "\033[A", 0, -1}, - { XK_Up, XK_ANY_MOD, "\033OA", 0, +1}, - { XK_Down, ShiftMask, "\033[1;2B", 0, 0}, - { XK_Down, Mod1Mask, "\033[1;3B", 0, 0}, - { XK_Down, ShiftMask|Mod1Mask,"\033[1;4B", 0, 0}, - { XK_Down, ControlMask, "\033[1;5B", 0, 0}, - { XK_Down, ShiftMask|ControlMask,"\033[1;6B", 0, 0}, - { XK_Down, ControlMask|Mod1Mask,"\033[1;7B", 0, 0}, - { XK_Down,ShiftMask|ControlMask|Mod1Mask,"\033[1;8B",0, 0}, - { XK_Down, XK_ANY_MOD, "\033[B", 0, -1}, - { XK_Down, XK_ANY_MOD, "\033OB", 0, +1}, - { XK_Left, ShiftMask, "\033[1;2D", 0, 0}, - { XK_Left, Mod1Mask, "\033[1;3D", 0, 0}, - { XK_Left, ShiftMask|Mod1Mask,"\033[1;4D", 0, 0}, - { XK_Left, ControlMask, "\033[1;5D", 0, 0}, - { XK_Left, ShiftMask|ControlMask,"\033[1;6D", 0, 0}, - { XK_Left, ControlMask|Mod1Mask,"\033[1;7D", 0, 0}, - { XK_Left,ShiftMask|ControlMask|Mod1Mask,"\033[1;8D",0, 0}, - { XK_Left, XK_ANY_MOD, "\033[D", 0, -1}, - { XK_Left, XK_ANY_MOD, "\033OD", 0, +1}, - { XK_Right, ShiftMask, "\033[1;2C", 0, 0}, - { XK_Right, Mod1Mask, "\033[1;3C", 0, 0}, - { XK_Right, ShiftMask|Mod1Mask,"\033[1;4C", 0, 0}, - { XK_Right, ControlMask, "\033[1;5C", 0, 0}, - { XK_Right, ShiftMask|ControlMask,"\033[1;6C", 0, 0}, - { XK_Right, ControlMask|Mod1Mask,"\033[1;7C", 0, 0}, - { XK_Right,ShiftMask|ControlMask|Mod1Mask,"\033[1;8C",0, 0}, - { XK_Right, XK_ANY_MOD, "\033[C", 0, -1}, - { XK_Right, XK_ANY_MOD, "\033OC", 0, +1}, - { XK_ISO_Left_Tab, ShiftMask, "\033[Z", 0, 0}, - { XK_Return, Mod1Mask, "\033\r", 0, 0}, - { XK_Return, XK_ANY_MOD, "\r", 0, 0}, - { XK_Insert, ShiftMask, "\033[4l", -1, 0}, - { XK_Insert, ShiftMask, "\033[2;2~", +1, 0}, - { XK_Insert, ControlMask, "\033[L", -1, 0}, - { XK_Insert, ControlMask, "\033[2;5~", +1, 0}, - { XK_Insert, XK_ANY_MOD, "\033[4h", -1, 0}, - { XK_Insert, XK_ANY_MOD, "\033[2~", +1, 0}, - { XK_Delete, ControlMask, "\033[M", -1, 0}, - { XK_Delete, ControlMask, "\033[3;5~", +1, 0}, - { XK_Delete, ShiftMask, "\033[2K", -1, 0}, - { XK_Delete, ShiftMask, "\033[3;2~", +1, 0}, - { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0}, - { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0}, - { XK_BackSpace, XK_NO_MOD, "\177", 0, 0}, - { XK_BackSpace, Mod1Mask, "\033\177", 0, 0}, - { XK_Home, ShiftMask, "\033[2J", 0, -1}, - { XK_Home, ShiftMask, "\033[1;2H", 0, +1}, - { XK_Home, XK_ANY_MOD, "\033[H", 0, -1}, - { XK_Home, XK_ANY_MOD, "\033[1~", 0, +1}, - { XK_End, ControlMask, "\033[J", -1, 0}, - { XK_End, ControlMask, "\033[1;5F", +1, 0}, - { XK_End, ShiftMask, "\033[K", -1, 0}, - { XK_End, ShiftMask, "\033[1;2F", +1, 0}, - { XK_End, XK_ANY_MOD, "\033[4~", 0, 0}, - { XK_Prior, ControlMask, "\033[5;5~", 0, 0}, - { XK_Prior, ShiftMask, "\033[5;2~", 0, 0}, - { XK_Prior, XK_ANY_MOD, "\033[5~", 0, 0}, - { XK_Next, ControlMask, "\033[6;5~", 0, 0}, - { XK_Next, ShiftMask, "\033[6;2~", 0, 0}, - { XK_Next, XK_ANY_MOD, "\033[6~", 0, 0}, - { XK_F1, XK_NO_MOD, "\033OP" , 0, 0}, - { XK_F1, /* F13 */ ShiftMask, "\033[1;2P", 0, 0}, - { XK_F1, /* F25 */ ControlMask, "\033[1;5P", 0, 0}, - { XK_F1, /* F37 */ Mod4Mask, "\033[1;6P", 0, 0}, - { XK_F1, /* F49 */ Mod1Mask, "\033[1;3P", 0, 0}, - { XK_F1, /* F61 */ Mod3Mask, "\033[1;4P", 0, 0}, - { XK_F2, XK_NO_MOD, "\033OQ" , 0, 0}, - { XK_F2, /* F14 */ ShiftMask, "\033[1;2Q", 0, 0}, - { XK_F2, /* F26 */ ControlMask, "\033[1;5Q", 0, 0}, - { XK_F2, /* F38 */ Mod4Mask, "\033[1;6Q", 0, 0}, - { XK_F2, /* F50 */ Mod1Mask, "\033[1;3Q", 0, 0}, - { XK_F2, /* F62 */ Mod3Mask, "\033[1;4Q", 0, 0}, - { XK_F3, XK_NO_MOD, "\033OR" , 0, 0}, - { XK_F3, /* F15 */ ShiftMask, "\033[1;2R", 0, 0}, - { XK_F3, /* F27 */ ControlMask, "\033[1;5R", 0, 0}, - { XK_F3, /* F39 */ Mod4Mask, "\033[1;6R", 0, 0}, - { XK_F3, /* F51 */ Mod1Mask, "\033[1;3R", 0, 0}, - { XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0}, - { XK_F4, XK_NO_MOD, "\033OS" , 0, 0}, - { XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0}, - { XK_F4, /* F28 */ ControlMask, "\033[1;5S", 0, 0}, - { XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0}, - { XK_F4, /* F52 */ Mod1Mask, "\033[1;3S", 0, 0}, - { XK_F5, XK_NO_MOD, "\033[15~", 0, 0}, - { XK_F5, /* F17 */ ShiftMask, "\033[15;2~", 0, 0}, - { XK_F5, /* F29 */ ControlMask, "\033[15;5~", 0, 0}, - { XK_F5, /* F41 */ Mod4Mask, "\033[15;6~", 0, 0}, - { XK_F5, /* F53 */ Mod1Mask, "\033[15;3~", 0, 0}, - { XK_F6, XK_NO_MOD, "\033[17~", 0, 0}, - { XK_F6, /* F18 */ ShiftMask, "\033[17;2~", 0, 0}, - { XK_F6, /* F30 */ ControlMask, "\033[17;5~", 0, 0}, - { XK_F6, /* F42 */ Mod4Mask, "\033[17;6~", 0, 0}, - { XK_F6, /* F54 */ Mod1Mask, "\033[17;3~", 0, 0}, - { XK_F7, XK_NO_MOD, "\033[18~", 0, 0}, - { XK_F7, /* F19 */ ShiftMask, "\033[18;2~", 0, 0}, - { XK_F7, /* F31 */ ControlMask, "\033[18;5~", 0, 0}, - { XK_F7, /* F43 */ Mod4Mask, "\033[18;6~", 0, 0}, - { XK_F7, /* F55 */ Mod1Mask, "\033[18;3~", 0, 0}, - { XK_F8, XK_NO_MOD, "\033[19~", 0, 0}, - { XK_F8, /* F20 */ ShiftMask, "\033[19;2~", 0, 0}, - { XK_F8, /* F32 */ ControlMask, "\033[19;5~", 0, 0}, - { XK_F8, /* F44 */ Mod4Mask, "\033[19;6~", 0, 0}, - { XK_F8, /* F56 */ Mod1Mask, "\033[19;3~", 0, 0}, - { XK_F9, XK_NO_MOD, "\033[20~", 0, 0}, - { XK_F9, /* F21 */ ShiftMask, "\033[20;2~", 0, 0}, - { XK_F9, /* F33 */ ControlMask, "\033[20;5~", 0, 0}, - { XK_F9, /* F45 */ Mod4Mask, "\033[20;6~", 0, 0}, - { XK_F9, /* F57 */ Mod1Mask, "\033[20;3~", 0, 0}, - { XK_F10, XK_NO_MOD, "\033[21~", 0, 0}, - { XK_F10, /* F22 */ ShiftMask, "\033[21;2~", 0, 0}, - { XK_F10, /* F34 */ ControlMask, "\033[21;5~", 0, 0}, - { XK_F10, /* F46 */ Mod4Mask, "\033[21;6~", 0, 0}, - { XK_F10, /* F58 */ Mod1Mask, "\033[21;3~", 0, 0}, - { XK_F11, XK_NO_MOD, "\033[23~", 0, 0}, - { XK_F11, /* F23 */ ShiftMask, "\033[23;2~", 0, 0}, - { XK_F11, /* F35 */ ControlMask, "\033[23;5~", 0, 0}, - { XK_F11, /* F47 */ Mod4Mask, "\033[23;6~", 0, 0}, - { XK_F11, /* F59 */ Mod1Mask, "\033[23;3~", 0, 0}, - { XK_F12, XK_NO_MOD, "\033[24~", 0, 0}, - { XK_F12, /* F24 */ ShiftMask, "\033[24;2~", 0, 0}, - { XK_F12, /* F36 */ ControlMask, "\033[24;5~", 0, 0}, - { XK_F12, /* F48 */ Mod4Mask, "\033[24;6~", 0, 0}, - { XK_F12, /* F60 */ Mod1Mask, "\033[24;3~", 0, 0}, - { XK_F13, XK_NO_MOD, "\033[1;2P", 0, 0}, - { XK_F14, XK_NO_MOD, "\033[1;2Q", 0, 0}, - { XK_F15, XK_NO_MOD, "\033[1;2R", 0, 0}, - { XK_F16, XK_NO_MOD, "\033[1;2S", 0, 0}, - { XK_F17, XK_NO_MOD, "\033[15;2~", 0, 0}, - { XK_F18, XK_NO_MOD, "\033[17;2~", 0, 0}, - { XK_F19, XK_NO_MOD, "\033[18;2~", 0, 0}, - { XK_F20, XK_NO_MOD, "\033[19;2~", 0, 0}, - { XK_F21, XK_NO_MOD, "\033[20;2~", 0, 0}, - { XK_F22, XK_NO_MOD, "\033[21;2~", 0, 0}, - { XK_F23, XK_NO_MOD, "\033[23;2~", 0, 0}, - { XK_F24, XK_NO_MOD, "\033[24;2~", 0, 0}, - { XK_F25, XK_NO_MOD, "\033[1;5P", 0, 0}, - { XK_F26, XK_NO_MOD, "\033[1;5Q", 0, 0}, - { XK_F27, XK_NO_MOD, "\033[1;5R", 0, 0}, - { XK_F28, XK_NO_MOD, "\033[1;5S", 0, 0}, - { XK_F29, XK_NO_MOD, "\033[15;5~", 0, 0}, - { XK_F30, XK_NO_MOD, "\033[17;5~", 0, 0}, - { XK_F31, XK_NO_MOD, "\033[18;5~", 0, 0}, - { XK_F32, XK_NO_MOD, "\033[19;5~", 0, 0}, - { XK_F33, XK_NO_MOD, "\033[20;5~", 0, 0}, - { XK_F34, XK_NO_MOD, "\033[21;5~", 0, 0}, - { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0}, -}; - -/* - * Selection types' masks. - * Use the same masks as usual. - * Button1Mask is always unset, to make masks match between ButtonPress. - * ButtonRelease and MotionNotify. - * If no match is found, regular selection is used. - */ -static uint selmasks[] = { - [SEL_RECTANGULAR] = Mod1Mask, -}; - -/* - * Printable characters in ASCII, used to estimate the advance width - * of single wide characters. - */ -static char ascii_printable[] = - " !\"#$%&'()*+,-./0123456789:;<=>?" - "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" - "`abcdefghijklmnopqrstuvwxyz{|}~"; diff --git a/sway/.config/sway/BG b/sway/.config/sway/BG @@ -0,0 +1 @@ +/home/shyman/Pictures/Wallpapers/Wallpapers/65.png +\ No newline at end of file diff --git a/sway/.config/sway/config b/sway/.config/sway/config @@ -11,7 +11,7 @@ bindsym $mod+Return exec foot bindsym $mod+Shift+q kill -bindsym $mod+d exec fuzzel +bindsym $mod+d exec fish -c fuzzel bindsym $mod+h focus left bindsym $mod+j focus down @@ -109,9 +109,9 @@ titlebar_padding 2 2 gaps inner 2 # Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ +bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # C* Music Player controls bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause @@ -127,6 +127,15 @@ bindsym XF86MonBrightnessUp exec brightnessctl s +10% bindsym Ctrl+XF86MonBrightnessDown exec brightnessctl s 1%- bindsym Ctrl+XF86MonBrightnessUp exec brightnessctl s +1% +bindsym $mod+c exec foot --app-id CMUS -- fish -c cmus + +# Screen brightness controls +bindsym Ctrl+F8 exec brightnessctl s 10%- +bindsym Ctrl+F9 exec brightnessctl s 10%+ + +bindsym Ctrl+Shift+F8 exec brightnessctl s 5%- +bindsym Ctrl+Shift+F9 exec brightnessctl s 5%+ + bindsym Shift+XF86LaunchA input type:touchpad events toggle enabled disabled # Input configuration @@ -139,6 +148,9 @@ input type:touchpad { tap enabled } + +output LVDS-1 resolution 1366x768 position 0,0 scale 1 + # Change wallpaper bindsym $mod+p exec ~/.fehbg r @@ -162,6 +174,21 @@ exec ~/.fehbg exec mako exec wlsunset -l 50 -L 20 +bar { + font pango:DejaVu Sans Mono, FontAwesome 7 + position top + status_command $HOME/.instow/bin/i3status-rs $HOME/.config/i3status-rust/config.toml + colors { + separator #666666 + background #22222288 + statusline #dddddd + focused_workspace #0088CC #0088CC #ffffff + active_workspace #333333 #333333 #ffffff + inactive_workspace #333333 #333333 #888888 + urgent_workspace #2f343a #900000 #ffffff + } +} + exec swayidle \ timeout 300 '~/.config/sway/lock.sh' \ timeout 600 'swaymsg "output * dpms off"' \ @@ -173,3 +200,6 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE exec_always "pkill waybar; waybar" exec nm-applet + +for_window [app_id="firefox"] inhibit_idle fullscreen +for_window [app_id="mpv"] inhibit_idle fullscreen diff --git a/trackma/.trackma/ui-qt.json b/trackma/.trackma/ui-qt.json @@ -1,41 +0,0 @@ -{ - "close_to_tray": true, - "colors": { - "is_airing": "#008284", - "is_playing": "#9696FA", - "is_queued": "#287f00", - "new_episode": "#00016b", - "not_aired": "#260000", - "progress_bg": "#F5F5F5", - "progress_complete": "#00D200", - "progress_fg": "#74C0FA", - "progress_sub_bg": "#D2D2D2", - "progress_sub_fg": "#5187B1" - }, - "columns_per_api": false, - "columns_state": "AAAA/wAAAAAAAAABAAAAAQAAAAYAAAAAAAAAAAAAAAAMoQ8AAAAHAAAACAAAAGQAAAALAAAAZAAAAAoAAABkAAAABQAAAGQAAAAHAAAAZAAAAAAAAABkAAAACQAAAGQAAAaGAAAADAEBAAAAAAAAAQAAAAAAAABk/////wAAAIQAAAAAAAAADAAAAAAAAAABAAAAAAAABUEAAAABAAAAAQAAAEYAAAABAAAAAgAAADcAAAABAAAAAgAAAGQAAAABAAAAAAAAAAAAAAABAAAAAAAAAGQAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAA+gAAAAAAA==", - "episodebar_style": 1, - "episodebar_text": false, - "filter_bar_position": 2, - "filter_global": false, - "inline_edit": true, - "last_height": 480, - "last_width": 740, - "last_x": 0, - "last_y": 0, - "notifications": true, - "remember_columns": true, - "remember_geometry": false, - "show_tray": true, - "sort_index": 6, - "sort_order": 1, - "start_in_tray": false, - "tray_api_icon": false, - "visible_columns": [ - "Title", - "Progress", - "Score", - "Percent", - "Start date" - ] -} -\ No newline at end of file diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config @@ -1,91 +0,0 @@ -// vim: filetype=json -{ - "layer": "top", // Waybar at top layer - "position": "top", // Waybar position (top|bottom|left|right) - //"output": "HDMI-A-1", - //"height": 30, // Wayba heigh:te - // "width": 1280, // Waybar width - // Choose the order of the modules - "modules-left": ["tray", "sway/workspaces", "sway/mode"], - "modules-center": ["mpris"], - "modules-right": ["idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature", "battery", "clock"], - // Modules configuration - "sway/workspaces": { - "disable-scroll": true, - "all-outputs": true, - "format-icons": { - "urgent": "", - "focused": "", - "default": "" - } - }, - "sway/mode": { - "format": "<span style=\"italic\">{}</span>" - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - } - }, - "tray": { - "icon-size": 15, - "spacing": 10 - }, - "clock": { - "tooltip-format": "{:%Y-%m-%d | %H:%M}", - "format-alt": "{:%Y-%m-%d}" - }, - "cpu": { - "format": "{usage}% " - }, - "memory": { - "format": "{}% " - }, - "temperature": { - // "thermal-zone": 2, - "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", - "critical-threshold": 80, - // "format-critical": "{temperatureC}°C ", - "format": "{temperatureC}°C " - }, - "backlight": { - // "device": "acpi_video1", - "format": "{percent}% {icon}", - "format-icons": ["", ""] - }, - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{capacity}% {icon}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - "format-icons": ["", "", "", "", ""] - }, - "network": { - // "interface": "wlp2s0", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) ", - "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", - "format-disconnected": "Disconnected ⚠" - }, - "pulseaudio": { - //"scroll-step": 1, - "format": "{volume}% {icon}", - "format-bluetooth": "{volume}% {icon}", - "format-muted": "", - "format-icons": { - "headphones": "", - "handsfree": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", ""] - }, - "on-click": "pavucontrol" - } -} diff --git a/xorg/.Xresources b/xorg/.Xresources @@ -1,56 +0,0 @@ -! These are all possible options, presented with default values. -! xst will fallback to *.option if st.option is not present. -! see src/config.h for more information about option meanings. - -! These options only take effect on startup. -st.termname: st-256color - -! The following options options can be reloaded via USR1 signal. -st.borderpx: 2 -! Available cursor values: 2 4 6 7 = █ _ | ☃ ( 1 3 5 are blinking versions) -st.cursorshape: 2 -! thickness of underline and bar cursors -st.cursorthickness: 2 -! 0: normal blinking, 1: leave cursor border and blink with cursor`s background -st.cursorblinkstyle: 0 -! 0: cursor blinks with a constant interval; 1: blinking cycle resets on key input -st.cursorblinkontype: 1 -st.bold_font: 1 -st.xfps: 120 -st.actionfps: 30 -! Amount of lines scrolled with mouse -st.scrollAmount: 5 -! Kerning / character bounding-box height multiplier -st.chscale: 1.0 -! Kerning / character bounding-box width multiplier -st.cwscale: 1.0 -! blinking timeout for terminal and cursor blinking (0 disables) -st.blinktimeout: 800 -! bell volume. Value between -100 and 100. (0 disables) -st.bellvolume: 100 -! this is a char that is exposed like so: `printf '\033[z'` -st.prompt_char: $ - -! opacity==255 means what terminal will be not transparent, 0 - fully transparent -st.opacity: 255 - -st.foreground: rgb:a8/a8/a8 -st.background: rgb:00/00/00 -st.color0: rgb:00/00/00 -st.color1: rgb:a8/00/00 -st.color2: rgb:00/a8/00 -st.color3: rgb:a8/54/00 -st.color4: rgb:00/00/a8 -st.color5: rgb:a8/00/a8 -st.color6: rgb:00/a8/a8 -st.color7: rgb:a8/a8/a8 -st.color8: rgb:54/54/54 -st.color9: rgb:fc/54/54 -st.color10: rgb:54/fc/54 -st.color11: rgb:fc/fc/54 -st.color12: rgb:54/54/fc -st.color13: rgb:fc/54/fc -st.color14: rgb:54/fc/fc -st.color15: rgb:fc/fc/fc -st.colorBD: rgb:fc/fc/fc -st.font: Code New Roman:size=14:antialias=true:autohint=true; diff --git a/xorg/.xprofile b/xorg/.xprofile @@ -1,7 +0,0 @@ -#!/bin/sh - -xinput --set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1 -xrandr --dpi 96 -xrdb -merge ~/.Xresources -export QT_QPA_PLATFORMTHEME="qt5ct" -export NVIM_GTK_NO_HEADERBAR=1