Jafner.net/dotfiles_gitea/.zsh_history
2024-06-04 03:04:47 -07:00

414 lines
16 KiB
Plaintext

ls
nano ~/.zshrc
fc-list
fc-list | grep jetbrains
fc-list | grep -i jetbrains
if [[ $(fc-list) =~ "JetBrainsMonoNerdFont" ]]; then echo "True"; else echo "False"; fi
if [[ $(fc-list) =~ "FoobarFakeFont" ]]; then echo "True"; else echo "False"; fi
if [ -x "$(command -v zsh)" ]; then echo "True"; else echo "False"; fi
if ! [ -x "$(command -v zsh)" ]; then echo "True"; else echo "False"; fi
echo
cat /etc/shells
chsh -s /usr/bin/zsh
echo $SHELL
if [ -z "$SHELL" ] || [ "$(basename $SHELL)"!= "zsh" ]; then\
echo "True"\
else\
echo "False"\
fi
if [ -z "$SHELL" ] || [ "$(basename $SHELL)" != "zsh" ]; then\
echo "True"\
else\
echo "False"\
fi
if [ -z "$SHELL" ]; then echo "True"; fi
xeyes
if [! -f "$HOME/.zshrc" ]; then echo "True"; fi
if ! [ -f "$HOME/.zshrc" ]; then echo "True"; fi
cat ~/.zshrc
cat ~/.zshrc | wl-clipboard
cat ~/.zshrc | wl-copy
sudo dnf search fzf
sudo dnf uninstall fzf
sudo dnf remove fzf
p10k configure
sudo dnf search zoxide
sudo dnf info zoxide
zoxide --help
zoxide init
zoxide init zsh
zoxide init --cmd z zsh
gnome-terminal
zsh
z ~/.local
which zsh
zsh z ~/.local
kitty --config
ls ~/.config/kitty
nano ~/.config/kitty/kitty.conf
exit
source ~/.zshinit
source ~/.zsh
source ~/.zshrc
: 1717145557:0;xrandr
: 1717147635:0;sudo dnf list-installed | grep gtk
: 1717147641:0;sudo dnf list
: 1717147651:0;sudo dnf list --installed | grep gtk
: 1717147680:0;sudo dnf search breeze-dark
: 1717147685:0;sudo dnf search breeze
: 1717147928:0;which bash
: 1717147937:0;chsh /usr/bin/bash
: 1717147943:0;chsh joey
: 1717147955:0;bash
: 1717182919:0;nano ~/.zshrc
: 1717182941:0;cat
: 1717183332:0;nano ~/.zshrc
: 1717183600:0;source ~/.zshrc
: 1717183616:0;nano ~/.zshrc
: 1717183691:0;source ~/.zshrc
: 1717191990:0;cd Git/
: 1717191990:0;ls
: 1717191998:0;cd obs-scripts
: 1717191998:0;ls
: 1717192006:0;cd obs-wayland-shortcuts
: 1717192007:0;ls
: 1717192009:0;cat recording-toggle.py
: 1717192208:0;python -c "import obsws_python;obsws_python.ReqClient(host='localhost',port=4455).toggle_record()"
: 1717192230:0;which python
: 1717192714:0;gamemoded -s
: 1717192738:0;watch -n 1 gamemoded -s
: 1717193128:0;nano ~/.zshrc
: 1717193187:0;source ~/.zshrc
: 1717193203:0;echo "Some long string to navigate on the terminal."
: 1717193220:0;nano ~/.zshrc
: 1717193276:0;cat
: 1717193896:0;source ~/.zshrc
: 1717194190:0;ps aux
: 1717194255:0;ps aux | grep runner
: 1717194978:0;xrandr
: 1717195710:0;gamemoded -s
: 1717195721:0;gamemoded --help
: 1717195733:0;gamemoded -r
: 1717195739:0;gamemoded -s
: 1717195780:0;cat $XDG_CONFIG_HOME/gamemode.ini
: 1717195786:0;cat /etc/gamemode.ini
: 1717195794:0;cat ~/gamemode.ini
: 1717195815:0;gamemoded -s
: 1717195874:0;systemctl --user stop gamemoded.service
: 1717195879:0;gamemoded -s
: 1717195897:0;systemctl status pipewire-pulse
: 1717195901:0;systemctl --user status pipewire-pulse
: 1717195924:0;nano ~/.zshrc
: 1717196152:0;systemctl --user restart pipewire-pulse
: 1717196176:0;systemctl --user status pipewire-pulse
: 1717196315:0;source ~/.zshrc
: 1717196509:0;gamescopereset
: 1717196523:0;cat ~/.bashrc.d/aliases
: 1717196534:0;alias gamescopereset='kill $(ps aux | grep lutris | tr -s " " | cut -d" " -f 2)'
: 1717196538:0;gamescopereset
: 1717196600:0;alias audiofix='systemctl --user restart pipewire-pulse'
: 1717196637:0;gamescopereset
: 1717196640:0;audiofix
: 1717196732:0;setsebool -P selinuxuser_execheap 1
: 1717196736:0;sudo setsebool -P selinuxuser_execheap 1
: 1717197111:0;sudo setsebool -P mmap_low_allowed 1
: 1717200891:0;cd Git/
: 1717200892:0;ls
: 1717200906:0;cd ~/Nextcloud/Dotfiles
: 1717200906:0;ls
: 1717200910:0;ls Scripts
: 1717200914:0;ls Fedora
: 1717200916:0;cd Fedora
: 1717226366:0;cd ~/Git
: 1717226372:0;git clone https://github.com/jeanslack/Videomass
: 1717226381:0;cd Videomass/
: 1717226382:0;ls
: 1717226388:0;python launcher
: 1717226405:0;sudo dnf install wxpython-phoenix
: 1717226419:0;sudo dnf search wxpython
: 1717226448:0;sudo dnf install python3-wxpython4
: 1717226557:0;sudo dnf search wxpython
: 1717226571:0;sudo dnf install python3-wxpython4-media python3-wxpython4-webview
: 1717226621:0;python launcher
: 1717226660:0;sudo dnf search yt-dlp
: 1717226674:0;sudo dnf install yt-dlp
: 1717226690:0;python launcher
: 1717226722:0;sudo dnf search pypubsub
: 1717226734:0;sudo dnf install python3-pypubsub
: 1717226770:0;sudo dnf search requests ffprobe ffplay
: 1717226775:0;sudo dnf search requests
: 1717226804:0;sudo dnf install python3-requests
: 1717226812:0;sudo dnf install ffprobe
: 1717226819:0;which ffprobe
: 1717226822:0;which ffplay
: 1717226826:0;python launcher
: 1717227383:0;cat ~/Nextcloud/Dotfiles/Fedora/clip.sh
: 1717229083:0;sudo dnf search plasma
: 1717229105:0;sudo dnf search kwin
: 1717229134:0;sudo dnf info kwin
: 1717229953:0;cd ~/Nextcloud/Dotfiles/Fedora
: 1717267176:0;dnf repolist
: 1717267235:0;sudo dnf repolist --all
: 1717267240:0;sudo dnf repolist --enabled
: 1717267282:0;sudo dnf config-manager
: 1717280939:0;sudo dnf config-manager --disable qbittorrent-cli-qbittorrent-cli
: 1717280944:0;sudo dnf config-manager --disable qbittorrent-cli-qbittorrent-cli-noarch
: 1717280948:0;sudo dnf config-manager --disable qbittorrent-cli-qbittorrent-cli-source
: 1717280953:0;sudo dnf update
: 1717282199:0;dnf info xdg-desktop-portal-kde
: 1717307506:0;echo $(( 27 / 5 ))
: 1717307512:0;echo $(( 29 / 5 ))
: 1717308222:0;razer-cli --help
: 1717308233:0;sudo dnf install razer-cli
: 1717308248:0;sudo dnf search razer-cli
: 1717308251:0;sudo dnf search razer
: 1717308297:0;cd ~/Git
: 1717308297:0;ls
: 1717308302:0;cd razer-cli
: 1717308302:0;ls
: 1717308316:0;sudo python setup.py install
: 1717308322:0;razer-cli --help
: 1717308371:0;dock_name="Razer Mouse Dock"
: 1717308413:0;razer-cli -d $dock_name -c 255 0 0
: 1717308523:0;echo $((16#55FF00))
: 1717308529:0;echo $((16#55))
: 1717308590:0;razer-cli -d $dock_name -ll
: 1717308621:0;razer-cli -d $dock_name -c 85 255 0
: 1717308781:0;cd ~/Projects/LLMs
: 1717308782:0;ls
: 1717308788:0;docker compose up -d ollama
: 1717308793:0;./sync-modelfiles
: 1717309408:0;full_charge_color_code_dec="85 255 0"
: 1717309416:0;color_r=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 1)\
color_g=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 2)\
color_b=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 3)
: 1717309420:0;echo $color_r
: 1717309424:0;echo $color_g
: 1717309429:0;echo $color_b
: 1717309612:0;current_charge_percent=$(razer-cli --battery print | grep charge | tr -s ' ' | cut -d' ' -f 3)
: 1717309621:0;echo $current_charge_percent
: 1717309653:0;razer-cli --battery print
: 1717309708:0;device_name="Razer Viper Ultimate (Wireless)"\
device_name_alternate="Razer Viper Ultimate (Wired)"
: 1717309728:0;razer-cli -d $device_name --battery print
: 1717309753:0;razer-cli -d $device_name --battery print | grep charge | tr -s ' ' | cut -d' ' -f 3
: 1717311309:0;cd ~/Nextcloud/Dotfiles/Fedora
: 1717311310:0;full_charge_color_code_dec="85 255 0" \
low_charge_color_code_dec="255 0 0"
: 1717311318:0;color_range_r=${(($(echo "$full_charge_color_code_dec" | cut -d' ' -f 1) - $(echo "$low_charge_color_code_dec" | cut -d' ' -f 1)))#-}
: 1717311430:0;full_r=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 1)\
low_r=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 1)\
\
color_range_r=(($full_r - $low_r))\
color_range_r=${color_range_r#-}
: 1717311456:0;full_r=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 1)
: 1717311463:0;low_r=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 1)\
: 1717311469:0;color_range_r=(($full_r - $low_r))
: 1717311486:0;color_range_r=$(($full_r - $low_r))
: 1717311492:0;echo $color_range_r
: 1717311498:0;${color_range_r#-}
: 1717311507:0;color_range_r=${color_range_r#-}
: 1717311510:0;echo $color_range_r
: 1717311529:0;full_r=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 1)\
low_r=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 1)\
\
color_range_r=${$(($full_r - $low_r))#-}
: 1717311533:0;echo $color_range_r
: 1717311781:0;charge_range=((100 - $low_charge_percent))
: 1717311789:0;charge_range=$((100 - $low_charge_percent))
: 1717311798:0;low_charge_percent=$(razer-cli -d "$device_name" --battery low | grep "low threshold" | tr -s ' ' | cut -d' ' -f 4)
: 1717311804:0;charge_range=$((100 - $low_charge_percent))
: 1717311827:0;charge_range=$(( 100 - $low_charge_percent ))
: 1717311834:0;echo $low_charge_percent
: 1717311852:0;low_charge_percent=25
: 1717311854:0;charge_range=$(( 100 - $low_charge_percent ))
: 1717311859:0;echo $charge_range
: 1717311920:0;charge_scaled=$(($((57 - $low_charge_percent)) / $charge_range))
: 1717311925:0;echo $charge_scaled
: 1717311991:0;charge_scaled=$(($(($((57 - $low_charge_percent)) * 100)) / $charge_range))
: 1717311993:0;echo $charge_scaled
: 1717312651:0;razer-cli -d $device_name --battery print | grep charge | tr -s ' ' | cut -d' ' -f 3
: 1717312666:0;device_name="Razer Viper Ultimate (Wireless)"\
device_name_alternate="Razer Viper Ultimate (Wired)"\
dock_name="Razer Mouse Dock"
: 1717312668:0;razer-cli -d $device_name --battery print | grep charge | tr -s ' ' | cut -d' ' -f 3
: 1717312700:0;chmod +x RazerViperUltimate-IndicateBatteryOnDock.sh
: 1717312705:0;./RazerViperUltimate-IndicateBatteryOnDock.sh
: 1717312739:0;full_charge_color_code_dec="85 255 0" \
low_charge_color_code_dec="255 0 0"
: 1717312745:0;full_r=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 1)\
low_r=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 1)\
color_range_r=${$(($full_r - $low_r))#-}
: 1717312751:0;full_g=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 2)\
low_g=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 2)\
color_range_g=${$(($full_g - $low_g))#-}
: 1717312757:0;full_b=$(echo "$full_charge_color_code_dec" | cut -d' ' -f 3)\
low_b=$(echo "$low_charge_color_code_dec" | cut -d' ' -f 3)\
color_range_b=${$(($full_b - $low_b))#-}
: 1717312766:0;echo $color_range_r
: 1717312768:0;echo $color_range_g
: 1717312770:0;echo $color_range_b
: 1717312790:0;bash
: 1717314486:0;razer-cli -ll
: 1717387102:0;razer-cli -d "Razer Mouse Dock" -c 127 127 0
: 1717389216:0;cd ~/Git
: 1717389219:0;ls
: 1717389241:0;mkdir Razer-BatteryLevelRGB
: 1717389245:0;cd Razer-BatteryLevelRGB
: 1717389248:0;git init
: 1717389271:0;cp ~/Nextcloud/Dotfiles/Fedora/RazerViperUltimate-IndicateBatteryOnDock.sh ./Razer-BatteryLevelRGB.sh
: 1717389272:0;ls
: 1717389281:0;nano ./README.md
: 1717391257:0;charge=23
: 1717391261:0;low_charge_percent=25
: 1717391281:0;if [[ $charge -lt $low_charge_percent ]]; then echo "True"; fi
: 1717391289:0;charge=27
: 1717391291:0;if [[ $charge -lt $low_charge_percent ]]; then echo "True"; fi
: 1717392175:0;git remote add origin git@github.com:Jafner/Razer-BatteryLevelRGB.git
: 1717392369:0;git status
: 1717392384:0;git add -a
: 1717392388:0;git add -A
: 1717392390:0;git status
: 1717392452:0;git add -A
: 1717392473:0;razer-cli --version
: 1717392521:0;git add -A
: 1717392522:0;git status
: 1717392534:0;git commit -m "Init"
: 1717392536:0;git push
: 1717392543:0;git push --set-upstream origin main
: 1717392563:0;git pull
: 1717392575:0;git pull origin main
: 1717392591:0;git config pull.rebase true
: 1717392592:0;git pull origin main
: 1717392596:0;git push --set-upstream origin main
: 1717392602:0;git status
: 1717393472:0;ps aux | grep Razer
: 1717394074:0;pandoc
: 1717394210:0;echo "Some note to take" | sed -i 'g/^/- /'
: 1717394216:0;echo "Some note to take" | sed 'g/^/- /'
: 1717394279:0;echo "Some note to take" | sed -e 's/^/- /'
: 1717394377:0;echo "Some note to take" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/2024_06_02.md
: 1717394415:0;cat ~/Documents/Notes/Daily/2024_06_02.md
: 1717394427:0;echo "Some note to take" | sed -e 's/^/- /'
: 1717394436:0;echo "Some note to take" | sed -e 's/^/- /' > TEXT
: 1717394439:0;cat TEXT
: 1717394446:0;echo "Some note to take" | sed -e 's/^/- /' >> TEXT
: 1717394447:0;cat TEXT
: 1717394468:0;echo "Some note to take" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/2024_06_02.md
: 1717394515:0;date
: 1717394518:0;date --help
: 1717394602:0;date %Y_%m_%d
: 1717394620:0;date +%Y_%m_%d
: 1717394671:0;echo "Some note to take" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/$(date +%Y_%m_%d).md
: 1717394723:0;nano ~/.zshrc
: 1717394831:0;function jot () { echo "$@" }
: 1717394844:0;jot Some note
: 1717394881:0;jot A longer note, but with some characters that might fuck up the interpreter. Can we use [links in markdown format](https://example.org)?
: 1717394896:0;jot "A longer note, but with some characters that might fuck up the interpreter. Can we use [links in markdown format](https://example.org)?"
: 1717394929:0;function jot () { echo "$@" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/$(date +%Y_%m_%d).md }
: 1717394966:0;jot "We got the jot commaand working\
"
: 1717394996:0;jot 'We really got it working!'
: 1717395016:0;nano ~/.zshrc
: 1717395147:0;funciton test () { if [ -z "$@" ]; then echo "True"; fi }
: 1717395157:0;test "Should be false"
: 1717395159:0;test
: 1717395244:0;function jot () { if [ -z "$@" ]; then echo "Usage: jot 'Some note to take'; else echo "$@" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/$(date +%Y_%m_%d).md; fi }
: 1717395252:0;function jot () { if [ -z "$@" ]; then echo "Usage: jot 'Some note to take'"; else echo "$@" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/$(date +%Y_%m_%d).md; fi }
: 1717395260:0;jot
: 1717395295:0;function jot () { if [ -z "$@" ]; then echo -e "Usage: jot 'Some note to take'\nRemember to use single quotes"; else echo "$@" | sed -e 's/^/- /' >> ~/Documents/Notes/Daily/$(date +%Y_%m_%d).md; fi }
: 1717395297:0;jot
: 1717395305:0;nano ~/.zshrc
: 1717395320:0;source ~/.zshrc
: 1717403407:0;xrandr
: 1717443994:0;ls -la | grep '^\.'
: 1717443997:0;ls -la | grep '^.'
: 1717444021:0;ls -la | grep "^."
: 1717444025:0;ls -la | grep "^\."
: 1717444037:0;ls -la | grep -E "^\."
: 1717444039:0;ls -la | grep -E "^."
: 1717444065:0;ls -la | grep -E "^\."
: 1717444074:0;ls -la | grep -E "^\.
: 1717444078:0;ls -la | grep -E '^\.'
: 1717444085:0;ls -la | grep -E ^\.
: 1717444099:0;ls -la | grep -w ^\.
: 1717444103:0;ls -la | grep -w "^\."
: 1717444107:0;ls -la | grep -w '^\.'
: 1717444127:0;ls -la | grep ^\.
: 1717444140:0;ls -la | grep '^\.*'
: 1717444211:0;ls -la | grep '.*'
: 1717444262:0;ls -la | grep [^.*]
: 1717444316:0;ls -la | grep '^\.'
: 1717444327:0;ls -la | grep '^\..*'
: 1717444328:0;ls -la | grep '^\.*'
: 1717444355:0;ls -la | grep '^\.'
: 1717444377:0;ls -la | tr -s ' ' | cut -d' ' -f8 | grep '^\.'
: 1717444380:0;ls -la | tr -s ' ' | cut -d' ' -f8
: 1717444382:0;ls -la | tr -s ' ' | cut -d' ' -f9
: 1717444392:0;ls -la | tr -s ' ' | cut -d' ' -f9 | grep '^\.'
: 1717444405:0;ls -la ~ | tr -s ' ' | cut -d' ' -f9 | grep '^\.'
: 1717444633:0;cat .gitconfig
: 1717444647:0;ls .ssh
: 1717448580:0;cd ~/.local
: 1717448580:0;ls
: 1717448582:0;cd share
: 1717448583:0;ls
: 1717448586:0;cd nautilus
: 1717448586:0;ls
: 1717448589:0;cd scripts
: 1717448589:0;ls
: 1717449171:0;cd .config/
: 1717449172:0;ls
: 1717449179:0;cat dolphinrc
: 1717449519:0;ls
: 1717458893:0;cd ..
: 1717458912:0;pwd
: 1717458920:0;ls -a
: 1717467205:0;cd ~~
: 1717467207:0;cd ~
: 1717467211:0;gamescopereset
: 1717467220:0;cat ~/.bashrc.d/aliases
: 1717467229:0;alias gamescopereset='kill $(ps aux | grep lutris | tr -s " " | cut -d" " -f 2)'
: 1717482341:0;curl https://github.com/Jafner.keys
: 1717482418:0;ssh root@192.168.1.103
: 1717483902:0;nano ~/.ssh/known_hosts
: 1717483909:0;ssh root@192.168.1.103
: 1717485308:0;cd Git
: 1717485309:0;ls
: 1717485317:0;mkdir nixos-config
: 1717485319:0;cd nixos-config
: 1717485321:0;git init
: 1717485327:0;nano configuration.nix
: 1717491514:0;cd Git
: 1717491514:0;ls
: 1717491526:0;mkdir dotfiles
: 1717491529:0;cd dotfiles
: 1717491532:0;git init
: 1717491543:0;git checkout -b main
: 1717491553:0;touch README.md
: 1717491560:0;git add README.md
: 1717491566:0;git commit -m "Init"
: 1717491573:0;git remote add origin ssh://git@gitea.jafner.tools:2225/Jafner/dotfiles.git
: 1717491579:0;git push -u origin main
: 1717492217:0;ls .gnupg
: 1717492231:0;gpg --list-secret-keys
: 1717492423:0;ps aux | grep gpg
: 1717492428:0;gpgconf
: 1717492452:0;gpgconf -K gpg-agent
: 1717492455:0;gpgconf -R gpg-agent
: 1717492459:0;gpg --list-secret-keys
: 1717492534:0;ls ~/.gnupg
: 1717492547:0;ls ~/.gnupg/public-keys.d/
: 1717492562:0;rm ~/.gnupg/public-keys.d/pubring.db.lock
: 1717492564:0;gpg --list-secret-keys
: 1717493696:0;sudo dnf search wave
: 1717493735:0;ls /opt/Wave
: 1717493828:0;sudo dnf search Wave-linux
: 1717493879:0;sudo dnf list --installed | grep wave
: 1717493890:0;sudo dnf remove waveterm
: 1717493997:0;cd Git/dotfiles
: 1717494011:0;cp ~/.zshrc .
: 1717494022:0;cp ~/.zsh_history .