Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles

chore(configs): update config files as needed

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>

authored by

Andrei Jiroh Halili and committed by
Andrei Jiroh Halili
d8b527ab 07e296de

+109 -66
+9 -52
.bash_login
··· 20 20 . "$HOME/.config/localconfig.env" 21 21 fi 22 22 23 - # Load bash 24 - # shellcheck source=./.bashrc 25 - source ./.bashrc 23 + export DOTFILES_BIN="${HOME}/bin" 24 + # gopath should be on ~/.local/share/go to not fuck up with local insta> 25 + # at ~/go if exists 26 + export GOPATH="$HOME/.local/share/go" 27 + # Context: https://git.sr.ht/~sircmpwn/dotfiles/tree/master/item/.profi> 28 + # and https://drewdevault.com/2021/08/06/goproxy-breaks-go.html 29 + export GOPROXY=direct GOSUMDB=off 30 + export PATH="${DOTFILES_BIN}:${GOPATH}/bin:${HOME}/.local/bin:${PATH}" 26 31 27 - # set PATH so it includes user's private bin if it exists 28 - if [ -d "$HOME/bin" ] ; then 29 - PATH="$HOME/bin:$PATH" 30 - fi 31 - 32 - # set PATH so it includes user's private bin if it exists 33 - if [ -d "$HOME/.local/bin" ] ; then 34 - PATH="$HOME/.local/bin:$PATH" 35 - fi 36 - 37 - export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more 38 - mesg n 2> /dev/null || true 39 - 40 - # then import the rest 41 - source "$HOME/.env" 42 - source "$HOME/.config/aliases" 43 - export POSIX_PROFILE_SOURCED=true 44 - 45 - # how about detecting local configs 46 - if [ -f "$HOME/.config/localconfig.env" ]; then 47 - . "$HOME/.config/localconfig.env" 48 - fi 49 - 50 - ########################################################################################## 51 - # Code snippets from https://git.sr.ht/~sircmpwn/dotfiles/tree/db5945a4/item/.env 52 - ########################################################################################## 53 - if ls --version 2>&1 | grep -i gnu >/dev/null 54 - then 55 - alias ls='ls --color=auto ' 56 - elif ls --version 2>&1 | grep -i busybox >/dev/null 57 - then 58 - alias ls='ls --color=auto ' 59 - fi 60 - 61 - alias recent='ls -ltch' 62 - 63 - # Add optmizations for multicore builds 64 - if [ $(uname) = "Linux" ] 65 - then 66 - nproc=$(grep '^processor' /proc/cpuinfo | wc -l) 67 - if [ $nproc -gt 4 ] 68 - then 69 - # Reserve two cores 70 - nproc=$((nproc - 2)) 71 - fi 72 - export MAKEFLAGS="-j$nproc" 73 - export SAMUFLAGS="-j$nproc" 74 - fi 75 - ########################################################################################## 32 + _byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
+2 -1
.bashrc
··· 28 28 ## Note that ~/.env and ~/.env.local should be loaded eariler on ## 29 29 # Dotfiles stuff, maybe should be on ~/.env? 30 30 #export DOTFILES_HOME="$HOME/.dotfiles" 31 - export DOTFILES_BIN="$DOTFILES_HOME/bin" 31 + export DOTFILES_BIN="$HOME/bin" 32 32 # gopath should be on ~/.local/share/go to not fuck up with local install 33 33 # at ~/go if exists 34 34 export GOPATH="$HOME/.local/share/go" ··· 44 44 export GOPROXY=direct GOSUMDB=off 45 45 # nix profile install nixpkgs#glibcLocale 46 46 export LOCALE_ARCHIVE="$HOME/.nix-profile/lib/locale/locale-archive" 47 + export PATH="${DOTFILES_BIN}:${GOPATH}/bin:${HOME}/.local/bin:${PATH}" 47 48 48 49 ## Stage 2: Source literally everything else ## 49 50 if [[ -d "$HOME/.bashbox" ]]; then
+1
.config/gh/config.yml
··· 20 20 http_unix_socket: 21 21 # What web browser gh should use when opening URLs. If blank, will refer to environment. 22 22 browser: 23 + version: "1"
+2
.config/htop/htoprc
··· 19 19 find_comm_in_cmdline=1 20 20 strip_exe_from_cmdline=1 21 21 show_merged_command=1 22 + tree_view=1 23 + tree_view_always_by_pid=0 22 24 header_margin=1 23 25 screen_tabs=0 24 26 detailed_cpu_time=1
+94
.config/konsolerc
··· 1 + [Desktop Entry] 2 + DefaultProfile=Byobu.profile 3 + 4 + [General] 5 + ConfigVersion=1 6 + 7 + [KFileDialog Settings] 8 + Recent Files[$e]=personal,file:$HOME/.ssh/personal 9 + Recent URLs[$e]=file:$HOME/.ssh/ 10 + detailViewIconSize=16 11 + 12 + [KonsoleWindow] 13 + RememberWindowSize=false 14 + ShowWindowTitleOnTitleBar=true 15 + 16 + [MainWindow] 17 + 1209x683 screen: Height=624 18 + 1209x683 screen: Width=1209 19 + 1209x683 screen: Window-Maximized=true 20 + 1209x683 screen: XPosition=0 21 + 1209x683 screen: YPosition=59 22 + 1214x683 screen: Height=584 23 + 1214x683 screen: Width=911 24 + 1214x683 screen: XPosition=151 25 + 1214x683 screen: YPosition=78 26 + 1280x1024 screen: Window-Maximized=true 27 + 1280x720 screen: Window-Maximized=true 28 + 1280x960 screen: Window-Maximized=true 29 + 1360x768 screen: Height=696 30 + 1360x768 screen: Width=1360 31 + 1360x768 screen: Window-Maximized=true 32 + 1360x768 screen: XPosition=0 33 + 1360x768 screen: YPosition=72 34 + 1366x768 screen: Height=704 35 + 1366x768 screen: Width=1366 36 + 1366x768 screen: Window-Maximized=true 37 + 1366x768 screen: XPosition=0 38 + 1366x768 screen: YPosition=64 39 + 1920x1080 screen: Height=692 40 + 1920x1080 screen: Width=1280 41 + 1920x1080 screen: Window-Maximized=true 42 + 1920x1080 screen: XPosition=320 43 + 1920x1080 screen: YPosition=208 44 + 2 screens: Height=624 45 + 2 screens: Width=607 46 + 2 screens: XPosition=0 47 + 2 screens: YPosition=59 48 + HDMI-1=HDMI-1 49 + HDMI-1 Height 1366x768 HDMI-1=701 50 + HDMI-1 Width 1366x768 HDMI-1=1366 51 + HDMI-1 Window-Maximized 1366x768 HDMI-1=true 52 + HDMI-1 XPosition 1366x768 HDMI-1=0 53 + HDMI-1 YPosition 1366x768 HDMI-1=67 54 + HDMI-1 eDP-1=eDP-1 55 + HDMI-1 eDP-1 Height 1366x768 HDMI-1=701 56 + HDMI-1 eDP-1 Width 1366x768 HDMI-1=1366 57 + HDMI-1 eDP-1 Window-Maximized 1366x768 HDMI-1=true 58 + HDMI-1 eDP-1 Window-Maximized 1366x768 eDP-1=true 59 + HDMI-1 eDP-1 XPosition 1366x768 HDMI-1=1366 60 + HDMI-1 eDP-1 YPosition 1366x768 HDMI-1=67 61 + MenuBar=Enabled 62 + RestorePositionForNextInstance=false 63 + State=AAAA/wAAAAD9AAAAAQAAAAAAAAD1AAACjfwCAAAAAvsAAAAiAFEAdQBpAGMAawBDAG8AbQBtAGEAbgBkAHMARABvAGMAawAAAAAA/////wAAAXwBAAAD+wAAABwAUwBTAEgATQBhAG4AYQBnAGUAcgBEAG8AYwBrAAAAAC4AAAKNAAABFQEAAAMAAAOPAAAB/AAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAQAAAOj/////AAAAAAAAAAA= 64 + ToolBarsMovable=Disabled 65 + eDP-1=eDP-1 66 + eDP-1 HDMI-1=eDP-1 67 + eDP-1 HDMI-1 Window-Maximized 1366x768 eDP-1=true 68 + eDP-1 HDMI-1 XPosition 1366x768 eDP-1=567 69 + eDP-1 HDMI-1 YPosition 1366x768 eDP-1=367 70 + eDP-1 Height 1366x768=701 71 + eDP-1 Height 1366x768 eDP-1=701 72 + eDP-1 Height 768=698 73 + eDP-1 Width 1366=1366 74 + eDP-1 Width 1366x768=1366 75 + eDP-1 Width 1366x768 eDP-1=1366 76 + eDP-1 Window-Maximized 1366x768=true 77 + eDP-1 Window-Maximized 1366x768 eDP-1=true 78 + eDP-1 XPosition=0 79 + eDP-1 XPosition 1366x768=0 80 + eDP-1 XPosition 1366x768 eDP-1=0 81 + eDP-1 YPosition=24 82 + eDP-1 YPosition 1366x768=67 83 + rdp0 Height 768=712 84 + rdp0 Width 1364=1364 85 + rdp0 Window-Maximized 1364x768=true 86 + rdp0 XPosition=0 87 + rdp0 YPosition=56 88 + 89 + [TabBar] 90 + NewTabButton=true 91 + TabBarVisibility=AlwaysShowTabBar 92 + 93 + [UiSettings] 94 + ColorScheme=Default
+1 -13
.profile
··· 17 17 fi 18 18 fi 19 19 20 - # set PATH so it includes user's private bin if it exists 21 - if [ -d "$HOME/bin" ] ; then 22 - PATH="$HOME/bin:$PATH" 23 - fi 24 - 25 - # set PATH so it includes user's private bin if it exists 26 - if [ -d "$HOME/.local/bin" ] ; then 27 - PATH="$HOME/.local/bin:$PATH" 28 - fi 29 - 30 - # Add $GOPATH/bin into PATH 31 - export GOPATH="$HOME/.local/share/go" 32 - export PATH="$GOPATH/bin:$PATH" 20 + export PATH="/usr/local/bin::$HOME/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more 33 21 mesg n 2> /dev/null || true 34 22 35 23 # then import the rest