Upload from GitHub

This commit is contained in:
2025-02-28 11:41:18 +01:00
commit c1afb50799
302 changed files with 37418 additions and 0 deletions

500
pc/.bash_history Normal file
View File

@@ -0,0 +1,500 @@
pyinstaller imagevideoupscaler.spec
./imagevideoupscaler
./imagevideoupscaler
pyinstaller imagevideoupscaler.spec
./imagevideoupscaler
pyinstaller imagevideoupscaler.spec
pyinstaller imagevideoupscaler.spec
./imagevideoupscaler
pyinstaller imagevideoupscaler.spec
./imagevideoupscaler
pyinstaller imagevideoupscaler-cli.py --onefile --name imagevideoupscaler --hidden-import "bin.engines"
./imagevideoupscaler
pyinstaller imagevideoupscaler-cli.py --onefile --name imagevideoupscaler
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
pyinstaller imagevideoupscaler-cli.py --name imagevideoupscaler
cd dist/imagevideoupscaler/
./imagevideoupscaler -i
cd ../..
cd ~/projects/FSRImageVideoUpscalerFrontend_New/
ls
clear
ls
clear
yay -S rpm-build
yay -S rpm-tools
yay -S dpkg
yay -S fakeroot
clear
pip3 install py2deb
py2deb -r ./
py2deb -r ~/projects/FSRImageVideoUpscalerFrontend_New/
pip3 install symbol
clear
yay -S symbol
clear
pip3 install pyinstaller
yay -S python-pip
py2deb
python3 imagevideoupscaler-cli.py
clear
pip3 install symbol
pip3 install setuptools
yay -R python-pip
yay -S python-pip
pip install --upgrade pip
clear
pip install setuptools
yay -S setuptools
sudo pacman -Syu "pacman>=6.0.2-7"
pip3
yay -S python-pip
yay -S python3-pip
clear
yay -S python-pip
pip3 install
python -m pip3
python -m pip
pip
pip3
clear
pip3
pip3 install
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -s 2
clear
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
clear
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -s 2
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -M c -s 2
clear
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -s 2
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
npm run serve
npm run serve
npm run serve
npm i
npm run serve
clear
cd ../../website/
cd dist/
http-server
http-server
git pull origin main
git checkout origin master
git checkout origin main
cd frontend/
npm run electron:serve
npm i -g @vue/cli
sudo npm i -g @vue/cli
npm audit fix --force
npm audit fix --force
npm audit fix --force
npm i
npm i
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm i child_process
clear
npm run electron:serve
npm run serve
npm run serve
npm run serve
cd ..
ls
clear
python3 imagevideoupscaler-cli.py -h
python3 imagevideoupscaler-cli.py -p
python3 imagevideoupscaler-cli.py -h
python3 imagevideoupscaler-cli.py -d ss
cd frontend/
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm i --save-dev @electron-forge/cli
npm exec --package=@electron-forge/cli -c "electron-forge import"
npm run make
cd src/
npm run make
clear
cd ..
npm run electron:build
npm run electron:build -- --linux deb --win nsis
clear
npm run electron:build -- --linux deb --win nsis
npm run electron:build -- --linux deb --win nsis
npm run electron:build -- --linux deb --win nsis
npm run electron:build -- --linux deb --win nsis
npm run electron:build -- --linux deb --win nsis
yay -S libcript
yay -S libssl
clear
npm run electron:build -- --linux deb --linux rpm --win nsis
npm run electron:build -- --linux deb rpm --win nsis
yay -S libxcrypt-compat
npm run electron:build -- --linux deb rpm --win nsis
npm run electron:build -- --linux deb rpm --win nsis
cd ../packaging/
ls
sudo chmod +x package.sh
./package.sh
mv --help
pip3 install pyinstaller
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
./package.sh
cd packaging/
ls
sudo chmod +x package.sh
sudo chmod +x package.sh
./package.sh
./package.sh
./package.sh
cd ../dist/imagevideoupscaler/
cd ../../frontend/
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
cd ../packaging/
./package.sh
clear
cd ../frontend/
npm run electron:serve
cd ../packaging/
./package.sh
cd ../frontend/
npm run electron:serve
npm run electron:serve
cd ../packaging/
./package.sh
clear
cd ../frontend/
npm run electron:serve
npm run electron:serve
npm run electron:serve
./imagevideoupscaler
./imagevideoupscaler -i /home/janis/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -s 2 -S 0.25
clear
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm i socket.io
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm i socket.io-client
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
cd ../packaging/
sudo chmod +x ./prepareWindowsPackaging.sh
./prepareWindowsPackaging.sh
wine python -m pip install pyinstaller
./package.sh
./package.sh
wine python -m PyInstaller
./package.sh
cd ../frontend/dist_electron/
wine imagevideoupscaler\ Setup\ 2.0.0-dev1.exe
clear
cd ../../packaging/
clear
cd ../frontend/
npm run electron:serve
cd ..
python3 imagevideoupscaler-cli.py -d ss
cd frontend/
npm run electron:serve
npm run electron:serve
cd ../packaging/
./package.sh
sudo chmod +x packageWindows.sh
sudo chmod +x packageLinux.sh
./packageWindows.sh
./packageWindows.sh
cd ..
python3 imagevideoupscaler-cli.py -h
cd frontend/
npm run serve
npm run electron:serve
npm run electron:serve
cd ../frontend/
cd ../packaging/
./packageWindows.sh
cd ../frontend/
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm i electron
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
npm run electron:serve
cd ../packaging/
sudo chmod +x startTesting.sh
sudo chmod +x stopTesting.sh
clear
./startTesting.sh
cd ../frontend/
npm run serve
npm run electron:serve
npm run electron:serve
cd ../packaging/
./stopTesting.sh
./stopTesting.sh
./packageWindows.sh
cd ..
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png -s 2
cd ../fro
cd frontend/
npm run serve
npm run electron:serve
cd ../packaging/
./package.sh
./stopTesting.sh
./package.sh
./package.sh
cd ../frontend/
npm run electron:serve
cd ../packaging/
./packageWindows.sh
cd src/webapp/
npm run serve
./packageWindows.sh
cd ../frontend/
wine ./smuL-cli.exe
cd ../packaging/
clear
./stopTesting.sh
./packageLinux.sh
cd ../frontend/
./smuL-cli
clear
cd ../packaging/
./stopTesting.sh
./packageWindows.sh
wine -m pip install importlib
clear
./stopTesting.sh
./prepareWindowsPackaging.sh
clear
cd ../
wine python ./smuL-cli.py
wine python ./smuL-cli.py
wine python ./smuL-cli.py
wine python ./smuL-cli.py
wine python ./smuL-cli.py
wine python ./smuL-cli.py
wine python ./smuL-cli.py
cd packaging/
./stopTesting.sh
./packageWindows.sh
cd ../frontend/dist_electron/
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
clear
cd ../../packaging/
./packageWindows.sh
cd ../frontend/
wine ./smuL-cli.exe -h
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
cd ../packaging/
./stopTesting.sh
./packageWindows.sh
cd ../frontend/
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
cd ../packaging/
./stopTesting.sh
./packageWindows.sh
clear
cd ../frontend/
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
clear
cd ../packaging/
./stopTesting.sh
./packageWindows.sh
cd ../frontend/
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
cd ../packaging/
./stopTesting.sh
./packageWindows.sh
cd ../frontend/dist_electron/
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
clear
cd ../../packaging/
sudo chmod +x packageTesting.sh
./packageTesting.sh
cd ../frontend/dist_electron/linux-unpacked/
ls
./simplemediascalerlite
cd ../../
cd ../packag
cd ../packaging/
./packageLinux.sh
./packageLinux.sh
./packageLinux.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageTesting.sh
./packageWindows.sh
cd ../frontend/dist_electron/
wine SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
wine SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
clear
cd ../../packaging/
./package.sh
cd ..
python3 smuL-cli.py -i /home/janis/Downloads/test.png -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -s 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -s 2
clear
cd ./packaging/
./packageWindows.sh
./packageWindows.sh
./packageWindows.sh
./packageWindows.sh
./package.sh
cd packag
cd packaging/
./packageWindows.sh
./packageWindows.sh
cd ../../italian/
http-server
node server.js
node server.js
node server.js
node server.js
node server.js
node server.js
node server.js
ls | grep -v jpg$ | while IFS= read -r FILENAME; do convert "${FILENAME}" "${FILENAME%.*}.jpg"; done
clear
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
for i in *.mov; do ffmpeg -i "$i" "${i%.*}.mp4"; done
rm ./*.mp4
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
file="/home/janis/dotfiles/config/vscode-extensions"
while read line; do vscodium --install-extension "${line}"; done < "${file}"
yay -S vscodium
clear
cp ./dotfiles/config/.bashrc .bashrc
clear
exit
clear
sudo plymouth-set-default-theme -R bgrt
cd dotfiles/
sudo cp ./config/environment /etc/environment
sudo cp ./config/mkinitcpio.conf /etc/mkinitcpio.conf
sudo cp ./config/pacman.conf /etc/pacman.conf
clear
yay -Syu
clear
hugo
clear
cd /tmp
git clone https://github.com/rtlewis1/GTK/tree/Material-Black-Colors-Desktop
cd Material-Black-Colors-Desktop/
sudo cp ./Material-Black-Blueberry /usr/share/themes
ls
git clone https://github.com/rtlewis1/GTK
cd gtk
cd GTK
git checkout Material-Black-Colors-Desktop
clear
ls
sudo cp ./Material-Black-Blueberry /usr/share/themes
sudo cp -r ./Material-Black-Blueberry /usr/share/themes
cd /tmp
git clone https://github.com/varlesh/oreo-cursors
cd oreo-cursors/generator
echo "black = #424242" > ./colours.conf
ruby convert.rb
cd ..
make build
sudo make install
ls
sudo make
sudo make build
make build
clear
cat build.sh
make build
clear
yay -S librewolf-bin
exit
file="/home/janis/dotfiles/config/vscode-extensions"
while read line; do vscodium --install-extension "${line}"; done < "${file}"

359
pc/.bashrc Executable file
View File

@@ -0,0 +1,359 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export PATH="/home/janis/.local/share/gem/ruby/3.0.0/bin: $PATH"
export PATH="/home/janis/.local/bin: $PATH"
alias editHyprlandConf='nano ~/.config/hypr/hyprland.conf'
alias ls='ls -l --color=auto'
alias ll='ls -la --color=auto'
alias sl='ls --color=auto'
alias start-httpd='sudo systemctl start httpd'
PS1='[\u@\h \W]\$ '
################################################################################
## FUNCTIONS ##
################################################################################
##
## ARRANGE $PWD AND STORE IT IN $NEW_PWD
## * The home directory (HOME) is replaced with a ~
## * The last pwdmaxlen characters of the PWD are displayed
## * Leading partial directory names are striped off
## /home/me/stuff -> ~/stuff (if USER=me)
## /usr/share/big_dir_name -> ../share/big_dir_name (if pwdmaxlen=20)
##
## Original source: WOLFMAN'S color bash promt
## https://wiki.chakralinux.org/index.php?title=Color_Bash_Prompt#Wolfman.27s
##
bash_prompt_command() {
# How many characters of the $PWD should be kept
local pwdmaxlen=25
# Indicate that there has been dir truncation
local trunc_symbol=".."
# Store local dir
local dir=${PWD##*/}
# Which length to use
pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
NEW_PWD=${PWD/#$HOME/\~}
local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
# Generate name
if [ ${pwdoffset} -gt "0" ]
then
NEW_PWD=${NEW_PWD:$pwdoffset:$pwdmaxlen}
NEW_PWD=${trunc_symbol}/${NEW_PWD#*/}
fi
}
##
## GENERATE A FORMAT SEQUENCE
##
format_font()
{
## FIRST ARGUMENT TO RETURN FORMAT STRING
local output=$1
case $# in
2)
eval $output="'\[\033[0;${2}m\]'"
;;
3)
eval $output="'\[\033[0;${2};${3}m\]'"
;;
4)
eval $output="'\[\033[0;${2};${3};${4}m\]'"
;;
*)
eval $output="'\[\033[0m\]'"
;;
esac
}
##
## COLORIZE BASH PROMT
##
bash_prompt() {
############################################################################
## COLOR CODES ##
## These can be used in the configuration below ##
############################################################################
## FONT EFFECT
local NONE='0'
local BOLD='1'
local DIM='2'
local UNDERLINE='4'
local BLINK='5'
local INVERT='7'
local HIDDEN='8'
## COLORS
local DEFAULT='9'
local BLACK='0'
local RED='1'
local GREEN='2'
local YELLOW='3'
local BLUE='4'
local MAGENTA='5'
local CYAN='6'
local L_GRAY='7'
local D_GRAY='60'
local L_RED='61'
local L_GREEN='62'
local L_YELLOW='63'
local L_BLUE='64'
local L_MAGENTA='65'
local L_CYAN='66'
local WHITE='67'
## TYPE
local RESET='0'
local EFFECT='0'
local COLOR='30'
local BG='40'
## 256 COLOR CODES
local NO_FORMAT="\[\033[0m\]"
local ORANGE_BOLD="\[\033[1;38;5;208m\]"
local TOXIC_GREEN_BOLD="\[\033[1;38;5;118m\]"
local RED_BOLD="\[\033[1;38;5;1m\]"
local CYAN_BOLD="\[\033[1;38;5;87m\]"
local BLACK_BOLD="\[\033[1;38;5;0m\]"
local WHITE_BOLD="\[\033[1;38;5;15m\]"
local GRAY_BOLD="\[\033[1;90m\]"
local BLUE_BOLD="\[\033[1;38;5;74m\]"
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## CONFIGURE HERE ##
############################################################################
## CONFIGURATION ##
## Choose your color combination here ##
############################################################################
local FONT_COLOR_1=$WHITE
local BACKGROUND_1=$RED
local TEXTEFFECT_1=$BOLD
local FONT_COLOR_2=$WHITE
local BACKGROUND_2=$YELLOW
local TEXTEFFECT_2=$BOLD
local FONT_COLOR_3=$D_GRAY
local BACKGROUND_3=$WHITE
local TEXTEFFECT_3=$BOLD
local PROMT_FORMAT=$BLUE_BOLD
############################################################################
## EXAMPLE CONFIGURATIONS ##
## I use them for different hosts. Test them out ;) ##
############################################################################
## CONFIGURATION: BLUE-WHITE
if [ "$HOSTNAME" = dell ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLUE; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$D_GRAY; BACKGROUND_3=$WHITE; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## CONFIGURATION: BLACK-RED
if [ "$HOSTNAME" = giraff6 ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$RED; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$RED_BOLD
fi
## CONFIGURATION: RED-BLACK
#FONT_COLOR_1=$WHITE; BACKGROUND_1=$RED; TEXTEFFECT_1=$BOLD
#FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
#FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLACK; TEXTEFFECT_3=$BOLD
#PROMT_FORMAT=$RED_BOLD
## CONFIGURATION: CYAN-BLUE
if [ "$HOSTNAME" = sharkoon ]; then
FONT_COLOR_1=$BLACK; BACKGROUND_1=$L_CYAN; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLUE; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## CONFIGURATION: GRAY-SCALE
if [ "$HOSTNAME" = giraff ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$L_GRAY; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$BLACK_BOLD
fi
## CONFIGURATION: GRAY-CYAN
if [ "$HOSTNAME" = light ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$BLACK; BACKGROUND_3=$L_CYAN; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
############################################################################
## TEXT FORMATING ##
## Generate the text formating according to configuration ##
############################################################################
## CONVERT CODES: add offset
FC1=$(($FONT_COLOR_1+$COLOR))
BG1=$(($BACKGROUND_1+$BG))
FE1=$(($TEXTEFFECT_1+$EFFECT))
FC2=$(($FONT_COLOR_2+$COLOR))
BG2=$(($BACKGROUND_2+$BG))
FE2=$(($TEXTEFFECT_2+$EFFECT))
FC3=$(($FONT_COLOR_3+$COLOR))
BG3=$(($BACKGROUND_3+$BG))
FE3=$(($TEXTEFFECT_3+$EFFECT))
FC4=$(($FONT_COLOR_4+$COLOR))
BG4=$(($BACKGROUND_4+$BG))
FE4=$(($TEXTEFFECT_4+$EFFECT))
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
local TEXT_FORMAT_1
local TEXT_FORMAT_2
local TEXT_FORMAT_3
local TEXT_FORMAT_4
format_font TEXT_FORMAT_1 $FE1 $FC1 $BG1
format_font TEXT_FORMAT_2 $FE2 $FC2 $BG2
format_font TEXT_FORMAT_3 $FC3 $FE3 $BG3
format_font TEXT_FORMAT_4 $FC4 $FE4 $BG4
# GENERATE PROMT SECTIONS
local PROMT_USER=$"$TEXT_FORMAT_1 \u "
local PROMT_HOST=$"$TEXT_FORMAT_2 \h "
local PROMT_PWD=$"$TEXT_FORMAT_3 \${NEW_PWD} "
local PROMT_INPUT=$"$PROMT_FORMAT "
############################################################################
## SEPARATOR FORMATING ##
## Generate the separators between sections ##
## Uses background colors of the sections ##
############################################################################
## CONVERT CODES
TSFC1=$(($BACKGROUND_1+$COLOR))
TSBG1=$(($BACKGROUND_2+$BG))
TSFC2=$(($BACKGROUND_2+$COLOR))
TSBG2=$(($BACKGROUND_3+$BG))
TSFC3=$(($BACKGROUND_3+$COLOR))
TSBG3=$(($DEFAULT+$BG))
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
local SEPARATOR_FORMAT_1
local SEPARATOR_FORMAT_2
local SEPARATOR_FORMAT_3
format_font SEPARATOR_FORMAT_1 $TSFC1 $TSBG1
format_font SEPARATOR_FORMAT_2 $TSFC2 $TSBG2
format_font SEPARATOR_FORMAT_3 $TSFC3 $TSBG3
# GENERATE SEPARATORS WITH FANCY TRIANGLE
local TRIANGLE=$'\uE0B0'
local SEPARATOR_1=$SEPARATOR_FORMAT_1$TRIANGLE
local SEPARATOR_2=$SEPARATOR_FORMAT_2$TRIANGLE
local SEPARATOR_3=$SEPARATOR_FORMAT_3$TRIANGLE
############################################################################
## WINDOW TITLE ##
## Prevent messed up terminal-window titles ##
############################################################################
case $TERM in
xterm*|rxvt*)
local TITLEBAR='\[\033]0;\u:${NEW_PWD}\007\]'
;;
*)
local TITLEBAR=""
;;
esac
############################################################################
## BASH PROMT ##
## Generate promt and remove format from the rest ##
############################################################################
PS1="$TITLEBAR\n${PROMT_USER}${SEPARATOR_1}${PROMT_HOST}${SEPARATOR_2}${PROMT_PWD}${SEPARATOR_3}${PROMT_INPUT}"
## For terminal line coloring, leaving the rest standard
none="$(tput sgr0)"
trap 'echo -ne "${none}"' DEBUG
}
################################################################################
## MAIN ##
################################################################################
## Bash provides an environment variable called PROMPT_COMMAND.
## The contents of this variable are executed as a regular Bash command
## just before Bash displays a prompt.
## We want it to call our own command to truncate PWD and store it in NEW_PWD
PROMPT_COMMAND=bash_prompt_command
## Call bash_promnt only once, then unset it (not needed any more)
## It will set $PS1 with colors and relative to $NEW_PWD,
## which gets updated by $PROMT_COMMAND on behalf of the terminal
bash_prompt
unset bash_prompt
### EOF ###

1284
pc/configs/OpenRGB/OpenRGB.json Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
{"spellcheck":{"dictionaries":["en-US"],"dictionary":""}}

View File

@@ -0,0 +1,39 @@
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#░ ░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░ ░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░
#▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒
#▒ ▒▒▒▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒ ▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒ ▒ ▒▒▒▒▒▒▒ ▒▒
#▓ ▓▓ ▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓▓ ▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓
#▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓ ▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓
#▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓ ▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓
#█ ████ ████ ████ ██████ ████ ██ █ ██ ███ █████████████ ██████ █████ ██ ███ ████ █████ █
#██████████████ █████ ████████████████████████████████████████████████████████████████████████████████████████████████ ██
general {
lock_cmd = hyprlock --immediate
unlock_cmd = loginctl unlock-session
before_sleep_cmd = hyprlock --immediate
after_sleep_cmd = hyprlock --immediate
}
listener {
timeout = 100
on-timeout = notify-send "Entering idle state... (200s to screen off)"
on-resume = notify-send "Welcome back!"
}
listener {
timeout = 200
on-timeout = notify-send "100s to screen off" && sleep 5 && hyprlock
}
listener {
timeout = 300
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 600
on-timeout = systemctl suspend
on-resume = hyprctl dispatch dpms on
}

View File

@@ -0,0 +1,38 @@
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#░ ░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░
#▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒
#▒ ▒▒▒▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒ ▒ ▒▒▒▒▒▒▒ ▒▒
#▓ ▓▓ ▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓ ▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓
#▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓▓ ▓▓ ▓ ▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓
#▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓▓ ▓▓ ▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓
#█ ████ ████ ████ ██████ ████ ███ █ █ ██ ██ █ ███████████ ██████ █████ ██ ███ ████ █████ █
#██████████████ █████ ██████████████████████████████████████████████████████████████████████████████████████████████████████ ██
#----------#
# MONITORS #
#----------#
# monitor=DP-1, preferred, 0x0, 1, vrr, 2
monitor=DP-1, 1920x1080@144, 0x0, 1, vrr, 2
monitor=DP-2, 1920x1080@75, 1920x0, 1
# monitor=,highres highrr, auto, 1
# exec = swaybg -m fill -i /mnt/storage/SORTED/Pictures/Wallpapers/wallpaper/arch-bg-matterhorn.jpg
exec = swaybg -m fill -i /mnt/storage/SORTED/Pictures/Wallpapers/McLaren/main_livery_upscaled.jpg
source=./hyprland/binds.conf
source=./hyprland/general.conf
source=./hyprland/windowrules.conf
#---------#
# DESKTOP #
#---------#
workspace = 1, monitor:DP-1, default:1
workspace = 2, monitor:DP-2, default:1
workspace = 3, monitor:DP-1
workspace = 4, monitor:DP-2

View File

@@ -0,0 +1,96 @@
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#░ ░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░
#▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒
#▒ ▒▒▒▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒ ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒ ▒ ▒▒▒▒▒▒▒ ▒▒
#▓ ▓▓ ▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓
#▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓▓▓ ▓ ▓▓▓▓ ▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓
#▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓ ▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓
#█ ████ ████ ████ ██████ ████ ████ ████████ █ ██ ██████████ ██████ █████ ██ ███ ████ █████ █
#██████████████ █████ ███████████████████████████████████████████████████████████████████████████████████████████████████ ██
general {
grace = 15
}
# BACKGROUND
background {
monitor =
path = /mnt/storage/SORTED/Pictures/Wallpapers/McLaren/livery_3.jpg # Or screenshot
blur_passes = 1
}
# PASSWORD INPUT
input-field {
monitor =
size = 300, 40
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = rgb(204, 92, 0)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, -80
halign = center
valign = center
}
label {
monitor =
text = <b>$TIME</b>
color = rgba(200, 200, 200, 1.0)
font_size = 100
font_family = Source Code Pro
position = 0, 80
halign = center
valign = center
}
label {
monitor =
text = $LAYOUT
color = rgba(200, 200, 200, 1.0)
font_size = 12
font_family = Source Code Pro
position = 0, 0
halign = right
valign = bottom
}
label {
monitor =
text = $USER
color = rgba(200, 200, 200, 1.0)
font_size = 12
font_family = Source Code Pro
position = 0, 0
halign = left
valign = bottom
shadow_passes = 3
}
label {
monitor =
text = <i>Failed attempts: $ATTEMPTS</i>
color = rgba(200, 0, 0, 1.0)
font_size = 12
font_family = Source Code Pro
position = 0, 20
halign = center
valign = bottom
shadow_passes = 3
shadow_size = 5
shadow_boost = 3
shadow_color = rgb(255,255,255)
}

BIN
pc/configs/hypr/wall_4K.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -0,0 +1,8 @@
#!/bin/bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
/usr/libexec/xdg-desktop-portal-hyprland &
sleep 2
/usr/lib/xdg-desktop-portal &

98
pc/configs/waybar/config.jsonc Executable file
View File

@@ -0,0 +1,98 @@
{
"layer": "top",
"position": "top",
"mod": "dock",
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
"height": 0,
"modules-left": [
"clock",
"cpu",
"memory",
"hyprland/workspaces"
],
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
"network",
"custom/dualsense",
"pulseaudio",
"pulseaudio#microphone",
"custom/powerMenu"
],
"hyprland/window": {
"format": "{}"
},
"tray": {
"icon-size": 14,
"spacing": 8
},
"custom/dualsense": {
"tooltip": false,
"return-type": "json",
"exec": "$HOME/.config/waybar/dualsense-notifier.sh",
"on-click": "dualsensectl power-off"
},
"custom/powerMenu": {
"format": "⏻",
"on-click": "rofi -show p -modi p:rofi-power-menu -theme ~/.config/rofi/themes/power.rasi"
},
"network": {
"format-disconnected": " Net",
"format-wifi": "{icon} {essid}",
"format-ethernet": " Wired",
"tooltip-format-ethernet": "<big>Ethernet</big>\nInterface: {ifname}\nIP: {ipaddr}\nUp/Down (bps): {bandwidthUpBits}/{bandwidthDownBits}",
"tooltip-format-wifi": "<big>Wi-Fi</big>\nSSID: {essid}\nIP: {ipaddr}\nSignal strength: {signalStrength}%\nUp/Down (bps): {bandwidthUpBits}/{bandwidthDownBits}\nFrequency: {frequency}GHz",
"tooltip-format-disconnected": "<big>Networking</big>\n{ifname} disconnected",
"on-click": "terminator -x nmtui",
"format-icons": ["", "", "", ""]
},
"clock": {
"format": "{:%a, %d.%m %H:%M:%S}",
"tooltip-format": "<big>Calendar</big>\n<tt><small>{calendar}</small></tt>",
"interval": 1
},
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"on-click": "activate",
"format": "{icon}"
},
"cpu": {
"tooltip-format": "<big>CPU</big>\n<tt>Total: {usage}</tt>",
"format": " {usage}",
"interval": 5
},
"memory": {
"format": " {percentage}",
"interval": 5
},
"pulseaudio": {
"format": "{icon} {volume}",
"tooltip": true,
"format-muted": " Off",
"on-click": "pamixer -t",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "🏎",
"default": ["", "", ""]
}
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}",
"format-source-muted": " 0",
"on-click": "pamixer --default-source -t",
"on-scroll-up": "pamixer --default-source -i 5",
"on-scroll-down": "pamixer --default-source -d 5",
"scroll-step": 5
}
}

