repo: remove unused configurations
This commit is contained in:
20
README.md
20
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
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
14304504-7ad4-40e7-a285-02c20838a7df
|
||||
@@ -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.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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/
|
||||
@@ -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
|
||||
@@ -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: <c-c>
|
||||
return: <esc>
|
||||
quitWithoutChangingDirectory: Q
|
||||
togglePanel: <tab>
|
||||
prevItem: <up>
|
||||
nextItem: <down>
|
||||
prevItem-alt: k
|
||||
nextItem-alt: j
|
||||
prevPage: ','
|
||||
nextPage: .
|
||||
scrollLeft: H
|
||||
scrollRight: L
|
||||
gotoTop: <
|
||||
gotoBottom: '>'
|
||||
prevBlock: <left>
|
||||
nextBlock: <right>
|
||||
prevBlock-alt: h
|
||||
nextBlock-alt: l
|
||||
nextBlock-alt2: <tab>
|
||||
prevBlock-alt2: <backtab>
|
||||
jumpToBlock:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
nextMatch: "n"
|
||||
prevMatch: "N"
|
||||
startSearch: /
|
||||
optionMenu: x
|
||||
optionMenu-alt1: '?'
|
||||
select: <space>
|
||||
goInto: <enter>
|
||||
confirm: <enter>
|
||||
confirm-alt1: "y"
|
||||
remove: d
|
||||
new: "n"
|
||||
edit: e
|
||||
openFile: o
|
||||
scrollUpMain: <pgup>
|
||||
scrollDownMain: <pgdown>
|
||||
scrollUpMain-alt1: K
|
||||
scrollDownMain-alt1: J
|
||||
scrollUpMain-alt2: <c-u>
|
||||
scrollDownMain-alt2: <c-d>
|
||||
executeCustomCommand: ':'
|
||||
createRebaseOptionsMenu: m
|
||||
pushFiles: P
|
||||
pullFiles: p
|
||||
refresh: R
|
||||
createPatchOptionsMenu: <c-p>
|
||||
nextTab: ']'
|
||||
prevTab: '['
|
||||
nextScreenMode: +
|
||||
prevScreenMode: _
|
||||
undo: z
|
||||
redo: <c-z>
|
||||
filteringMenu: <c-s>
|
||||
diffingMenu: W
|
||||
diffingMenu-alt: <c-e>
|
||||
copyToClipboard: <c-o>
|
||||
openRecentRepos: <c-r>
|
||||
submitEditorText: <enter>
|
||||
appendNewline: <a-enter>
|
||||
extrasMenu: '@'
|
||||
toggleWhitespaceInDiffView: <c-w>
|
||||
increaseContextInDiffView: '}'
|
||||
decreaseContextInDiffView: '{'
|
||||
status:
|
||||
checkForUpdate: u
|
||||
recentRepos: <enter>
|
||||
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: <c-b>
|
||||
branches:
|
||||
createPullRequest: o
|
||||
viewPullRequestOptions: O
|
||||
copyPullRequestURL: <c-y>
|
||||
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: <space>
|
||||
resetCherryPick: <c-R>
|
||||
copyCommitAttributeToClipboard: "y"
|
||||
openLogMenu: <c-l>
|
||||
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
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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", "<C-_>", "<cmd> noh<CR>", default_opts)
|
||||
map("n", "<C-m>", "<cmd> messages<CR>", default_opts)
|
||||
|
||||
-- Telescope
|
||||
local telescope = require 'telescope'
|
||||
local actions = require "telescope.actions"
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<C-k>"] = actions.move_selection_previous,
|
||||
},
|
||||
n = {
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<C-k>"] = actions.move_selection_previous,
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
map("n", "<C-p>", "<cmd> Telescope find_files find_command=rg,--ignore,--hidden,--files<CR>", default_opts)
|
||||
map("n", "<C-f>", "<cmd> Telescope live_grep previewer=false<CR>", default_opts)
|
||||
map("n", "<C-k>", "<cmd> Telescope keymaps<CR>", default_opts)
|
||||
|
||||
-- LSP
|
||||
map("n", "<leader>la", "<cmd> lua vim.lsp.buf.code_action()<CR>", default_opts)
|
||||
map("n", "<leader>ld", "<cmd> Telescope lsp_definitions<CR>", default_opts)
|
||||
map("n", "<leader>le", "<cmd> Telescope diagnostics previewer=false<CR>", default_opts)
|
||||
map("n", "<leader>lf", "<cmd> lua vim.lsp.buf.format {async = true }<CR>", default_opts)
|
||||
map("n", "<leader>lh", "<cmd> lua vim.lsp.buf.hover()<CR>", default_opts)
|
||||
map("i", "<C-h>", "<cmd> lua vim.lsp.buf.signature_help()<CR>", default_opts)
|
||||
map("n", "<C-h>", "<cmd> lua vim.lsp.buf.signature_help()<CR>", default_opts)
|
||||
map("n", "<leader>ln", "<cmd> lua vim.lsp.buf.rename()<CR>", default_opts)
|
||||
map("n", "<leader>lr", "<cmd> Telescope lsp_references<CR>", default_opts)
|
||||
map("n", "<leader>ls", "<cmd> Telescope lsp_workspace_symbols<CR>", default_opts)
|
||||
map("n", "<leader>lt", "<cmd> TodoTelescope previewer=false<CR>", default_opts)
|
||||
map("n", "<leader>lp", "<cmd> call SVED_Sync()<CR>", default_opts)
|
||||
wk.register({
|
||||
["<leader>"] = {
|
||||
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", "<leader>gb", "<cmd> Git blame<CR>", default_opts)
|
||||
map("n", "<leader>gl", "<cmd> LazyGitFilter<CR>", default_opts)
|
||||
map("n", "<leader>gf", "<cmd> LazyGitFilterCurrentFile<CR>", default_opts)
|
||||
map("n", "<leader>gs", "<cmd> LazyGit<CR>", default_opts)
|
||||
wk.register({
|
||||
["<leader>"] = {
|
||||
g = {
|
||||
b = { "Blame" },
|
||||
l = { "Log" },
|
||||
f = { "(Log Current) File" },
|
||||
s = { "Status" },
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
-- telescope-symbols
|
||||
map("n", "<leader>ie", "<cmd> lua require'telescope.builtin'.symbols{ sources = { 'emoji', 'gitmoji' } }<CR>", default_opts)
|
||||
map("n", "<leader>im", "<cmd> lua require'telescope.builtin'.symbols{ sources = { 'julia' } }<CR>", default_opts)
|
||||
map("n", "<leader>in", "<cmd> lua require'telescope.builtin'.symbols{ sources = { 'nerd' } }<CR>", default_opts)
|
||||
wk.register({
|
||||
["<leader>"] = {
|
||||
i = {
|
||||
e = { "Emoji" },
|
||||
m = { "Math symbol" },
|
||||
n = { "Nerd Font icon" },
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
-- Comment.nvim
|
||||
require('Comment').setup({
|
||||
opleader = {
|
||||
line = '<C-_>',
|
||||
}
|
||||
})
|
||||
|
||||
-- cmp
|
||||
local cmp = require 'cmp'
|
||||
cmp.setup({
|
||||
mapping = {
|
||||
["<C-p>"] = cmp.mapping.select_prev_item(),
|
||||
["<C-n>"] = cmp.mapping.select_next_item(),
|
||||
["<Tab>"] = cmp.mapping.confirm({
|
||||
behavior = cmp.ConfirmBehavior.Insert,
|
||||
select = true,
|
||||
}),
|
||||
},
|
||||
})
|
||||
|
||||
-- nvim-tree
|
||||
map("n", "<leader>tt", "<cmd> NvimTreeToggle<CR>", default_opts)
|
||||
map("n", "<leader>tc", "<cmd> NvimTreeCollapse<CR>", default_opts)
|
||||
map("n", "<leader>tr", "<cmd> NvimTreeRefresh<CR>", default_opts)
|
||||
@@ -1,3 +0,0 @@
|
||||
vim.cmd("set background=light")
|
||||
vim.cmd("let g:everforest_background = 'medium'")
|
||||
vim.cmd("colorscheme everforest")
|
||||
@@ -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 <regex>`
|
||||
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)
|
||||
@@ -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 },
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -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" } })
|
||||
@@ -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)
|
||||
@@ -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,
|
||||
},
|
||||
})
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
@@ -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)
|
||||
}
|
||||
@@ -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
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "friendly-snippets",
|
||||
"engines": {
|
||||
"vscode": "^1.11.0"
|
||||
},
|
||||
"contributes": {
|
||||
"snippets": [
|
||||
{
|
||||
"language": [
|
||||
"tex",
|
||||
"plaintex"
|
||||
],
|
||||
"path": "./snippets/latex.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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; };
|
||||
};
|
||||
@@ -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 = <label-state>
|
||||
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 = <animation-charging> <label-charging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-low = <animation-low> <label-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
|
||||
@@ -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
|
||||
@@ -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)'
|
||||
Reference in New Issue
Block a user