integrated stow symlink manager

This commit is contained in:
Joel Mathew Thomas
2024-07-16 13:00:36 +05:30
parent 13ccfc4676
commit 374eb0b3e8
16 changed files with 1865 additions and 162 deletions
+17
View File
@@ -0,0 +1,17 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
export PATH="/usr/lib/ccache/bin/:$PATH"
export MAKEFLAGS="-j3 -l2"
# Custom Aliases
alias fast='wget -O /dev/null http://speedtest.tele2.net/10GB.zip'
Executable → Regular
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 4.0 MiB

+1
View File
@@ -0,0 +1 @@
source = ~/.config/hypr/conf/backlight/amd.conf
+3
View File
@@ -0,0 +1,3 @@
# Backlight for amd
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d amdgpu_bl1 set +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d amdgpu_bl1 set 5%-
+3
View File
@@ -0,0 +1,3 @@
# Backlight for intel
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d intel_backlight set +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%-
+1 -1
View File
@@ -1 +1 @@
source = ~/.config/hypr/conf/monitors/nitro5.conf source = ~/.config/hypr/conf/monitors/default.conf
@@ -1,7 +1,8 @@
# ----------------------------------------------------- # -----------------------------------------------------
# Monitor Setup # Monitor Setup
# name: "Default" # name: "Lenovo"
# ----------------------------------------------------- # -----------------------------------------------------
#monitor=eDP-1,1920x1080@144,0x0,1 monitor=eDP-1, 1366x768, 1920x0, 1
monitor=,highrr,auto,1 monitor=HDMI-A-1, 1920x1080, 0x0, 1
+8 -11
View File
@@ -16,8 +16,11 @@ source = ~/.config/hypr/conf/monitor.conf
# Autostart # Autostart
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/autostart.conf source = ~/.config/hypr/conf/autostart.conf
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # -----------------------------------------------------
# Backlight
# -----------------------------------------------------
source = ~/.config/hypr/conf/backlight.conf
# Set programs that you use # Set programs that you use
$terminal = kitty $terminal = kitty
@@ -112,7 +115,7 @@ animations {
animation = border, 1, 10, default animation = border, 1, 10, default
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
animation = workspaces, 1, 4, default animation = workspaces, 1, 4, default, fade
} }
dwindle { dwindle {
@@ -123,7 +126,7 @@ dwindle {
master { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true new_status = master
} }
gestures { gestures {
@@ -162,7 +165,7 @@ windowrulev2 = opacity 0.85,class:^(nemo)
windowrulev2 = opacity 0.90,class:^(Code) windowrulev2 = opacity 0.90,class:^(Code)
windowrule = opacity 0.90, ^(Spotify)$ windowrule = opacity 0.90, ^(Spotify)$
windowrule = opacity 0.85, ^(thunar)$ windowrule = opacity 0.85, ^(thunar)$
windowrule = opacity 0.80, ^(org.qbittorrent.qBittorrent)$ windowrule = opacity 0.90, ^(org.qbittorrent.qBittorrent)$
layerrule = blur, rofi layerrule = blur, rofi
layerrule = blur, waybar layerrule = blur, waybar
layerrule = xray[0], rofi layerrule = xray[0], rofi
@@ -255,11 +258,6 @@ bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindr=SUPER, SUPER_L, exec, pkill rofi || rofi -show drun bindr=SUPER, SUPER_L, exec, pkill rofi || rofi -show drun
bind = SUPER, U, exec, rofi -show filebrowser bind = SUPER, U, exec, rofi -show filebrowser
# Backlight
# Keyboard backlight
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d intel_backlight set +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%-
# Fan control # Fan control
bind = CTRL ALT, L, exec, nbfc set -f 0 1 -s 30 bind = CTRL ALT, L, exec, nbfc set -f 0 1 -s 30
bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100 bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100
@@ -293,4 +291,3 @@ windowrulev2 = monitor 1,class:(hollow_knight.exe)
windowrulev2 = workspace 10,class:(hollow_knight.exe) windowrulev2 = workspace 10,class:(hollow_knight.exe)
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
+1
View File
@@ -0,0 +1 @@
hwdec=vaapi
-1
View File
@@ -205,4 +205,3 @@
}, },
} }
-88
View File
@@ -1,88 +0,0 @@
.config/dconf/
.config/eog/
.config/fontconfig/
.config/fontforge/
.config/font-manager/
.config/gedit/
.config/htop/
.config/kate/
.config/KDE/
.config/kde.org/
.config/mpv/
.config/neofetch/
.config/protonvpn/
.config/pulse/
.config/systemd/
.config/Thunar/
.config/vlc/
.config/xfce4/
.config/gwenviewrc
.config/katerc
.config/katevirc
.config/mimeapps.list
.config/pavucontrol.ini
.config/bpytop/
.config/QtProject.conf
.config/cava
.config/gtk-3.0/
.config/obs-studio/
.config/qt6ct/
.config/spotify/
.config/xsettingsd/
.config/xdg-terminals.list
.config/Hyprland-xdg-terminals.list
.config/nwg-look/
.config/BraveSoftware/
.config/Code/
.config/arkrc
.config/audacity/
.config/kamosorc
.config/kdeglobals
.config/NuGet/
.config/VeraCrypt/
.config/pupgui/
.config/spectaclerc
.config/MangoHud/
.config/discord/
.config/dolphinrc
.config/gh/
.config/libreoffice/
.config/session/
.config/qBittorrent/
.config/Postman
.config/nvim
.config/okularrc
.config/Kvantum
.config/baloofileinformationrc
.config/btop/
.config/chromium/
.config/katemetainfos
.config/nemo/
.config/.wallpaper/astronautjelly.png
.config/Proton Mail/
.config/konsolerc
.config/konsolesshconfig
.config/simple-update-notifier/
.config/Upscayl/
.config/VirtualBox/
.config/bashtop/
.config/kcalcrc
.config/systemmonitorrc
.config/user-dirs.dirs
.config/user-dirs.locale
.config/menus/
.config/gpu-screen-recorder/
.config/okularpartrc
.config/kiorc
.config/ktrashrc
.config/kwinrc
.config/libaccounts-glib/
.config/partitionmanagerrc
.config/systemsettingsrc
.config/Signal/
.config/filetypesrc
.config/trashrc
.config/wireshark/
.config/Electron/
.config/WebCord/
.config/inkscape/
View File
+1719
View File
File diff suppressed because it is too large Load Diff
+26
View File
@@ -0,0 +1,26 @@
# Comments and blank lines are allowed.
RCS
.+,v
CVS
\.\#.+ # CVS conflict files / emacs lock files
\.cvsignore
\.svn
_darcs
\.hg
\.git
\.gitignore
\.gitmodules
.+~ # emacs backup files
\#.*\# # emacs autosave files
^/README.*
^/LICENSE.*
^/COPYING
commit.good
dependencies.txt
-58
View File
@@ -1,58 +0,0 @@
" An example for a vimrc file.
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 10
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
"
" To use it, copy it to
" for Unix: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-Windows: $VIM\_vimrc
" for Haiku: ~/config/settings/vim/vimrc
" for OpenVMS: sys$login:.vimrc
" When started as "evim", evim.vim will already have done these settings, bail
" out.
if v:progname =~? "evim"
finish
endif
" Get the defaults that most users want.
source $VIMRUNTIME/defaults.vim
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file (restore to previous version)
if has('persistent_undo')
set undofile " keep an undo file (undo changes after closing)
endif
endif
if &t_Co > 2 || has("gui_running")
" Switch on highlighting the last used search pattern.
set hlsearch
endif
" Put these in an autocmd group, so that we can delete them easily.
augroup vimrcEx
au!
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
augroup END
" Line Numbers
set number
" Add optional packages.
"
" The matchit plugin makes the % command work better, but it is not backwards
" compatible.
" The ! means the package won't be loaded right away but when plugins are
" loaded during initialization.
if has('syntax') && has('eval')
packadd! matchit
endif
+82
View File
@@ -0,0 +1,82 @@
# 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
# Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
# Download Zinit, if it's not there yet
if [ ! -d "$ZINIT_HOME" ]; then
mkdir -p "$(dirname $ZINIT_HOME)"
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
fi
# Source/Load zinit
source "${ZINIT_HOME}/zinit.zsh"
# Add PowerLevel10k
zinit ice depth=1; zinit light romkatv/powerlevel10k
# Add in zsh plugins
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab
# Add in snippets
zinit snippet OMZP::git
zinit snippet OMZP::sudo
zinit snippet OMZP::archlinux
zinit snippet OMZP::aws
zinit snippet OMZP::command-not-found
# Load completions
autoload -U compinit && compinit
zinit cdreplay -q
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Keybindings
bindkey -e
bindkey '^p' history-search-backward
bindkey '^n' history-search-forward
# Histroy
HISTSIZE=5000
HISTFILE=~/.zsh_history
SAVEHIST=$HISTSIZE
HISTDUP=erase
setopt appendhistory
setopt sharehistory
setopt hist_ignore_space
setopt hist_ignore_all_dups
setopt hist_save_no_dups
setopt hist_ignore_dups
setopt hist_find_no_dups
# Completion styling
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' menu no
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
# Aliases
alias ls='ls --color'
alias grep='grep --color=auto'
# Custom Aliases
alias fast='wget -O /dev/null http://speedtest.tele2.net/10GB.zip'
# Exports
export PATH="/usr/lib/ccache/bin:/home/$(whoami)/.local/bin/:$PATH"
export MAKEFLAGS='-j3 -l2'
# Shell integrations
eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)"