View File

@@ -0,0 +1,117 @@
* {
border: none;
border-radius: 0;
font-family: Cartograph CF Nerd Font, monospace;
font-weight: bold;
font-size: 13px;
min-height: 0;
margin-left: 3px;
margin-right: 3px;
}
window#waybar {
background: rgba(0, 0, 0, 0.8);
color: #cdd6f4;
}
tooltip {
background: #1e1e2e;
border-radius: 10px;
border-width: 2px;
border-style: solid;
border-color: #11111b;
}
#workspaces button {
padding: 3px;
color: #313244;
margin-right: 5px;
}
#workspaces button.active {
color: #a6adc8;
}
#workspaces button.focused {
color: #a6adc8;
background: #eba0ac;
border-radius: 10px;
}
#workspaces button.urgent {
color: #11111b;
background: #a6e3a1;
border-radius: 10px;
}
#workspaces button:hover {
background: #11111b;
color: #cdd6f4;
border-radius: 10px;
}
#workspaces {
background: #1e1e2e;
border-radius: 10px;
margin-left: 10px;
padding-right: 0px;
padding-left: 5px;
}
#window,
#clock,
#custom-powerMenu,
#pulseaudio,
#memory,
#tray,
#custom-dualsense,
#network,
#workspaces,
#cpu {
background: #000024;
padding: 4px 12px;
margin: 3px 2px;
margin-top: 9px;
border: 1px solid #181825;
border-radius: 10px;
}
#tray {
border-radius: 10px;
margin-right: 10px;
}
#cpu {
margin-right: 0;
border-radius: 10px 0px 0px 10px;
background-color: #222244;
}
#memory {
color: #89b4fa;
margin-left: 0;
border-radius: 0px 10px 10px 0px;
background-color: #222244;
}
#window {
border-radius: 10px;
margin-left: 60px;
margin-right: 60px;
}
#clock {
color: #a6f7ad;
}
#pulseaudio {
color: #89b4fa;
border-left: 0px;
border-right: 0px;
}
#pulseaudio.microphone {
color: #a6f7ad;
border-left: 0px;
border-right: 0px;
}

