Initial commit
This commit is contained in:
commit
d5baa0ee41
|
@ -0,0 +1,121 @@
|
||||||
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
|
# for examples
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
case $- in
|
||||||
|
*i*) ;;
|
||||||
|
*) return;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
|
# See bash(1) for more options
|
||||||
|
HISTCONTROL=ignoreboth
|
||||||
|
|
||||||
|
# append to the history file, don't overwrite it
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
|
HISTSIZE=1000
|
||||||
|
HISTFILESIZE=2000
|
||||||
|
|
||||||
|
# check the window size after each command and, if necessary,
|
||||||
|
# update the values of LINES and COLUMNS.
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
# If set, the pattern "**" used in a pathname expansion context will
|
||||||
|
# match all files and zero or more directories and subdirectories.
|
||||||
|
#shopt -s globstar
|
||||||
|
|
||||||
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
|
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
|
debian_chroot=$(cat /etc/debian_chroot)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||||
|
case "$TERM" in
|
||||||
|
xterm-color|*-256color) color_prompt=yes;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||||
|
# off by default to not distract the user: the focus in a terminal window
|
||||||
|
# should be on the output of commands, not on the prompt
|
||||||
|
#force_color_prompt=yes
|
||||||
|
|
||||||
|
if [ -n "$force_color_prompt" ]; then
|
||||||
|
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||||
|
# We have color support; assume it's compliant with Ecma-48
|
||||||
|
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||||
|
# a case would tend to support setf rather than setaf.)
|
||||||
|
color_prompt=yes
|
||||||
|
else
|
||||||
|
color_prompt=
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$color_prompt" = yes ]; then
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
|
else
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||||
|
fi
|
||||||
|
unset color_prompt force_color_prompt
|
||||||
|
|
||||||
|
# If this is an xterm set the title to user@host:dir
|
||||||
|
case "$TERM" in
|
||||||
|
xterm*|rxvt*)
|
||||||
|
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# enable color support of ls and also add handy aliases
|
||||||
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
#alias dir='dir --color=auto'
|
||||||
|
#alias vdir='vdir --color=auto'
|
||||||
|
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias fgrep='fgrep --color=auto'
|
||||||
|
alias egrep='egrep --color=auto'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# colored GCC warnings and errors
|
||||||
|
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
# some more ls aliases
|
||||||
|
alias ll='ls -alF'
|
||||||
|
alias la='ls -A'
|
||||||
|
alias l='ls -CF'
|
||||||
|
|
||||||
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
|
# sleep 10; alert
|
||||||
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
|
||||||
|
# Alias definitions.
|
||||||
|
# You may want to put all your additions into a separate file like
|
||||||
|
# ~/.bash_aliases, instead of adding them here directly.
|
||||||
|
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||||
|
|
||||||
|
if [ -f ~/.bash_aliases ]; then
|
||||||
|
. ~/.bash_aliases
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
export PATH=/home/araison/.cargo/bin:$PATH
|
||||||
|
export PATH=/home/SIC/araison/.local/lib/python3.10/site-packages:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
|
||||||
|
exec zsh
|
|
@ -0,0 +1,2 @@
|
||||||
|
export SHELL=/bin/zsh
|
||||||
|
exec /bin/zsh -l
|
|
@ -0,0 +1,121 @@
|
||||||
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
|
# for examples
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
case $- in
|
||||||
|
*i*) ;;
|
||||||
|
*) return;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
|
# See bash(1) for more options
|
||||||
|
HISTCONTROL=ignoreboth
|
||||||
|
|
||||||
|
# append to the history file, don't overwrite it
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
|
HISTSIZE=1000
|
||||||
|
HISTFILESIZE=2000
|
||||||
|
|
||||||
|
# check the window size after each command and, if necessary,
|
||||||
|
# update the values of LINES and COLUMNS.
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
# If set, the pattern "**" used in a pathname expansion context will
|
||||||
|
# match all files and zero or more directories and subdirectories.
|
||||||
|
#shopt -s globstar
|
||||||
|
|
||||||
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
|
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
|
debian_chroot=$(cat /etc/debian_chroot)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||||
|
case "$TERM" in
|
||||||
|
xterm-color|*-256color) color_prompt=yes;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||||
|
# off by default to not distract the user: the focus in a terminal window
|
||||||
|
# should be on the output of commands, not on the prompt
|
||||||
|
#force_color_prompt=yes
|
||||||
|
|
||||||
|
if [ -n "$force_color_prompt" ]; then
|
||||||
|
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||||
|
# We have color support; assume it's compliant with Ecma-48
|
||||||
|
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||||
|
# a case would tend to support setf rather than setaf.)
|
||||||
|
color_prompt=yes
|
||||||
|
else
|
||||||
|
color_prompt=
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$color_prompt" = yes ]; then
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
|
else
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||||
|
fi
|
||||||
|
unset color_prompt force_color_prompt
|
||||||
|
|
||||||
|
# If this is an xterm set the title to user@host:dir
|
||||||
|
case "$TERM" in
|
||||||
|
xterm*|rxvt*)
|
||||||
|
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# enable color support of ls and also add handy aliases
|
||||||
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
#alias dir='dir --color=auto'
|
||||||
|
#alias vdir='vdir --color=auto'
|
||||||
|
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias fgrep='fgrep --color=auto'
|
||||||
|
alias egrep='egrep --color=auto'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# colored GCC warnings and errors
|
||||||
|
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
# some more ls aliases
|
||||||
|
alias ll='ls -alF'
|
||||||
|
alias la='ls -A'
|
||||||
|
alias l='ls -CF'
|
||||||
|
|
||||||
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
|
# sleep 10; alert
|
||||||
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
|
||||||
|
# Alias definitions.
|
||||||
|
# You may want to put all your additions into a separate file like
|
||||||
|
# ~/.bash_aliases, instead of adding them here directly.
|
||||||
|
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||||
|
|
||||||
|
if [ -f ~/.bash_aliases ]; then
|
||||||
|
. ~/.bash_aliases
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
export PATH=/home/araison/.cargo/bin:$PATH
|
||||||
|
export PATH=/home/SIC/araison/.local/lib/python3.10/site-packages:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
|
||||||
|
exec zsh
|
|
@ -0,0 +1,3 @@
|
||||||
|
[user]
|
||||||
|
name = araison
|
||||||
|
email = adrien.raison@xlim.fr
|
|
@ -0,0 +1,434 @@
|
||||||
|
#################################################################################################################
|
||||||
|
################# Define the $mod variable/key #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# Key to rule them all : Super(Windows) or Alt key?
|
||||||
|
|
||||||
|
# Mod4 = Windows or Super key on keyboard
|
||||||
|
# Mod1 = Alt key on keyboard
|
||||||
|
|
||||||
|
#Set Alt key
|
||||||
|
#set $mod Mod1
|
||||||
|
|
||||||
|
#set Super key
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Define the movements keys - variables #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
#This is setup for qwerty
|
||||||
|
set $up j
|
||||||
|
set $down k
|
||||||
|
set $left h
|
||||||
|
set $right l
|
||||||
|
|
||||||
|
# font pango:OperatorMono Nerd Font 0
|
||||||
|
|
||||||
|
font pango: Source Code Pro 10
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Single and Dual screen #################
|
||||||
|
#####################################################################################################################
|
||||||
|
exec --no-startup-id xrandr --output DP-4 --mode 1920x1080 --rate 60.00
|
||||||
|
exec --no-startup-id xrandr --output DP-4 --left-of DP-6
|
||||||
|
exec --no-startup-id xrandr --output DP-0 --left-of DP-4
|
||||||
|
exec xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
|
exec --no-startup-id xrandr --output DP-4 --left-of DP-6
|
||||||
|
exec --no-startup-id xrandr --output DP-0 --left-of DP-4
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace 1
|
||||||
|
bindsym $mod+2 workspace 2
|
||||||
|
bindsym $mod+3 workspace 3
|
||||||
|
bindsym $mod+4 workspace 4
|
||||||
|
bindsym $mod+5 workspace 5
|
||||||
|
bindsym $mod+6 workspace 6
|
||||||
|
bindsym $mod+7 workspace 7
|
||||||
|
bindsym $mod+8 workspace 8
|
||||||
|
bindsym $mod+9 workspace 9
|
||||||
|
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# menu #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# start dmenu
|
||||||
|
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# how to exit, logoff, suspend, ... #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym $mod+0 mode "$mode_system"
|
||||||
|
|
||||||
|
set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown
|
||||||
|
mode "$mode_system" {
|
||||||
|
|
||||||
|
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
|
||||||
|
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||||
|
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||||
|
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||||
|
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||||
|
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# ArcoLinux Logout
|
||||||
|
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'"
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# reload changed configuration #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Stopping an application #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+a kill
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Moving around in i3 #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right 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+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# moving around workspaces #################
|
||||||
|
#####################################################################################################################
|
||||||
|
# next/previous workspace
|
||||||
|
|
||||||
|
bindsym Mod1+Tab workspace next
|
||||||
|
bindsym Mod1+Shift+Tab workspace prev
|
||||||
|
bindsym $mod+Tab workspace back_and_forth
|
||||||
|
|
||||||
|
#navigate workspaces next / previous
|
||||||
|
bindsym Mod1+Ctrl+Right workspace next
|
||||||
|
bindsym Mod1+Ctrl+Left workspace prev
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Scratchpad #################
|
||||||
|
#####################################################################################################################
|
||||||
|
# Make the currently focused window a scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the first scratchpad window
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Tiling parameters #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# orientation for new workspaces
|
||||||
|
# default_orientation horizontal
|
||||||
|
|
||||||
|
# split in horizontal orientation
|
||||||
|
# bindsym $mod+Shift+h split h
|
||||||
|
|
||||||
|
# split in vertical orientation
|
||||||
|
# bindsym $mod+Shift+v split v
|
||||||
|
|
||||||
|
# Enter fullscreen mode for the focused container
|
||||||
|
# Super + F in arcolinux is execute thunar
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
# qwerty/azerty issue for letter z
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
# bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
# bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
####################################################################################################################
|
||||||
|
# resize window (you can also use the mouse for that)
|
||||||
|
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
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 $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
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 1 px or 1 ppt
|
||||||
|
bindsym Down resize grow height 1 px or 1 ppt
|
||||||
|
bindsym Up resize shrink height 1 px or 1 ppt
|
||||||
|
bindsym Right resize grow width 1 px or 1 ppt
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# autostart - execute applications at boot time #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
#Authentication dialog (polkit-gnome)
|
||||||
|
# exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# applications keyboard shortcuts #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym $mod+Return exec --no-startup-id gnome-terminal;focus
|
||||||
|
|
||||||
|
# bindsym control+mod1+u exec --no-startup-id pavucontrol
|
||||||
|
|
||||||
|
bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# screenshots #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym Print exec maim -s --format png /dev/stdout | xclip -selection clipboard -t image/png -i
|
||||||
|
bindsym $mod+Print exec maim --select | tee ~/Pictures/$(date +%s).png | xclip -sel c -t image/png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# audio settings #################
|
||||||
|
#####################################################################################################################
|
||||||
|
#
|
||||||
|
# bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
# bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
# bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
# bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
#
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# light #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# Sreen brightness controls
|
||||||
|
# bindsym XF86MonBrightnessUp exec light -A 1 # increase screen brightness
|
||||||
|
# bindsym XF86MonBrightnessDown exec light -U 1 # decrease screen brightness
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# bar toggle #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# bar toggle, hide or show
|
||||||
|
bindsym $mod+b bar mode toggle
|
||||||
|
|
||||||
|
bindsym $mod+i bar mode invisible
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
####################################################################################################################
|
||||||
|
################ i3 gaps next #################
|
||||||
|
####################################################################################################################
|
||||||
|
#
|
||||||
|
# for_window [class="^.*"] border pixel 1
|
||||||
|
# gaps inner 3
|
||||||
|
# gaps outer 1
|
||||||
|
# smart_gaps on
|
||||||
|
# smart_borders on
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
####################################################################################################################
|
||||||
|
################ i3 gaps change #################
|
||||||
|
####################################################################################################################
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# set $mode_gaps Gaps: (o) outer, (i) inner
|
||||||
|
# set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
# set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
# bindsym $mod+Shift+g mode "$mode_gaps"
|
||||||
|
#
|
||||||
|
# mode "$mode_gaps" {
|
||||||
|
# bindsym o mode "$mode_gaps_outer"
|
||||||
|
# bindsym i mode "$mode_gaps_inner"
|
||||||
|
# bindsym Return mode "default"
|
||||||
|
# bindsym Escape mode "default"
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# mode "$mode_gaps_inner" {
|
||||||
|
# bindsym plus gaps inner current plus 5
|
||||||
|
# bindsym minus gaps inner current minus 5
|
||||||
|
# bindsym 0 gaps inner current set 0
|
||||||
|
#
|
||||||
|
# bindsym Shift+plus gaps inner all plus 5
|
||||||
|
# bindsym Shift+minus gaps inner all minus 5
|
||||||
|
# bindsym Shift+0 gaps inner all set 0
|
||||||
|
#
|
||||||
|
# bindsym Return mode "default"
|
||||||
|
# bindsym Escape mode "default"
|
||||||
|
# }
|
||||||
|
# mode "$mode_gaps_outer" {
|
||||||
|
# bindsym plus gaps outer current plus 5
|
||||||
|
# bindsym minus gaps outer current minus 5
|
||||||
|
# bindsym 0 gaps outer current set 0
|
||||||
|
#
|
||||||
|
# bindsym Shift+plus gaps outer all plus 5
|
||||||
|
# bindsym Shift+minus gaps outer all minus 5
|
||||||
|
# bindsym Shift+0 gaps outer all set 0
|
||||||
|
#
|
||||||
|
# bindsym Return mode "default"
|
||||||
|
# bindsym Escape mode "default"
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# picom and wallpaper #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
#if you want transparency on non-focused windows, ...
|
||||||
|
# exec_always --no-startup-id picom --config ~/.config/i3/picom.conf
|
||||||
|
# exec_always --no-startup-id nitrogen --restore
|
||||||
|
# exec_always --no-startup-id ~/.config/i3/scripts/mouse.sh
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
################# bar appearance #################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bar {
|
||||||
|
position top
|
||||||
|
font pango:OperatorMono Nerd Font 10
|
||||||
|
status_command i3status
|
||||||
|
tray_padding 1
|
||||||
|
strip_workspace_numbers yes
|
||||||
|
|
||||||
|
colors {
|
||||||
|
separator #1f222d
|
||||||
|
background #1f222d
|
||||||
|
statusline #81a1c1
|
||||||
|
|
||||||
|
# border background text
|
||||||
|
focused_workspace #1f222d #1f222d #81a1c1
|
||||||
|
active_workspace #1f222d #252936 #5e81ac
|
||||||
|
inactive_workspace #1f222d #1f222d #4c566a
|
||||||
|
urgent_workspace #1f222d #1f222d #ee829f
|
||||||
|
binding_mode #1f222d #81a1c1 #2e3440
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
##START THEMING WM
|
||||||
|
|
||||||
|
# Window color settings
|
||||||
|
# class border backgr. text indicator
|
||||||
|
client.focused #81a1c1 #81a1c1 #ffffff #81a1c1
|
||||||
|
client.unfocused #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.focused_inactive #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.placeholder #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.urgent #900000 #900000 #ffffff #900000
|
||||||
|
|
||||||
|
client.background #242424
|
||||||
|
|
||||||
|
##STOP THEMING WM
|
||||||
|
|
||||||
|
# exec xset r rate 300 50 &
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
######################################## THE END ###########################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
|
@ -0,0 +1,430 @@
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Define the $mod variable/key #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# Key to rule them all : Super(Windows) or Alt key?
|
||||||
|
|
||||||
|
# Mod4 = Windows or Super key on keyboard
|
||||||
|
# Mod1 = Alt key on keyboard
|
||||||
|
|
||||||
|
#Set Alt key
|
||||||
|
#set $mod Mod1
|
||||||
|
|
||||||
|
#set Super key
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Define the movements keys - variables #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
#This is setup for qwerty
|
||||||
|
set $up j
|
||||||
|
set $down k
|
||||||
|
set $left h
|
||||||
|
set $right l
|
||||||
|
|
||||||
|
# font pango:OperatorMono Nerd Font 0
|
||||||
|
|
||||||
|
font pango: Source Code Pro 12px
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Single and Dual screen #################
|
||||||
|
#####################################################################################################################
|
||||||
|
exec --no-startup-id xrandr --output eDP-1 --mode 1920x1080 --rate 60.00
|
||||||
|
exec xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace 1
|
||||||
|
bindsym $mod+2 workspace 2
|
||||||
|
bindsym $mod+3 workspace 3
|
||||||
|
bindsym $mod+4 workspace 4
|
||||||
|
bindsym $mod+5 workspace 5
|
||||||
|
bindsym $mod+6 workspace 6
|
||||||
|
bindsym $mod+7 workspace 7
|
||||||
|
bindsym $mod+8 workspace 8
|
||||||
|
bindsym $mod+9 workspace 9
|
||||||
|
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# menu #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# start dmenu
|
||||||
|
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# how to exit, logoff, suspend, ... #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym $mod+0 mode "$mode_system"
|
||||||
|
|
||||||
|
set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown
|
||||||
|
mode "$mode_system" {
|
||||||
|
|
||||||
|
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
|
||||||
|
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||||
|
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||||
|
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||||
|
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||||
|
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# ArcoLinux Logout
|
||||||
|
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'"
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# reload changed configuration #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Stopping an application #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+a kill
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Moving around in i3 #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right 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+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# moving around workspaces #################
|
||||||
|
#####################################################################################################################
|
||||||
|
# next/previous workspace
|
||||||
|
|
||||||
|
bindsym Mod1+Tab workspace next
|
||||||
|
bindsym Mod1+Shift+Tab workspace prev
|
||||||
|
bindsym $mod+Tab workspace back_and_forth
|
||||||
|
|
||||||
|
#navigate workspaces next / previous
|
||||||
|
bindsym Mod1+Ctrl+Right workspace next
|
||||||
|
bindsym Mod1+Ctrl+Left workspace prev
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Scratchpad #################
|
||||||
|
#####################################################################################################################
|
||||||
|
# Make the currently focused window a scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the first scratchpad window
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Tiling parameters #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# orientation for new workspaces
|
||||||
|
default_orientation vertical
|
||||||
|
|
||||||
|
# split in horizontal orientation
|
||||||
|
# bindsym $mod+Shift+h split h
|
||||||
|
|
||||||
|
# split in vertical orientation
|
||||||
|
# bindsym $mod+Shift+v split v
|
||||||
|
|
||||||
|
# Enter fullscreen mode for the focused container
|
||||||
|
# Super + F in arcolinux is execute thunar
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
# qwerty/azerty issue for letter z
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
# bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
# bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
####################################################################################################################
|
||||||
|
# resize window (you can also use the mouse for that)
|
||||||
|
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
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 $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
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 1 px or 1 ppt
|
||||||
|
bindsym Down resize grow height 1 px or 1 ppt
|
||||||
|
bindsym Up resize shrink height 1 px or 1 ppt
|
||||||
|
bindsym Right resize grow width 1 px or 1 ppt
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# autostart - execute applications at boot time #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
#Authentication dialog (polkit-gnome)
|
||||||
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# applications keyboard shortcuts #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym $mod+Return exec --no-startup-id alacritty;focus
|
||||||
|
|
||||||
|
bindsym control+mod1+u exec --no-startup-id pavucontrol
|
||||||
|
|
||||||
|
bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# screenshots #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym Print exec maim -s --format png /dev/stdout | xclip -selection clipboard -t image/png -i
|
||||||
|
bindsym $mod+Print exec maim --select | tee ~/Pictures/$(date +%s).png | xclip -sel c -t image/png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# audio settings #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# light #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# Sreen brightness controls
|
||||||
|
bindsym XF86MonBrightnessUp exec light -A 1 # increase screen brightness
|
||||||
|
bindsym XF86MonBrightnessDown exec light -U 1 # decrease screen brightness
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# bar toggle #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# bar toggle, hide or show
|
||||||
|
bindsym $mod+b bar mode toggle
|
||||||
|
|
||||||
|
bindsym $mod+i bar mode invisible
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# i3 gaps next #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
for_window [class="^.*"] border pixel 1
|
||||||
|
gaps inner 3
|
||||||
|
gaps outer 1
|
||||||
|
#smart_gaps on
|
||||||
|
#smart_borders on
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# i3 gaps change #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||||
|
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||||
|
|
||||||
|
mode "$mode_gaps" {
|
||||||
|
bindsym o mode "$mode_gaps_outer"
|
||||||
|
bindsym i mode "$mode_gaps_inner"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
mode "$mode_gaps_inner" {
|
||||||
|
bindsym plus gaps inner current plus 5
|
||||||
|
bindsym minus gaps inner current minus 5
|
||||||
|
bindsym 0 gaps inner current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps inner all plus 5
|
||||||
|
bindsym Shift+minus gaps inner all minus 5
|
||||||
|
bindsym Shift+0 gaps inner all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
mode "$mode_gaps_outer" {
|
||||||
|
bindsym plus gaps outer current plus 5
|
||||||
|
bindsym minus gaps outer current minus 5
|
||||||
|
bindsym 0 gaps outer current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps outer all plus 5
|
||||||
|
bindsym Shift+minus gaps outer all minus 5
|
||||||
|
bindsym Shift+0 gaps outer all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# picom and wallpaper #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
#if you want transparency on non-focused windows, ...
|
||||||
|
# exec_always --no-startup-id picom --config ~/.config/i3/picom.conf
|
||||||
|
# exec_always --no-startup-id nitrogen --restore
|
||||||
|
# exec_always --no-startup-id ~/.config/i3/scripts/mouse.sh
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
################# bar appearance #################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
bar {
|
||||||
|
heigth 25
|
||||||
|
position top
|
||||||
|
# font pango:OperatorMono Nerd Font 12
|
||||||
|
status_command i3status
|
||||||
|
tray_padding 1
|
||||||
|
strip_workspace_numbers yes
|
||||||
|
|
||||||
|
colors {
|
||||||
|
separator #1f222d
|
||||||
|
background #1f222d
|
||||||
|
statusline #81a1c1
|
||||||
|
|
||||||
|
# border background text
|
||||||
|
focused_workspace #1f222d #1f222d #81a1c1
|
||||||
|
active_workspace #1f222d #252936 #5e81ac
|
||||||
|
inactive_workspace #1f222d #1f222d #4c566a
|
||||||
|
urgent_workspace #1f222d #1f222d #ee829f
|
||||||
|
binding_mode #1f222d #81a1c1 #2e3440
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
##START THEMING WM
|
||||||
|
|
||||||
|
# Window color settings
|
||||||
|
# class border backgr. text indicator
|
||||||
|
client.focused #81a1c1 #81a1c1 #ffffff #81a1c1
|
||||||
|
client.unfocused #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.focused_inactive #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.placeholder #2e3440 #1f222d #888888 #1f222d
|
||||||
|
client.urgent #900000 #900000 #ffffff #900000
|
||||||
|
|
||||||
|
client.background #242424
|
||||||
|
|
||||||
|
##STOP THEMING WM
|
||||||
|
|
||||||
|
exec xset r rate 300 50 &
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
######################################## THE END ###########################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
lock)
|
||||||
|
i3lock -i ~/Downloads/tower-nord.png
|
||||||
|
;;
|
||||||
|
logout)
|
||||||
|
i3-msg exit
|
||||||
|
;;
|
||||||
|
suspend)
|
||||||
|
systemctl suspend
|
||||||
|
;;
|
||||||
|
hibernate)
|
||||||
|
systemctl hibernate
|
||||||
|
;;
|
||||||
|
reboot)
|
||||||
|
systemctl reboot
|
||||||
|
;;
|
||||||
|
shutdown)
|
||||||
|
systemctl poweroff
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
|
||||||
|
exit 2
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
general {
|
||||||
|
output_format = "i3bar"
|
||||||
|
colors = true
|
||||||
|
interval = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
order += "disk /"
|
||||||
|
order += "memory"
|
||||||
|
order += "load"
|
||||||
|
order += "tztime local"
|
||||||
|
|
||||||
|
|
||||||
|
tztime local {
|
||||||
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
load {
|
||||||
|
format = "CPU : %5min"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
memory {
|
||||||
|
format = "%used"
|
||||||
|
threshold_degraded = "10%"
|
||||||
|
format_degraded = "MEMORY: %free"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/" {
|
||||||
|
format = "%free (%avail)/ %total"
|
||||||
|
}
|
||||||
|
|
||||||
|
read_file uptime {
|
||||||
|
path = "/proc/uptime"
|
||||||
|
}
|
|
@ -0,0 +1,193 @@
|
||||||
|
# Generated by Powerlevel10k configuration wizard on 2022-11-21 at 19:17 CET.
|
||||||
|
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 35142.
|
||||||
|
# Wizard options: compatible, pure, original, rprompt, 12h time, 1 line, compact,
|
||||||
|
# instant_prompt=verbose.
|
||||||
|
# Type `p10k configure` to generate another config.
|
||||||
|
#
|
||||||
|
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
|
||||||
|
#
|
||||||
|
# Differences from Pure:
|
||||||
|
#
|
||||||
|
# - Git:
|
||||||
|
# - `@c4d3ec2c` instead of something like `v1.4.0~11` when in detached HEAD state.
|
||||||
|
# - No automatic `git fetch` (the same as in Pure with `PURE_GIT_PULL=0`).
|
||||||
|
#
|
||||||
|
# Apart from the differences listed above, the replication of Pure prompt is exact. This includes
|
||||||
|
# even the questionable parts. For example, just like in Pure, there is no indication of Git status
|
||||||
|
# being stale; prompt symbol is the same in command, visual and overwrite vi modes; when prompt
|
||||||
|
# doesn't fit on one line, it wraps around with no attempt to shorten it.
|
||||||
|
#
|
||||||
|
# If you like the general style of Pure but not particularly attached to all its quirks, type
|
||||||
|
# `p10k configure` and pick "Lean" style. This will give you slick minimalist prompt while taking
|
||||||
|
# advantage of Powerlevel10k features that aren't present in Pure.
|
||||||
|
|
||||||
|
# Temporarily change options.
|
||||||
|
'builtin' 'local' '-a' 'p10k_config_opts'
|
||||||
|
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
|
||||||
|
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
|
||||||
|
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
|
||||||
|
'builtin' 'setopt' 'no_aliases' 'no_sh_glob' 'brace_expand'
|
||||||
|
|
||||||
|
() {
|
||||||
|
emulate -L zsh -o extended_glob
|
||||||
|
|
||||||
|
# Unset all configuration options.
|
||||||
|
unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR'
|
||||||
|
|
||||||
|
# Zsh >= 5.1 is required.
|
||||||
|
[[ $ZSH_VERSION == (5.<1->*|<6->.*) ]] || return
|
||||||
|
|
||||||
|
# Prompt colors.
|
||||||
|
local grey='242'
|
||||||
|
local red='1'
|
||||||
|
local yellow='3'
|
||||||
|
local blue='4'
|
||||||
|
local magenta='5'
|
||||||
|
local cyan='6'
|
||||||
|
local white='7'
|
||||||
|
|
||||||
|
# Left prompt segments.
|
||||||
|
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
||||||
|
# context # user@host
|
||||||
|
dir # current directory
|
||||||
|
vcs # git status
|
||||||
|
# command_execution_time # previous command duration
|
||||||
|
# virtualenv # python virtual environment
|
||||||
|
prompt_char # prompt symbol
|
||||||
|
)
|
||||||
|
|
||||||
|
# Right prompt segments.
|
||||||
|
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
||||||
|
command_execution_time # previous command duration
|
||||||
|
virtualenv # python virtual environment
|
||||||
|
context # user@host
|
||||||
|
time # current time
|
||||||
|
)
|
||||||
|
|
||||||
|
# Basic style options that define the overall prompt look.
|
||||||
|
typeset -g POWERLEVEL9K_BACKGROUND= # transparent background
|
||||||
|
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace
|
||||||
|
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR=' ' # separate segments with a space
|
||||||
|
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR= # no end-of-line symbol
|
||||||
|
typeset -g POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION= # no segment icons
|
||||||
|
|
||||||
|
# Add an empty line before each prompt except the first. This doesn't emulate the bug
|
||||||
|
# in Pure that makes prompt drift down whenever you use the Alt-C binding from fzf or similar.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
|
||||||
|
|
||||||
|
# Magenta prompt symbol if the last command succeeded.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS}_FOREGROUND=$magenta
|
||||||
|
# Red prompt symbol if the last command failed.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS}_FOREGROUND=$red
|
||||||
|
# Default prompt symbol.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='❯'
|
||||||
|
# Prompt symbol in command vi mode.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VICMD_CONTENT_EXPANSION='❮'
|
||||||
|
# Prompt symbol in visual vi mode is the same as in command mode.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIVIS_CONTENT_EXPANSION='❮'
|
||||||
|
# Prompt symbol in overwrite vi mode is the same as in command mode.
|
||||||
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=false
|
||||||
|
|
||||||
|
# Grey Python Virtual Environment.
|
||||||
|
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=$grey
|
||||||
|
# Don't show Python version.
|
||||||
|
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
|
||||||
|
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
||||||
|
|
||||||
|
# Blue current directory.
|
||||||
|
typeset -g POWERLEVEL9K_DIR_FOREGROUND=$blue
|
||||||
|
|
||||||
|
# Context format when root: user@host. The first part white, the rest grey.
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE="%F{$white}%n%f%F{$grey}@%m%f"
|
||||||
|
# Context format when not root: user@host. The whole thing grey.
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE="%F{$grey}%n@%m%f"
|
||||||
|
# Don't show context unless root or in SSH.
|
||||||
|
typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_CONTENT_EXPANSION=
|
||||||
|
|
||||||
|
# Show previous command duration only if it's >= 5s.
|
||||||
|
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=5
|
||||||
|
# Don't show fractional seconds. Thus, 7s rather than 7.3s.
|
||||||
|
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
|
||||||
|
# Duration format: 1d 2h 3m 4s.
|
||||||
|
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s'
|
||||||
|
# Yellow previous command duration.
|
||||||
|
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=$yellow
|
||||||
|
|
||||||
|
# Grey Git prompt. This makes stale prompts indistinguishable from up-to-date ones.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_FOREGROUND=$grey
|
||||||
|
|
||||||
|
# Disable async loading indicator to make directories that aren't Git repositories
|
||||||
|
# indistinguishable from large Git repositories without known state.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_LOADING_TEXT=
|
||||||
|
|
||||||
|
# Don't wait for Git status even for a millisecond, so that prompt always updates
|
||||||
|
# asynchronously when Git state changes.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0
|
||||||
|
|
||||||
|
# Cyan ahead/behind arrows.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_{INCOMING,OUTGOING}_CHANGESFORMAT_FOREGROUND=$cyan
|
||||||
|
# Don't show remote branch, current tag or stashes.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_GIT_HOOKS=(vcs-detect-changes git-untracked git-aheadbehind)
|
||||||
|
# Don't show the branch icon.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=
|
||||||
|
# When in detached HEAD state, show @commit where branch normally goes.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_COMMIT_ICON='@'
|
||||||
|
# Don't show staged, unstaged, untracked indicators.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED}_ICON=
|
||||||
|
# Show '*' when there are staged, unstaged or untracked files.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_DIRTY_ICON='*'
|
||||||
|
# Show '⇣' if local branch is behind remote.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON=':⇣'
|
||||||
|
# Show '⇡' if local branch is ahead of remote.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON=':⇡'
|
||||||
|
# Don't show the number of commits next to the ahead/behind arrows.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_{COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=1
|
||||||
|
# Remove space between '⇣' and '⇡' and all trailing spaces.
|
||||||
|
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${${${P9K_CONTENT/⇣* :⇡/⇣⇡}// }//:/ }'
|
||||||
|
|
||||||
|
# Grey current time.
|
||||||
|
typeset -g POWERLEVEL9K_TIME_FOREGROUND=$grey
|
||||||
|
# Format for the current time: 09:51:02. See `man 3 strftime`.
|
||||||
|
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%I:%M:%S %p}'
|
||||||
|
# If set to true, time will update when you hit enter. This way prompts for the past
|
||||||
|
# commands will contain the start times of their commands rather than the end times of
|
||||||
|
# their preceding commands.
|
||||||
|
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
|
||||||
|
|
||||||
|
# Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt
|
||||||
|
# when accepting a command line. Supported values:
|
||||||
|
#
|
||||||
|
# - off: Don't change prompt when accepting a command line.
|
||||||
|
# - always: Trim down prompt when accepting a command line.
|
||||||
|
# - same-dir: Trim down prompt when accepting a command line unless this is the first command
|
||||||
|
# typed after changing current working directory.
|
||||||
|
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off
|
||||||
|
|
||||||
|
# Instant prompt mode.
|
||||||
|
#
|
||||||
|
# - off: Disable instant prompt. Choose this if you've tried instant prompt and found
|
||||||
|
# it incompatible with your zsh configuration files.
|
||||||
|
# - quiet: Enable instant prompt and don't print warnings when detecting console output
|
||||||
|
# during zsh initialization. Choose this if you've read and understood
|
||||||
|
# https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt.
|
||||||
|
# - verbose: Enable instant prompt and print a warning when detecting console output during
|
||||||
|
# zsh initialization. Choose this if you've never tried instant prompt, haven't
|
||||||
|
# seen the warning, or if you are unsure what this all means.
|
||||||
|
typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
|
||||||
|
|
||||||
|
# Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized.
|
||||||
|
# For example, you can type POWERLEVEL9K_BACKGROUND=red and see your prompt turn red. Hot reload
|
||||||
|
# can slow down prompt by 1-2 milliseconds, so it's better to keep it turned off unless you
|
||||||
|
# really need it.
|
||||||
|
typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true
|
||||||
|
|
||||||
|
# If p10k is already loaded, reload configuration.
|
||||||
|
# This works even with POWERLEVEL9K_DISABLE_HOT_RELOAD=true.
|
||||||
|
(( ! $+functions[p10k] )) || p10k reload
|
||||||
|
}
|
||||||
|
|
||||||
|
# Tell `p10k configure` which file it should overwrite.
|
||||||
|
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
||||||
|
|
||||||
|
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
||||||
|
'builtin' 'unset' 'p10k_config_opts'
|
|
@ -0,0 +1,29 @@
|
||||||
|
# ~/.profile: executed by the command interpreter for login shells.
|
||||||
|
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||||
|
# exists.
|
||||||
|
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||||
|
# the files are located in the bash-doc package.
|
||||||
|
|
||||||
|
# the default umask is set in /etc/profile; for setting the umask
|
||||||
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
|
#umask 022
|
||||||
|
|
||||||
|
# if running bash
|
||||||
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
|
# include .bashrc if it exists
|
||||||
|
if [ -f "$HOME/.bashrc" ]; then
|
||||||
|
. "$HOME/.bashrc"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/bin" ] ; then
|
||||||
|
PATH="$HOME/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ -f $HOME/bin/zsh ] && exec $HOME/bin/zsh -l
|
|
@ -0,0 +1,43 @@
|
||||||
|
|
||||||
|
Host SICXLIM
|
||||||
|
Hostname 194.167.49.5
|
||||||
|
User araison
|
||||||
|
Port 86
|
||||||
|
|
||||||
|
Host SIC04015
|
||||||
|
Hostname 194.167.49.36
|
||||||
|
User araison
|
||||||
|
|
||||||
|
|
||||||
|
Host SIC08005
|
||||||
|
Hostname 194.167.49.121
|
||||||
|
User araison
|
||||||
|
|
||||||
|
Host SIC08009
|
||||||
|
User araison
|
||||||
|
Hostname 194.167.49.100
|
||||||
|
|
||||||
|
Host TESLA1
|
||||||
|
User araison
|
||||||
|
Hostname 194.167.49.21
|
||||||
|
|
||||||
|
Host TESLA2
|
||||||
|
User araison
|
||||||
|
Hostname 194.167.49.30
|
||||||
|
|
||||||
|
Host CEMOP
|
||||||
|
User araison
|
||||||
|
Hostname 194.167.49.137
|
||||||
|
|
||||||
|
Host NASHOME
|
||||||
|
Hostname nas.adriorsn.eu
|
||||||
|
User sshd
|
||||||
|
Port 2564
|
||||||
|
|
||||||
|
Host gitlab.xlim.fr
|
||||||
|
AddKeysToAgent yes
|
||||||
|
IgnoreUnknown UseKeychain
|
||||||
|
#UseKeychain yes
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/gitlab_forge
|
||||||
|
IdentitiesOnly yes
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 298a18e12f120f3e87c764545f805a0c04113c36
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d436220bd70346221b590419fbe2f2564c4bbb7f
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 4e91c4d3d0aa7630bea7d7b7f5ac259356c1959d
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit aa97c07ee7b327120e467927c85a57ff1d713754
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 1f79f6e6b2a1e2b3ace87d4760769feb4146ff35
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 725c989f18e9c134cddd63a7c6b15bed5c244657
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b7c241fb5737c50bf09cf1e26298492c3fc0457a
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 98cc4a2d64ca67cccbf5b5cf47c682ebadaaff58
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fc85a6f07c2cd694be93496ffad75be126240068
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit bb5f5e038bfe119d3b777845a76b0b919b35ebc8
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c26800824295fd890316b9c5f119be37aed4d792
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 8d5e37c29cf5952fbf300b9230bffe424c61a488
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e99fdf15cd55a4a8e0cb0a80a6810c1867a5c401
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 2654f838ae4eb4383ee26cf32d04a597822008cf
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 23b9b9b2a3b88bdefee8dfd1126efb91e34e1a57
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 93ae38792bc197c3bdffa2716ae493c67a5e7957
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 6456718e1d30b42c04b920c5413ca44f68f08759
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 3d188ed2113431cf8dac77be61b842acb64433d9
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 823afbec3457cb7a29cb6b6f7f346afd243678f9
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 2d1de481a94a3be428c87ab0404c38e58b386813
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,125 @@
|
||||||
|
set relativenumber
|
||||||
|
syntax on
|
||||||
|
set tabstop=4
|
||||||
|
set autoindent
|
||||||
|
set expandtab
|
||||||
|
set cursorline
|
||||||
|
set lazyredraw
|
||||||
|
set showmatch
|
||||||
|
set incsearch
|
||||||
|
set hlsearch
|
||||||
|
filetype plugin on
|
||||||
|
|
||||||
|
|
||||||
|
let mapleader=" "
|
||||||
|
let localleader=" "
|
||||||
|
|
||||||
|
" PLUGINS
|
||||||
|
|
||||||
|
call plug#begin()
|
||||||
|
Plug 'scrooloose/syntastic'
|
||||||
|
Plug 'scrooloose/nerdtree'
|
||||||
|
Plug 'scrooloose/nerdcommenter'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'lervag/vimtex'
|
||||||
|
Plug 'sbdchd/neoformat'
|
||||||
|
Plug 'sirver/ultisnips'
|
||||||
|
Plug 'terryma/vim-multiple-cursors'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
|
Plug 'Shougo/neosnippet.vim'
|
||||||
|
Plug 'Shougo/neosnippet-snippets'
|
||||||
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
Plug 'neoclide/coc-vimtex'
|
||||||
|
Plug 'python-rope/ropevim'
|
||||||
|
Plug 'sainnhe/everforest'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
|
" MAPPINGS
|
||||||
|
|
||||||
|
" SYNTASTIC
|
||||||
|
" Aborting
|
||||||
|
|
||||||
|
" NERDTREE
|
||||||
|
" Keybidings for NerdTree
|
||||||
|
nnoremap <leader>n :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" NERDCOMMENTER
|
||||||
|
" Keybidings for NerdCommenter
|
||||||
|
|
||||||
|
" FUGITIVE
|
||||||
|
nnoremap <space>ga :Git add % <CR>
|
||||||
|
nnoremap <space>gs :Git status <CR>
|
||||||
|
nnoremap <space>gc :Git commit <CR>
|
||||||
|
nnoremap <space>gp :Git push <CR>
|
||||||
|
|
||||||
|
" VIMTEX
|
||||||
|
let g:vimtex_view_method = 'zathura'
|
||||||
|
nnoremap <leader>ll :VimtexCompile<CR>
|
||||||
|
nnoremap <leader>lv :VimtexView<CR>
|
||||||
|
|
||||||
|
|
||||||
|
" NEOSNIPPET
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
" Plugin key-mappings.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
|
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
|
xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
||||||
|
" SuperTab like snippets behavior.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
|
"imap <expr><TAB>
|
||||||
|
" \ pumvisible() ? "\<C-n>" :
|
||||||
|
" \ neosnippet#expandable_or_jumpable() ?
|
||||||
|
" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
||||||
|
smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
|
||||||
|
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
||||||
|
|
||||||
|
" For conceal markers.
|
||||||
|
if has('conceal')
|
||||||
|
set conceallevel=0 concealcursor=niv
|
||||||
|
endif
|
||||||
|
|
||||||
|
" NEOFORMAT
|
||||||
|
let g:neoformat_enabled_python = ['black', 'isort']
|
||||||
|
let g:neoformat_run_all_formatters = 1
|
||||||
|
let g:neoformat_verbose = 0
|
||||||
|
let g:neoformat_only_msg_on_error = 1
|
||||||
|
let g:neoformat_basic_format_align = 1
|
||||||
|
let g:neoformat_basic_format_retab = 1
|
||||||
|
let g:neoformat_basic_format_trim = 1
|
||||||
|
" Format on save
|
||||||
|
augroup fmt
|
||||||
|
autocmd!
|
||||||
|
autocmd BufWritePre * undojoin | Neoformat
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
inoremap <expr> <CR> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
|
||||||
|
|
||||||
|
" Run python3 Keybidings
|
||||||
|
autocmd FileType python map <buffer> <F9> :w<CR>:exec '!python3' shellescape(@%, 1)<CR>
|
||||||
|
|
||||||
|
|
||||||
|
" THEME Important!!
|
||||||
|
if has('termguicolors')
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
|
||||||
|
" For dark version.
|
||||||
|
set background=dark
|
||||||
|
|
||||||
|
" For light version.
|
||||||
|
"set background=light
|
||||||
|
|
||||||
|
" Set contrast.
|
||||||
|
" This configuration option should be placed before `colorscheme everforest`.
|
||||||
|
" Available values: 'hard', 'medium'(default), 'soft'
|
||||||
|
let g:everforest_background = 'medium'
|
||||||
|
|
||||||
|
" For better performance
|
||||||
|
let g:everforest_better_performance = 1
|
||||||
|
|
||||||
|
colorscheme everforest
|
|
@ -0,0 +1,117 @@
|
||||||
|
# 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/.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="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 one of the following lines to change the auto-update behavior
|
||||||
|
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||||
|
# zstyle ':omz:update' mode auto # update automatically without asking
|
||||||
|
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
||||||
|
|
||||||
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
|
# zstyle ':omz:update' frequency 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.
|
||||||
|
# You can also set it to another string to have that shown instead of the default red dots.
|
||||||
|
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
||||||
|
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #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
|
||||||
|
)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
export EDITOR='vim'
|
||||||
|
#export PATH="$HOME/.local/lib/python3.10/site-packages/:$PATH"
|
||||||
|
|
||||||
|
# User configuration
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
Loading…
Reference in New Issue