From b693e501cc3e1f31c3fe394fa98d60cb7ad257a2 Mon Sep 17 00:00:00 2001 From: Quinn Date: Fri, 18 Apr 2025 16:20:59 +0200 Subject: [PATCH] 2025-04-18_auto-backup_tracked --- .bashrc | 34 +++++++++++++++++-- .../grouped-window-list@cinnamon.org/2.json | 5 +-- .config/nvim | 2 +- .config/spicetify/config-xpui.ini | 4 +-- .editorconfig | 13 +++++-- .nv/nvidia-application-profiles-rc.backup | 7 ++++ .nvidia-settings-rc | 7 ++-- 7 files changed, 57 insertions(+), 15 deletions(-) diff --git a/.bashrc b/.bashrc index e7182a6..cf12331 100644 --- a/.bashrc +++ b/.bashrc @@ -5,6 +5,10 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +[[ -z "${PS1-}" ]] && return + +# check the window size after each command (and if necessary, the values of LINES and COLUMNS) +shopt -s checkwinsize # history settings HISTCONTROL=ignoreboth # don't put duplicate lines or lines starting with space in the history. @@ -33,7 +37,7 @@ eval "$(_AUTO_CPUFREQ_COMPLETE=bash_source auto-cpufreq)" # aliases for colour alias dir='dir --color=auto' alias vdir='vdir --color=auto' -alias ls='eza -Abh --colour=auto' +alias ls='eza -Abhg --colour=auto' alias grep='grep --colour=auto' alias diff='diff --color' alias ip='ip -c' @@ -41,21 +45,45 @@ alias ip='ip -c' # application aliases alias ncdu='ncdu --color=dark -t 16' alias hyfetch='hyfetch --ascii-file $HOME/.config/hyfetch-ascii' +alias bat='bat --wrap never --tabs 4 --theme gruvbox-dark' +alias make='make -j' # aliases to avoid mistakes alias cp='cp -i' alias mv='mv -i' #alias rm='rm -i' +alias :qa='exit' +alias :q='exit' alias py3='python3' alias hgit='git --git-dir=$HOME/.home-conf.git --work-tree=$HOME' __git_complete hgit __git_main -# opt out of dotnet's telenetry +# vcpkg shit +export VCPKG_ROOT=$HOME/.local/share/vcpkg +export PATH=$VCPKG_ROOT:$PATH +source /home/user/.local/share/vcpkg/scripts/vcpkg_completion.bash + +# opt out of Microsoft's telemetry bullshit export DOTNET_CLI_TELEMETRY_OPTOUT=1 +export VCPKG_DISABLE_METRICS=1 + +# customise less +# Have less display colours +# from: https://wiki.archlinux.org/index.php/Color_output_in_console#man +export LESS_TERMCAP_mb=$'\e[1;31m' # begin bold +export LESS_TERMCAP_md=$'\e[1;33m' # begin blink +export LESS_TERMCAP_so=$'\e[01;44;37m' # begin reverse video +export LESS_TERMCAP_us=$'\e[01;37m' # begin underline +export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink +export LESS_TERMCAP_se=$'\e[0m' # reset reverse video +export LESS_TERMCAP_ue=$'\e[0m' # reset underline + +# customise man pager to use the correct parameters +export MANPAGER='less -s -M +Gg' # cute lil hyfetch :3 if [[ $TERM == "xterm-kitty" ]]; then - hyfetch + hyfetch fi diff --git a/.config/cinnamon/spices/grouped-window-list@cinnamon.org/2.json b/.config/cinnamon/spices/grouped-window-list@cinnamon.org/2.json index e174a59..49cadab 100644 --- a/.config/cinnamon/spices/grouped-window-list@cinnamon.org/2.json +++ b/.config/cinnamon/spices/grouped-window-list@cinnamon.org/2.json @@ -361,11 +361,8 @@ "kitty.desktop", "nemo.desktop", "firefox.desktop", - "nvim.desktop", "com.discordapp.Discord.desktop:flatpak", - "spotify-launcher.desktop", - "unityhub.desktop", - "org.mozilla.Thunderbird.desktop" + "spotify-launcher.desktop" ] }, "__md5__": "b7d0a7558cf87c22c50195c9d408485f" diff --git a/.config/nvim b/.config/nvim index 906393a..8df20a7 160000 --- a/.config/nvim +++ b/.config/nvim @@ -1 +1 @@ -Subproject commit 906393a30cd5dd6f70b1811d441850dd57836817 +Subproject commit 8df20a7608921e2ff214b8a4bcd06d4492d430f6 diff --git a/.config/spicetify/config-xpui.ini b/.config/spicetify/config-xpui.ini index ac9a39f..e9adcb5 100644 --- a/.config/spicetify/config-xpui.ini +++ b/.config/spicetify/config-xpui.ini @@ -28,5 +28,5 @@ current_theme = Sleek ; DO NOT CHANGE! [Backup] -version = 1.2.59.514.g834e17d4 -with = 2.39.5 +version = 1.2.60.564.gcc6305cb +with = 2.39.6 diff --git a/.editorconfig b/.editorconfig index 68e9d4c..c8a1426 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,22 +5,31 @@ charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -indent_style = space +indent_style = tab indent_size = tab tab_width = 4 [*.{c,h,cpp,hpp}] indent_style = tab +indent_size = tab tab_width = 4 [{makefile,Makefile}] indent_style = tab +indent_size = tab tab_width = 2 [.*/{sh,bash}] indent_style = tab +indent_size = tab tab_width = 2 +[*.{py,rs}] +indent_style = space +indent_size = tab +tab_width = 4 + [*.{yaml,json,toml}] indent_style = space -indent_size = 2 +indent_size = tab +tab_width = 2 diff --git a/.nv/nvidia-application-profiles-rc.backup b/.nv/nvidia-application-profiles-rc.backup index ee20a29..06e1e0b 100644 --- a/.nv/nvidia-application-profiles-rc.backup +++ b/.nv/nvidia-application-profiles-rc.backup @@ -6,6 +6,13 @@ "matches": "Java" }, "profile": "games" + }, + { + "pattern": { + "feature": "true", + "matches": "steam" + }, + "profile": "games" } ], "profiles": [ diff --git a/.nvidia-settings-rc b/.nvidia-settings-rc index f439414..a9d8906 100644 --- a/.nvidia-settings-rc +++ b/.nvidia-settings-rc @@ -2,7 +2,7 @@ # /home/user/.nvidia-settings-rc # # Configuration file for nvidia-settings - the NVIDIA Settings utility -# Generated on Mon Mar 3 14:00:51 2025 +# Generated on Tue Apr 8 18:14:45 2025 # # ConfigProperties: @@ -12,9 +12,10 @@ DisplayStatusBar = Yes SliderTextEntries = Yes IncludeDisplayNameInConfigFile = No UpdateRulesOnProfileNameChange = Yes -Timer = PowerMizer_Monitor_(GPU_0),Yes,1000 -Timer = Thermal_Monitor_(GPU_0),Yes,1000 Timer = Memory_Used_(GPU_0),Yes,3000 +Timer = Thermal_Monitor_(GPU_0),Yes,1000 +Timer = PowerMizer_Monitor_(GPU_0),Yes,1000 # Attributes: +[GPU:0]/GPUPowerMizerMode=2