View File

@@ -0,0 +1,34 @@
#!/bin/bash
notify_id=-1
icon="/usr/share/icons/breeze-dark/devices/64/input-gamepad.svg"
dev=$(echo $DS_DEV | tr '[:lower:]' '[:upper:]')
case "$1" in
add)
notify_id=$(notify-desktop -r $notify_id -i $icon "$dev" "Controller connected")
while true; do
class=""
battery=$(dualsensectl battery 2> /dev/null)
perc=$(echo $battery | cut -d' ' -f1)
state=$(echo $perc | cut -d' ' -f2)
if [ -z "$perc" -o -z "$state" ]; then
exit;
fi
if [ $perc -lt 15 -a "$state" != "charging" ]; then
notify_id=$(notify-desktop -r $notify_id -i $icon "$dev" "Low battery ${perc}%")
fi
echo "{\"class\": \"$class\", \"text\": \" ${perc}%\"}"
sleep 5m
done
;;
remove)
notify_id=$(notify-desktop -r $notify_id -i $icon "$dev" "Controller disconnected")
echo "{\"text\": \"\"}"
;;
*)
echo "{\"text\": \"\"}"
exec dualsensectl monitor add "${BASH_SOURCE[0]} add" remove "${BASH_SOURCE[0]} remove"
;;
esac

