From 3b47e77fc1f319af72e4c7368e59a86908bcd406 Mon Sep 17 00:00:00 2001 From: "Matthieu Fortin (CPC/CCP)" Date: Wed, 20 Nov 2024 13:12:43 -0500 Subject: [PATCH] One day I'll actually start looking at what Copilot generates instead of just immediately pushing it. --- bash/.bashrc | 2 + .../geany/colorschemes/catppuccin-mocha.conf | 130 +++++++++++ geany/.config/geany/filedefs/filetypes.README | 2 + geany/.config/geany/geany.conf | 201 ++++++++++++++++++ geany/.config/geany/keybindings.conf | 0 .../plugins/filebrowser/filebrowser.conf | 7 + .../plugins/git-changebar/git-changebar.conf | 7 + .../geany/plugins/markdown/markdown.conf | 11 + .../geany/plugins/markdown/template.html | 19 ++ geany/.config/geany/session.conf | 32 +++ .../.config/geany/templates/templates.README | 2 + hypr/.config/hypr/README.md | 1 + hypr/.config/hypr/hyprland.conf | 1 + hypr/.config/hypr/hyprshade.toml | 10 + nvim/.config/nvim/lua/plugins/neorg.lua | 6 + .../{orgmode.lua => orgmode.lua.disabled} | 0 16 files changed, 431 insertions(+) create mode 100644 geany/.config/geany/colorschemes/catppuccin-mocha.conf create mode 100644 geany/.config/geany/filedefs/filetypes.README create mode 100644 geany/.config/geany/geany.conf create mode 100644 geany/.config/geany/keybindings.conf create mode 100644 geany/.config/geany/plugins/filebrowser/filebrowser.conf create mode 100644 geany/.config/geany/plugins/git-changebar/git-changebar.conf create mode 100644 geany/.config/geany/plugins/markdown/markdown.conf create mode 100644 geany/.config/geany/plugins/markdown/template.html create mode 100644 geany/.config/geany/session.conf create mode 100644 geany/.config/geany/templates/templates.README create mode 100644 hypr/.config/hypr/hyprshade.toml create mode 100644 nvim/.config/nvim/lua/plugins/neorg.lua rename nvim/.config/nvim/lua/plugins/{orgmode.lua => orgmode.lua.disabled} (100%) diff --git a/bash/.bashrc b/bash/.bashrc index c407e7b..439071a 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -16,6 +16,8 @@ export HISTFILESIZE=10000 export HISTSIZE=500 export HISTCONTROL=erasedups:ignoredups:ignorespace +export MANPAGER="sh -c 'col -bx | bat -l man -p'" + shopt -s checkwinsize shopt -s histappend PROMPT_COMMAND='history -a' diff --git a/geany/.config/geany/colorschemes/catppuccin-mocha.conf b/geany/.config/geany/colorschemes/catppuccin-mocha.conf new file mode 100644 index 0000000..f80e026 --- /dev/null +++ b/geany/.config/geany/colorschemes/catppuccin-mocha.conf @@ -0,0 +1,130 @@ +# +# catppuccin.conf +# +# Copyright 2022 waxxx333 +# Reference the filetypes files before editing this config file. +# +[theme_info] +name=Catppuccin Mocha +description=Soothing pastel theme for the high-spirited! +version=0.2.5 +author=Isabelinc +compat=1.22;1.23;1.23.1;1.24 + +[named_colors] +rosewater=#f5e0dc +flamingo=#f2cdcd +pink=#f5c2e7 +mauve=#cba6f7 +red=#f38ba8 +maroon=#eba0ac +peach=#fab387 +yellow=#f9e2af +green=#a6e3a1 +teal=#94e2d5 +sky=#89dceb +sapphire=#74c7ec +blue=#89b4fa +lavender=#b4befe +text=#cdd6f4 +subtext1=#bac2de +subtext0=#a6adc8 +overlay2=#9399b2 +overlay1=#7f849c +overlay0=#6c7086 +surface2=#585b70 +surface1=#45475a +surface0=#313244 +base=#1e1e2e +mantle=#181825 +crust=#11111b + +[named_styles] +operator=blue +default=subtext1;base;false;false +error=red;yellow;false;true +op=blue;base;true;false +# Editor UI +# selection: words; background +selection=pink;blue;false;false +current_line=;surface0;true +brace_good=green;overlay1;true;true +brace_bad=red;overlay1;true;true +margin_line_number=text;base +margin_folding=text;surface0 +fold_symbol_highlight=text +indent_guide=overlay1 +caret=text;;false +marker_line=yellow;yellow +marker_search=mantle;blue +marker_mark=green;surface0 +call_tips=overlay1;text;false;false +white_space=overlay1;;true + +# Basic langs +comment=overlay0 +comment_doc=comment +comment_line=overlay0 +comment_line_doc=comment_doc +comment_doc_keyword=comment,bold +comment_doc_keyword_error=comment,italic + +number=teal +number_1=number +number_2=number_1 + +# class +type=pink;;flase;true; + +class=blue +# def +function=teal;;false;true; +parameter=peach + + +keyword=default +# def, for, in +keyword_1=red;;false;true +keyword_2=default +keyword_3=peach +keyword_4=keyword_2 + +identifier=sky;;false;false +# main +identifier_1=subtext0;;false;false +identifier_2=default +identifier_3=identifier_2 +identifier_4=identifier_2 + +string=green;;false;false +string_1=peach;;false;false +string_2=green;;false;false +string_3=default +string_4=default +string_eol=string_1 +character=string_1 +backticks=string_2 +here_doc=string_2 + +scalar=string_2 +label=red +preprocessor=green +regex=pink +operator=lavender;;true;false +decorator=string_1 +other=default +extra=keyword; + +# Markup +tag=keyword +tag_unknown=tag,bold +tag_end=tag,bold +attribute=type +attribute_unknown=attribute,bold +value=number +entity=number + +# Diff +line_added=green +line_removed=red +line_changed=preprocessor diff --git a/geany/.config/geany/filedefs/filetypes.README b/geany/.config/geany/filedefs/filetypes.README new file mode 100644 index 0000000..fe58ed1 --- /dev/null +++ b/geany/.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/geany/.config/geany/geany.conf b/geany/.config/geany/geany.conf new file mode 100644 index 0000000..305ba19 --- /dev/null +++ b/geany/.config/geany/geany.conf @@ -0,0 +1,201 @@ +[geany] +pref_main_load_session=true +pref_main_project_file_in_basedir=true +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=MesloLGS Nerd Font Propo 14 +tagbar_font=Noto Sans 12 +msgwin_font=JetBrainsMono Nerd Font 12 +show_notebook_tabs=true +show_tab_cross=true +tab_order_ltr=true +tab_order_beside=false +tab_pos_editor=2 +tab_pos_msgwin=0 +tab_label_length=1000 +show_indent_guide=false +show_white_space=false +show_line_endings=false +show_line_endings_only_when_differ=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=Matthieu Fortin +pref_template_company=Canadian Police College +pref_template_mail=mattthieu.fortin.cpc@gmail.com +pref_template_initial=MF +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 +symbols_group_by_type=true +color_picker_palette= +scribble_text=Type here what you want, use it as a notice/scratch board +scribble_pos=57 +custom_date_format= +default_open_path= +cmdline_new_files=true +notebook_double_click_hides_widgets=false +tab_close_switch_to_mru=false +tab_pos_sidebar=2 +openfiles_path_mode=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 +backspace_unindent=true +pref_editor_tab_width=4 +indent_mode=2 +indent_type=1 +virtualspace=1 +change_history_markers=false +change_history_indicators=false +autocomplete_doc_words=false +completion_drops_rest_of_word=false +autocompletion_max_entries=30 +autocompletion_update_freq=250 +color_scheme=catppuccin-mocha.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 +save_config_on_file_change=true +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 %mEOL: %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 +warn_on_project_close=true + +[tools] +terminal_cmd=xterm -e "/bin/sh %c" +browser_cmd= +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 + +[VTE] +load_vte=true +font=MesloLGS Nerd Font Propo 12 +scroll_on_key=true +scroll_on_out=true +enable_bash_keys=true +ignore_menu_bar_accel=false +follow_path=false +run_in_vte=false +skip_run_script=false +cursor_blinks=false +scrollback_lines=500 +shell=/usr/bin/bash +colour_fore=#FFFFFF +colour_back=#000000 +send_cmd_prefix= +send_selection_unsafe=false + +[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 +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 diff --git a/geany/.config/geany/keybindings.conf b/geany/.config/geany/keybindings.conf new file mode 100644 index 0000000..e69de29 diff --git a/geany/.config/geany/plugins/filebrowser/filebrowser.conf b/geany/.config/geany/plugins/filebrowser/filebrowser.conf new file mode 100644 index 0000000..65f2520 --- /dev/null +++ b/geany/.config/geany/plugins/filebrowser/filebrowser.conf @@ -0,0 +1,7 @@ +[filebrowser] +open_command=nautilus "%d" +show_hidden_files=false +hide_object_files=true +hidden_file_extensions=.o .obj .so .dll .a .lib .pyc +fb_follow_path=false +fb_set_project_base_path=false diff --git a/geany/.config/geany/plugins/git-changebar/git-changebar.conf b/geany/.config/geany/plugins/git-changebar/git-changebar.conf new file mode 100644 index 0000000..e729d1d --- /dev/null +++ b/geany/.config/geany/plugins/git-changebar/git-changebar.conf @@ -0,0 +1,7 @@ +[general] +monitor-repository=true + +[colors] +line-added=#73d216 +line-changed=#f57900 +line-removed=#cc0000 diff --git a/geany/.config/geany/plugins/markdown/markdown.conf b/geany/.config/geany/plugins/markdown/markdown.conf new file mode 100644 index 0000000..1ac054b --- /dev/null +++ b/geany/.config/geany/plugins/markdown/markdown.conf @@ -0,0 +1,11 @@ +[general] +template= + +[view] +position=0 +font_name=Serif +code_font_name=Mono +font_point_size=12 +code_font_point_size=12 +bg_color=#fff +fg_color=#000 diff --git a/geany/.config/geany/plugins/markdown/template.html b/geany/.config/geany/plugins/markdown/template.html new file mode 100644 index 0000000..a2ea381 --- /dev/null +++ b/geany/.config/geany/plugins/markdown/template.html @@ -0,0 +1,19 @@ + + + + + + @@markdown@@ + + diff --git a/geany/.config/geany/session.conf b/geany/.config/geany/session.conf new file mode 100644 index 0000000..80d5a84 --- /dev/null +++ b/geany/.config/geany/session.conf @@ -0,0 +1,32 @@ +[files] +recent_files= +recent_projects= +current_page=0 + +[project] +session_file= +project_file_path=/home/matt/Projects + +[geany] +treeview_position=241 +msgwindow_position=794 +geometry=0;0;1906;1026;1; +sidebar_page=0 + +[VTE] +last_dir=/home/matt + +[search] +find_all_expanded=false +replace_all_expanded=false +position_find_x=-1 +position_find_y=-1 +position_replace_x=-1 +position_replace_y=-1 +position_fif_x=-1 +position_fif_y=-1 + +[plugins] +load_plugins=true +custom_plugin_path= +active_plugins=/usr/lib/geany/classbuilder.so;/usr/lib/geany/filebrowser.so;/usr/lib/geany/htmlchars.so;/usr/lib/geany/splitwindow.so; diff --git a/geany/.config/geany/templates/templates.README b/geany/.config/geany/templates/templates.README new file mode 100644 index 0000000..3d25d1a --- /dev/null +++ b/geany/.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/hypr/.config/hypr/README.md b/hypr/.config/hypr/README.md index ad18dbf..1ccfab4 100644 --- a/hypr/.config/hypr/README.md +++ b/hypr/.config/hypr/README.md @@ -2,3 +2,4 @@ https://github.com/gaurav210233/simple-hyprland/ https://alexforsale.github.io/dotfiles-hyprland/ https://config.phundrak.com/hyprland.html +https://alexforsale.github.io/posts/hyprland/ diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index c14115b..218f083 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -46,6 +46,7 @@ exec-once=wl-paste --type image --watch cliphist store # exec-once=~/.local/bin/hyprpaperchanger exec-once=wpaperd #exec-once=hypridle +exec-once=hyprshade auto exec-once=waybar exec-once=./xdg-desktop-portal.sh exec-once=kanshi diff --git a/hypr/.config/hypr/hyprshade.toml b/hypr/.config/hypr/hyprshade.toml new file mode 100644 index 0000000..d159e99 --- /dev/null +++ b/hypr/.config/hypr/hyprshade.toml @@ -0,0 +1,10 @@ +[[shades]] +name = "vibrance" +default = true # shader to use during times when there is no other shader scheduled + +[[shades]] +name = "blue-light-filter" +start_time = 19:00:00 +end_time = 06:00:00 # optional if you have more than one shade with start_time + + diff --git a/nvim/.config/nvim/lua/plugins/neorg.lua b/nvim/.config/nvim/lua/plugins/neorg.lua new file mode 100644 index 0000000..d1860b7 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/neorg.lua @@ -0,0 +1,6 @@ +return { + "nvim-neorg/neorg", + lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default + version = "*", -- Pin Neorg to the latest stable release + config = true, +} diff --git a/nvim/.config/nvim/lua/plugins/orgmode.lua b/nvim/.config/nvim/lua/plugins/orgmode.lua.disabled similarity index 100% rename from nvim/.config/nvim/lua/plugins/orgmode.lua rename to nvim/.config/nvim/lua/plugins/orgmode.lua.disabled