This usually occurs after windows update, because it has deleted linux efi and/or has rewrite the order of efi boot, putting windows efi at the top.
- Install TODO
- Go to TODO tab
- TODO
#!/bin/bash | |
set -ex | |
## Script to remove titlebar in Cursor on Gnome (based on https://github.com/getcursor/cursor/issues/837#issuecomment-2614109807) | |
APP_IMAGE=/opt/cursor-bin/cursor-bin.AppImage | |
BUILD_PATH=./patch-cursor | |
mkdir $BUILD_PATH | |
pushd $BUILD_PATH |
#!/bin/bash | |
set -e | |
sudo sed -i 's/Device "dGPU"/Device "iGPU"/g' /etc/X11/xorg.conf | |
sudo shutdown -r now |
#!/bin/bash | |
set -e | |
sudo sed -i 's/Device "iGPU"/Device "dGPU"/g' /etc/X11/xorg.conf | |
sudo shutdown -r now |
#!/bin/bash | |
# https://wiki.manjaro.org/index.php?title=System_Maintenance | |
# automatically purge all .cache files that have not been accessed in 100 days | |
sudo find ~/.cache/ -type f -atime +100 -delete | |
# remove all but the most recent entries by size or time | |
sudo journalctl --vacuum-size=50M | |
sudo journalctl --vacuum-time=7d |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | |
"RealTimeIsUniversal"=qword:00000001 |
#!/bin/bash | |
# yay for aur | |
sudo sed -i 's/#Color/Color/g' /etc/pacman.conf | |
sudo pacman -Syyu --noconfirm | |
sudo pacman -S base-devel yay --noconfirm | |
# neovim | |
sudo pacman -S neovim --noconfirm | |
sudo ln -s /usr/bin/nvim /usr/bin/vim |
# | |
# ~/.bashrc | |
# | |
[[ $- != *i* ]] && return | |
colors() { | |
local fgc bgc vals seq0 | |
printf "Color escapes are %s\n" '\e[${value};...;${value}m' |