View File

@@ -0,0 +1,112 @@
* {
border: none;
border-radius: 0;
font-family: Cartograph CF Nerd Font, monospace;
font-weight: bold;
font-size: 13px;
min-height: 0;
margin-left: 3px;
margin-right: 3px;
}
window#waybar {
background: rgba(0, 0, 0, 0);
color: #cc5c00;
}
tooltip {
background: black;
border-radius: 10px;
border-width: 2px;
border-style: solid;
border-color: #cc5c00;
}
#workspaces button {
padding: 3px;
color: #a79f9d;
margin-right: 5px;
}
#workspaces button.active {
color: white;
}
#workspaces button.focused {
color: white;
background: #cc5c00;
border-radius: 10px;
}
#workspaces button.urgent {
color: white;
background: #cc5c00;
border-radius: 10px;
}
#workspaces button:hover {
background: white;
color: #cc5c00;
border-radius: 10px;
}
#workspaces {
background: black;
border-radius: 10px;
margin-left: 10px;
padding-right: 0px;
padding-left: 5px;
}
#window,
#clock,
#custom-powerMenu,
#pulseaudio,
#memory,
#tray,
#custom-dualsense,
#network,
#workspaces,
#cpu {
background: black;
padding: 4px 12px;
margin: 3px 2px;
margin-top: 9px;
border: 1px solid rgb(204, 92, 0);
border-radius: 10px;
}
#tray {
border-radius: 10px;
margin-right: 10px;
}
#cpu {
margin-right: 0;
border-radius: 10px 0px 0px 10px;
background-color: #010006;
}
#memory {
margin-left: 0;
border-radius: 0px 10px 10px 0px;
background-color: #010006;
}
#window {
border-radius: 10px;
margin-left: 60px;
margin-right: 60px;
}
#clock {
color: #009e58;
}
#pulseaudio {
color: #9b1603;
}
#pulseaudio.microphone {
color: rgb(167, 159, 157);
}

