Compare commits
24 Commits
MacBook
...
331e7eb25a
Author | SHA1 | Date | |
---|---|---|---|
331e7eb25a
|
|||
7c7b647b0a
|
|||
04790c48d6
|
|||
e95ce2b946
|
|||
f3bc559598
|
|||
d651cce8ca
|
|||
aadb6dc051
|
|||
14cb3b287b
|
|||
2b28b7e482
|
|||
0f9be2d830
|
|||
9e4797d36f
|
|||
b81d284291
|
|||
8c09d67779
|
|||
76497acfb5
|
|||
4ad3dfc644
|
|||
ecd737e373
|
|||
2682a25658 | |||
b2234868cf | |||
8cd0f1a9ec | |||
50e9ac06a2 | |||
58f5f318b3 | |||
760a821a06 | |||
671da08d23 | |||
9d5d6ffe12 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "nvim"]
|
||||
path = nvim
|
||||
url = gitea@git.barink.dev:Nigel/neovim_config.git
|
BIN
DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
Normal file
BIN
DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -4,6 +4,11 @@
|
||||

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

|
||||
|
||||
Resources used:
|
||||
|
||||
[managing dotfiles](https://www.jakewiesler.com/blog/managing-dotfiles)
|
||||
|
11
activate.sh
Executable file
11
activate.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/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
|
22
alacritty/alacritty.toml
Normal file
22
alacritty/alacritty.toml
Normal file
@ -0,0 +1,22 @@
|
||||
# Live config reload
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
projects = "~/Documents/Development"
|
||||
|
||||
[window]
|
||||
opacity = 0.8
|
||||
startup_mode = "Windowed"
|
||||
dynamic_title = false
|
||||
title = "Alacritty Terminal"
|
||||
|
||||
[font]
|
||||
size = 13
|
||||
normal = {family="Hack Nerd Font", style="Regular" }
|
||||
bold = {family="Hack Nerd Font", style="Bold" }
|
||||
italic = {family="Hack Nerd Font", style="Italic" }
|
||||
bold_italic = {family="Hack Nerd Font", style="Bold Italic" }
|
||||
|
||||
|
||||
[cursor]
|
||||
style = { shape="Block", blinking="On" }
|
@ -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
|
10
deactivate.sh
Executable file
10
deactivate.sh
Executable 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 +0,0 @@
|
||||
False
|
@ -1 +0,0 @@
|
||||
e1d19144125827ba135475231a0726fb686fea326bf58e27eb2f49aaf56f8f62
|
@ -1,5 +0,0 @@
|
||||
https://dc.services.visualstudio.com/v2/track
|
||||
Content-Type:application/x-json-stream
|
||||
Content-Encoding:gzip
|
||||
|
||||
H4sIAAAAAAAAA0xTy24UOxD9lVbfDUhxx8+2PTvEgG4E0Y0gYsGubJcTK53uUbcnF4T4d8oTAmPv6nFc59Txj36GR+x3/XWJ67ItuQ5vDoepRKhlma/mrdzd122wOkYRPSocUSdugsoxJfSCi8Sl0cO7J5xrf9HXckKTXArGPZP+Vuid0jthBuX1KLz8SlXlA36nqhdU1mBZw2UNmJ0jN0y42/rdjx7KsOG20VxDSdROY7ios2UimEDtBpnTYBk3WVmZOFgRqZ3aEj6ViMOyfcG19VNzwlBgfk6XueI6wzRs6eFvhRw4XcVHK/qfF32CCm2KABvefj80lifS+xa/OIX3v0uecO138uJF2rTUGetlnMrl4xaOZUqXFdY7rHmlgv+X9QGfYCKMw7occK0FT3T/+9z9HUZwylPkZoKal/WRQh/LfPzWosd6ONbuE6ayYqzYpHkP04aU+3Sc20a6q/SH8iA4+zY2XW/WJR1jPXtFDWLQQlFuv8QHXLu3y1yhzI3PH8y3x3Ul3t0N1PvuX9juKResyzYHL7yzHqUDY1zIqI2H1DYsIiTllYQUsuKWGyOyHAPQUWMybU3XEO/ppe5qT3gokvBCayGNkzaAUEZbI5UAbuWYw+jGjKAIIhuH0mKQWXuAbMbs8igJ7wOtFKczcie9Oj0IP3AmLIPHNOruH9F9vr7p9idtnrPCa6a6V88eJne51wT3sYRIGk9IeyawrUKY8CV+b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VXXaXradg1m3IbkG
|
||||
G4QZOomiu1yk5I7UM3IUUktliHR0waX4FEyqnjw65W1oLMAnbn243Oi8keMsZKB3
|
||||
W7JMi4TUnpe7L8SrFEYn+ch9b+njEVRGgVvTPBDX3sv/fxnYwkbjwzNWVTBQkExI
|
||||
GWw5PM9LYV8ZHz0MNLuWOPeH4ptqBV2Has0+PljUw5b3h/LYL7a/fgCDKFyvO08e
|
||||
8PnhjQenteAxzhnNyLekaDkJzsbNyCW24dfZYa7SEini7YUnru87tnVwxiqj8Y0C
|
||||
5eTKBeZeXMVdcbaVpTJb5c5fAjd6+6g9W5Ph4KZc5y1DJIDuKqtO8sVAZViG80Dx
|
||||
+RfVW0UCs98iL6FNN2VqYvbq1lyE00FgUcJxltpazxbtC4CQt1KEKUn8ia+Ptdnu
|
||||
+gAYrwlLAaQRGm1owqO7SgcV6yPYPgSqleEYHFcqtXsnMI6/R4g0MuI9zr6kq0MC
|
||||
oxddnt4G8qnzm2MpYYYzzsInjmz3wHYSJUPTIXiKDOQg+Aoz0PzliQuzuq8KIQ==
|
||||
-----END X509 CRL-----
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
[user]
|
||||
email = nigelbarink@hotmail.com
|
||||
name = Nigel
|
||||
signingkey = C54278C495538619
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
@ -8,3 +9,5 @@
|
||||
required = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[commit]
|
||||
gpgsign = true
|
@ -1,20 +0,0 @@
|
||||
gtk-theme-name="Breeze"
|
||||
gtk-enable-animations=1
|
||||
gtk-primary-button-warps-slider=0
|
||||
gtk-toolbar-style=3
|
||||
gtk-menu-images=1
|
||||
gtk-button-images=1
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-cursor-theme-name="Oxygen_Yellow"
|
||||
gtk-icon-theme-name="breeze-dark"
|
||||
gtk-font-name="Noto Sans, 10"
|
||||
|
||||
###############################################
|
||||
# Created by cinnamon-settings - please do not edit or reformat.
|
||||
#
|
||||
style "cs-scrollbar-style" {
|
||||
|
||||
}
|
||||
|
||||
class "GtkScrollbar" style "cs-scrollbar-style"
|
||||
###############################################
|
215
i3/config
Executable file
215
i3/config
Executable file
@ -0,0 +1,215 @@
|
||||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
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:Hack Nerd Font 11
|
||||
exec --no-startup-id picom -b
|
||||
exec --no-startup-id feh --bg-fill $HOME/Pictures/Wallpapers/430795.jpg
|
||||
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
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
# 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+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
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+% split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# 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 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
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape or $mod+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
# COLORSCHEME USED : https://www.icolorpalette.com/imagepalette/otter_mammal_fauna-7
|
||||
# bar {
|
||||
# position top
|
||||
# status_command i3status --transparency
|
||||
#
|
||||
# colors {
|
||||
# background #b7d72cA1
|
||||
# statusline #000000A1
|
||||
# separator #281309A1
|
||||
#
|
||||
# #border Background Text
|
||||
# focused_workspace #64391dA1 #64391dA1 #FFFFFFA1
|
||||
# active_workspace #64391dA1 #64391dA1 #FFFFFFA1
|
||||
# inactive_workspace #dde368A1 #dde368A1 #000000A1
|
||||
# urgent_workspace #b7d72cA1 #b7d72cA1 #000000A1
|
||||
# binding_mode #b7d72cA1 #b7d72cA1 #000000A1
|
||||
# }
|
||||
# }
|
||||
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
|
||||
|
||||
|
||||
#class border backgr. text indicator child_border
|
||||
|
||||
client.focused #b38a5b #4f3b22 #FFFFFF #8c5831 #7c2c09
|
||||
client.focused_inactive #b38a5b #b38a5b #CCCCCC #8c5831 #7c2c09
|
||||
client.unfocused #b38a5b #b38a5b #CCCCCC #8c5831 #7c2c09
|
||||
|
||||
client.background #FFFFFF
|
||||
|
||||
# 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
|
||||
# use i3lock-fancy
|
||||
bindsym $mod-z exec i3lock-fancy
|
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
|
||||
}
|
||||
|
21
install.sh
Executable file
21
install.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# install fzf
|
||||
git clone --depth 1 https://github.com/junegunn/fzf.git /tmp/fzf-source
|
||||
starting_dir=$(pwd)
|
||||
cd /tmp/fzf-source
|
||||
./install
|
||||
cd $starting_dir
|
||||
|
||||
# install ripgrep (Using APT! NOTE: Most likely not the latest version )
|
||||
apt update
|
||||
apt install ripgrep
|
||||
|
||||
# install tmux plugin manager
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
||||
# Install local Ollama runner
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama run codellama:7b # See https://ollama.com/library/codellama for available models
|
||||
|
||||
apt install picom
|
1
nvim
Submodule
1
nvim
Submodule
Submodule nvim added at e9488d5948
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'" ];
|
172
polybar/config.ini
Normal file
172
polybar/config.ini
Normal file
@ -0,0 +1,172 @@
|
||||
;==========================================================
|
||||
;
|
||||
;
|
||||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||
;
|
||||
;
|
||||
; To learn more about how to configure Polybar
|
||||
; go to https://github.com/polybar/polybar
|
||||
;
|
||||
; The README contains a lot of information
|
||||
;
|
||||
;==========================================================
|
||||
|
||||
[colors]
|
||||
background = #64391d
|
||||
background-alt = #b38a5b
|
||||
foreground = #FFFFFF
|
||||
primary = #b7d72c
|
||||
secondary = #dde368
|
||||
alert = #7c2c09
|
||||
disabled = #4f3b22
|
||||
|
||||
[bar/MyBar]
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 3
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 4pt
|
||||
|
||||
border-size = 4pt
|
||||
border-color = #64391d
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = |
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = monospace;2
|
||||
|
||||
modules-left = xworkspaces 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
|
||||
|
||||
[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 %H:%M
|
||||
date-alt = %Y-%m-%d %H:%M:%S
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
; 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 ... "
|
||||
|
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/Monokai.rasi
|
148
rofi/config.rasi
Normal file
148
rofi/config.rasi
Normal file
@ -0,0 +1,148 @@
|
||||
configuration {
|
||||
/* modi: "window,run,ssh";*/
|
||||
/* font: "mono 12";*/
|
||||
/* location: 0;*/
|
||||
/* yoffset: 0;*/
|
||||
/* xoffset: 0;*/
|
||||
/* fixed-num-lines: true;*/
|
||||
/* show-icons: false;*/
|
||||
/* terminal: "rofi-sensible-terminal";*/
|
||||
/* ssh-client: "ssh";*/
|
||||
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
|
||||
/* run-command: "{cmd}";*/
|
||||
/* run-list-command: "";*/
|
||||
/* run-shell-command: "{terminal} -e {cmd}";*/
|
||||
/* window-command: "wmctrl -i -R {window}";*/
|
||||
/* window-match-fields: "all";*/
|
||||
/* icon-theme: ;*/
|
||||
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
|
||||
/* drun-categories: ;*/
|
||||
/* drun-show-actions: false;*/
|
||||
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
|
||||
/* drun-url-launcher: "xdg-open";*/
|
||||
/* disable-history: false;*/
|
||||
/* ignored-prefixes: "";*/
|
||||
/* sort: false;*/
|
||||
/* sorting-method: "normal";*/
|
||||
/* case-sensitive: false;*/
|
||||
/* cycle: true;*/
|
||||
/* sidebar-mode: false;*/
|
||||
/* hover-select: false;*/
|
||||
/* eh: 1;*/
|
||||
/* auto-select: false;*/
|
||||
/* parse-hosts: false;*/
|
||||
/* parse-known-hosts: true;*/
|
||||
/* combi-modi: "window,run";*/
|
||||
/* matching: "normal";*/
|
||||
/* tokenize: true;*/
|
||||
/* m: "-5";*/
|
||||
/* filter: ;*/
|
||||
/* dpi: -1;*/
|
||||
/* threads: 0;*/
|
||||
/* scroll-method: 0;*/
|
||||
/* window-format: "{w} {c} {t}";*/
|
||||
/* click-to-exit: true;*/
|
||||
/* max-history-size: 25;*/
|
||||
/* combi-hide-mode-prefix: false;*/
|
||||
/* combi-display-format: "{mode} {text}";*/
|
||||
/* matching-negate-char: '-' /* unsupported */;*/
|
||||
/* cache-dir: ;*/
|
||||
/* window-thumbnail: false;*/
|
||||
/* drun-use-desktop-cache: false;*/
|
||||
/* drun-reload-desktop-cache: false;*/
|
||||
/* normalize-match: false;*/
|
||||
/* steal-focus: false;*/
|
||||
/* application-fallback-icon: ;*/
|
||||
/* pid: "/run/user/1000/rofi.pid";*/
|
||||
/* display-window: ;*/
|
||||
/* display-windowcd: ;*/
|
||||
/* display-run: ;*/
|
||||
/* display-ssh: ;*/
|
||||
/* display-drun: ;*/
|
||||
/* display-combi: ;*/
|
||||
/* display-keys: ;*/
|
||||
/* display-filebrowser: ;*/
|
||||
/* kb-primary-paste: "Control+V,Shift+Insert";*/
|
||||
/* kb-secondary-paste: "Control+v,Insert";*/
|
||||
/* kb-clear-line: "Control+w";*/
|
||||
/* kb-move-front: "Control+a";*/
|
||||
/* kb-move-end: "Control+e";*/
|
||||
/* kb-move-word-back: "Alt+b,Control+Left";*/
|
||||
/* kb-move-word-forward: "Alt+f,Control+Right";*/
|
||||
/* kb-move-char-back: "Left,Control+b";*/
|
||||
/* kb-move-char-forward: "Right,Control+f";*/
|
||||
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
|
||||
/* kb-remove-word-forward: "Control+Alt+d";*/
|
||||
/* kb-remove-char-forward: "Delete,Control+d";*/
|
||||
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
|
||||
/* kb-remove-to-eol: "Control+k";*/
|
||||
/* kb-remove-to-sol: "Control+u";*/
|
||||
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
|
||||
/* kb-accept-custom: "Control+Return";*/
|
||||
/* kb-accept-custom-alt: "Control+Shift+Return";*/
|
||||
/* kb-accept-alt: "Shift+Return";*/
|
||||
/* kb-delete-entry: "Shift+Delete";*/
|
||||
/* kb-mode-next: "Shift+Right,Control+Tab";*/
|
||||
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
|
||||
/* kb-mode-complete: "Control+l";*/
|
||||
/* kb-row-left: "Control+Page_Up";*/
|
||||
/* kb-row-right: "Control+Page_Down";*/
|
||||
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
|
||||
/* kb-row-down: "Down,Control+n";*/
|
||||
/* kb-row-tab: "Tab";*/
|
||||
/* kb-page-prev: "Page_Up";*/
|
||||
/* kb-page-next: "Page_Down";*/
|
||||
/* kb-row-first: "Home,KP_Home";*/
|
||||
/* kb-row-last: "End,KP_End";*/
|
||||
/* kb-row-select: "Control+space";*/
|
||||
/* kb-screenshot: "Alt+S";*/
|
||||
/* kb-ellipsize: "Alt+period";*/
|
||||
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
|
||||
/* kb-toggle-sort: "Alt+grave";*/
|
||||
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
|
||||
/* kb-custom-1: "Alt+1";*/
|
||||
/* kb-custom-2: "Alt+2";*/
|
||||
/* kb-custom-3: "Alt+3";*/
|
||||
/* kb-custom-4: "Alt+4";*/
|
||||
/* kb-custom-5: "Alt+5";*/
|
||||
/* kb-custom-6: "Alt+6";*/
|
||||
/* kb-custom-7: "Alt+7";*/
|
||||
/* kb-custom-8: "Alt+8";*/
|
||||
/* kb-custom-9: "Alt+9";*/
|
||||
/* kb-custom-10: "Alt+0";*/
|
||||
/* kb-custom-11: "Alt+exclam";*/
|
||||
/* kb-custom-12: "Alt+at";*/
|
||||
/* kb-custom-13: "Alt+numbersign";*/
|
||||
/* kb-custom-14: "Alt+dollar";*/
|
||||
/* kb-custom-15: "Alt+percent";*/
|
||||
/* kb-custom-16: "Alt+dead_circumflex";*/
|
||||
/* kb-custom-17: "Alt+ampersand";*/
|
||||
/* kb-custom-18: "Alt+asterisk";*/
|
||||
/* kb-custom-19: "Alt+parenleft";*/
|
||||
/* kb-select-1: "Super+1";*/
|
||||
/* kb-select-2: "Super+2";*/
|
||||
/* kb-select-3: "Super+3";*/
|
||||
/* kb-select-4: "Super+4";*/
|
||||
/* kb-select-5: "Super+5";*/
|
||||
/* kb-select-6: "Super+6";*/
|
||||
/* kb-select-7: "Super+7";*/
|
||||
/* kb-select-8: "Super+8";*/
|
||||
/* kb-select-9: "Super+9";*/
|
||||
/* kb-select-10: "Super+0";*/
|
||||
/* ml-row-left: "ScrollLeft";*/
|
||||
/* ml-row-right: "ScrollRight";*/
|
||||
/* ml-row-up: "ScrollUp";*/
|
||||
/* ml-row-down: "ScrollDown";*/
|
||||
/* me-select-entry: "MousePrimary";*/
|
||||
/* me-accept-entry: "MouseDPrimary";*/
|
||||
/* me-accept-custom: "Control+MouseDPrimary";*/
|
||||
timeout {
|
||||
action: "kb-cancel";
|
||||
delay: 0;
|
||||
}
|
||||
filebrowser {
|
||||
directories-first: true;
|
||||
sorting-method: "name";
|
||||
}
|
||||
}
|
||||
@theme "arthur"
|
54
scripts/chtsht.sh
Executable file
54
scripts/chtsht.sh
Executable file
@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
# provide a list of options
|
||||
CHOICE=$(echo $'search\nlearn\ncheatsheet'| fzf)
|
||||
echo $CHOICE
|
||||
if [ $CHOICE = "search" ]
|
||||
then
|
||||
echo -n "enter program: "
|
||||
read
|
||||
p=$REPLY
|
||||
echo -n "enter search term: "
|
||||
read
|
||||
t=$REPLY
|
||||
|
||||
curl cheat.sh/$p~$t | less
|
||||
elif [ $CHOICE = "learn" ]
|
||||
then
|
||||
echo -n "Enter Programming Language: "
|
||||
read
|
||||
curl cheat.sh/$REPLY/:learn | less -R
|
||||
|
||||
elif [ $CHOICE = "cheatsheet" ]
|
||||
then
|
||||
echo -n "Enter a thing you want to cheat: "
|
||||
read
|
||||
curl cheat.sh/$REPLY | less -R
|
||||
else
|
||||
echo "Someone messed up!!!"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ $# -eq 1 ]
|
||||
then
|
||||
curl cheat.sh/$1 | less
|
||||
exit
|
||||
elif [ $# -eq 1]
|
||||
then
|
||||
# parse the input
|
||||
echo "Parse!!!"
|
||||
exit
|
||||
else
|
||||
# no clue!!
|
||||
echo "Don\'t know what you want ?? "
|
||||
echo "Please provide a clear goal"
|
||||
fi
|
||||
|
||||
|
65
starship/starship.toml
Normal file
65
starship/starship.toml
Normal file
@ -0,0 +1,65 @@
|
||||
format = """
|
||||
[░▒▓](#a3aed2)\
|
||||
[ \ue712 ](bg:#a3aed2 fg:#090c0c)\
|
||||
[](bg:#769ff0 fg:#a3aed2)\
|
||||
$directory\
|
||||
[](fg:#769ff0 bg:#394260)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:#394260 bg:#212736)\
|
||||
$python\
|
||||
$rust\
|
||||
$golang\
|
||||
$c\
|
||||
[](fg:#212736 bg:#1d2230)\
|
||||
$time\
|
||||
[ ](fg:#1d2230)\
|
||||
\n$character
|
||||
"""
|
||||
[username]
|
||||
style_root="green bold"
|
||||
format= "[$user]($style) "
|
||||
disabled= false
|
||||
show_always = true
|
||||
|
||||
[directory]
|
||||
style = "fg:#e3e5e5 bg:#769ff0"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = ".../"
|
||||
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:#394260"
|
||||
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#394260"
|
||||
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = "\ue61e"
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[python]
|
||||
|
||||
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "bg:#1d2230"
|
||||
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
42
tmux/dot-tmux.conf
Normal file
42
tmux/dot-tmux.conf
Normal file
@ -0,0 +1,42 @@
|
||||
##########################################################
|
||||
## ##
|
||||
## My TMUX Config ##
|
||||
## ##
|
||||
##########################################################
|
||||
|
||||
# Rebind the prefix key
|
||||
unbind C-b
|
||||
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
|
||||
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 'dracula/tmux'
|
||||
set -g @dracula-plugins 'cpu-usage git ram-usage time'
|
||||
set -g @dracula-show-left-icon \uebc8
|
||||
|
||||
# set some sanity options
|
||||
# - This makes sure to keep the window/pane count starting at 1
|
||||
setw -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
# - This prevents me from having to press escape twice
|
||||
set -s escape-time 50
|
||||
|
||||
# allow mouse interaction
|
||||
set-option -g mouse on
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
9734
zsh/.zsh_history
9734
zsh/.zsh_history
File diff suppressed because it is too large
Load Diff
173
zsh/.zshrc
173
zsh/.zshrc
@ -1,173 +0,0 @@
|
||||
|
||||
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]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/nigel/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="lambda"
|
||||
# "powerlevel10k/powerlevel10k"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to automatically update without prompting.
|
||||
# DISABLE_UPDATE_PROMPT="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_ZSH_DAYS=13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting tmux debian themes)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
source ~/.bashrc
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
|
||||
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
|
||||
# zsh paramater for dotnet cli tab completion
|
||||
|
||||
_dotnet_zsh_complete()
|
||||
{
|
||||
local completions=("$(dotnet complete "$word")")
|
||||
|
||||
reply=( "${(ps:\n:)completions}")
|
||||
|
||||
}
|
||||
|
||||
compctl -K _dotnet_zsh_complete dotnet
|
||||
|
||||
|
||||
# Enable tmux for every session
|
||||
if false ; then
|
||||
|
||||
if which tmux 2>&1 >/dev/null; then
|
||||
if [[ ! $TERM =~ screen ]]; then
|
||||
exec tmux
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
DOTNET_ROOT=$HOME/dotnet
|
||||
PATH=$PATH:$HOME/dotnet
|
||||
export PATH=$PATH:/home/nigel/Hacking/Development/depot_tools
|
||||
|
||||
# Add Clang-Tools
|
||||
export PATH=$PATH:$HOME/llvm/build/bin
|
||||
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/nigel/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/nigel/anaconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/nigel/anaconda3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/nigel/anaconda3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
87
zsh/dot-zshrc
Normal file
87
zsh/dot-zshrc
Normal file
@ -0,0 +1,87 @@
|
||||
#
|
||||
# _ _ _ _ ___ ____ _ _ ____ ____ _ _ ____ _ ____
|
||||
# |\/| \_/ / [__ |__| | | | |\ | |___ | | __
|
||||
# | | | /__ ___] | | |___ |__| | \| | | |__]
|
||||
#
|
||||
# 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
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/nigel/.oh-my-zsh"
|
||||
|
||||
bindkey -v
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
bindkey '^S' history-incremental-search-forward
|
||||
|
||||
ZSH_THEME="lambda"
|
||||
|
||||
setxkbmap us
|
||||
|
||||
# Use case-sensitive completion.
|
||||
CASE_SENSITIVE="true"
|
||||
|
||||
# Disable auto-setting terminal title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
HIST_STAMPS="dd/mm/yyyy"
|
||||
|
||||
# Which plugins would you like to load?
|
||||
plugins=(git vi-mode zsh-autosuggestions zsh-syntax-highlighting tmux debian themes web-search)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Add the fzf key-bindings and completions
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
# Set my language environment
|
||||
export LANG=en_GB.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR='nvim'
|
||||
fi
|
||||
|
||||
# Personal aliases
|
||||
alias zshconfig="nvim ~/.zshrc"
|
||||
alias ohmyzsh="nvim ~/.oh-my-zsh"
|
||||
alias dev="cd /home/nigel/Development"
|
||||
alias dotfiles="cd /home/nigel/.dotfiles"
|
||||
|
||||
# Personal Aliases
|
||||
alias zshconfig="mate ~/.zshrc"
|
||||
alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Add Autocompletion tools
|
||||
_dotnet_zsh_complete()
|
||||
{
|
||||
local completions=("$(dotnet complete "$word")")
|
||||
|
||||
reply=( "${(ps:\n:)completions}")
|
||||
|
||||
}
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# zsh paramater for dotnet cli tab completion
|
||||
compctl -K _dotnet_zsh_complete dotnet
|
||||
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(starship init zsh)"
|
||||
|
Reference in New Issue
Block a user