diff --git a/README.md b/README.md index b526600..0ac1dc8 100644 --- a/README.md +++ b/README.md @@ -1,21 +1 @@ # my dots - -dots for my laptop 「itomori」, managed with `gnu stow`. -Files can be `stow`'ed and un'`stow`'ed with `stow.sh`. -It will link all dotfiles to their correct place. -Un-`stow` with `./stow.sh -D`. - -## deps -+ `fzf` (`zsh`, `nvim`) -+ `ripgrep` (`nvim`) -+ `fd` (rust find; `nvim`) - -Also run `checkhealth` in `nvim` after a first install - -## laptop -laptop uses `Xft.dpi: 192` - -## gnome-terminal - -$ dconf dump /org/gnome/terminal/legacy/profiles:/ > gnome-terminal.dconf -$ dconf load /org/gnome/terminal/legacy/profiles:/ < gnome-terminal.dconf diff --git a/files/fonts/.fonts/.uuid b/files/fonts/.fonts/.uuid deleted file mode 100644 index d20c5cd..0000000 --- a/files/fonts/.fonts/.uuid +++ /dev/null @@ -1 +0,0 @@ -14304504-7ad4-40e7-a285-02c20838a7df \ No newline at end of file diff --git a/files/fonts/.fonts/LICENSE.txt b/files/fonts/.fonts/LICENSE.txt deleted file mode 100644 index 75b5248..0000000 --- a/files/fonts/.fonts/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Bold.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Bold.ttf deleted file mode 100644 index bf3cb5c..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Bold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-BoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-BoldItalic.ttf deleted file mode 100644 index 221d662..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-BoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Italic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Italic.ttf deleted file mode 100644 index d831f41..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Italic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Light.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Light.ttf deleted file mode 100644 index be6bd57..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Light.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-LightItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-LightItalic.ttf deleted file mode 100644 index ff3ef6d..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-LightItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Medium.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Medium.ttf deleted file mode 100644 index 079f142..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Medium.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-MediumItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-MediumItalic.ttf deleted file mode 100644 index d492160..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-MediumItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Regular.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Regular.ttf deleted file mode 100644 index 1d5c59d..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Regular.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-SemiBold.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-SemiBold.ttf deleted file mode 100644 index 58c27da..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-SemiBold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-SemiBoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-SemiBoldItalic.ttf deleted file mode 100644 index b636646..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-SemiBoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-Thin.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-Thin.ttf deleted file mode 100644 index 960787a..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-Thin.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFont-ThinItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFont-ThinItalic.ttf deleted file mode 100644 index a0d2545..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFont-ThinItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Bold.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Bold.ttf deleted file mode 100644 index 1733666..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Bold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-BoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-BoldItalic.ttf deleted file mode 100644 index be43bd6..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-BoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Italic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Italic.ttf deleted file mode 100644 index 3e41e2b..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Italic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Light.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Light.ttf deleted file mode 100644 index c7da190..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Light.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-LightItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-LightItalic.ttf deleted file mode 100644 index 0238a09..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-LightItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Medium.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Medium.ttf deleted file mode 100644 index 6e4c7cb..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Medium.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-MediumItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-MediumItalic.ttf deleted file mode 100644 index ba82733..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-MediumItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Regular.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Regular.ttf deleted file mode 100644 index 6d0a0e3..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Regular.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBold.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBold.ttf deleted file mode 100644 index f98ccd0..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBoldItalic.ttf deleted file mode 100644 index 64b616b..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-SemiBoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-Thin.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-Thin.ttf deleted file mode 100644 index fbec36c..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-Thin.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontMono-ThinItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontMono-ThinItalic.ttf deleted file mode 100644 index 0caf223..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontMono-ThinItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Bold.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Bold.ttf deleted file mode 100644 index 7cd574e..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Bold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-BoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-BoldItalic.ttf deleted file mode 100644 index 8378f43..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-BoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Italic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Italic.ttf deleted file mode 100644 index f3f0209..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Italic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Light.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Light.ttf deleted file mode 100644 index 52af824..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Light.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-LightItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-LightItalic.ttf deleted file mode 100644 index 1c6e32b..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-LightItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Medium.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Medium.ttf deleted file mode 100644 index 60561c5..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Medium.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-MediumItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-MediumItalic.ttf deleted file mode 100644 index 6cc6c33..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-MediumItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Regular.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Regular.ttf deleted file mode 100644 index 435ca13..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Regular.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBold.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBold.ttf deleted file mode 100644 index 5193892..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBold.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBoldItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBoldItalic.ttf deleted file mode 100644 index 58a80a8..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-SemiBoldItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Thin.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-Thin.ttf deleted file mode 100644 index 3cb6f24..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-Thin.ttf and /dev/null differ diff --git a/files/fonts/.fonts/RobotoMonoNerdFontPropo-ThinItalic.ttf b/files/fonts/.fonts/RobotoMonoNerdFontPropo-ThinItalic.ttf deleted file mode 100644 index 0346753..0000000 Binary files a/files/fonts/.fonts/RobotoMonoNerdFontPropo-ThinItalic.ttf and /dev/null differ diff --git a/files/fonts/.fonts/readme.md b/files/fonts/.fonts/readme.md deleted file mode 100644 index 9f2e700..0000000 --- a/files/fonts/.fonts/readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Nerd Fonts - -This is an archived font from a Nerd Fonts release. - -For more information see: -* https://github.com/ryanoasis/nerd-fonts/ -* https://github.com/ryanoasis/nerd-fonts/releases/latest/ diff --git a/files/i3/.config/i3/config b/files/i3/.config/i3/config deleted file mode 100644 index 519f75b..0000000 --- a/files/i3/.config/i3/config +++ /dev/null @@ -1,178 +0,0 @@ -set $mod Mod4 -floating_modifier $mod - -font pango:SFMono Bold 10 - -set $bg #2F383E -set $alt #56635f -set $fg #D3C6AA -set $accent #93b259 -set $inactive #dfa000 -set $alert #e67e80 - -workspace_layout tabbed - -# https://wiki.archlinux.org/index.php/XDG_Autostart -# manage via gnome tweaks -exec --no-startup-id dex-autostart --autostart --environment i3 - -# -#### Screen(setup) -# - -exec_always --no-startup-id ~/.screenlayout/default.sh - -exec --no-startup-id light -S 25 -bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5 -bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5 - -# -#### Locking -# - -exec --no-startup-id xss-lock --transfer-sleep-lock -- xlock \ - -mode space \ - -echokeys \ - -font "-*-*-*-r-*-*-34-*-*-*-*-*-*-*" \ - -planfont "-*-*-*-r-*-*-34-*-*-*-*-*-*-*" \ - -startCmd "dunstctl set-paused true" \ - -endCmd "dunstctl set-paused false" - -bindsym $mod+Ctrl+BackSpace exec --no-startup-id loginctl lock-session -bindsym $mod+Ctrl+Shift+BackSpace exec --no-startup-id systemctl suspend - -# -#### Input -# - -# add 'Option "XkbOptions" "caps:swapescape"' to /etc/X11/xorg.conf.d/00-keyboard.conf -exec_always --no-startup-id setxkbmap eu -exec_always --no-startup-id xinput --set-prop 'pointer:Logitech MX Vertical' 'libinput Accel Profile Enabled' 0, 1 -exec_always --no-startup-id xinput --set-prop 'pointer:Logitech USB Receiver' 'libinput Accel Profile Enabled' 0, 1 -exec_always --no-startup-id xset r rate 250 50 - -# fcitx5 fcitx5-configtool fcitx5-gtk4 fcitx5-qt fcitx5-mozc -exec --no-startup-id fcitx5 - -# -#### Networking -# - -exec --no-startup-id nm-applet -exec --no-startup-id blueman-applet - -# -#### Audio -# - -bindsym $mod+a exec --no-startup-id pavucontrol -t 1 - -# -#### Notifications -# - -bindsym Ctrl+space exec --no-startup-id dunstctl close-all -bindsym Ctrl+Shift+space exec --no-startup-id dunstctl history-pop - -# -#### Launch programs -# - -bindsym $mod+Return exec --no-startup-id alacritty -bindsym $mod+Shift+q kill -bindsym $mod+space exec --no-startup-id dmenu_run \ - -m 0 \ - -i \ - -b \ - -l 10 \ - -p dmenu \ - -fn SFMono-11 \ - -nb "#2f383e" \ - -nf "#d3c6aa" \ - -sb "#93b259" \ - -sf "#2f383e" -bindsym $mod+Shift+s exec --no-startup-id flameshot gui - -# -#### Control i3 -# - -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l 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+f fullscreen toggle - -bindsym $mod+Shift+space floating toggle - -bindsym $mod+1 workspace number 1 -bindsym $mod+2 workspace number 2 -bindsym $mod+3 workspace number 3 -bindsym $mod+4 workspace number 4 -bindsym $mod+5 workspace number 5 -bindsym $mod+6 workspace number 6 -bindsym $mod+7 workspace number 7 -bindsym $mod+8 workspace number 8 -bindsym $mod+9 workspace number 9 -bindsym $mod+0 workspace number 10 - -bindsym $mod+Shift+1 move container to workspace number 1 -bindsym $mod+Shift+2 move container to workspace number 2 -bindsym $mod+Shift+3 move container to workspace number 3 -bindsym $mod+Shift+4 move container to workspace number 4 -bindsym $mod+Shift+5 move container to workspace number 5 -bindsym $mod+Shift+6 move container to workspace number 6 -bindsym $mod+Shift+7 move container to workspace number 7 -bindsym $mod+Shift+8 move container to workspace number 8 -bindsym $mod+Shift+9 move container to workspace number 9 -bindsym $mod+Shift+0 move container to workspace number 10 - -bindsym $mod+t layout tabbed -bindsym $mod+s layout splith - -bindsym $mod+Shift+c reload -bindsym $mod+Shift+r restart - -# -#### Default Session -# - -for_window [class="firefox"] move to workspace 10 -for_window [class="discord"] move to workspace 10 -for_window [class="Spotify"] move to workspace 10 - -workspace 1 output DP-4 -workspace 10 output DP-0 - -# i3-save-tree --workspace 2 > ~/.screenlayout/i3layout.json -# remember to adjust 'swallow' -exec --no-startup-id i3-msg "workspace 10; append_layout ~/.screenlayout/i3layout.json; workspace 1" -exec --no-startup-id firefox -exec --no-startup-id spotify -exec --no-startup-id discord - -# -#### Look -# - -# class border backgr. text indicator child_border -client.focused $bg $bg $fg $bg $bg -client.focused_inactive $bg $bg $alt $bg $bg -client.unfocused $bg $bg $alt $bg $bg -client.urgent $bg $bg $alert $bg $bg - -for_window [all] title_window_icon on -default_border none -title_align center - -exec --no-startup-id nitrogen --restore -exec_always --no-startup-id ~/.config/polybar/launch.sh -exec_always --no-startup-id pkill picom && picom - -gaps inner 5 diff --git a/files/lazygit/.config/lazygit/config.yml b/files/lazygit/.config/lazygit/config.yml deleted file mode 100644 index adf012b..0000000 --- a/files/lazygit/.config/lazygit/config.yml +++ /dev/null @@ -1,229 +0,0 @@ -gui: - authorColors: { '*': 'blue' } - branchColors: {} - scrollHeight: 2 - scrollPastBottom: true - mouseEvents: true - skipUnstageLineWarning: false - skipStashWarning: false - sidePanelWidth: 0.3333 - expandFocusedSidePanel: false - mainPanelSplitMode: flexible - language: auto - timeFormat: 02 Jan 06 15:04 MST - theme: - activeBorderColor: - - green - - bold - inactiveBorderColor: - - default - optionsTextColor: - - blue - selectedLineBgColor: - - #000000 - selectedRangeBgColor: - - blue - cherryPickedCommitBgColor: - - cyan - cherryPickedCommitFgColor: - - blue - unstagedChangesColor: - - red - commitLength: - show: true - skipNoStagedFilesWarning: false - showListFooter: true - showFileTree: true - showRandomTip: true - showCommandLog: false - showBottomLine: false - showIcons: false - commandLogSize: 8 - splitDiff: auto -git: - paging: - colorArg: always - pager: "" - useConfig: false - commit: - signOff: false - merging: - manualCommit: false - args: "" - skipHookPrefix: WIP - autoFetch: true - autoRefresh: true - branchLogCmd: git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} -- - allBranchesLogCmd: git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium - overrideGpg: false - disableForcePushing: false - commitPrefixes: {} - parseEmoji: false - log: - order: topo-order - showGraph: when-maximised - showWholeGraph: false - diffContextSize: 3 -update: - method: prompt - days: 14 -refresher: - refreshInterval: 10 - fetchInterval: 60 -reporting: undetermined -splashUpdatesIndex: 0 -confirmOnQuit: true -quitOnTopLevelReturn: false -keybinding: - universal: - quit: q - quit-alt1: - return: - quitWithoutChangingDirectory: Q - togglePanel: - prevItem: - nextItem: - prevItem-alt: k - nextItem-alt: j - prevPage: ',' - nextPage: . - scrollLeft: H - scrollRight: L - gotoTop: < - gotoBottom: '>' - prevBlock: - nextBlock: - prevBlock-alt: h - nextBlock-alt: l - nextBlock-alt2: - prevBlock-alt2: - jumpToBlock: - - "1" - - "2" - - "3" - - "4" - - "5" - nextMatch: "n" - prevMatch: "N" - startSearch: / - optionMenu: x - optionMenu-alt1: '?' - select: - goInto: - confirm: - confirm-alt1: "y" - remove: d - new: "n" - edit: e - openFile: o - scrollUpMain: - scrollDownMain: - scrollUpMain-alt1: K - scrollDownMain-alt1: J - scrollUpMain-alt2: - scrollDownMain-alt2: - executeCustomCommand: ':' - createRebaseOptionsMenu: m - pushFiles: P - pullFiles: p - refresh: R - createPatchOptionsMenu: - nextTab: ']' - prevTab: '[' - nextScreenMode: + - prevScreenMode: _ - undo: z - redo: - filteringMenu: - diffingMenu: W - diffingMenu-alt: - copyToClipboard: - openRecentRepos: - submitEditorText: - appendNewline: - extrasMenu: '@' - toggleWhitespaceInDiffView: - increaseContextInDiffView: '}' - decreaseContextInDiffView: '{' - status: - checkForUpdate: u - recentRepos: - allBranchesLogGraph: a - files: - commitChanges: c - commitChangesWithoutHook: w - amendLastCommit: A - commitChangesWithEditor: C - IgnoreOrExcludeFile: i - refreshFiles: r - stashAllChanges: s - viewStashOptions: S - toggleStagedAll: a - viewResetOptions: D - fetch: f - toggleTreeView: '`' - openMergeTool: M - openStatusFilter: - branches: - createPullRequest: o - viewPullRequestOptions: O - copyPullRequestURL: - checkoutBranchByName: c - forceCheckoutBranch: F - rebaseBranch: r - renameBranch: R - mergeIntoCurrentBranch: M - viewGitFlowOptions: i - fastForward: f - pushTag: P - setUpstream: u - fetchRemote: f - commits: - squashDown: s - renameCommit: r - renameCommitWithEditor: R - viewResetOptions: g - markCommitAsFixup: f - createFixupCommit: F - squashAboveCommits: S - moveDownCommit: null - moveUpCommit: null - amendToCommit: A - resetCommitAuthor: a - pickCommit: p - revertCommit: t - cherryPickCopy: c - cherryPickCopyRange: C - pasteCommits: v - tagCommit: T - checkoutCommit: - resetCherryPick: - copyCommitAttributeToClipboard: "y" - openLogMenu: - openInBrowser: o - viewBisectOptions: b - stash: - popStash: g - renameStash: r - commitFiles: - checkoutCommitFile: c - main: - toggleDragSelect: v - toggleDragSelect-alt: V - toggleSelectHunk: a - pickBothHunks: b - editSelectHunk: E - submodules: - init: i - update: u - bulkMenu: b -os: - openCommand: xdg-open {{filename}} >/dev/null - openLinkCommand: xdg-open {{link}} >/dev/null -disableStartupPopups: false -customCommands: [] -services: {} -notARepository: prompt -promptToReturnFromSubprocess: true - - diff --git a/files/nvim/.config/nvim/init.lua b/files/nvim/.config/nvim/init.lua deleted file mode 100644 index f51388d..0000000 --- a/files/nvim/.config/nvim/init.lua +++ /dev/null @@ -1,16 +0,0 @@ --- NOTE: Make sure to update packer with `:PackerInstall` and `:PackerSync` - --- NOTE: Update Treesitter with `:TSUpdate` after every nvim update - --- NOTE: Install LSP with `:LSPInstall`, log with `:LSPInfo` - --- NOTE: Rollback possible with packer.nvim: --- Always create a snapshot BEFORE upgrading `:PackerSnapshot YEAR-MONTH-DAY` --- Location: ~/.cache/nvim/packer.nvim - --- This must be loaded first -vim.cmd("set termguicolors") - -require 'plugins' -- Load plugins and their conf -require 'settings' -- General settings -require 'mappings' -- Keyboard mappings diff --git a/files/nvim/.config/nvim/lua/mappings.lua b/files/nvim/.config/nvim/lua/mappings.lua deleted file mode 100644 index 2576690..0000000 --- a/files/nvim/.config/nvim/lua/mappings.lua +++ /dev/null @@ -1,113 +0,0 @@ -local map = vim.api.nvim_set_keymap -local wk = require 'which-key' -local default_opts = { noremap = true, silent = true } - -vim.g.mapleader = ' ' - --- map("n", "", " noh", default_opts) -map("n", "", " messages", default_opts) - --- Telescope -local telescope = require 'telescope' -local actions = require "telescope.actions" -telescope.setup({ - defaults = { - mappings = { - i = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - }, - n = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - } - } - } -}) -map("n", "", " Telescope find_files find_command=rg,--ignore,--hidden,--files", default_opts) -map("n", "", " Telescope live_grep previewer=false", default_opts) -map("n", "", " Telescope keymaps", default_opts) - --- LSP -map("n", "la", " lua vim.lsp.buf.code_action()", default_opts) -map("n", "ld", " Telescope lsp_definitions", default_opts) -map("n", "le", " Telescope diagnostics previewer=false", default_opts) -map("n", "lf", " lua vim.lsp.buf.format {async = true }", default_opts) -map("n", "lh", " lua vim.lsp.buf.hover()", default_opts) -map("i", "", " lua vim.lsp.buf.signature_help()", default_opts) -map("n", "", " lua vim.lsp.buf.signature_help()", default_opts) -map("n", "ln", " lua vim.lsp.buf.rename()", default_opts) -map("n", "lr", " Telescope lsp_references", default_opts) -map("n", "ls", " Telescope lsp_workspace_symbols", default_opts) -map("n", "lt", " TodoTelescope previewer=false", default_opts) -map("n", "lp", " call SVED_Sync()", default_opts) -wk.register({ - [""] = { - l = { - a = { "Actions" }, - d = { "Definitions" }, - e = { "Errors" }, - f = { "Format buffer" }, - h = { "Hover information" }, - n = { "(Re)Name symbol" }, - r = { "References" }, - s = { "Symbols" }, - t = { "TODOs" }, - } - } -}) - --- git(1) -map("n", "gb", " Git blame", default_opts) -map("n", "gl", " LazyGitFilter", default_opts) -map("n", "gf", " LazyGitFilterCurrentFile", default_opts) -map("n", "gs", " LazyGit", default_opts) -wk.register({ - [""] = { - g = { - b = { "Blame" }, - l = { "Log" }, - f = { "(Log Current) File" }, - s = { "Status" }, - } - } -}) - --- telescope-symbols -map("n", "ie", " lua require'telescope.builtin'.symbols{ sources = { 'emoji', 'gitmoji' } }", default_opts) -map("n", "im", " lua require'telescope.builtin'.symbols{ sources = { 'julia' } }", default_opts) -map("n", "in", " lua require'telescope.builtin'.symbols{ sources = { 'nerd' } }", default_opts) -wk.register({ - [""] = { - i = { - e = { "Emoji" }, - m = { "Math symbol" }, - n = { "Nerd Font icon" }, - } - } -}) - --- Comment.nvim -require('Comment').setup({ - opleader = { - line = '', - } -}) - --- cmp -local cmp = require 'cmp' -cmp.setup({ - mapping = { - [""] = cmp.mapping.select_prev_item(), - [""] = cmp.mapping.select_next_item(), - [""] = cmp.mapping.confirm({ - behavior = cmp.ConfirmBehavior.Insert, - select = true, - }), - }, -}) - --- nvim-tree -map("n", "tt", " NvimTreeToggle", default_opts) -map("n", "tc", " NvimTreeCollapse", default_opts) -map("n", "tr", " NvimTreeRefresh", default_opts) diff --git a/files/nvim/.config/nvim/lua/plugins/everforest-conf.lua b/files/nvim/.config/nvim/lua/plugins/everforest-conf.lua deleted file mode 100644 index 4a2e986..0000000 --- a/files/nvim/.config/nvim/lua/plugins/everforest-conf.lua +++ /dev/null @@ -1,3 +0,0 @@ -vim.cmd("set background=light") -vim.cmd("let g:everforest_background = 'medium'") -vim.cmd("colorscheme everforest") diff --git a/files/nvim/.config/nvim/lua/plugins/init.lua b/files/nvim/.config/nvim/lua/plugins/init.lua deleted file mode 100644 index 4e57b09..0000000 --- a/files/nvim/.config/nvim/lua/plugins/init.lua +++ /dev/null @@ -1,164 +0,0 @@ --- NOTE: Required plugins are maintained here. - --- NOTE: Plugin configuration: ${plugin}-conf.lua - --- NOTE: Use `checkhealth` after new installation - --- NOTE: Mention all dependencies in 'requires', but create their own entry, --- if they need configuration. - -local fn = vim.fn - --- This should auto install packer, if it is not installed on system --- Otherwise use: --- git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim -local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim' -if fn.empty(fn.glob(install_path)) > 0 then - packer_bootstrap = fn.system({ 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', - install_path }) -end - -return require('packer').startup(function(use) - -- Packer can manage itself - use 'wbthomason/packer.nvim' - - -- Theme - use({ - 'sainnhe/everforest', - config = function() require('plugins.everforest-conf') end, - }) - - -- Icons - use({ - 'kyazdani42/nvim-web-devicons', - config = function() require 'nvim-web-devicons'.setup({ default = true }) end, - }) - - -- LuaLine - use({ - 'nvim-lualine/lualine.nvim', - requires = { - 'kyazdani42/nvim-web-devicons', -- All icons in bar - }, - config = function() require('plugins.lualine-conf') end, - }) - - -- Fuzzy Finder (Files etc) - use({ - 'nvim-telescope/telescope.nvim', - requires = { - 'nvim-lua/plenary.nvim', -- General functions - 'nvim-telescope/telescope-symbols.nvim', -- Search for icons - }, - config = function() require('plugins.telescope-conf') end, - }) - - -- Auto Indentation - use({ - 'nmac427/guess-indent.nvim', - config = function() require('guess-indent').setup {} end, - }) - - -- Autopairs - use({ - 'windwp/nvim-autopairs', - config = function() require('nvim-autopairs').setup({}) end, - }) - - -- Treesitter - use({ - 'nvim-treesitter/nvim-treesitter', - requires = { - 'kyazdani42/nvim-web-devicons', - }, - config = function() require('plugins.nvim-treesitter-conf') end, - }) - - -- LSP - use({ - 'neovim/nvim-lspconfig', - requires = { - 'williamboman/nvim-lsp-installer', - 'simrat39/rust-tools.nvim', - }, - config = function() require('plugins.nvim-lspconfig-conf') end, - }) - - -- Suggestion window + snippets - use({ - 'hrsh7th/nvim-cmp', - requires = { - 'L3MON4D3/LuaSnip', -- Snippet engine - 'hrsh7th/cmp-buffer', -- Source: buffer - 'hrsh7th/cmp-nvim-lsp', -- Source: LSP symbols - 'hrsh7th/cmp-path', -- Source: path - 'rafamadriz/friendly-snippets', -- Source: JSON style snippets for LuaSnip - 'saadparwaiz1/cmp_luasnip', -- Make LuaSnip work with cmp - }, - config = function() require('plugins.nvim-cmp-conf') end, - }) - - -- which-key - use { - 'folke/which-key.nvim', - config = function() require('plugins.which-key-conf') end - } - - -- Align with `:Align ` - use 'RRethy/nvim-align' - - -- Easily comment out stuff - use({ - 'numToStr/Comment.nvim', - config = function() require('Comment').setup() end, - }) - - -- Highlight TODOs - use { - 'folke/todo-comments.nvim', - requires = 'nvim-lua/plenary.nvim', - config = function() require('todo-comments').setup {} end, - } - - -- interactive git - use({ 'kdheepak/lazygit.nvim' }) - - -- git command wrapper - use({ 'tpope/vim-fugitive' }) - - -- git signs at left side (+ blame line) - use({ - 'lewis6991/gitsigns.nvim', - config = function() require('gitsigns').setup() end, - }) - - -- show color codes inline - use({ - 'norcalli/nvim-colorizer.lua', - config = function() require 'colorizer'.setup() end, - }) - - -- fancy lsp loading animation - use({ - 'j-hui/fidget.nvim', - config = function() require 'fidget'.setup {} end, - }) - - -- latex synctex (requires`pip install pygobject dbus-python pynvim`) - use({ 'peterbjorgensen/sved' }) - - -- d2-lang support (https://d2lang.com/tour/intro/) - use({'terrastruct/d2-vim'}) - - -- tree sidebar - use({ - 'nvim-tree/nvim-tree.lua', - config = function() require('nvim-tree').setup() end, - }) - - -- Automatically set up your configuration after cloning packer.nvim - -- Put this at the end after all plugins - if packer_bootstrap then - require('packer').sync() - end -end) diff --git a/files/nvim/.config/nvim/lua/plugins/lualine-conf.lua b/files/nvim/.config/nvim/lua/plugins/lualine-conf.lua deleted file mode 100644 index aaf5705..0000000 --- a/files/nvim/.config/nvim/lua/plugins/lualine-conf.lua +++ /dev/null @@ -1,120 +0,0 @@ -local function showTrailing() - local space = vim.fn.search([[\s\+$]], 'nwc') - return space ~= 0 and "TW:" .. space or "" -end - -local function showWordcount() - if vim.bo.filetype == "markdown" or vim.bo.filetype == "tex" then - if vim.fn.wordcount().visual_words == 1 then - return tostring(vim.fn.wordcount().visual_words) .. " word" - elseif not (vim.fn.wordcount().visual_words == nil) then - return tostring(vim.fn.wordcount().visual_words) .. " words" - else - return tostring(vim.fn.wordcount().words) .. " words" - end - else - return "" - end -end - -local function showLsp() - local msg = 'No Lsp' - local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') - local clients = vim.lsp.get_active_clients() - if next(clients) == nil then - return msg - end - for _, client in ipairs(clients) do - local filetypes = client.config.filetypes - if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then - return " " .. client.name - end - end - return " " .. msg -end - --- used as mode-module --- https://github.com/nvim-lualine/lualine.nvim/issues/614 -local mode_map = { - ['n'] = '', - ['no'] = 'O-P', - ['nov'] = 'O-P', - ['noV'] = 'O-P', - ['no'] = 'O-P', - ['niI'] = '', - ['niR'] = '', - ['niV'] = '', - ['nt'] = '', - ['v'] = '', - ['vs'] = '', - ['V'] = ' ', - ['Vs'] = ' ', - [''] = ' ', - ['s'] = ' ', - ['s'] = 'S', - ['S'] = 'SL', - ['i'] = '', - ['ic'] = '', - ['ix'] = '', - ['R'] = '菱', - ['Rc'] = '菱', - ['Rx'] = '菱', - ['Rv'] = 'VR', - ['Rvc'] = 'VR', - ['Rvx'] = 'VR', - ['c'] = '', - ['cv'] = 'EX', - ['ce'] = 'EX', - ['r'] = 'R', - ['rm'] = 'MORE', - ['r?'] = 'CONFIRM', - ['!'] = 'SH', - ['t'] = 'T', -} - --- actually load bar -require('lualine').setup({ - options = { - -- lualine comes with 'everforest' theme - theme = 'everforest', - }, - sections = { - lualine_a = { - -- mode icon - function() - return mode_map[vim.api.nvim_get_mode().mode] or "__" - end - }, - lualine_b = { - 'branch', - }, - lualine_c = { - { - 'filename', - path = 1, - shorting_target = 80, - }, - }, - lualine_x = { - { - 'diagnostics', - diagnostics_color = { - warn = { fg = "orange" }, - info = { fg = "#479bc7" }, - hint = { fg = "darkcyan" } - }, - }, - }, - lualine_y = { - 'encoding', - 'fileformat', - 'filetype', - { showLsp } - }, - lualine_z = { - { showWordcount }, - 'location', - { showTrailing }, - }, - }, -}) diff --git a/files/nvim/.config/nvim/lua/plugins/nvim-cmp-conf.lua b/files/nvim/.config/nvim/lua/plugins/nvim-cmp-conf.lua deleted file mode 100644 index 883ef97..0000000 --- a/files/nvim/.config/nvim/lua/plugins/nvim-cmp-conf.lua +++ /dev/null @@ -1,65 +0,0 @@ -lspkind = { - Namespace = "", - Text = " ", - Method = " ", - Function = " ", - Constructor = " ", - Field = "ﰠ ", - Variable = " ", - Class = "ﴯ ", - Interface = " ", - Module = " ", - Property = "ﰠ ", - Unit = "塞 ", - Value = " ", - Enum = " ", - Keyword = " ", - Snippet = " ", - Color = " ", - File = " ", - Reference = " ", - Folder = " ", - EnumMember = " ", - Constant = " ", - Struct = "פּ ", - Event = " ", - Operator = " ", - TypeParameter = " ", - Table = "", - Object = " ", - Tag = "", - Array = "[]", - Boolean = " ", - Number = " ", - Null = "ﳠ", - String = " ", - Calendar = "", - Watch = " ", - Package = "", -} - -local cmp = require 'cmp' -cmp.setup({ - snippet = { - expand = function(args) -- set a snippet engine - require("luasnip").lsp_expand(args.body) - end, - }, - sources = { - { name = 'luasnip', keyword_length = 1, max_item_count = 3 }, - { name = 'nvim_lsp', keyword_length = 1, max_item_count = 10 }, - { name = 'buffer', keyword_length = 5, max_item_count = 3 }, - { name = 'path' }, - }, - formatting = { - -- Show icons in cmp box - format = function(_, vim_item) - vim_item.kind = string.format("%s %s", lspkind[vim_item.kind], vim_item.kind) - return vim_item - end, - }, -}) --- Load friendly-snippets -require('luasnip.loaders.from_vscode').lazy_load() --- Load own snippets -require("luasnip.loaders.from_vscode").lazy_load({ paths = { "./snippets" } }) diff --git a/files/nvim/.config/nvim/lua/plugins/nvim-lspconfig-conf.lua b/files/nvim/.config/nvim/lua/plugins/nvim-lspconfig-conf.lua deleted file mode 100644 index 1093f15..0000000 --- a/files/nvim/.config/nvim/lua/plugins/nvim-lspconfig-conf.lua +++ /dev/null @@ -1,83 +0,0 @@ -local util = require 'lspconfig.util' - --- Custom warning symbols -local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } -for type, icon in pairs(signs) do - local hl = "DiagnosticSign" .. type - vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) -end - --- Easily install LSPs with `:LSPInstall` -require("nvim-lsp-installer").setup({ - automatic_installation = true, - ui = { - icons = { - server_installed = "✓", - server_pending = "➜", - server_uninstalled = "✗", - }, - }, -}) - -local lsp = require('lspconfig') - --- own custom attach, gets called in every client -function my_attach (client, bufnr) -end - --- Normal LSPs --- Install with `:LSPInstall` -local servers = { "pylsp", "clangd", "gopls" } -for _, i in ipairs(servers) do - lsp[i].setup({ - on_attach = function(client, bufnr) - my_attach(client, bufnr) - end - }) -end - --- LaTeX (build with `:TexlabBuild`) --- Extra config for autocompile --- https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/texlab.lua -lsp.texlab.setup({ - on_attach = function(client, bufnr) - my_attach(client, bufnr) - end, - settings = { - cmd = { 'texlab' }, - texlab = { - build = { - executable = 'latexmk', - args = { '-xelatex', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', 'main.tex' }, - onSave = true, - } - } - } -}) - --- Rust (use rust-tools to setup lsp, because it has more features) -local opts = { - tools = { - autoSetHints = true, - inlay_hints = { - show_parameter_hints = false, - parameter_hints_prefix = "", - other_hints_prefix = "", - }, - }, - server = { -- these settings go directly to lsp - on_attach = function(client, bufnr) - my_attach(client, bufnr) - end, - settings = { - ["rust-analyzer"] = { - checkOnSave = { - command = "clippy" - }, - } - } - }, -} - --- actually setup rust-tools with the opts from above -require('rust-tools').setup(opts) diff --git a/files/nvim/.config/nvim/lua/plugins/nvim-treesitter-conf.lua b/files/nvim/.config/nvim/lua/plugins/nvim-treesitter-conf.lua deleted file mode 100644 index 1ccd099..0000000 --- a/files/nvim/.config/nvim/lua/plugins/nvim-treesitter-conf.lua +++ /dev/null @@ -1,22 +0,0 @@ -require('nvim-treesitter.configs').setup({ - ensure_installed = { - "bash", - "c", - "haskell", - "json", - "latex", - "lua", - "make", - "python", - "rust", - "yaml", - "vim", - "markdown", - "markdown_inline" - }, - auto_intall = true, - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, -}) diff --git a/files/nvim/.config/nvim/lua/plugins/telescope-conf.lua b/files/nvim/.config/nvim/lua/plugins/telescope-conf.lua deleted file mode 100644 index 7ef2b22..0000000 --- a/files/nvim/.config/nvim/lua/plugins/telescope-conf.lua +++ /dev/null @@ -1,22 +0,0 @@ -require('telescope').setup({ - defaults = { - prompt_prefix = "  ", - selection_caret = " ", - entry_prefix = " ", - winblend = 15, - border = false, - file_ignore_patterns = { "^.git/" }, - sorting_strategy = "ascending", - layout_strategy = "bottom_pane", - layout_config = { - vertical = { - width = 140, - prompt_position = "top", - mirror = true, - }, - bottom_pane = { - theme = get_ivy - } - } - }, -}) diff --git a/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua b/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua deleted file mode 100644 index 6c84013..0000000 --- a/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua +++ /dev/null @@ -1,7 +0,0 @@ -require("which-key").setup { - layout = { - align = "center", - }, - show_help = false, -- show help message in cmd line (looks buggy) - show_keys = false, -- show current pressed keys in cmd line (looks buggy) -} diff --git a/files/nvim/.config/nvim/lua/settings.lua b/files/nvim/.config/nvim/lua/settings.lua deleted file mode 100644 index c3809fc..0000000 --- a/files/nvim/.config/nvim/lua/settings.lua +++ /dev/null @@ -1,20 +0,0 @@ -local opt = vim.opt - -opt.colorcolumn = "80" -- Colored column at 80c -opt.cursorline = true -- Highlight entire current row -opt.number = true -- Show line numbers -opt.relativenumber = true -- Show relative line numbers from cursor -opt.scrolloff = 5 -- Minimum lines at top and bottom -opt.signcolumn = "yes" -- Show icons column at on the left side -opt.swapfile = false -- Do not create a swapfile -opt.smartindent = true -- Autoindent new lines -opt.showmode = false -- Disable status on most bottom row -opt.clipboard = "unnamed" -- Copy & Paste with system clipboard -opt.list = true -- Show trailing whitespaces -opt.wrap = false -- Show trailing whitespaces -opt.ignorecase = true -- Ignore case when searching -opt.smartcase = true -- -> unless capitol letters are used -opt.undofile = true -- Save undo history -opt.cmdheight = 0 -- Hide cmd bar, unless needed - -vim.o.mouse = 'a' -- Enable mouse diff --git a/files/nvim/.config/nvim/snippets/package.json b/files/nvim/.config/nvim/snippets/package.json deleted file mode 100644 index b99f182..0000000 --- a/files/nvim/.config/nvim/snippets/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "friendly-snippets", - "engines": { - "vscode": "^1.11.0" - }, - "contributes": { - "snippets": [ - { - "language": [ - "tex", - "plaintex" - ], - "path": "./snippets/latex.json" - } - ] - } -} diff --git a/files/nvim/.config/nvim/snippets/snippets/latex.json b/files/nvim/.config/nvim/snippets/snippets/latex.json deleted file mode 100644 index 7bb9a46..0000000 --- a/files/nvim/.config/nvim/snippets/snippets/latex.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "notes": { - "prefix": "document", - "body": [ - "% compile with `latexmk -xelatex -shell-escape main.tex`", - "% if glossaries are used, run `makeglossaries`", - "", - "%", - "%%% general article setup", - "%", - "\\documentclass{article}[a4paper]", - "", - "%", - "%%% includes + their setup", - "%", - "% use a4 paper", - "\\usepackage{a4wide}", - "% math typesetting", - "\\usepackage{mathtools}", - "\\usepackage{amsthm}", - "\\usepackage{amssymb}", - "\\usepackage{amsmath}", - "\\usepackage{amsfonts}", - "% correct hyphons", - "\\usepackage{hyphenat}", - "% draw things and color correctly", - "\\usepackage{tikz}", - "\\usepackage{graphicx}", - "% import other files", - "\\usepackage{import}", - "% german names", - "\\usepackage[ngerman]{babel}", - "% lorem impsum", - "\\usepackage{blindtext}", - "% figures in text flow", - "\\usepackage{wrapfig}", - "% everything related to links", - "\\usepackage{hyperref}", - "% listings", - "\\usepackage{listings}", - "\\usepackage{minted}", - "\\usepackage{fontspec}", - "\\setmonofont[Scale=0.85]{SFMono Nerd Font}", - "\\usepackage{xcolor}", - "\\usepackage{color}", - "\\definecolor{bg}{rgb}{0.95, 0.95, 1.0}", - "% enumerations", - "% use custom labels with `\\begin{enumerate}[label=$\\bullet$]`", - "% \\arabic*) or \\roman*) also work", - "\\usepackage{enumerate}", - "\\usepackage{enumitem}", - "% don't show gap between list entries", - "\\setlist{nosep}", - "\\setlist[enumerate, 1]{label=$\\bullet$}", - "\\setlist[enumerate, 2]{label=$\\bullet$}", - "\\setlist[enumerate, 3]{label=$\\bullet$}", - "% newline indentation at beginning", - "\\usepackage[parfill]{parskip}", - "% break page on new section", - "\\usepackage{titlesec}", - "\\newcommand{\\sectionbreak}{\\clearpage}", - "% headers and footers", - "\\usepackage{nopageno}", - "\\usepackage{fancyhdr}", - "\\pagestyle{headings}", - "% glossary", - "\\usepackage[toc]{glossaries}", - "% quotes", - "\\usepackage{csquotes}", - "% bibtex", - "\\usepackage{biblatex}", - "", - "%", - "%%% document", - "%", - "\\title{ \\\\\\[0.2em] \\large }", - "\\author{Marco Thomas}", - "\\date{\\today}", - "", - "\\bibliography{bibliography}", - "\\makeglossaries", - "", - "\\begin{document}", - "", - "% \\import{.}{glossary.tex}", - "", - "\\maketitle", - "\\pagenumbering{roman}", - "\\setcounter{page}{1}", - "\\newpage", - "\\tableofcontents", - "\\newpage", - "\\pagenumbering{arabic}", - "", - "% 1. Close NVim", - "% 2. `touch .latexmkrc`", - "\\section{}", - "", - "% \\listofigures", - "% \\listotables", - "% \\printglossaries", - "% \\printbibliography[heading=bibintoc,title={Quellenverzeichnis}]", - "", - "% \\appendix", - "% \\section{optional appendix}", - "", - "\\end{document}" - ], - "description": "Preset to create a new notes document" - }, - "presentation": { - "prefix": "presentation", - "body": [ - "% compile with `latexmk -xelatex -interaction=nonstop -synctex=1 -shell-escape main.tex", - "", - "\\documentclass[presentation, smaller, aspectratio=169]{beamer}", - "\\usetheme{Singapore}", - "\\usecolortheme{rose}", - "% \\definecolor{accent}{rgb}{0.98047, 0.33203, 0.33203}", - "% \\setbeamercolor{structure}{fg=accent}", - "", - "% page numbers in the bottom right", - "\\addtobeamertemplate{navigation symbols}{}{%", - " \\usebeamerfont{footline}%", - " \\usebeamercolor[fg]{footline}%", - " \\hspace{1em}%", - " \\raisebox{2pt}[0pt][0pt]{\\insertframenumber/\\inserttotalframenumber}", - "}", - "", - "% Show section title", - "\\AtBeginSection[] {", - " \\begin{frame}", - " \\vfill", - " \\centering", - " \\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}", - " \\usebeamerfont{title}\\insertsectionhead\\par%", - " \\end{beamercolorbox}", - " \\vfill", - " \\end{frame}", - "}", - "", - "%", - "%%% include + their setup", - "%", - "% german names", - "\\usepackage[ngerman]{babel}", - "% math type setting", - "\\usepackage{mathtools}", - "\\usepackage{amsthm}", - "\\usepackage{amssymb}", - "\\usepackage{amsmath}", - "% correct hyphenation", - "\\usepackage{hyphenat}", - "% draw things and color correctly", - "\\usepackage{tikz}", - "\\usepackage{graphicx}", - "\\usepackage{color}", - "% listings", - "\\usepackage{listings}", - "\\usepackage{minted}", - "\\usepackage{fontspec}", - "\\setmonofont[Scale=0.85]{SFMono Nerd Font}", - "% enumerations", - "% use custom labels with `\\begin{enumerate}[label=$\\bullet$]`", - "% \\arabic*) or \\roman*) also work", - "\\usepackage{enumerate}", - "\\usepackage{enumitem}", - "% don't show gap between list entries", - "% \\setlist{nosep}", - "\\setlist[enumerate, 1]{label=$\\bullet$}", - "\\setlist[enumerate, 2]{label=$\\bullet$}", - "\\setlist[enumerate, 3]{label=$\\bullet$}", - "", - "%", - "%%% document", - "%", - "\\title{}", - "\\subtitle{}", - "%\\institute{}", - "\\author{Marco Thomas}", - "\\date{\\today}", - "\\titlegraphic{", - " \\includegraphics[height=1.3cm]{figures/}", - " \\hspace{1cm}", - " \\includegraphics[height=1.3cm]{figures/}", - "}", - "", - "\\begin{document}", - "", - "\\maketitle", - "\\newpage", - "\\begin{frame}", - " \\frametitle{Inhaltsübersicht}", - " \\tableofcontents[hideallsubsections]", - "\\end{frame}", - "\\newpage", - "", - "% 1. Close nvim", - "% 2. `touch .latexmkrc`", - "\\section{}", - "\\begin{frame}[fragile]{}", - "\\end{frame}", - "", - "\\end{document}" - ], - "description": "Preset to create a new presentation" - }, - "letter": { - "prefix": "letter", - "body": [ - "\\documentclass[", - " fontsize=12pt,", - " parskip=full,", - " paper=A4,", - " fromalign=right,", - " % set to false if unwanted", - " fromphone=true,", - " fromemail=true,", - " version=last", - "]{scrlttr2}", - "", - "%", - "%%% includes + their setup", - "%", - "\\usepackage{pdfpages}", - "\\usepackage[hidelinks]{hyperref}", - "\\usepackage[ngerman]{babel}", - "", - "\\begin{document}", - "", - "\\makeatletter", - "", - "\\renewcommand*{\\raggedsignature}{\\raggedright}", - "", - "%%% set metadata; from", - "\\setkomavar{fromname}{}", - "\\setkomavar{fromaddress}{street \\\\\\ city_plz}", - "\\setkomavar{fromphone}{}", - "\\setkomavar{fromemail}{}", - "\\setkomavar{place}{}", - "\\setkomavar{date}{}", - "\\setkomavar{subject}{}", - "", - "% recipient", - "\\begin{letter}{name \\\\\\ street \\\\\\ city_plz} ", - "", - "\\opening{Sehr geehrter}", - "", - "% 1. Close nvim", - "% 2. `touch .latexmkrc`", - "", - "\\closing{mit freundlichen Grüßen}", - "", - "\\end{letter}", - "\\end{document}" - ], - "description": "Wrap figure in text context" - }, - "wrapfigure": { - "prefix": "wrapfigure", - "body": [ - "\\begin{wrapfigure}{${1:l or r}}{0.4\\textwidth}", - "\t\\centering", - "\t\\includegraphics[width=0.2\\textwidth]{figures/$2}", - "\t\\caption{$3}", - "\t\\label{fig:$4}", - "\\end{wrapfigure}" - ], - "description": "Wrap figure in text context" - }, - "source": { - "prefix": "src", - "body": [ - "\\inputminted[breaklines=true, bgcolor=bg]{${1:language}}{${2:file}}" - ], - "description": "Include a source code file" - }, - "source-direct": { - "prefix": "srcd", - "body": [ - "\\begin{minted}[breaklines=true, bgcolor=bg]{${1:language}}", - "\\end{minted}" - ], - "description": "Directly write a code snippet" - }, - "source-inline": { - "prefix": "srci", - "body": ["\\mintinline{${1:language}}{${2:code}}"], - "description": "Write code inline" - }, - "german quote": { - "prefix": "gqq", - "body": ["\\glqq{}$1\\grqq{}"], - "description": "German quotes" - }, - "paragraph": { - "prefix": "paragraph", - "body": ["\\paragraph{$1}"], - "description": "Insert a new paragraph" - }, - "columns": { - "prefix": "columns", - "body": [ - "\\begin{columns}", - "\t\\begin{column}{0.5\\textwidth}", - "\t\\end{column}", - "\t\\begin{column}{0.5\\textwidth}", - "\t\\end{column}", - "\\end{columns}" - ], - "description": "Create columns env in a slide" - }, - "frame": { - "prefix": "frame", - "body": [ - "\\begin{frame}[fragile]{$1}", - "\t$2", - "\\end{frame}" - ], - "description": "Create frame env in a slide" - }, - "glossary-entry": { - "prefix": "nge", - "body": [ - "\\newglossaryentry{$1}{", - " name={}", - " first={}", - " description={}", - " plural={}", - " firstplural={}", - "}" - ], - "description": "Insert a new glossary entry" - } -} diff --git a/files/picom/.config/picom/picom.conf b/files/picom/.config/picom/picom.conf deleted file mode 100644 index 879ed56..0000000 --- a/files/picom/.config/picom/picom.conf +++ /dev/null @@ -1,19 +0,0 @@ -shadow = true; -corner-radius = 12; -backend = "glx"; - -rounded-corners-exclude = [ - "class_g = 'dmenu'", - "class_g = 'Polybar'", - "class_g = 'i3bar'" -] - -# dont draw shadows e.g. in firefox right click -wintypes: -{ - tooltip = { shadow = false; }; - menu = { shadow = false; }; - dropdown_menu = { shadow = false; }; - popup_menu = { shadow = false; }; - utility = { shadow = false; }; -}; diff --git a/files/polybar/.config/polybar/config.ini b/files/polybar/.config/polybar/config.ini deleted file mode 100644 index 147239c..0000000 --- a/files/polybar/.config/polybar/config.ini +++ /dev/null @@ -1,143 +0,0 @@ -# require polybar > 3.7 -[colors] -bg = #2f383e -alt = #56635f -fg = #d3c6aa -accent = #93b259 -inactive = #dfa000 -alert = #e67e80 - -[bar/main] -monitor = DP-4 -enable-ipc = true - -width = 100% -height = 24 -radius = 0 -line-size = 5 - -module-margin = 1 -padding-right = 1 - -background = ${colors.bg} -foreground = ${colors.fg} - -font-0 = "SFMono Nerd Font:weight=bold:pixelsize=12;3" - -modules-left = i3 title -modules-center = -; modules-right = tray updates backlight time battery -modules-right = updates backlight time battery - -; tray-position = adaptive -tray-position = right -tray-maxsize = 16 -tray-padding = 15 - -[module/title] -type = internal/xwindow -label-maxlen = 60 -label-foreground = ${colors.alt} - -[module/i3] -type = internal/i3 -pin-workspaces = true -enable-click = true -enable-scroll = true -show-all = true - -ws-icon-0 = 1;1 -ws-icon-1 = 2;2 -ws-icon-2 = 3;3 -ws-icon-3 = 4;4 -ws-icon-4 = 5;5 -ws-icon-5 = 6;6 -ws-icon-6 = 7;7 -ws-icon-7 = 8;8 -ws-icon-8 = 9;9 -ws-icon-9 = 10;10 - -ws-icon-default = - -format = -format-background = ${colors.bg} - -label-focused = %icon% -label-focused-padding = 1 -label-focused-foreground = ${colors.accent} - -label-unfocused = %icon% -label-unfocused-padding = 1 -label-unfocused-foreground = ${colors.alt} - -label-visible = %icon% -label-visible-padding = 1 - -label-urgent = %icon% -label-urgent-padding = 1 -label-urgent-foreground = ${colors.alert} - -[module/time] -type = internal/date -interval = 5 - -label = "%time%" -label-foreground = ${colors.accent} - -time = %H:%M -time-alt = %a %d.%b - -[module/battery] -type = internal/battery - -battery = BAT1 -adapter = ADP1 - -low-at = 10 -full-at = 99 -time-format = %H:%M - -format-charging = -format-discharging = -format-full = -format-low = - -label-charging = %percentage%% -label-discharging = %percentage%% (%time%) -label-full = %percentage%% -label-low = %percentage%% (%time%) - -label-low-foreground = ${colors.alert} -animation-low-foreground = ${colors.alert} - -ramp-capacity-0 = " " -ramp-capacity-1 = " " -ramp-capacity-2 = " " -ramp-capacity-3 = " " -ramp-capacity-4 = " " - -animation-charging-0 = " " -animation-charging-1 = " " -animation-charging-2 = " " -animation-charging-3 = " " -animation-charging-4 = " " -animation-charging-framerate = 750 - -animation-low-0 = ! -animation-low-1 = " " -animation-low-framerate = 200 - -[module/backlight] -type = internal/backlight -card = intel_backlight - -label = " %percentage%%" - -[module/updates] -type = custom/script -exec = "dnf -q check-update | wc -l" -label = " %output%" -interval = 600 - -; [module/tray] -; type = internal/tray diff --git a/files/polybar/.config/polybar/launch.sh b/files/polybar/.config/polybar/launch.sh deleted file mode 100755 index 3c362de..0000000 --- a/files/polybar/.config/polybar/launch.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -polybar-msg cmd quit - -# Launch bar1 and bar2 -echo "---" | tee -a /tmp/polybar.log -polybar main 2>&1 | tee -a /tmp/polybar.log & disown diff --git a/gnome-terminal.dconf b/gnome-terminal.dconf deleted file mode 100644 index e669e17..0000000 --- a/gnome-terminal.dconf +++ /dev/null @@ -1,15 +0,0 @@ -[/] -audible-bell=false -background-color='rgb(253,246,227)' -background-transparency-percent=18 -cursor-blink-mode='off' -font='SFMono Nerd Font Medium 11' -foreground-color='rgb(92,106,114)' -login-shell=false -palette=['rgb(92,106,114)', 'rgb(248,85,82)', 'rgb(141,161,1)', 'rgb(223,160,0)', 'rgb(58,148,197)', 'rgb(211,54,130)', 'rgb(53,167,124)', 'rgb(223,221,200)', 'rgb(92,106,114)', 'rgb(248,85,82)', 'rgb(141,161,1)', 'rgb(223,160,0)', 'rgb(58,148,197)', 'rgb(211,54,130)', 'rgb(53,167,124)', 'rgb(253,246,227)'] -scrollbar-policy='never' -use-custom-command=false -use-system-font=false -use-theme-colors=false -use-transparent-background=false -visible-name='Default (Everforest)' diff --git a/stow.sh b/stow.sh index 1d2ed24..0b4a35a 100755 --- a/stow.sh +++ b/stow.sh @@ -14,5 +14,5 @@ fi echo "Stowing configs..." cd $FILES_DIR -stow ${OPTS} -v --ignore="init.org" --target="$HOME" * +stow ${OPTS} -v --target="$HOME" * echo "Done!"