113
pc/configs/waybar/style.css Executable file
View File

@@ -0,0 +1,113 @@
* {
border: none;
border-radius: 0;
font-family: 'FluentSystemIcons-Regular,Comfortaa', monospace;
font-weight: bold;
font-size: 13px;
min-height: 0;
margin-left: 3px;
margin-right: 3px;
}
window#waybar {
background: rgba(0, 0, 0, 0);
color: #cc5c00;
}
tooltip {
background: black;
border-radius: 10px;
border-width: 2px;
border-style: solid;
border-color: #cc5c00;
}
#workspaces button {
padding: 3px;
color: #a79f9d;
margin-right: 5px;
}
#workspaces button.active {
color: white;
}
#workspaces button.focused {
color: white;
background: #cc5c00;
border-radius: 10px;
}
#workspaces button.urgent {
color: white;
background: #cc5c00;
border-radius: 10px;
}
#workspaces button:hover {
background: white;
color: #cc5c00;
border-radius: 10px;
}
#workspaces {
background: black;
border-radius: 10px;
margin-left: 10px;
padding-right: 0px;
padding-left: 5px;
}
#window,
#clock,
#custom-powerMenu,
#pulseaudio,
#memory,
#tray,
#custom-dualsense,
#network,
#workspaces,
#cpu {
background: black;
padding: 4px 12px;
margin: 3px 2px;
margin-top: 9px;
border: 1px solid rgb(204, 92, 0);
border-radius: 10px;
}
#tray {
border-radius: 10px;
margin-right: 10px;
}
#cpu {
margin-right: 0;
border-radius: 10px 0px 0px 10px;
background-color: #010006;
}
#memory {
margin-left: 0;
border-radius: 0px 10px 10px 0px;
background-color: #010006;
}
#window {
border-radius: 10px;
margin-left: 60px;
margin-right: 60px;
}
#clock {
color: #009e58;
min-width: 125px;
}
#pulseaudio {
color: #9b1603;
}
#pulseaudio.microphone {
color: rgb(167, 159, 157);
}

