diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bee3915 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +\#* +err-* +*.log diff --git a/addts b/addts new file mode 100755 index 0000000..041b9b6 --- /dev/null +++ b/addts @@ -0,0 +1,5 @@ +#!/bin/sh +while read -r line ; do + echo "[$(date +"%F %T")]: ${line}" +done + diff --git a/conf/config/alacritty/alacritty.yml b/conf/config/alacritty/alacritty.yml new file mode 100644 index 0000000..8780071 --- /dev/null +++ b/conf/config/alacritty/alacritty.yml @@ -0,0 +1,251 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +# Any items in the `env` entry below will be added as +# environment variables. Some entries may override variables +# set by alacritty itself. +env: + TERM: alacritty + +window: + padding: + x: 4 + y: 4 + +scrolling: + history: 10000 + multiplier: 3 + +# Font configuration +font: + normal: + family: monospace + + bold: + family: monospace + italic: + family: monospace + size: 12.0 + +colors: + # Default colors + primary: + background: '0x141c25' + foreground: '0xb6c0cc' + + # Normal colors + normal: + black: '0x141c25' + red: '0xb03b22' + green: '0x3fa534' + yellow: '0xc4b22d' + blue: '0x5fb5f1' + magenta: '0xbb6cb5' + cyan: '0x478f9c' + white: '0x85888b' + + # Bright colors + bright: + black: '0x384657' + red: '0xda8040' + green: '0x6ad461' + yellow: '0xd7db7a' + blue: '0x47c0d6' + magenta: '0xd19fce' + cyan: '0xa8bcbe' + white: '0xd2dcdb' + +visual_bell: + animation: EaseOutExpo + duration: 0 + color: '#ffffff' + + +#background_opacity: 0.80 + +selection: + save_to_clipboard: true + +# Allow terminal applications to change Alacritty's window title. +dynamic_title: true + +cursor: + style: Block + unfocused_hollow: true + +live_config_reload: true + +# Send ESC (\x1b) before characters when alt is pressed. +#alt_send_esc: true + +#mouse: + # Click settings + # + # The `double_click` and `triple_click` settings control the time + # alacritty should wait for accepting multiple clicks as one double + # or triple click. + #double_click: { threshold: 300 } + #triple_click: { threshold: 300 } + + # If this is `true`, the cursor is temporarily hidden when typing. + #hide_when_typing: false + + #url: + # URL launcher + # + # This program is executed when clicking on a text which is recognized as a URL. + # The URL is always added to the command as the last parameter. + # + # When set to `None`, URL launching will be disabled completely. + # + # Default: + # - (macOS) open + # - (Linux/BSD) xdg-open + # - (Windows) explorer + #launcher: + # program: xdg-open + # args: [] + + # URL modifiers + # + # These are the modifiers that need to be held down for opening URLs when clicking + # on them. The available modifiers are documented in the key binding section. + #modifiers: None + +# Mouse bindings +# +# Mouse bindings are specified as a list of objects, much like the key +# bindings further below. +# +# To trigger mouse bindings when an application running within Alacritty captures the mouse, the +# `Shift` modifier is automatically added as a requirement. +# +# Each mouse binding will specify a: +# +# - `mouse`: +# +# - Middle +# - Left +# - Right +# - Numeric identifier such as `5` +# +# - `action` (see key bindings) +# +# And optionally: +# +# - `mods` (see key bindings) +#mouse_bindings: +# - { mouse: Middle, action: PasteSelection } + +# Key bindings +# +# Key bindings are specified as a list of objects. For example, this is the +# default paste binding: +# +# `- { key: V, mods: Control|Shift, action: Paste }` +# +# Each key binding will specify a: +# +# - `key`: Identifier of the key pressed +# +# - A-Z +# - F1-F24 +# - Key0-Key9 +# +# A full list with available key codes can be found here: +# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants +# +# Instead of using the name of the keys, the `key` field also supports using +# the scancode of the desired key. Scancodes have to be specified as a +# decimal number. This command will allow you to display the hex scancodes +# for certain keys: +# +# `showkey --scancodes`. +# +# Then exactly one of: +# +# - `chars`: Send a byte sequence to the running application +# +# The `chars` field writes the specified string to the terminal. This makes +# it possible to pass escape sequences. To find escape codes for bindings +# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside +# of tmux. Note that applications use terminfo to map escape sequences back +# to keys. It is therefore required to update the terminfo when changing an +# escape sequence. +# +# - `action`: Execute a predefined action +# +# - Copy +# - Paste +# - PasteSelection +# - IncreaseFontSize +# - DecreaseFontSize +# - ResetFontSize +# - ScrollPageUp +# - ScrollPageDown +# - ScrollLineUp +# - ScrollLineDown +# - ScrollToTop +# - ScrollToBottom +# - ClearHistory +# - Hide +# - Minimize +# - Quit +# - ToggleFullscreen +# - SpawnNewInstance +# - ClearLogNotice +# - ReceiveChar +# - None +# +# (macOS only): +# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space +# +# - `command`: Fork and execute a specified command plus arguments +# +# The `command` field must be a map containing a `program` string and an +# `args` array of command line parameter strings. For example: +# `{ program: "alacritty", args: ["-e", "vttest"] }` +# +# And optionally: +# +# - `mods`: Key modifiers to filter binding actions +# +# - Command +# - Control +# - Option +# - Super +# - Shift +# - Alt +# +# Multiple `mods` can be combined using `|` like this: +# `mods: Control|Shift`. +# Whitespace and capitalization are relevant and must match the example. +# +# - `mode`: Indicate a binding for only specific terminal reported modes +# +# This is mainly used to send applications the correct escape sequences +# when in different modes. +# +# - AppCursor +# - AppKeypad +# - Alt +# +# A `~` operator can be used before a mode to apply the binding whenever +# the mode is *not* active, e.g. `~Alt`. +# +# Bindings are always filled by default, but will be replaced when a new +# binding with the same triggers is defined. To unset a default binding, it can +# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for +# a no-op if you do not wish to receive input characters for that binding. +# +# If the same trigger is assigned to multiple actions, all of them are executed +# at once. +key_bindings: + # (Windows, Linux, and BSD only) + - { key: V, mods: Control|Shift, action: Paste } + - { key: C, mods: Control|Shift, action: Copy } + - { key: Insert, mods: Shift, action: PasteSelection } + - { key: Home, mods: Control, action: ResetFontSize } + - { key: Equals, mods: Control, action: IncreaseFontSize } + - { key: Add, mods: Control, action: IncreaseFontSize } + - { key: Subtract, mods: Control, action: DecreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } diff --git a/conf/config/bspwm/bspwmrc b/conf/config/bspwm/bspwmrc new file mode 100755 index 0000000..37ad9f7 --- /dev/null +++ b/conf/config/bspwm/bspwmrc @@ -0,0 +1,18 @@ +#! /bin/sh + +sxhkd & + +bspc monitor -d I II III IV V VI VII VIII IX X + +bspc config border_width 1 +bspc config window_gap 16 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true + +#bspc rule -a Gimp desktop='^8' state=floating follow=on +bspc rule -a Firefox desktop='^9' +#bspc rule -a mplayer2 state=floating +#bspc rule -a Kupfer.py focus=on +#bspc rule -a Screenkey manage=off diff --git a/conf/config/bspwm/bspwmrc~ b/conf/config/bspwm/bspwmrc~ new file mode 100755 index 0000000..8d4bdb7 --- /dev/null +++ b/conf/config/bspwm/bspwmrc~ @@ -0,0 +1,19 @@ +#! /bin/sh + +sxhkd & + +bspc monitor -d I II III IV V VI VII VIII IX X + +bspc config border_width 1 +bspc config window_gap 16 +bspc config border_radius 25 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true + +bspc rule -a Gimp desktop='^8' state=floating follow=on +bspc rule -a Chromium desktop='^2' +bspc rule -a mplayer2 state=floating +bspc rule -a Kupfer.py focus=on +bspc rule -a Screenkey manage=off diff --git a/conf/config/geany/colorschemes/bespin.conf b/conf/config/geany/colorschemes/bespin.conf new file mode 100644 index 0000000..bf4aaba --- /dev/null +++ b/conf/config/geany/colorschemes/bespin.conf @@ -0,0 +1,121 @@ +# +# This file was generated from a textmate theme named Bespin +# with tm2gtksw2 tool. (Alexandre da Silva) + +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. + +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. +# +# Ported to Geany by Matthew Brush +# + +[theme_info] +name=Bespin +description=A port of the Bespin theme. +# incremented automatically, do not change manually +version=1225 +author=Alexandre da Silva (tm2gtksw2) +url=https://github.com/gmate/gmate/blob/master/styles/Bespin.xml +# list of each compatible Geany release version +compat=1.22;1.23;1.23.1;1.24 + +[named_styles] + +default=#baae9e;#28211c;false;false +error=#f8f8f8;#4a2947 + +# Editor styles +#------------------------------------------------------------------------------- + +selection=#baae9e;#4c4a49;true;true +current_line=#000;#2e2723;true +brace_good=#00f;#2e2723;true;false +brace_bad=#df4545;#2e2723;true;false +margin_line_number=#baae9e;#2e2723 +margin_folding=#baae9e;#2e2723 +fold_symbol_highlight=#2e2723 +indent_guide=#40342c +white_space=#40342c;#fff;true;false +caret=#a7a7a7;#000;false +marker_line=#000;#ff0; +marker_search=#000;#0000f0; +marker_mark=#000;#b8f4b8; +call_tips=#c0c0c0;#fff;false;false + +# Programming languages +#------------------------------------------------------------------------------- + +comment=#666;;;true +comment_doc=comment +comment_line=comment +comment_line_doc=comment_doc +comment_doc_keyword=comment_doc,bold +comment_doc_keyword_error=comment_doc,italic + +number=#cf6a4c +number_1=number +number_2=number_1 + +type=#9b859d;;true +class=type +function=#937121 +parameter=function + +keyword=#5ea6ea;;true +keyword_1=keyword +keyword_2=type +keyword_3=keyword_1 +keyword_4=keyword_1 + +identifier=default +identifier_1=identifier +identifier_2=identifier_1 +identifier_3=identifier_1 +identifier_4=identifier_1 + +string=#54be0d +string_1=string +string_2=string_1 +string_3=default +string_4=default +string_eol=string_1,italic +character=string_1 +backticks=string_2 +here_doc=string_2 + +scalar=string_2 +label=default,bold +preprocessor=#cf6a4c +regex=#e9c062 +operator=#5ea6ea +decorator=string_1,bold +other=#ddf2a4 + +# Markup-type languages +#------------------------------------------------------------------------------- + +tag=#ac885b +tag_unknown=#ac885b +tag_end=#ac885b +attribute=#937121 +attribute_unknown=#937121 +value=string_1 +entity=default + +# Diff +#------------------------------------------------------------------------------- + +line_added=#f8f8f8;#253b22 +line_removed=#f8f8f8;#420e09 +line_changed=#f8f8f8;#4a410d diff --git a/conf/config/geany/filedefs/filetypes.README b/conf/config/geany/filedefs/filetypes.README new file mode 100644 index 0000000..fe58ed1 --- /dev/null +++ b/conf/config/geany/filedefs/filetypes.README @@ -0,0 +1,2 @@ +Copy files from /usr/share/geany/filedefs to this directory to overwrite them. To use the defaults, just delete the file in this directory. +For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/). \ No newline at end of file diff --git a/conf/config/geany/geany.conf b/conf/config/geany/geany.conf new file mode 100644 index 0000000..934ccec --- /dev/null +++ b/conf/config/geany/geany.conf @@ -0,0 +1,211 @@ +[geany] +default_open_path= +cmdline_new_files=true +notebook_double_click_hides_widgets=false +tab_close_switch_to_mru=false +tab_pos_sidebar=2 +sidebar_pos=0 +symbols_sort_mode=0 +msgwin_orientation=1 +highlighting_invert_all=false +pref_main_search_use_current_word=true +check_detect_indent=false +detect_indent_width=false +use_tab_to_indent=true +pref_editor_tab_width=4 +indent_mode=2 +indent_type=1 +virtualspace=1 +autocomplete_doc_words=false +completion_drops_rest_of_word=false +autocompletion_max_entries=30 +autocompletion_update_freq=250 +color_scheme=bespin.conf +scroll_lines_around_cursor=0 +mru_length=10 +disk_check_timeout=30 +show_editor_scrollbars=true +brace_match_ltgt=false +use_gtk_word_boundaries=true +complete_snippets_whilst_editing=false +indent_hard_tab_width=8 +editor_ime_interaction=0 +use_atomic_file_saving=false +gio_unsafe_save_backup=false +use_gio_unsafe_file_saving=true +keep_edit_history_on_reload=true +show_keep_edit_history_on_reload_msg=true +reload_clean_doc_on_file_change=false +extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*- +allow_always_save=false +find_selection_type=0 +replace_and_find_by_default=true +show_symbol_list_expanders=true +compiler_tab_autoscroll=true +statusbar_template=line: %l / %L col: %c sel: %s %w %t %mmode: %M encoding: %e filetype: %f scope: %S +new_document_after_close=false +msgwin_status_visible=true +msgwin_compiler_visible=true +msgwin_messages_visible=true +msgwin_scribble_visible=true +documents_show_paths=true +sidebar_page=0 +pref_main_load_session=true +pref_main_project_session=true +pref_main_project_file_in_basedir=false +pref_main_save_winpos=true +pref_main_save_wingeom=true +pref_main_confirm_exit=false +pref_main_suppress_status_messages=false +switch_msgwin_pages=false +beep_on_errors=true +auto_focus=false +sidebar_symbol_visible=true +sidebar_openfiles_visible=true +editor_font=Monospace 12 +tagbar_font=Sans 9 +msgwin_font=Monospace 9 +show_notebook_tabs=true +show_tab_cross=true +tab_order_ltr=true +tab_order_beside=false +tab_pos_editor=2 +tab_pos_msgwin=0 +use_native_windows_dialogs=false +show_indent_guide=false +show_white_space=false +show_line_endings=false +show_markers_margin=true +show_linenumber_margin=true +long_line_enabled=true +long_line_type=0 +long_line_column=72 +long_line_color=#C2EBC2 +symbolcompletion_max_height=10 +symbolcompletion_min_chars=4 +use_folding=true +unfold_all_children=false +use_indicators=true +line_wrapping=false +auto_close_xml_tags=true +complete_snippets=true +auto_complete_symbols=true +pref_editor_disable_dnd=false +pref_editor_smart_home_key=true +pref_editor_newline_strip=false +line_break_column=72 +auto_continue_multiline=true +comment_toggle_mark=~ +scroll_stop_at_last_line=true +autoclose_chars=0 +pref_editor_default_new_encoding=UTF-8 +pref_editor_default_open_encoding=none +default_eol_character=2 +pref_editor_new_line=true +pref_editor_ensure_convert_line_endings=false +pref_editor_replace_tabs=false +pref_editor_trail_space=false +pref_toolbar_show=true +pref_toolbar_append_to_menu=false +pref_toolbar_use_gtk_default_style=true +pref_toolbar_use_gtk_default_icon=true +pref_toolbar_icon_style=0 +pref_toolbar_icon_size=0 +pref_template_developer=Alessandro Mauri +pref_template_company= +pref_template_mail=ale@ideal +pref_template_initial=AM +pref_template_version=1.0 +pref_template_year=%Y +pref_template_date=%Y-%m-%d +pref_template_datetime=%d.%m.%Y %H:%M:%S %Z +context_action_cmd= +sidebar_visible=true +statusbar_visible=true +msgwindow_visible=true +fullscreen=false +scribble_text=Type here what you want, use it as a notice/scratch board +scribble_pos=57 +treeview_position=156 +msgwindow_position=779 +geometry=0;0;931;1011;1; +custom_date_format= + +[build-menu] +number_ft_menu_items=0 +number_non_ft_menu_items=0 +number_exec_menu_items=0 + +[search] +pref_search_hide_find_dialog=false +pref_search_always_wrap=false +pref_search_current_file_dir=true +find_all_expanded=false +replace_all_expanded=false +position_find_x=0 +position_find_y=0 +position_replace_x=-1 +position_replace_y=-1 +position_fif_x=-1 +position_fif_y=-1 +fif_regexp=false +fif_case_sensitive=true +fif_match_whole_word=false +fif_invert_results=false +fif_recursive=false +fif_extra_options= +fif_use_extra_options=false +fif_files= +fif_files_mode=0 +find_regexp=false +find_regexp_multiline=false +find_case_sensitive=false +find_escape_sequences=false +find_match_whole_word=false +find_match_word_start=false +find_close_dialog=true +replace_regexp=false +replace_regexp_multiline=false +replace_case_sensitive=false +replace_escape_sequences=false +replace_match_whole_word=false +replace_match_word_start=false +replace_search_backwards=false +replace_close_dialog=true + +[plugins] +load_plugins=true +custom_plugin_path= +active_plugins=; + +[VTE] +send_cmd_prefix= +send_selection_unsafe=false +load_vte=true + +[tools] +terminal_cmd=xterm -e "/bin/sh %c" +browser_cmd=firefox +grep_cmd=grep + +[printing] +print_cmd=lpr '%f' +use_gtk_printing=true +print_line_numbers=true +print_page_numbers=true +print_page_header=true +page_header_basename=false +page_header_datefmt=%c + +[project] +session_file= +project_file_path=/home/ale/projects + +[files] +recent_files=/tmp/mozilla_ale0/index.md;/home/ale/sw/startw;/home/ale/Documents/projects/distro/software.txt;/home/ale/Documents/projects/distro/distro.txt; +recent_projects= +current_page=3 +FILE_NAME_0=0;None;0;EUTF-8;1;1;0;%2Fhome%2Fale%2FDocuments%2Fprojects%2Fdistro%2Fdistro.txt;0;4 +FILE_NAME_1=498;None;0;EUTF-8;1;1;0;%2Fhome%2Fale%2FDocuments%2Fprojects%2Fdistro%2Fsoftware.txt;0;4 +FILE_NAME_2=1355;Sh;0;EUTF-8;1;1;0;%2Fhome%2Fale%2Fsw%2Fstartw;0;4 +FILE_NAME_3=0;Markdown;0;EUTF-8;1;1;0;%2Ftmp%2Fmozilla_ale0%2Findex.md;0;4 diff --git a/conf/config/geany/keybindings.conf b/conf/config/geany/keybindings.conf new file mode 100644 index 0000000..e69de29 diff --git a/conf/config/geany/templates/templates.README b/conf/config/geany/templates/templates.README new file mode 100644 index 0000000..3d25d1a --- /dev/null +++ b/conf/config/geany/templates/templates.README @@ -0,0 +1,2 @@ +There are several template files in this directory. For these templates you can use wildcards. +For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/). \ No newline at end of file diff --git a/conf/config/micro/backups/%home%ale%sw%conf%config%waybar%style.css b/conf/config/micro/backups/%home%ale%sw%conf%config%waybar%style.css new file mode 100644 index 0000000..1a40e7f --- /dev/null +++ b/conf/config/micro/backups/%home%ale%sw%conf%config%waybar%style.css @@ -0,0 +1,157 @@ +* { + border: none; + border-radius: 0; + /* `otf-font-awesome` is required to be installed for icons */ + font-family: Roboto, Helvetica, Arial, sans-serif; + font-size: 14px; + min-height: 0; +} + +window#waybar { + background-color: rgba(56, 70, 87, 1.0); + /*border-bottom: 2px solid rgba(20, 28, 37, 1.0); */ + color: #ffffff; + transition-property: background-color; + transition-duration: .5s; +} + +window#waybar.hidden { + opacity: 0.2; +} + +#workspaces { + background-color: #141c25; +} + +#workspaces button { + padding: 0 0px; + /*background-color: transparent;*/ + color: #b6c0cc; +} + +/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ +#workspaces button:hover { + background: rgba(100, 100, 100, 0.2); + box-shadow: inherit; +} + +#workspaces button.focused { + background-color: #5fb5f1; + color: #141c25; +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + + +#mode { + background-color: #141c25; +} + +#clock, +#battery, +#cpu, +#memory, +#temperature, +#backlight, +#network, +#pulseaudio, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#alsa, +#mpd { + padding: 0 16px; + margin: 0 1px; + color: #b6c0cc; + background-color: #141c25; +} + +#clock { +} + +#battery { +} + +#battery.charging { +} + +@keyframes blink { + to { + background-color: #ffffff; + color: #000000; + } +} + +#battery.critical:not(.charging) { + background-color: #f53c3c; + color: #ffffff; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +label:focus { +} + +#cpu { +} + +#memory { +} + +#backlight { +} + +#alsa { +} + +#network { +} + +#network.disconnected { +} + +#pulseaudio { + +} + +#pulseaudio.muted { + +} + +#temperature { +} + +#temperature.critical { +} + +#tray { +} + +#idle_inhibitor { + font-size: 18px; +} + +#idle_inhibitor.activated { + background-color: #47c0d6; + font-size: 18px; + color: #141c25; +} + +#mpd { + color: #2a5c45; +} + +#mpd.disconnected { +} + +#mpd.stopped { +} + +#mpd.paused { +} diff --git a/conf/config/micro/bindings.json b/conf/config/micro/bindings.json new file mode 100644 index 0000000..b0e2dd6 --- /dev/null +++ b/conf/config/micro/bindings.json @@ -0,0 +1,3 @@ +{ + "Alt-/": "lua:comment.comment" +} diff --git a/conf/config/micro/buffers/history b/conf/config/micro/buffers/history new file mode 100644 index 0000000..a5dc1ba Binary files /dev/null and b/conf/config/micro/buffers/history differ diff --git a/conf/config/micro/settings.json b/conf/config/micro/settings.json new file mode 100644 index 0000000..f91161c --- /dev/null +++ b/conf/config/micro/settings.json @@ -0,0 +1,59 @@ +{ + "autoclose": true, + "autoindent": true, + "autosave": 0, + "autosu": false, + "backup": true, + "basename": false, + "colorcolumn": 0, + "colorscheme": "simple", + "comment": true, + "cursorline": true, + "diff": true, + "diffgutter": false, + "encoding": "utf-8", + "eofnewline": true, + "fastdirty": false, + "fileformat": "unix", + "filetype": "unknown", + "ftoptions": true, + "ignorecase": false, + "indentchar": " ", + "infobar": true, + "keepautoindent": false, + "keymenu": false, + "linter": true, + "literate": true, + "matchbrace": true, + "mkparents": false, + "mouse": true, + "paste": true, + "pluginchannels": [ + "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json" + ], + "pluginrepos": [], + "readonly": false, + "rmtrailingws": false, + "ruler": true, + "savecursor": false, + "savehistory": true, + "saveundo": false, + "scrollbar": true, + "scrollmargin": 3, + "scrollspeed": 2, + "smartpaste": true, + "softwrap": false, + "splitbottom": true, + "splitright": true, + "status": true, + "statusformatl": "$(filename) $(modified)($(line),$(col)) $(status.paste)| ft:$(opt:filetype) | $(opt:fileformat) | $(opt:encoding)", + "statusformatr": "$(bind:ToggleKeyMenu): bindings, $(bind:ToggleHelp): help", + "statusline": true, + "sucmd": "sudo", + "syntax": true, + "tabmovement": false, + "tabsize": 4, + "tabstospaces": false, + "useprimary": true, + "xterm": false +} diff --git a/conf/config/mpv/mpv.conf b/conf/config/mpv/mpv.conf new file mode 100644 index 0000000..027f313 --- /dev/null +++ b/conf/config/mpv/mpv.conf @@ -0,0 +1 @@ +gpu-context=wayland diff --git a/conf/config/polybar/config b/conf/config/polybar/config new file mode 100644 index 0000000..3f744c5 --- /dev/null +++ b/conf/config/polybar/config @@ -0,0 +1,385 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/vantagev1] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = monospace:pixelsize=10;1 +font-1 = monospace:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = bspwm +modules-center = xwindow +modules-right = backlight-acpi alsa xkeyboard cpu temperature battery date powermenu + +tray-position = right +tray-padding = 0 +;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 + +cursor-click = pointer +cursor-scroll = ns-resize + +[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 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[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 + +; Separator in between workspaces +; label-separator = | + +[module/mpd] +type = internal/mpd +format-online = + +;icon-prev =  +;icon-stop =  +;icon-play =  +;icon-pause =  +;icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =