From 5608a1de869fb495af9fafe0ed4206926d4ecf4b Mon Sep 17 00:00:00 2001 From: c2ny Date: Tue, 17 Mar 2026 18:04:59 -0400 Subject: [PATCH] u --- .bashrc | 1 + .gitignore | 1 + .profile | 15 ++++++++++++++- __once_setup.sh | 21 +++++++++++++++------ fastfetch/config.jsonc | 2 +- session/dolphin_dolphin_dolphin | 2 +- 6 files changed, 33 insertions(+), 9 deletions(-) diff --git a/.bashrc b/.bashrc index f405949..16dc13e 100644 --- a/.bashrc +++ b/.bashrc @@ -27,6 +27,7 @@ alias pullfreebsdclangformat="wget https://raw.githubusercontent.com/freebsd/fre alias man="MANPAGER=\"nvim +Man!\" man" alias less="less --incsearch" alias faggot="exit" +alias feh="feh --action1 'echo %F | xclip -selection clipboard'" alias plow-power="echo 'low-power' | sudo tee /sys/firmware/acpi/platform_profile" alias pbalanced="echo 'balanced' | sudo tee /sys/firmware/acpi/platform_profile" diff --git a/.gitignore b/.gitignore index 0d8b298..8901733 100644 --- a/.gitignore +++ b/.gitignore @@ -107,6 +107,7 @@ sddmthemeinstallerrc spectaclerc systemsettingsrc trashrc +session/ # weechat weechat/sec.conf diff --git a/.profile b/.profile index 46d0656..292eace 100644 --- a/.profile +++ b/.profile @@ -1,3 +1,16 @@ #!/bin/sh -export PATH="$HOME/.local/bin:$PATH" +# [ -e "${HOME}/.cargo/env" ] && . "${HOME}/.cargo/env" +# export GIT_SSL_CAINFO="${HOME}/.config/git/ca-bundle.crt" +export PATH="${HOME}/.local/bin:$PATH" + +mkdir -p "$HOME/.local/share" +MYIPFILE="$HOME/.local/share/myremoteip" + +MYIP=$(dig +short A c2ny.duckdns.org 2>/dev/null | awk '/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/ { print; exit }') +[ -n "$MYIP" ] && printf '%s\n' "$MYIP" > "$MYIPFILE" + +export XDG_CURRENT_DESKTOP=KDE +export DESKTOP_SESSION=plasma +export KDE_SESSION_VERSION=6 +export GTK_USE_PORTAL=1 diff --git a/__once_setup.sh b/__once_setup.sh index 4816f58..c80cd38 100755 --- a/__once_setup.sh +++ b/__once_setup.sh @@ -1,9 +1,5 @@ #!/bin/bash -# THIS FILE -# is for desktop void usually. - - CHECK_FILE_RAN=~/.local/share/.____12974691041jnni32@212479.asjd81..srcipt.ran if [ -e $CHECK_FILE_RAN ]; then @@ -19,6 +15,7 @@ mkdir -p ~/Downloads/telegram ln -s ~/.config/.xinitrc ~ ln -s ~/.config/.bashrc ~ +ln -s ~/.config/.profile ~ ln -s ~/.config/sagent ~/.local/bin/ ldd /bin/ls | grep -c musl @@ -38,7 +35,7 @@ sudo xbps-install -y feh noto-fonts-ttf noto-fonts-emoji xdg-desktop-portal xdg- libXinerama-devel libXft-devel libX11-devel pkg-config freetype-devel ImageMagick \ zip unzip flatpak pulseaudio playerctl fastfetch btop keepassxc cronie nitrogen \ man-pages-devel man-pages-posix noto-fonts-cjk libXrandr-devel libXpm-devel imlib2-devel \ - parcellite + if [ "${is_musl:-0}" -ne 0 ]; then sudo xbps-install -y clang-tools-extra @@ -103,7 +100,7 @@ sudo make install clean # st cd ~/.config/st-flexipatch/ || exit sudo make install clean -ln -s "$(realpath scripts/*)" ~/.local/bin +ln -s "$(realpath _st-scripts/*)" ~/.local/bin # dmenu cd ~/.config/dmenu-5.4 || exit @@ -227,6 +224,18 @@ sudo usermod -aG socklog "$USER" # install helium wget -P "${HOME}/.local/bin" -O helium "https://github.com/imputnet/helium-linux/releases/download/0.8.5.1/helium-0.8.5.1-x86_64.AppImage" +# fix touchpad +sudo mkdir -p /etc/X11/xorg.conf.d + +sudo tee /etc/X11/xorg.conf.d/30-touchpad.conf > /dev/null <<'EOF' +Section "InputClass" + Identifier "libinput touchpad" + MatchIsTouchpad "on" + Driver "libinput" + Option "Tapping" "on" +EndSection +EOF + ## `Operator` # Create operator, add users to it sudo groupadd operator diff --git a/fastfetch/config.jsonc b/fastfetch/config.jsonc index 89180f3..d6f5c51 100644 --- a/fastfetch/config.jsonc +++ b/fastfetch/config.jsonc @@ -1,7 +1,7 @@ { "logo": { "type": "sixel", - "source": "/home/c2ny/Pictures/__wanwan_and_nyanko_original_drawn_by_onlinepetclub__80bd2b77f72061923820b31010f62f4b.jpg", + "source": "/home/c2ny/Pictures/girls/__yukinoshita_yukino_and_yuigahama_yui_yahari_ore_no_seishun_lovecome_wa_machigatteiru_drawn_by_ponkan_8__sample-1dea47b37023074d0d051335cc7062f9.jpg", "height": 12, "padding": { "right": 2, "bottom": 1 } }, diff --git a/session/dolphin_dolphin_dolphin b/session/dolphin_dolphin_dolphin index 08c1974..62d5a23 100644 --- a/session/dolphin_dolphin_dolphin +++ b/session/dolphin_dolphin_dolphin @@ -1,7 +1,7 @@ [1] Active Tab Index=0 Tab Count=1 -Tab Data 0=\x00\x00\x00\x03\x00\x00\x00\x00#file:///home/c2ny/.config/wallpaper\x00\x00\x00\x00\x01\x00\x00\x00.file:///home/c2ny/.config/wallpaper/kyoko.jpeg\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x1b\x00\x00\x00\xff\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x01\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00 +Tab Data 0=\x00\x00\x00\x03\x00\x00\x00\x00\x18file:///home/c2ny/Videos\x00\x00\x00\x00\x01\x00\x00\x002file:///home/c2ny/Videos/2026-03-10%2015-41-04.mp4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x1b\x00\x00\x00\xff\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x01\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00 Tab Data 1=\x00\x00\x00\x03\x00\x00\x00\x00?file:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts\x00\x00\x00\x00\x01\x00\x00\x00Vfile:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts/VL-PGothic-Regular.ttf\x00\x00\x00\x03\x00\x00\x00Ofile:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts/coders_crux.ttf\x00\x00\x00Ufile:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts/VL-Gothic-Regular.ttf\x00\x00\x00Vfile:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts/VL-PGothic-Regular.ttf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x1b\x00\x00\x00\xff\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x01\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00 Tab Data 2=\x00\x00\x00\x03\x00\x00\x00\x00?file:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts\x00\x00\x00\x00\x01\x00\x00\x00Hfile:///home/c2ny/.local/share/Steam/steamapps/common/HC3/Fonts/VLGothic\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x1b\x00\x00\x00\xff\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x01\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00 Tab Data 3=\x00\x00\x00\x03\x00\x00\x00\x00\x11file:///home/c2ny\x00\x00\x00\x00\x01\x00\x00\x00\x19file:///home/c2ny/Desktop\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x1b\x00\x00\x00\xff\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x01\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00