3
pc/docker/daemon.json Normal file
View File

@@ -0,0 +1,3 @@
{
"data-root": "/mnt/storage/docker"
}

16
pc/environment Normal file
View File

@@ -0,0 +1,16 @@
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
QT_QPA_PLATFORMTHEME=qt5ct
QT_STYLE_OVERRIDE=kvantum
GCM_CREDENTIAL_STORE=secretservice
VKD3D_CONFIG=dxr11,dxr
RADV_PERFTEST_RT=1
ANDROID_HOME=/home/janis/Android/Sdk
QT_QPA_PLATFORM=wayland
JELLYFIN_WEB_DIR=/usr/share/jellyfin-web
GTK_THEME=Material-Black-Blueberry
EDITOR=nvim

63
pc/grub Normal file
View File

@@ -0,0 +1,63 @@
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=1920x1080
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true
# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y
# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME="/usr/share/grub/themes/monterey-grub-theme/theme.txt"

2077
pc/installedPackages.txt Normal file

File diff suppressed because it is too large Load Diff

73
pc/mkinitcpio.conf Normal file
View File

@@ -0,0 +1,73 @@
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(usbhid xhci_hcd)
MODULES=()
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=()
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No RAID, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect modconf block filesystems fsck)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev modconf block filesystems fsck)
#
## This setup assembles a mdadm array with an encrypted root file system.
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
## This setup loads an lvm2 volume group.
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr and fsck hooks.
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck plymouth)
# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

