From 5cadee6eafa3ca601bafe7109570ebf570fe7b23 Mon Sep 17 00:00:00 2001 From: Arthur Date: Thu, 5 Oct 2023 08:03:52 +0300 Subject: [PATCH] initial config --- .config/gtk-3.0/settings.ini | 16 ++++++++++++++++ .config/picom.conf | 2 ++ .gtkrc-2.0 | 19 +++++++++++++++++++ .xinitrc | 4 ++++ .xprofile | 5 +++++ .zprofile | 1 + .zshrc | 27 +++++++++++++++++++++++++++ 7 files changed, 74 insertions(+) create mode 100644 .config/gtk-3.0/settings.ini create mode 100644 .config/picom.conf create mode 100644 .gtkrc-2.0 create mode 100644 .xinitrc create mode 100644 .xprofile create mode 100644 .zprofile create mode 100644 .zshrc diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..3a1b0b8 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,16 @@ +[Settings] +gtk-theme-name=Yaru-dark +gtk-icon-theme-name=Yaru-dark +gtk-font-name=Sans 10 +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_TEXT +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=0 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=rgb +gtk-cursor-theme-name=breeze diff --git a/.config/picom.conf b/.config/picom.conf new file mode 100644 index 0000000..da21c36 --- /dev/null +++ b/.config/picom.conf @@ -0,0 +1,2 @@ +backend = "glx"; +vsync = true; diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..9038a85 --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,19 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "~/.gtkrc-2.0.mine" +gtk-theme-name="Yaru-dark" +gtk-icon-theme-name="Yaru-dark" +gtk-font-name="Sans 10" +gtk-cursor-theme-name="breeze" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_TEXT +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=0 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" +gtk-xft-rgba="rgb" diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..565d1a4 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,4 @@ +# source .xprofile +. $HOME/.xprofile + +exec ssh-agent "$HOME/.local/src/dwm/dwm" diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..d8fda5d --- /dev/null +++ b/.xprofile @@ -0,0 +1,5 @@ +setxkbmap -layout us,ru -option grp:win_space_toggle +xset r rate 200 30 +picom -b +"$HOME/.local/share/scripts/fehbg" +"$HOME/.local/src/dwmblocks/dwmblocks" & diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..2927baf --- /dev/null +++ b/.zprofile @@ -0,0 +1 @@ +export PATH="$PATH:$HOME/.local/bin" diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..58bce67 --- /dev/null +++ b/.zshrc @@ -0,0 +1,27 @@ +# history +HISTSIZE=10000000 +SAVEHIST=10000000 +HISTFILE="$HOME/.cache/zsh_history" + +# misc +setopt extendedglob +bindkey -e + +# completions +zstyle :compinstall filename '/home/wzray/.zshrc' +autoload -Uz compinit +compinit + +# prompt +autoload -U colors && colors +PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " + +# ls aliases +alias ls="ls --color=auto" +alias la="ls -lAh" +alias ll="ls -lh" + +# aliases +alias dt="git --git-dir=$HOME/.dotfiles/git --work-tree=$HOME" +alias rz="exec zsh" +alias bat="batcat"