Compare commits
20 Commits
9e4797d36f
...
main
Author | SHA1 | Date | |
---|---|---|---|
16ffd644c4
|
|||
e91e544b7d
|
|||
4e0d9c5591
|
|||
60dc15ace3
|
|||
7c5a1ed03c
|
|||
e7881c0ae4
|
|||
1945d5a56d
|
|||
39a4421e84
|
|||
37f8620d93
|
|||
dc1eb8a69a
|
|||
331e7eb25a
|
|||
7c7b647b0a
|
|||
04790c48d6
|
|||
e95ce2b946
|
|||
f3bc559598
|
|||
d651cce8ca
|
|||
aadb6dc051
|
|||
14cb3b287b
|
|||
2b28b7e482
|
|||
0f9be2d830
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "nvim"]
|
||||
path = nvim
|
||||
url = gitea@git.barink.dev:Nigel/neovim_config.git
|
@ -4,9 +4,14 @@
|
||||

|
||||
|
||||
|
||||
## Rice
|
||||
|
||||
### Tokyo Night ( KDE with I3 )
|
||||

|
||||
|
||||
Resources used:
|
||||
|
||||
[managing dotfiles](https://www.jakewiesler.com/blog/managing-dotfiles)
|
||||
|
||||
|
||||
[Using Git to manage your dotfiles](https://blog.smalleycreative.com/using-git-and-github-to-manage-your-dotfiles)
|
||||
[Using Git to manage your dotfiles](https://blog.smalleycreative.com/using-git-and-github-to-manage-your-dotfiles)
|
||||
|
@ -1,109 +0,0 @@
|
||||
/etc/init.d/gdm start
|
||||
/etc/init.d/gdm3 start
|
||||
apt -f install
|
||||
sudo apt -f install
|
||||
su
|
||||
cd /
|
||||
exit
|
||||
gpg
|
||||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||
ls
|
||||
ls -a
|
||||
nano .bashrc
|
||||
source .
|
||||
source .bashrc
|
||||
nvm --version
|
||||
nvm install --lts
|
||||
node --version
|
||||
npm --version
|
||||
apt install vim
|
||||
su -
|
||||
apt install tmux
|
||||
su -
|
||||
exit
|
||||
javac --version
|
||||
echo $PATH
|
||||
vim .bashrc
|
||||
javac --version
|
||||
source .
|
||||
source .bashrc
|
||||
javac --version
|
||||
exit
|
||||
javac --version
|
||||
apt install build-essential
|
||||
su -
|
||||
vim ~/.bashrc
|
||||
source ~/.bashrc
|
||||
ghidra
|
||||
su -
|
||||
docker ps -a
|
||||
sudo docker ps -a
|
||||
su -
|
||||
exit
|
||||
docker --version
|
||||
docker ps -a
|
||||
sudo docker ps -a
|
||||
exit
|
||||
ls
|
||||
exit
|
||||
eixt
|
||||
exit
|
||||
cd /usr/go
|
||||
mkdir /usr/go
|
||||
sudo mkdir /usr/go
|
||||
su -
|
||||
cd Downloads/
|
||||
ls
|
||||
tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
|
||||
su -
|
||||
vim .bashrc
|
||||
ls
|
||||
cd
|
||||
ls
|
||||
vim .bashrc
|
||||
source .
|
||||
source .bashrc
|
||||
go version
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
source $HOME/.cargo/env
|
||||
rustc --version
|
||||
ls
|
||||
cd Development/
|
||||
ls
|
||||
go --version
|
||||
entr
|
||||
go version
|
||||
exit
|
||||
apt update
|
||||
su -
|
||||
docker ps
|
||||
echo $GOPATH
|
||||
go run main
|
||||
go run main.go
|
||||
cd helloworld/
|
||||
ls
|
||||
go run main.go
|
||||
which go
|
||||
zsh
|
||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
su -
|
||||
chsh -s /bin/zsh
|
||||
exit
|
||||
zsh
|
||||
exit
|
||||
zsh
|
||||
exit
|
||||
echo $terminal.integrated.shell.linux
|
||||
zsh
|
||||
exit
|
||||
cd sqlite-tools-linux-x86-3350300/
|
||||
ls
|
||||
./sqlite3 test.db
|
||||
ll
|
||||
ls
|
||||
./sqlite3 test.db
|
||||
sqlite3 test.db
|
||||
exit
|
||||
clion
|
||||
exit
|
@ -101,42 +101,22 @@ if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
setxkbmap us
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
#if ! shopt -oq posix; then
|
||||
# if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
# . /usr/share/bash-completion/bash_completion
|
||||
# elif [ -f /etc/bash_completion ]; then
|
||||
# . /etc/bash_completion
|
||||
# fi
|
||||
#fi
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
#
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Add java to the path
|
||||
export PATH=$PATH:/opt/jdk-16/bin
|
||||
|
||||
# Add Ghidra to the path
|
||||
export PATH=$PATH:/opt/ghidra
|
||||
alias ghidra=ghidraRun
|
||||
|
||||
# Add Go to the path
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
# Add sqlite3 tools
|
||||
export PATH=$PATH:/opt/sqlite3-tools
|
||||
|
||||
# Add Clang-Tools
|
||||
export PATH=$PATH:$HOME/llvm/build/bin
|
||||
|
||||
# Add cargo
|
||||
source "$HOME/.cargo/env"
|
||||
|
||||
# Manualy added binaries to the path
|
||||
export PATH=$PATH:/opt
|
||||
|
||||
# Add path for CLION
|
||||
export PATH=$PATH:/home/nigel/Programs/clion/bin
|
90
emacs/dot-emacs
Normal file
90
emacs/dot-emacs
Normal file
@ -0,0 +1,90 @@
|
||||
; set variables
|
||||
(setq ido-enable-flex-matching t)
|
||||
(setq ido-everywhere t)
|
||||
(setq inhibit-splash-screen t)
|
||||
(setq tab-width 4)
|
||||
(setq custom-file "~/emacs-custom.el")
|
||||
(setq display-line-numbers 'relative)
|
||||
|
||||
; Toggle modes
|
||||
(ido-mode 1)
|
||||
(tool-bar-mode -1)
|
||||
(toggle-scroll-bar -1)
|
||||
(menu-bar-mode -1)
|
||||
(global-display-line-numbers-mode 1)
|
||||
|
||||
; Install and load packages
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
(require 'use-package-ensure)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
(use-package catppuccin-theme)
|
||||
(use-package magit)
|
||||
(use-package paredit)
|
||||
|
||||
|
||||
(use-package evil
|
||||
:init
|
||||
(setq evil-want-integration t)
|
||||
(setq evil-want-keybinding nil)
|
||||
:config
|
||||
(evil-mode 1)
|
||||
)
|
||||
|
||||
(use-package evil-collection
|
||||
:pin melpa
|
||||
:after evil
|
||||
:config
|
||||
(evil-collection-init))
|
||||
|
||||
(use-package all-the-icons)
|
||||
(use-package nerd-icons)
|
||||
|
||||
(use-package lsp-mode
|
||||
:commands (lsp lsp-deferred)
|
||||
:init
|
||||
(setq lsp-keymap-prefix "C-c l")
|
||||
)
|
||||
|
||||
(use-package lsp-ui
|
||||
:after lsp-mode
|
||||
:hook (lsp-mode . lsp-ui-mode)
|
||||
:custom
|
||||
(lsp-ui-doc-position 'bottom))
|
||||
|
||||
(use-package fzf
|
||||
:bind
|
||||
:config
|
||||
(setq fzf/args "-x --color bw --print-query --margin=1,0 --no-hscroll"
|
||||
fzf/executable "fzf"
|
||||
fzf/git-grep-args "-i --line-number %s"
|
||||
fzf/grep-command "grep -nrH"
|
||||
fzf/position-bottom t
|
||||
fzf/window-height 15))
|
||||
|
||||
(use-package consult
|
||||
:bind
|
||||
;; Keybindings
|
||||
:hook (completion-list-mode . consult-preview-at-point-mode)
|
||||
:init
|
||||
(setq register-preview-delay 0.5)
|
||||
(setq xref-show-xrefs-function #'consult-xref
|
||||
xref-show-definitions-function #'consult-xref))
|
||||
|
||||
(use-package magit-delta
|
||||
:hook (magit-mode . magit-delta-mode)
|
||||
)
|
||||
|
||||
|
||||
; activate font and theme
|
||||
(add-to-list 'default-frame-alist '(font . "SF Mono"))
|
||||
(set-face-attribute 'default t :font "SF Mono")
|
||||
(load-theme 'catppuccin :no-confirm)
|
||||
(setq catppuccin-flavor 'frappe)
|
||||
(set-frame-parameter nil 'alpha-background 80)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 80))
|
||||
|
||||
(load custom-file)
|
@ -1,7 +1,6 @@
|
||||
[user]
|
||||
email = nigelbarink@hotmail.com
|
||||
name = Nigel
|
||||
signingkey = C54278C495538619
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
@ -10,4 +9,4 @@
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[commit]
|
||||
gpgsign = true
|
||||
gpgsign = false
|
22
i3/catpuccin
Normal file
22
i3/catpuccin
Normal file
@ -0,0 +1,22 @@
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
# bar {
|
||||
# colors {
|
||||
# background $base
|
||||
# statusline $text
|
||||
# focused_statusline $text
|
||||
# focused_separator $base
|
||||
# focused_workspace $base $base $green
|
||||
# active_workspace $base $base $blue
|
||||
# inactive_workspace $base $base $surface1
|
||||
# urgent_workspace $base $base $surface1
|
||||
# binding_mode $base $base $surface1
|
||||
# }
|
||||
# }
|
26
i3/catpuccin-macchiato
Normal file
26
i3/catpuccin-macchiato
Normal file
@ -0,0 +1,26 @@
|
||||
set $rosewater #f4dbd6
|
||||
set $flamingo #f0c6c6
|
||||
set $pink #f5bde6
|
||||
set $mauve #c6a0f6
|
||||
set $red #ed8796
|
||||
set $maroon #ee99a0
|
||||
set $peach #f5a97f
|
||||
set $yellow #eed49f
|
||||
set $green #a6da95
|
||||
set $teal #8bd5ca
|
||||
set $sky #91d7e3
|
||||
set $sapphire #7dc4e4
|
||||
set $blue #8aadf4
|
||||
set $lavender #b7bdf8
|
||||
set $text #cad3f5
|
||||
set $subtext1 #b8c0e0
|
||||
set $subtext0 #a5adcb
|
||||
set $overlay2 #939ab7
|
||||
set $overlay1 #8087a2
|
||||
set $overlay0 #6e738d
|
||||
set $surface2 #5b6078
|
||||
set $surface1 #494d64
|
||||
set $surface0 #363a4f
|
||||
set $base #24273a
|
||||
set $mantle #1e2030
|
||||
set $crust #181926
|
99
i3/config
Normal file → Executable file
99
i3/config
Normal file → Executable file
@ -13,8 +13,13 @@ set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
font pango:Hack Nerd Font 11
|
||||
exec --no-startup-id picom -b
|
||||
exec --no-startup-id feh --bg-fill ~/Pictures/Wallpapers/the-dreamy-colorful-landscape-5k-9y-3436x1439.jpg
|
||||
exec_always --no-startup-id autotiling -w 1 3 5 7 9
|
||||
exec --no-startup-id "sh ~/.xprofile"
|
||||
|
||||
focus_follows_mouse no
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
@ -28,25 +33,26 @@ font pango:monospace 8
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
# bindsym $mod+d exec dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
@ -67,7 +73,7 @@ bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+h split h
|
||||
bindsym $mod+% split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
@ -144,10 +150,10 @@ mode "resize" {
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 10 px or 10 ppt
|
||||
bindsym k resize grow height 10 px or 10 ppt
|
||||
bindsym l resize shrink height 10 px or 10 ppt
|
||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
@ -163,8 +169,63 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
gaps inner 10
|
||||
for_window [all] title_window_icon on padding 5
|
||||
title_align center
|
||||
# include ~/.dotfiles/i3/catpuccin-macchiato
|
||||
# include ~/.dotfiles/i3/catpuccin
|
||||
|
||||
set $rosewater #f4dbd6
|
||||
set $flamingo #f0c6c6
|
||||
set $pink #f5bde6
|
||||
set $mauve #c6a0f6
|
||||
set $red #ed8796
|
||||
set $maroon #ee99a0
|
||||
set $peach #f5a97f
|
||||
set $yellow #eed49f
|
||||
set $green #a6da95
|
||||
set $teal #8bd5ca
|
||||
set $sky #91d7e3
|
||||
set $sapphire #7dc4e4
|
||||
set $blue #8aadf4
|
||||
set $lavender #b7bdf8
|
||||
set $text #cad3f5
|
||||
set $subtext1 #b8c0e0
|
||||
set $subtext0 #a5adcb
|
||||
set $overlay2 #939ab7
|
||||
set $overlay1 #8087a2
|
||||
set $overlay0 #6e738d
|
||||
set $surface2 #5b6078
|
||||
set $surface1 #494d64
|
||||
set $surface0 #363a4f
|
||||
set $base #24273a
|
||||
set $mantle #1e2030
|
||||
set $crust #181926
|
||||
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# Volume and brightness controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioPause exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower volume
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # toggle mute for default device
|
||||
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [title="virtual Machine Manager"] floating enable
|
||||
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move right 700px, move down 450px
|
||||
no_focus [class="plasmashell" window_type="notification"]
|
||||
for_window [title="Bitwarden" window_role="pop-up"] floating enable
|
||||
|
||||
|
45
i3/otter
Normal file
45
i3/otter
Normal file
@ -0,0 +1,45 @@
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
bar {
|
||||
colors {
|
||||
background $base
|
||||
statusline $text
|
||||
focused_statusline $text
|
||||
focused_separator $base
|
||||
focused_workspace $base $base $green
|
||||
active_workspace $base $base $blue
|
||||
inactive_workspace $base $base $surface1
|
||||
urgent_workspace $base $base $surface1
|
||||
binding_mode $base $base $surface1
|
||||
}
|
||||
}
|
||||
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
bar {
|
||||
colors {
|
||||
background $base
|
||||
statusline $text
|
||||
focused_statusline $text
|
||||
focused_separator $base
|
||||
focused_workspace $base $base $green
|
||||
active_workspace $base $base $blue
|
||||
inactive_workspace $base $base $surface1
|
||||
urgent_workspace $base $base $surface1
|
||||
binding_mode $base $base $surface1
|
||||
}
|
||||
}
|
50
i3status/config
Normal file
50
i3status/config
Normal file
@ -0,0 +1,50 @@
|
||||
general {
|
||||
output_format = "i3bar"
|
||||
colors = true
|
||||
interval = 10
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
order += "cpu_usage"
|
||||
order += "memory"
|
||||
order += "disk /"
|
||||
order += "ethernet enp4s0"
|
||||
order += "tztime local"
|
||||
|
||||
|
||||
tztime local {
|
||||
format = "%d/%m/%Y - %H:%M"
|
||||
}
|
||||
|
||||
ethernet enp4s0 {
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "Disk free: %free"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "Load: %5min"
|
||||
}
|
||||
|
||||
cpu_usage {
|
||||
max_threshold = 95
|
||||
degraded_threshold = 80
|
||||
format = "CPU (total: %usage) 0: %cpu0 1: %cpu1 2: %cpu2"
|
||||
}
|
||||
|
||||
memory {
|
||||
format= "MEM: %percentage_used used, %percentage_free free, (%used/%total)"
|
||||
threshold_degraded= 10%
|
||||
threshold_critical= 3%
|
||||
}
|
||||
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
2
nvim
2
nvim
Submodule nvim updated: 9843cf6e0c...430a2879e9
2
picom/picom.conf
Normal file
2
picom/picom.conf
Normal file
@ -0,0 +1,2 @@
|
||||
opacity-rule = [ "80:class_g = 'Alacritty'",
|
||||
"80:class_g = 'rofi'", "95:class_g = 'Google-chrome'" ];
|
8
polybar/colors.ini
Normal file
8
polybar/colors.ini
Normal file
@ -0,0 +1,8 @@
|
||||
[colors]
|
||||
background = #282a36
|
||||
background-alt = #44475a
|
||||
foreground = #f8f8f2
|
||||
primary = #bd93f9
|
||||
secondary = #ffb86c
|
||||
alert = #ff5555
|
||||
disabled = #6272a4
|
9
polybar/colors_custom_otter.ini
Normal file
9
polybar/colors_custom_otter.ini
Normal file
@ -0,0 +1,9 @@
|
||||
[colors]
|
||||
background = #64391d
|
||||
background-alt = #b38a5b
|
||||
foreground = #FFFFFF
|
||||
primary = #b7d72c
|
||||
secondary = #dde368
|
||||
alert = #7c2c09
|
||||
disabled = #4f3b22
|
||||
|
22
polybar/config.ini
Normal file
22
polybar/config.ini
Normal file
@ -0,0 +1,22 @@
|
||||
;==========================================================
|
||||
;
|
||||
;
|
||||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||
;
|
||||
;
|
||||
; To learn more about how to configure Polybar
|
||||
; go to https://github.com/polybar/polybar
|
||||
;
|
||||
; The README contains a lot of information
|
||||
;
|
||||
;==========================================================
|
||||
include-file = colors.ini
|
||||
include-file = settings.ini
|
||||
include-file = mybar.ini
|
||||
include-file = modules.ini
|
||||
; vim:ft=dosini
|
7
polybar/launch.sh
Executable file
7
polybar/launch.sh
Executable file
@ -0,0 +1,7 @@
|
||||
polybar-msg cmd quit
|
||||
|
||||
echo "---" | tee -a /tmp/polybar.log
|
||||
polybar MyBar 2>&1 | tee -a /tmp/polybar.log & disown
|
||||
|
||||
echo "Bars launched ... "
|
||||
|
104
polybar/modules.ini
Normal file
104
polybar/modules.ini
Normal file
@ -0,0 +1,104 @@
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:60:...%
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
||||
mount-0 = /
|
||||
|
||||
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
||||
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.disabled}
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.primary}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
|
||||
label-muted = muted
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.primary}
|
||||
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-foreground = ${colors.background}
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = "RAM "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = "CPU "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage:2%%
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 5
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %d-%m-%Y
|
||||
date-alt = %Y-%m-%d
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
[module/time]
|
||||
type= internal/date
|
||||
interval=1
|
||||
date = %H:%M:%S
|
||||
label = %date%
|
||||
|
44
polybar/mybar.ini
Normal file
44
polybar/mybar.ini
Normal file
@ -0,0 +1,44 @@
|
||||
[bar/MyBar]
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 3
|
||||
|
||||
offset-x = 50
|
||||
offset-y = 50
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
line-size = 4pt
|
||||
|
||||
#border-size = 4pt
|
||||
#border-color = ${colors.background}
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = |
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "HeavyDataNerdFont:pixelsize=20;2"
|
||||
font-1 = monospace;2
|
||||
|
||||
modules-center = time
|
||||
modules-left = xworkspaces tray xwindow
|
||||
modules-right = pulseaudio memory cpu eth date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
; tray-position = right
|
||||
|
||||
; wm-restack = generic
|
||||
; wm-restack = bspwm
|
||||
; wm-restack = i3
|
||||
|
||||
; override-redirect = true
|
4
polybar/settings.ini
Normal file
4
polybar/settings.ini
Normal file
@ -0,0 +1,4 @@
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
BIN
rice/DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
Normal file
BIN
rice/DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
Normal file
Binary file not shown.
6
rofi/config
Normal file
6
rofi/config
Normal file
@ -0,0 +1,6 @@
|
||||
rofi.modes: "window, run, ssh, drun"
|
||||
rofi.color-enabled: true
|
||||
|
||||
rofi.lines: 15
|
||||
|
||||
rofi.theme: /usr/share/rofi/themes/rounded-purple-dark.rasi
|
14
rofi/config.rasi
Normal file
14
rofi/config.rasi
Normal file
@ -0,0 +1,14 @@
|
||||
configuration {
|
||||
modi: "window,run,ssh";
|
||||
font: "SF Mono 12";
|
||||
timeout {
|
||||
action: "kb-cancel";
|
||||
delay: 0;
|
||||
}
|
||||
filebrowser {
|
||||
directories-first: true;
|
||||
sorting-method: "name";
|
||||
}
|
||||
}
|
||||
|
||||
@theme "/home/nigel/.local/share/rofi/themes/catppuccin-frappe.rasi"
|
13
scripts/activate.sh
Normal file
13
scripts/activate.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/zsh
|
||||
stow --dotfiles bash zsh tmux git
|
||||
mkdir -p $HOME/.config/nvim && stow --dotfiles nvim -t $HOME/.config/nvim
|
||||
mkdir -p $HOME/.config/alacritty && stow --dotfiles alacritty -t $HOME/.config/alacritty
|
||||
mkdir -p $HOME/.config/i3 && stow --dotfiles i3 -t $HOME/.config/i3
|
||||
mkdir -p $HOME/.config/i3status && stow --dotfiles i3status -t $HOME/.config/i3status
|
||||
mkdir -p $HOME/.config/rofi && stow --dotfiles rofi -t $HOME/.config/rofi
|
||||
mkdir -p $HOME/.config/polybar && stow --dotfiles polybar -t $HOME/.config/polybar
|
||||
stow --dotfiles starship -t $HOME/.config
|
||||
stow --dotfiles starship -t $HOME/.config
|
||||
stow --dotfiles picom -t $HOME/.config
|
||||
stow --dotfiles emacs -t $HOME/.config
|
||||
|
10
scripts/deactivate.sh
Normal file
10
scripts/deactivate.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/zsh
|
||||
stow -D --dotfiles bash zsh tmux git
|
||||
stow -D --dotfiles alacritty -t $HOME/.config/alacritty
|
||||
stow -D --dotfiles nvim -t $HOME/.config/nvim
|
||||
stow -D --dotfiles i3 -t $HOME/.config/i3
|
||||
stow -D --dotfiles i3status -t $HOME/.config/i3status
|
||||
stow -D --dotfiles rofi -t $HOME/.config/rofi
|
||||
stow -D --dotfiles polybar -t $HOME/.config/polybar
|
||||
stow -D --dotfiles starship -t $HOME/.config
|
||||
stow -D --dotfiles picom -t $HOME/.config
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# install fzf
|
||||
git clone --depth 1 https://github.com/junegunn/fzf.git /tmp/fzf-source
|
||||
@ -18,4 +18,4 @@ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama run codellama:7b # See https://ollama.com/library/codellama for available models
|
||||
|
||||
|
||||
apt install picom
|
65
starship/starship.toml
Normal file
65
starship/starship.toml
Normal file
@ -0,0 +1,65 @@
|
||||
format = """
|
||||
[░▒▓](#788F48)\
|
||||
[ \ue712 ](bg:#648519 fg:#b7b8ba)\
|
||||
[](bg:#648519 fg:#648519)\
|
||||
$directory\
|
||||
[](bg:#7D9F3F fg:#648519)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](bg:#8D995B fg:#7D9F3F)\
|
||||
$python\
|
||||
$rust\
|
||||
$golang\
|
||||
$c\
|
||||
[](fg:#8D995B bg:#648519)\
|
||||
$time\
|
||||
[ ](fg:#648519)\
|
||||
\n$character
|
||||
"""
|
||||
[username]
|
||||
style_root="green bold"
|
||||
format= "[$user]($style) "
|
||||
disabled= false
|
||||
show_always = true
|
||||
|
||||
[directory]
|
||||
style = "fg:#e3e5e5 bg:#648519"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = ".../"
|
||||
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:#7D9F3F"
|
||||
format = '[[ $symbol $branch ](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#7D9F3F"
|
||||
format = '[[($all_status$ahead_behind )](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#8D995B"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = "\ue61e"
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#8D995B"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
[python]
|
||||
|
||||
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "bg:#648519"
|
||||
format = '[[ $time ](fg:#b7b8ba bg:#648519)]($style)'
|
@ -6,27 +6,37 @@
|
||||
|
||||
# Rebind the prefix key
|
||||
unbind C-b
|
||||
set-option -g prefix C-z
|
||||
set-option -g prefix C-Space
|
||||
|
||||
# Map pane selection to more easy vim like bindings
|
||||
bind-key -n 'M-h' select-pane -L
|
||||
bind-key -n 'M-j' select-pane -D
|
||||
bind-key -n 'M-k' select-pane -U
|
||||
bind-key -n 'M-l' select-pane -R
|
||||
|
||||
# Map pane resize
|
||||
bind-key -r -T prefix 'M-h' resize-pane -L 5
|
||||
bind-key -r -T prefix 'M-j' resize-pane -D 5
|
||||
bind-key -r -T prefix 'M-k' resize-pane -U 5
|
||||
bind-key -r -T prefix 'M-l' resize-pane -R 5
|
||||
|
||||
|
||||
|
||||
|
||||
bind h split-window -h
|
||||
bind v split-window -v
|
||||
|
||||
# set Status bar options
|
||||
set-option -g status-position top
|
||||
set-window-option -g window-status-style fg=White,bg="#61f230"
|
||||
set-window-option -g window-status-current-style fg=White,bg="#9aff78"
|
||||
set-option -g allow-rename off
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @catppuccin_flavour 'macchiato'
|
||||
set -g @catppuccin_status_modules_right "host uptime application session"
|
||||
set -s default-terminal 'xterm-256color'
|
||||
|
||||
set -g @plugin 'dracula/tmux'
|
||||
set -g @dracula-plugins 'cpu-usage git ram-usage time'
|
||||
set -g @dracula-show-left-icon \uebc8
|
||||
setw -g mode-keys vi
|
||||
|
||||
# set some sanity options
|
||||
# - This makes sure to keep the window/pane count starting at 1
|
83
wezterm/.wezterm.lua
Normal file
83
wezterm/.wezterm.lua
Normal file
@ -0,0 +1,83 @@
|
||||
-- pull in the wezterm API
|
||||
local wezterm = require('wezterm')
|
||||
local launch_menu = {}
|
||||
|
||||
-- This will hold the configuration
|
||||
local config = wezterm.config_builder()
|
||||
config.colors = { background = "#1e1e2e" }
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
config.window_background_opacity = 1.0
|
||||
config.default_prog = { 'C:/Program Files/PowerShell/7/pwsh.exe' }
|
||||
|
||||
config.window_frame = {
|
||||
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
||||
font_size = 12,
|
||||
active_titlebar_bg = '#1e1e2e',
|
||||
inactive_titlebar_bg = '#1e1e2e',
|
||||
}
|
||||
|
||||
config.colors = {
|
||||
tab_bar = {
|
||||
active_tab = {
|
||||
|
||||
bg_color = '#181825',
|
||||
fg_color = "#B4BEFE"
|
||||
},
|
||||
inactive_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab_hover ={
|
||||
bg_color = '#1b1032',
|
||||
fg_color = '#808080',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
-- Keys
|
||||
local act = wezterm.action
|
||||
config.leader = { key = "a", mods="CTRL", timeout_milliseconds = 1000}
|
||||
|
||||
config.keys = {
|
||||
{ key = "s", mods = "LEADER", action = act.SplitVertical { domain = "CurrentPaneDomain"}},
|
||||
{ key = "v", mods = "LEADER", action = act.SplitHorizontal { domain = "CurrentPaneDomain" }},
|
||||
{ key = "h", mods = "LEADER", action = act.ActivatePaneDirection("Left") },
|
||||
{ key = "j", mods = "LEADER", action = act.ActivatePaneDirection("Down") },
|
||||
{ key = "k", mods = "LEADER", action = act.ActivatePaneDirection("Up") },
|
||||
{ key = "l", mods = "LEADER", action = act.ActivatePaneDirection("Right") },
|
||||
{ key = "q", mods = "LEADER", action = act.CloseCurrentPane { confirm = false }},
|
||||
{ key = "n", mods = "LEADER", action = act.ShowTabNavigator },
|
||||
{ key = "t", mods = "LEADER", action = act.ShowLauncher },
|
||||
}
|
||||
|
||||
-- config.enable_tab_bar = false
|
||||
config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE"
|
||||
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell 7',
|
||||
args = { 'pwsh.exe', '-NoLogo' },
|
||||
})
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell',
|
||||
args = { 'PowerShell.exe', '-NoLogo' },
|
||||
})
|
||||
|
||||
for _, vsvers in
|
||||
ipairs ( wezterm.glob('VisualStudio20*', 'D:/')) do
|
||||
local year = vsvers:gsub('VisualStudio', '')
|
||||
table.insert(launch_menu, {
|
||||
label = 'X64 Native Tools VS ' .. year,
|
||||
args = {
|
||||
'cmd.exe',
|
||||
'/k',
|
||||
'D:/' .. vsvers .. '/VC/Auxiliary/Build/vcvars64.bat' },
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
config.launch_menu = launch_menu
|
||||
return config
|
82
wezterm/dot-wezterm.lua
Normal file
82
wezterm/dot-wezterm.lua
Normal file
@ -0,0 +1,82 @@
|
||||
-- pull in the wezterm API
|
||||
local wezterm = require('wezterm')
|
||||
local launch_menu = {}
|
||||
|
||||
-- This will hold the configuration
|
||||
local config = wezterm.config_builder()
|
||||
config.colors = { background = "#1e1e2e" }
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
config.window_background_opacity = 0.8
|
||||
|
||||
config.window_frame = {
|
||||
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
||||
font_size = 12,
|
||||
active_titlebar_bg = '#1e1e2e',
|
||||
inactive_titlebar_bg = '#1e1e2e',
|
||||
}
|
||||
|
||||
config.colors = {
|
||||
tab_bar = {
|
||||
active_tab = {
|
||||
|
||||
bg_color = '#181825',
|
||||
fg_color = "#B4BEFE"
|
||||
},
|
||||
inactive_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab_hover = {
|
||||
bg_color = '#1b1032',
|
||||
fg_color = '#808080',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
-- Keys
|
||||
local act = wezterm.action
|
||||
config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||
|
||||
config.keys = {
|
||||
{ key = "s", mods = "LEADER", action = act.SplitVertical { domain = "CurrentPaneDomain" } },
|
||||
{ key = "v", mods = "LEADER", action = act.SplitHorizontal { domain = "CurrentPaneDomain" } },
|
||||
{ key = "h", mods = "LEADER", action = act.ActivatePaneDirection("Left") },
|
||||
{ key = "j", mods = "LEADER", action = act.ActivatePaneDirection("Down") },
|
||||
{ key = "k", mods = "LEADER", action = act.ActivatePaneDirection("Up") },
|
||||
{ key = "l", mods = "LEADER", action = act.ActivatePaneDirection("Right") },
|
||||
{ key = "q", mods = "LEADER", action = act.CloseCurrentPane { confirm = false } },
|
||||
{ key = "n", mods = "LEADER", action = act.ShowTabNavigator },
|
||||
{ key = "t", mods = "LEADER", action = act.ShowLauncher },
|
||||
}
|
||||
|
||||
config.enable_tab_bar = false
|
||||
config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE"
|
||||
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell 7',
|
||||
args = { 'pwsh.exe', '-NoLogo' },
|
||||
})
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell',
|
||||
args = { 'PowerShell.exe', '-NoLogo' },
|
||||
})
|
||||
|
||||
for _, vsvers in
|
||||
ipairs(wezterm.glob('VisualStudio20*', 'D:/')) do
|
||||
local year = vsvers:gsub('VisualStudio', '')
|
||||
table.insert(launch_menu, {
|
||||
label = 'X64 Native Tools VS ' .. year,
|
||||
args = {
|
||||
'cmd.exe',
|
||||
'/k',
|
||||
'D:/' .. vsvers .. '/VC/Auxiliary/Build/vcvars64.bat' },
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
config.launch_menu = launch_menu
|
||||
return config
|
@ -1,8 +1,12 @@
|
||||
|
||||
#
|
||||
# _ _ _ _ ___ ____ _ _ ____ ____ _ _ ____ _ ____
|
||||
# |\/| \_/ / [__ |__| | | | |\ | |___ | | __
|
||||
# | | | /__ ___] | | |___ |__| | \| | | |__]
|
||||
#
|
||||
# attach to an existing tmux session or create a new one if none exist
|
||||
if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
||||
tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
||||
fi
|
||||
# if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
||||
# tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
||||
# fi
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
@ -23,6 +27,8 @@ bindkey '^S' history-incremental-search-forward
|
||||
|
||||
ZSH_THEME="lambda"
|
||||
|
||||
setxkbmap us
|
||||
|
||||
# Use case-sensitive completion.
|
||||
CASE_SENSITIVE="true"
|
||||
|
||||
@ -43,9 +49,6 @@ source $ZSH/oh-my-zsh.sh
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
# User configuration
|
||||
source ~/.bashrc
|
||||
|
||||
# Set my language environment
|
||||
export LANG=en_GB.UTF-8
|
||||
|
||||
@ -57,29 +60,14 @@ if [[ -n $SSH_CONNECTION ]]; then
|
||||
fi
|
||||
|
||||
# Personal aliases
|
||||
alias zshconfig="nvim ~/.zshrc"
|
||||
alias ohmyzsh="nvim ~/.oh-my-zsh"
|
||||
alias zshconfig="$EDITOR ~/.zshrc"
|
||||
alias ohmyzsh="$EDITOR ~/.oh-my-zsh"
|
||||
alias dev="cd /home/nigel/Development"
|
||||
alias dotfiles="cd /home/nigel/.dotfiles"
|
||||
# Set Environment Variables
|
||||
DOTNET_ROOT=$HOME/dotnet
|
||||
PATH=$PATH:$HOME/dotnet
|
||||
export PATH=$PATH:/home/nigel/Hacking/Development/depot_tools
|
||||
|
||||
# Personal Aliases
|
||||
alias zshconfig="mate ~/.zshrc"
|
||||
alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Add Clang-Tools
|
||||
export PATH=$PATH:/usr/local/llvm
|
||||
|
||||
# Add nvim
|
||||
export PATH=$PATH:/usr/local/bin/nvim/bin:
|
||||
export PATH=$PATH:/opt/gradle/gradle-8.7/bin
|
||||
|
||||
# Add GoLang
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
alias gitconfig="$EDITOR $HOME/.gitconfig"
|
||||
alias sshconfig="$EDITOR $HOME/.ssh/config"
|
||||
alias sshhome="cd $HOME/.ssh"
|
||||
alias reload="source $HOME/.zshrc"
|
||||
|
||||
# Add Autocompletion tools
|
||||
_dotnet_zsh_complete()
|
||||
@ -94,6 +82,12 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
# zsh paramater for dotnet cli tab completion
|
||||
compctl -K _dotnet_zsh_complete dotnet
|
||||
|
||||
(cat $HOME/.cache/wal/sequences &)
|
||||
source $HOME/.cache/wal/colors.sh
|
||||
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
eval "$(register-python-argcomplete pipx)"
|
||||
# Created by `pipx` on 2024-04-10 15:28:48
|
||||
export PATH="$PATH:/home/nigel/.local/bin"
|
Reference in New Issue
Block a user