13
pc/mnt/mnt-janis.mount Executable file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Mount Share at boot
[Mount]
What=//192.168.1.136/janis
Where=/mnt/janis
Options=_netdev,credentials=/etc/samba/credentials/janis,iocharset=utf8,rw,uid=janis,gid=janis
Type=cifs
TimeoutSec=30
ForceUnmount=true
[Install]
WantedBy=multi-user.target

13
pc/mnt/mnt-janisShare.mount Executable file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Mount Share at boot
[Mount]
What=//192.168.1.136/janis-share
Where=/mnt/janisShare
Options=_netdev,credentials=/etc/samba/credentials/janis,iocharset=utf8,rw,uid=janis,gid=janis
Type=cifs
TimeoutSec=30
ForceUnmount=true
[Install]
WantedBy=multi-user.target

13
pc/mnt/mnt-shared.mount Executable file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Mount Share at boot
[Mount]
What=//192.168.1.136/shared
Where=/mnt/shared
Options=_netdev,credentials=/etc/samba/credentials/janis,iocharset=utf8,rw,uid=janis,gid=janis
Type=cifs
TimeoutSec=30
ForceUnmount=true
[Install]
WantedBy=multi-user.target

100
pc/pacman.conf Normal file
View File

@@ -0,0 +1,100 @@
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
ILoveCandy
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[arch4edu]
Server = https://de.arch4edu.mirror.kescher.at/$arch
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

