diff --git a/.commonrc b/.commonrc index 7042595..ea4a26c 100755 --- a/.commonrc +++ b/.commonrc @@ -1,4 +1,7 @@ +# Solarized (mostly) dark skin for Midnight Commander +export MC_SKIN=$HOME/.config/mc/skins/solarized.ini + [[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases" if [ ! "$TERM_PROGRAM" = "iTerm.app" ]; then diff --git a/.config/mc/hotlist b/.config/mc/hotlist new file mode 100644 index 0000000..e69de29 diff --git a/.config/mc/ini b/.config/mc/ini new file mode 100644 index 0000000..1abd281 --- /dev/null +++ b/.config/mc/ini @@ -0,0 +1,143 @@ +[Midnight-Commander] +verbose=1 +pause_after_run=1 +shell_patterns=1 +auto_save_setup=1 +preallocate_space=0 +auto_menu=0 +use_internal_view=1 +use_internal_edit=1 +clear_before_exec=1 +confirm_delete=1 +confirm_overwrite=1 +confirm_execute=0 +confirm_history_cleanup=1 +confirm_exit=0 +confirm_directory_hotlist_delete=1 +safe_delete=0 +mouse_repeat_rate=100 +double_click_speed=250 +use_8th_bit_as_meta=0 +confirm_view_dir=0 +mouse_move_pages_viewer=1 +mouse_close_dialog=0 +fast_refresh=0 +drop_menus=0 +wrap_mode=1 +old_esc_mode=0 +old_esc_mode_timeout=1000000 +cd_symlinks=1 +show_all_if_ambiguous=0 +max_dirt_limit=10 +use_file_to_guess_type=1 +alternate_plus_minus=0 +only_leading_plus_minus=1 +show_output_starts_shell=0 +xtree_mode=0 +num_history_items_recorded=60 +file_op_compute_totals=1 +classic_progressbar=1 +vfs_timeout=60 +ftpfs_directory_timeout=900 +use_netrc=1 +ftpfs_retry_seconds=30 +ftpfs_always_use_proxy=0 +ftpfs_use_passive_connections=1 +ftpfs_use_passive_connections_over_proxy=0 +ftpfs_use_unix_list_options=1 +ftpfs_first_cd_then_ls=1 +fish_directory_timeout=900 +editor_tab_spacing=8 +editor_word_wrap_line_length=72 +editor_fill_tabs_with_spaces=0 +editor_return_does_auto_indent=1 +editor_backspace_through_tabs=0 +editor_fake_half_tabs=1 +editor_option_save_mode=0 +editor_option_save_position=1 +editor_option_auto_para_formatting=0 +editor_option_typewriter_wrap=0 +editor_edit_confirm_save=1 +editor_syntax_highlighting=1 +editor_persistent_selections=1 +editor_drop_selection_on_copy=1 +editor_cursor_beyond_eol=0 +editor_cursor_after_inserted_block=0 +editor_visible_tabs=1 +editor_visible_spaces=1 +editor_line_state=0 +editor_simple_statusbar=0 +editor_check_new_line=0 +editor_show_right_margin=0 +editor_group_undo=0 +editor_state_full_filename=0 +editor_ask_filename_before_edit=0 +nice_rotating_dash=1 +mcview_remember_file_position=0 +auto_fill_mkdir_name=1 +copymove_persistent_attr=1 +editor_backup_extension=~ +editor_filesize_threshold=64M +editor_stop_format_chars=-+*\\,.;:&> +mcview_eof= +ignore_ftp_chattr_errors=true +skin=default + +[Layout] +message_visible=1 +keybar_visible=1 +xterm_title=1 +output_lines=0 +command_prompt=1 +menubar_visible=1 +free_space=1 +horizontal_split=0 +vertical_equal=1 +left_panel_size=87 +horizontal_equal=1 +top_panel_size=1 + +[Misc] +timeformat_recent=%d. %b %H:%M +timeformat_old=%d. %b %Y +ftp_proxy_host=gate +ftpfs_password=anonymous@ +display_codepage=UTF-8 +source_codepage=Other_8_bit +autodetect_codeset= +clipboard_store= +clipboard_paste= + +[Colors] +base_color= +xterm= +color_terminals= + +[Panels] +show_mini_info=true +kilobyte_si=false +mix_all_files=false +show_backups=true +show_dot_files=true +fast_reload=false +fast_reload_msg_shown=false +mark_moves_down=true +reverse_files_only=true +auto_save_setup_panels=false +navigate_with_arrows=false +panel_scroll_pages=true +mouse_move_pages=true +filetype_mode=true +permission_mode=false +torben_fj_mode=false +quick_search_mode=2 +select_flags=6 + +[HotlistConfig] +expanded_view_of_groups=0 + +[Panelize] +Geänderte git Dateien=git ls-files --modified +Nach dem Patchen nach Rejects suchen=find . -name \\*.rej -print +Suche SUID und SGID Programme=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print +Suche nach *.orig nach dem Patchen=find . -name \\*.orig -print diff --git a/.config/mc/panels.ini b/.config/mc/panels.ini new file mode 100644 index 0000000..e69de29 diff --git a/.config/mc/skins/solarized.ini b/.config/mc/skins/solarized.ini new file mode 100644 index 0000000..6f35202 --- /dev/null +++ b/.config/mc/skins/solarized.ini @@ -0,0 +1,151 @@ +[skin] + description = Solarized (mostly) dark skin for Midnight Commander. + +[Lines] + # TODO: Description. + horiz = ─ + vert = │ + lefttop = ┌ + righttop = ┐ + leftbottom = └ + rightbottom = ┘ + topmiddle = ─ + bottommiddle = ─ + leftmiddle = ├ + rightmiddle = ┤ + cross = ┼ + dhoriz = ═ + dvert = ║ + dlefttop = ╔ + drighttop = ╗ + dleftbottom = ╚ + drightbottom = ╝ + dtopmiddle = ╤ + dbottommiddle = ╧ + dleftmiddle = ╟ + drightmiddle = ╢ + +[core] +# Panes. + _default_ = lightgray;black ;; Default file colors/background. + selected = white;cyan ;; Color while hovering above a file/directory. + marked = white;brightmagenta ;; Marked line (using select - insert, ctrl-t, etc...) + markselect = red;cyan ;; Marked and selected. + header = white ;; Pane header (name,size,date titles). + reverse = white;brightmagenta ;; The direcotry PWD above the header, in focused pane. + +# Input fields. + inputunchanged = lightgray;black ;; Input fields colors. + input = white;black ;; Input fields, modified. + inputhistory = red;lightgray ;; Input history controller. + inputmark = black;brightred ;; Input field marked text, if any. + disabled = brightcyan;lightgray ;; Disabled input fields in dialog boxes. + gauge = magenta;blue ;; Progress bars (while copying etc). TODO: What the text stands for?! + +# Command line. + # TODO: Command prompt line colors. What are they?! + commandlinemark = black;brightred ;; Commandline marked text, if any. + commandhistory = red;brightblack ;; Command prompt history controller. + + # TODO: What these stand for? + errors = black;green + statusbar = black;green + +[popup] + # TODO: Probably user menu, screenlist, encoding, etc... + pmenunormal = black;green + pmenusel = black;green + pmenutitle = black;green + +[dialog] + _default_ = black;lightgray ;; Default colors of dialogs (e.g. copy dialog). + dfocus = black;green ;; Controller colors (checkboxes, actions) in focus. + dhotnormal = red ;; Controllers hotkey color. + dhotfocus = red;green ;; Controllers hotkey color in focus. + dtitle = white;brightmagenta ;; Dialog title. + +[error] + _default_ = black;lightgray ;; Default colors of error dialogs (e.g. overwrite permission). + errdfocus = black;green ;; Controller colors (checkboxes, actions) in focus. + errdhotnormal = red ;; Controllers hotkey color. + errdhotfocus = red;green ;; Controllers hotkey color in focus. + errdtitle = white;red ;; Error dialog title. + +[filehighlight] +# View filehighlight.ini as reference. + directory = cyan;black ;; Directories. + executable = brightred;black ;; Executable files. + symlink = magenta;black ;; Symbolic links. + stalelink = lightgray;black ;; Broken links. + device = red;blueblack ;; An interface for a device driver. + special = black;blueblack ;; Pipes (FIFOs), sockets, block files, character files etc... + core = brightcyan;black ;; Core dump files, etc?... + temp = brightgreen;black ;; Bak, Temp, ~, etc... + archive = brightmagenta;black ;; Archives. + source = green;black ;; Source files. + media = brown;black ;; Interactive media. + graph = blue;black ;; Images, in other words. + database = brightgreen;black ;; DataBases, duh. + doc = red;black ;; Documents, duh. + +[menu] + _default_ = black;lightgray ;; Default colors for menu while active. + menuinactive = black;lightgray ;; Colors for menu while inactive. + menuhot = red ;; Menu item hotkey. + menusel = black;green ;; Selected menu item. + menuhotsel = red;green ;; Selected menu item hotkey. + +[help] + _default_ = black;lightgray ;; Default help tooltip text color/background. + helpitalic = brightmagenta ;; Help when italic. + helpbold = red ;; Help when bold. + helplink = cyan ;; Links insde help tooltip. + helpslink = green ;; Links insde help tooltip focused. + helptitle = white;brightmagenta ;; Help title. + +[buttonbar] +#Bottom button bar (copy,move, etc...) + hotkey = red;brightblack ;; Hotkey colors (1-10). + button = white;brightblack ;; Button colors (text itself). + +[editor] + # TODO: These. + _default_ = lightgray;black + editbold = green;blue + editmarked = lightgray;green + editwhitespace = brightblue;blue + editlinestate = brightmagenta + bookmark = white;red + bookmarkfound = black;green + editbg = lightgray;black + editframe = lightgray;black + editframeactive = lightgray;black + editframedrag = lightgray;black + +[viewer] + # TODO: These. + viewunderline = brighmagenta;black + viewbold = brighmagenta;black + viewselected = brighmagenta;black + +[widget-common] + # TODO: These. + sort-sign-up = ↓ + sort-sign-down = ↑ + +[widget-panel] + # TODO: These. + hiddenfiles-sign-show = ⋅ + hiddenfiles-sign-hide = • + history-prev-item-sign = « + history-next-item-sign = » + history-show-list-sign = ^ + +[widget-scollbar] + # TODO: These. + first-vert-char = ↑ + last-vert-char = ↓ + first-horiz-char = « + last-horiz-char = » + current-char = ■ + background-char = ▒ \ No newline at end of file diff --git a/.dfminstall b/.dfminstall index 62eb473..c1ba772 100644 --- a/.dfminstall +++ b/.dfminstall @@ -1,4 +1,5 @@ bin recurse +.config recurse bin/dfm chmod 0755 README.md skip