Skip to content

Commit

Permalink
feat![nvim]: Migrate Nvim back into setup (#37)
Browse files Browse the repository at this point in the history
* feat: Change default terminal

Swap default terminal from alacritty to wezterm

* fix: comments and some base btop setup

* feat!: new nvim setup

* feat: release-please base setup

* feat: setup release-please with linter
  • Loading branch information
RemoteRabbit authored Oct 9, 2024
1 parent d1beb3e commit 86160f8
Show file tree
Hide file tree
Showing 508 changed files with 102 additions and 28,306 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
types: |
chore
docs
feat
fix
refactor
revert
scope: |
nvim
tmux
zsh
requireScope: true
24 changes: 24 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.RELEASE_TOKEN }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: simple
2 changes: 1 addition & 1 deletion awesome/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ local theme_path = string.format("%s/.config/awesome/themes/%s/theme.lua", os.ge
beautiful.init(theme_path)

-- This is used later as the default terminal and editor to run.
local terminal = "alacritty"
local terminal = "wezterm"
local editor = os.getenv("EDITOR") or "vim"
local editor_cmd = terminal .. " -e " .. editor

Expand Down
48 changes: 42 additions & 6 deletions btop/btop.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#? Config file for btop v. 1.2.13
#? Config file for btop v. 1.4.0

#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
Expand Down Expand Up @@ -37,6 +37,9 @@ graph_symbol = "block"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"

# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
graph_symbol_gpu = "default"

# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"

Expand All @@ -46,7 +49,7 @@ graph_symbol_net = "block"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"

#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "cpu mem net proc"

#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
Expand Down Expand Up @@ -86,6 +89,9 @@ proc_left = False
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = False

#* In tree-view, always accumulate child process resources in the parent process.
proc_aggregate = False

#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "total"
Expand All @@ -94,6 +100,9 @@ cpu_graph_upper = "total"
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "total"

#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
show_gpu_info = "Auto"

#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = True

Expand Down Expand Up @@ -160,7 +169,7 @@ show_swap = True
swap_disk = True

#* If mem box should be split to also show disks info.
show_disks = True
show_disks = False

#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True
Expand All @@ -178,7 +187,7 @@ disk_free_priv = False
show_io_stat = True

#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = False
io_mode = True

#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = False
Expand All @@ -193,7 +202,7 @@ net_download = 100
net_upload = 100

#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = False
net_auto = True

#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = True
Expand All @@ -207,6 +216,33 @@ show_battery = True
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"

#* Show power stats of battery next to charge indicator.
show_battery_watts = True

#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"
log_level = "WARNING"

#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
nvml_measure_pcie_speeds = True

#* Horizontally mirror the GPU graph.
gpu_mirror_graph = True

#* Custom gpu0 model name, empty string to disable.
custom_gpu_name0 = ""

#* Custom gpu1 model name, empty string to disable.
custom_gpu_name1 = ""

#* Custom gpu2 model name, empty string to disable.
custom_gpu_name2 = ""

#* Custom gpu3 model name, empty string to disable.
custom_gpu_name3 = ""

#* Custom gpu4 model name, empty string to disable.
custom_gpu_name4 = ""

#* Custom gpu5 model name, empty string to disable.
custom_gpu_name5 = ""
1 change: 1 addition & 0 deletions nvim
1 change: 0 additions & 1 deletion nvim/.gitignore

This file was deleted.

35 changes: 0 additions & 35 deletions nvim/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions nvim/init.lua

This file was deleted.

2 changes: 0 additions & 2 deletions nvim/lua/Lazy/config/init.lua

This file was deleted.

30 changes: 0 additions & 30 deletions nvim/lua/Lazy/config/keymaps.lua

This file was deleted.

42 changes: 0 additions & 42 deletions nvim/lua/Lazy/config/options.lua

This file was deleted.

32 changes: 0 additions & 32 deletions nvim/lua/Lazy/lazy.lua

This file was deleted.

30 changes: 0 additions & 30 deletions nvim/lua/Lazy/plugins/code/autopair.lua

This file was deleted.

7 changes: 0 additions & 7 deletions nvim/lua/Lazy/plugins/code/comments.lua

This file was deleted.

25 changes: 0 additions & 25 deletions nvim/lua/Lazy/plugins/code/conform.lua

This file was deleted.

Loading

0 comments on commit 86160f8

Please sign in to comment.