48
pc/vscode-extensions Normal file
View File

@@ -0,0 +1,48 @@
aaron-bond.better-comments
abusaidm.html-snippets
bmewburn.vscode-intelephense-client
bungcip.better-toml
dbaeumer.vscode-eslint
dlasagno.rasi
donjayamanne.jquerysnippets
ecmel.vscode-html-css
equinusocio.vsc-community-material-theme
equinusocio.vsc-material-theme
equinusocio.vsc-material-theme-icons
eww-yuck.yuck
fivethree.vscode-hugo-snippets
formulahendry.auto-rename-tag
github.github-vscode-theme
gitlab.gitlab-workflow
golang.go
hollowtree.vue-snippets
ionic.ionic
james-yu.latex-workshop
lllllllqw.jsdoc
mads-hartmann.bash-ide-vscode
mathematic.vscode-latex
mathiasfrohlich.kotlin
mechatroner.rainbow-csv
ms-python.debugpy
ms-python.python
ms-vscode.cpptools
nadim-vscode.html-meta-tags-hero
nilssoderman.sitemap-generator
pwabuilder.pwa-studio
quicktype.quicktype
redhat.java
redhat.vscode-xml
rust-lang.rust-analyzer
sbsnippets.pytorch-snippets
spences10.robots-txt
streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-german
svelte.svelte-vscode
tecosaur.latex-utilities
valentjn.vscode-ltex
vitest.explorer
vscjava.vscode-java-debug
vscjava.vscode-java-test
vue.volar
wayou.vscode-todo-highlight
xdebug.php-debug