Skip to content

Commit 40a3450

Browse files
authored
Merge pull request #81 from arpangreat/everyday-stuff
Various stuff
2 parents 3b97e7d + c1851c8 commit 40a3450

37 files changed

Lines changed: 1755 additions & 860 deletions

Git/.gitconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
pager = delta
1818

1919
[delta]
20-
features = side-by-side line-numbers decorations tokyonight_storm
20+
features = line-numbers tokyonight_moon
2121
navigate = true
22-
side-by-side = true
2322
line-numbers = true
2423

2524
[include]
26-
path = /home/arpangreat/.local/share/nvim/lazy/tokyonight.nvim/extras/delta/tokyonight_storm.gitconfig
25+
path = /home/arpangreat/.local/share/nvim/lazy/tokyonight.nvim/extras/delta/tokyonight_moon.gitconfig
2726

2827
[push]
2928
default = simple

README.md

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -3,87 +3,12 @@
33
Hey this is my dotfiles repository , From which you can download my config files
44
😄🚀
55

6-
[#](#) I'm an n00b
7-
8-
# \* My default desktop Environment `hyprland` and `wezterm` with `zsh` and `shellfetch` and combined with `zellij` , The prompt is [Starship](https://starship.rs) and the color is [catppuccin](https://github.com/catppuccin/nvim)
9-
10-
![20221028_14h57m31s_grim](https://user-images.githubusercontent.com/46556080/198555517-9379d760-55cd-4b63-b37f-72f1b94768ec.png)
11-
12-
# \* One of my Nvim-essential and all time ❤️ is [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) file picker
13-
14-
![20221028_14h58m58s_grim](https://user-images.githubusercontent.com/46556080/198556784-e9651ac7-9def-4cd2-9f42-c6e4c0e69a38.png)
15-
16-
# \* The Colorscheme for is [catppuccin](https://github.com/catppuccin/nvim) looks so sick ❤️❤️🔥
17-
18-
![20221028_14h59m35s_grim](https://user-images.githubusercontent.com/46556080/198557034-9c1da1df-da25-4bf7-b0b3-1a80f1a6b38a.png)
19-
20-
# The Anime Wallpapers are provided by a git repo by
21-
22-
-- [ThePrimeagen](https://github.com/ThePrimeagen/anime)
23-
246
# Changing Neovim in lua-config :smiley:
257

268
# A note for me ...
279

28-
## To Setup Rust-analyzer for nvim Then
29-
30-
-- [Follow This Link](https://sharksforarms.dev/posts/neovim-rust/)
31-
32-
## To Setup Clangd for nvim Then do this
33-
34-
-- `sudo pacman -S clangd`
35-
36-
-- `sudo pacman -S llvm` -- " Don't forget to make a project using projectCreate
37-
script else you are not going to have lsp-server"
38-
39-
And then you are all good to Go
40-
4110
## The Nvim review is done by [ThePrimeagen](github.com/ThePrimeagen) in this video
4211

43-
## The commands to setup nvim-lsp
44-
45-
```shell
46-
sudo npm install -g vim-language-server
47-
sudo npm install -g pyright
48-
sudo npm install -g typescript typescript-language-server
49-
sudo npm i -g bash-language-server
50-
sudo npm i -g vscode-langservers-extracted
51-
sudo npm install -g dockerfile-language-server-nodejs
52-
sudo npm install -g ocaml-language-server
53-
sudo npm install -g vls
54-
sudo yarn global add yaml-language-server
55-
```
56-
57-
# to setup lua lsp [follow this link](<https://github.com/sumneko/lua-language-server/wiki/Build-and-Run-(Standalone)>) , and don't forget to make a directory under ~/.config/nvim named as language-server and do everything under it
58-
59-
# to setup gopls run
60-
61-
```shell
62-
cd dotfiles/
63-
GO111MODULE=on go get -u golang.org/x/tools/gopls@latest
64-
sudo ln -s /home/arpangreat/go/bin/* /usr/bin
65-
```
66-
67-
# To setup jdtls
68-
69-
- first delete ~/dotfiles/nvim/jdtl-language-server-latest by
70-
`rm -rf jdt-language-latest-server`
71-
- then , extract ~/dotfiles/nvim/jdt-language-server-latest.tar.gz inside
72-
`~/dotfiles/nvim/`
73-
- tweak `.zshrc` respective java file paths if needed
74-
- **make project with `projectCreate` script inside ~/dotfiles/custom-scripts
75-
and lang name should be `gradle` not `java`**
76-
- And you are all done
77-
78-
# after doing everything don't forget to run `:TSInstall all` in nvim to install Treesitter
79-
80-
# to use screenshot.sh run
81-
82-
```shell
83-
sudo pacman -S grim
84-
[sudo](sudo) pacman -S slurp
85-
```
86-
8712
# A Life hack for shell , while typing any password show asterisks for every password
8813

8914
```shell
@@ -103,16 +28,3 @@ Defaults env_reset,pwfeedback
10328
# IF TOUCHPAD DOESN'T WORK Then
10429

10530
[visit](https://askubuntu.com/questions/1280240/lenovo-touchpad-v15-iil-not-working-10th-gen-intel)
106-
107-
# Fonts ( Also see Fonts/ )
108-
109-
Download from
110-
[Operator Mono](https://fontsfree.net/operator-mono-medium-font-download.html)
111-
Download from
112-
[Operator Book](https://fontsfree.net/operator-mono-book-font-download.html)
113-
Download from
114-
[Operator Itaic](https://fontsfree.net/operator-mono-book-italic-2-font-download.html)
115-
Download from
116-
[Operator Bold](https://fontsfree.net/operator-mono-bold-font-download.html)
117-
118-
## And follow this link to use [ligatures Support](https://github.com/kiliman/operator-mono-lig)

Tmux/.tmux.conf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ bind-key -r C-s send-prefix
1010
# set -ga terminal-overrides ',xterm-256color:RGB'
1111
# set -g default-terminal "alacritty"
1212
# set -g default-terminal "wezterm"
13-
set -g default-terminal "tmux-256color"
13+
# set -g default-terminal "tmux-256color"
14+
set -g default-terminal "xterm-256color"
1415
# set -ga terminal-features '*:Ss=\E[%p1%d q:Se=\E[ q'
1516
set -ga terminal-overrides "xterm-ghostty:RGB"
1617
set -ga terminal-overrides "xterm-ghostty:Tc"
@@ -42,7 +43,7 @@ set-option -g set-titles-string "#T"
4243
# source-file ~/dotfiles/Tmux/bubbles.conf
4344
set -g set-clipboard on
4445
set -g focus-events on
45-
set -gs escape-time 0
46+
set -gs escape-time 1
4647
set -g status-style 'bg=default,fg=white' # transparent status bar
4748
set -g status-position top
4849
set -g pane-active-border-style "fg=white,bg=default"
@@ -66,7 +67,7 @@ set -g window-status-format \
6667
set -g detach-on-destroy off
6768

6869
set -g status-right-length 50
69-
set -g status-right "#{sysstat_cpu}|#{sysstat_mem}|#[fg=cyan]%A #[fg=orange]%d-%m-%Y"
70+
set -g status-right "#{cpu_real_fg_color}CPU: #{cpu_real_percentage}|#{ram_real_fg_color}MEM: #{ram_real_percentage}|#[fg=cyan]%A #[fg=orange]%d-%m-%Y"
7071

7172
# set -g status-style bg=default
7273
# set -g status-left-length 90
@@ -166,7 +167,9 @@ set -g @plugin 'tmux-plugins/tpm'
166167
set -g @plugin 'sainnhe/tmux-fzf'
167168
# set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
168169
# set -g @plugin 'tmux-plugins/tmux-net-speed'
169-
set -g @plugin 'samoshkin/tmux-plugin-sysstat' # `sysstat_ntemp` and `sysstat_itemp` are temperatures of nvidia card and intel card, these scripts are available in my fork: https://github.com/sainnhe/tmux-plugin-sysstat
170+
# set -g @plugin 'sainnhe/tmux-plugin-sysstat' # `sysstat_ntemp` and `sysstat_itemp` are temperatures of nvidia card and intel card, these scripts are available in my fork: https://github.com/sainnhe/tmux-plugin-sysstat
171+
# set -g @plugin 'tmux-plugins/tmux-cpu'
172+
set -g @plugin 'arpangreat/tmux-cpu-real'
170173
# set -g @plugin "arcticicestudio/nord-tmux"
171174
# set -g @plugin 'spywhere/tmux-now-playing'
172175
# set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'

auto-cpufreq/auto-cpufreq.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ platform_profile = performance
3636
# scaling_max_freq = 1000000
3737

3838
# turbo boost setting. possible values: always, auto, never
39-
turbo = always
39+
turbo = never
4040

4141
# settings for when using battery power
4242
[battery]
@@ -76,7 +76,7 @@ energy_performance_preference = power
7676
# scaling_max_freq = 1000000
7777

7878
# turbo boost setting (always, auto, or never)
79-
turbo = auto
79+
turbo = never
8080

8181
# battery charging threshold
8282
# reference: https://github.com/AdnanHodzic/auto-cpufreq/#battery-charging-thresholds

bat/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
66
# for a list of all available themes
7-
--theme="Catppuccin Mocha"
7+
--theme="tokyonight_moon"
88

99
# Enable this to use italic text on the terminal. This is not supported on all
1010
# terminal emulators (like tmux, by default):

0 commit comments

Comments
 (0)