add a lot of things

This commit is contained in:
AngeD 2022-07-18 15:12:36 +02:00
parent 086e508608
commit 4fe55fe2e1
15 changed files with 1802 additions and 40 deletions

2
.config/Trolltech.conf Normal file
View File

@ -0,0 +1,2 @@
[Qt]
style = Materia-dark

View File

@ -118,7 +118,7 @@ font:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: DejaVuSansMono Nerd Font
family: MesloLGS NF
# The `style` can be specified to pick a specific face.
#style: Regular

View File

@ -0,0 +1,3 @@
[Settings]
gtk-theme-name = Materia-dark
gtk-icon-theme-name = Papirus-Dark

@ -1 +1 @@
Subproject commit ce8a4d88f0ed1eed43369e90e024a7599490342a
Subproject commit 0da8c129dc27e70770c3247c44988bbf0af6b1af

@ -1 +1 @@
Subproject commit 10d57b3ec14cac0b6b759e1eb5594617b8a7e883
Subproject commit b46cb0389d92abffa516be487e7ea0610e8ce35b

View File

@ -8,7 +8,7 @@ set $right l
set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $term alacritty
set $browser firefox
set $files thunar
set $files pcmanfm
set $wallpapers $HOME/.config/wallpapers
set $lock swaylock -F -f -i $wallpapers/lock.png
set $screenshot grim - | wl-copy

View File

@ -16,7 +16,7 @@ exec gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
bar swaybar_command waybar
exec /usr/libexec/polkit-gnome-authentication-agent-1
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#exec swayidle -w \
# timeout $(($screen_timeout + 10)) $lock \
# timeout $screen_timeout 'swaymsg "output * dpms off"' \

@ -0,0 +1 @@
Subproject commit 249c708ed3a4a7a63d16a6e911a46b6fb9623cbd

1740
.config/zsh/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

10
.config/zsh/.zsh_aliases Normal file
View File

@ -0,0 +1,10 @@
alias pls='sudo '
alias cls='clear && l'
alias config="git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
alias wconfig="$EDITOR $HOME/.config/sway"
alias zshconf="$EDITOR $ZDOTDIR/.zshrc && . $ZDOTDIR/.zshrc"
alias startgui="exec sway 2> $HOME/sway.log"
alias minecraft='DRI_PRIME=1 minecraft-launcher'
alias umnt='sudo umount /mnt -R'
alias vi="$EDITOR"
alias tmp="cd $(mktemp -d)"

View File

@ -1,17 +1,18 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Editor
export EDITOR='nvim'
export ZSH="$ZDOTDIR/.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='mytheme'
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
@ -20,20 +21,19 @@ ZSH_THEME='mytheme'
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE='true'
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 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).
# export UPDATE_ZSH_DAYS=13
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
@ -48,8 +48,9 @@ CASE_SENSITIVE='true'
# 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
# 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
@ -94,16 +95,7 @@ source $ZSH/oh-my-zsh.sh
# 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`.
alias pls='sudo '
alias cls='clear && l'
alias config="git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
alias wconfig="$EDITOR $HOME/.config/sway"
alias zshconf="$EDITOR $HOME/.zshrc && source $HOME/.zshrc"
alias startgui="exec sway 2> $HOME/sway.log"
alias minecraft='DRI_PRIME=1 minecraft-launcher'
alias umnt='sudo umount /mnt -R'
alias vi="$EDITOR"
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
. "$ZDOTDIR"/.zsh_aliases

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule ".config/nvim/pack/plugins/opt/nvim-treesitter"]
path = .config/nvim/pack/plugins/opt/nvim-treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter
[submodule ".config/zsh/.oh-my-zsh"]
path = .config/zsh/.oh-my-zsh
url = https://github.com/ohmyzsh/ohmyzsh.git

2
.gtkrc-2.0 Normal file
View File

@ -0,0 +1,2 @@
gtk-theme-name = "Materia-dark"
gtk-icon-theme-name = "Papirus-Dark"

19
.zshenv Executable file → Normal file
View File

@ -1,8 +1,15 @@
# Disable files
export LESSHISTFILE=-
path=(~/bin ~/.local/bin $path)
## Make valgrind faster
#unset DEBUGINFOD_URLS
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CONFIG_DIRS="/etc/xdg"
export XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
# sway env variable
XDG_CURRENT_DESKTOP=sway
export ZDOTDIR="$HOME"/.config/zsh
export HISTFILE="$XDG_STATE_HOME"/zsh/history
export MOZ_ENABLE_WAYLAND=1
export EDITOR="nvim"

View File

@ -2,6 +2,8 @@
To clone the repo :
```console
# pacman -Syu --needed zsh sway firefox alacritty neovim
$ git clone --bare git@github.com:AustralEpitech/.dotfiles.git ~/.dotfiles
$ alias config='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'