Compare commits
No commits in common. "079cec8402bafc20cddac7ff2013e131900c24dd" and "172396583ffb42d0e069f5c8572c1af5751f6b9f" have entirely different histories.
079cec8402
...
172396583f
11
.vimrc
11
.vimrc
|
@ -686,19 +686,16 @@ fu! CreateCtags()
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Abort if the file is in a root drive directory because we don't want to recurse across the entire drive!
|
" Abort if we're editing a text file. This won't be an exhaustive
|
||||||
|
" filter. We can restrict what goes into the tag file
|
||||||
|
" First determine if we're in a root drive directory. If we are then
|
||||||
|
" we bail because we don't want to recurse across the entire drive!
|
||||||
let l:path = expand('%:p:h')
|
let l:path = expand('%:p:h')
|
||||||
if IsRootDrive(l:path)
|
if IsRootDrive(l:path)
|
||||||
call PrintError("Not going to run ctags because the file is in a root drive directory")
|
call PrintError("Not going to run ctags because the file is in a root drive directory")
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Abort if the file is in the home directory for the same reason as above.
|
|
||||||
if l:path == expand('$HOME')
|
|
||||||
call PrintError("Not going to run ctags because the file is in the home directory")
|
|
||||||
return
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Always ignore .git and node_modules
|
" Always ignore .git and node_modules
|
||||||
let g:campo_ctags_exclude = g:campo_ctags_exclude + ['.git', 'node_modules']
|
let g:campo_ctags_exclude = g:campo_ctags_exclude + ['.git', 'node_modules']
|
||||||
let l:exclude_list = ""
|
let l:exclude_list = ""
|
||||||
|
|
|
@ -11,7 +11,7 @@ if [[ -d "/c/msys64" ]]; then
|
||||||
shell_is_mingw is_mingw
|
shell_is_mingw is_mingw
|
||||||
if [[ $is_mingw -eq 1 ]]; then
|
if [[ $is_mingw -eq 1 ]]; then
|
||||||
printf "${BOLD}${YELLOW}Updating MinGW Shell${NORMAL}\n"
|
printf "${BOLD}${YELLOW}Updating MinGW Shell${NORMAL}\n"
|
||||||
pacman --sync --refresh --sysupgrade
|
pacman -Syu
|
||||||
printf "${BOLD}${GREEN}Done!${NORMAL}\n"
|
printf "${BOLD}${GREEN}Done!${NORMAL}\n"
|
||||||
printf "\n${BOLD}Re-run this in a new shell if the updater requires the shells to be closed.\n"
|
printf "\n${BOLD}Re-run this in a new shell if the updater requires the shells to be closed.\n"
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,79 +1,13 @@
|
||||||
# Arch Linux
|
# Arch Linux
|
||||||
|
|
||||||
ughhhhhh had to reinstall the test vm like 5 times. finally got lxqt with virtualbox driver to load the desktop
|
|
||||||
but networking is not working. Perf is kinda shitty. UI is shitty. QT sucks. I hate linux.
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
* Installation guide https://wiki.archlinux.org/title/Installation_guide
|
|
||||||
* Can go through manually or use the new guided installer: `archinstall`
|
|
||||||
|
|
||||||
* use btrfs file system
|
|
||||||
* I guess I should enable compression but I'm not sure how it affects perf.
|
|
||||||
|
|
||||||
* I tried Luks disk encryption in a VirtualBox VM and I couldn't get into the
|
|
||||||
desktop. Locks up on login. Not sure if it's related to this...can try
|
|
||||||
encryption on a real install.
|
|
||||||
|
|
||||||
* desktop environment
|
|
||||||
**VM Test**
|
|
||||||
* lxqt, vmware graphics driver, lightdm-slick-greeter
|
|
||||||
|
|
||||||
* lxqt - X11 based. I was using lxde in the past but it was abandoned by
|
|
||||||
the original team. They made lxqt. It's QT based which is lame but might
|
|
||||||
be fine. This is lightweight and I have my old configs (for LXDE and
|
|
||||||
OpenBox) which might still be usable.
|
|
||||||
|
|
||||||
* sway - Wayland based. Martins uses this. I want to try it but it lacks
|
|
||||||
nvidia driver support and requires something called wlroots? I don't
|
|
||||||
want to mess with this in my testing vm. Maybe later if I do a proper
|
|
||||||
Arch install.
|
|
||||||
* https://github.com/tyqualters/sway-nvidia-guide
|
|
||||||
* https://www.reddit.com/r/archlinux/comments/yuu7ra/whats_the_difference_between_nvidia_and_nvidiaopen/
|
|
||||||
* using seatd for hardware device collection
|
|
||||||
|
|
||||||
## Graphics
|
|
||||||
|
|
||||||
* card family https://nouveau.freedesktop.org/CodeNames.html
|
|
||||||
* nvidia driver install guide https://github.com/korvahannu/arch-nvidia-drivers-installation-guide?tab=readme-ov-file
|
|
||||||
|
|
||||||
|
|
||||||
Martins — 06/17/2024 2:59 PM
|
|
||||||
if you don't want upstream releases then obviously arch is not for you, but
|
|
||||||
they have simple solution for that - aur, you can keep managing your
|
|
||||||
dependencies separately from system packages
|
|
||||||
|
|
||||||
Martins uses Sway:
|
|
||||||
Martins — 04/08/2024 10:41 PM
|
|
||||||
no, .bashrc
|
|
||||||
I have autologin on tty1
|
|
||||||
so whenever .bashrc executes on tty1, it starts sway:
|
|
||||||
|
|
||||||
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
export SDL_VIDEODRIVER=wayland
|
|
||||||
export GDK_BACKEND=wayland
|
|
||||||
export CLUTTER_BACKEND=wayland
|
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
export BEMENU_BACKEND=wayland
|
|
||||||
export TERMINAL=foot
|
|
||||||
export BROWSER=firefox
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
export XDG_SESSION_TYPE=wayland
|
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
|
||||||
exec systemd-cat -- sway
|
|
||||||
fi
|
|
||||||
|
|
||||||
Saw this on reddit: sudo pacman -S wayland xorg-xwayland xorg-xlsclients sway swaybg swaylock waybar wofi -y
|
|
||||||
What is wofi ?
|
|
||||||
|
|
||||||
|
|
||||||
* `config/` -> map contents to `~/.config`.
|
* `config/` -> map contents to `~/.config`.
|
||||||
* `home/` -> map contents to `~/`.
|
* `home/` -> map contents to `~/`.
|
||||||
|
|
||||||
|
# Setup
|
||||||
|
|
||||||
|
* Full disk encryption with Veracrypt
|
||||||
|
|
||||||
* Store /tmp in RAM
|
* Store /tmp in RAM
|
||||||
* 2024: looks like it's done by default. See https://wiki.archlinux.org/title/Tmpfs
|
|
||||||
|
|
||||||
* Move browser cache directories to /tmp as a means of reducing file writes on SSD
|
* Move browser cache directories to /tmp as a means of reducing file writes on SSD
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
* Expand the cert tree -> click on `Trusted Root Certificate Authorities` -> `Certificates`
|
* Expand the cert tree -> click on `Trusted Root Certificate Authorities` -> `Certificates`
|
||||||
* Before deleting a certificate, export it as a backup in case it's needed for system operation. Can also make a
|
* Before deleting a certificate, export it as a backup in case it's needed for system operation. Can also make a
|
||||||
restore point before making any changes.
|
restore point before making any changes.
|
||||||
* Note: I'm putting exports in backups/windows_certificates
|
|
||||||
|
|
||||||
* Maybe disable swapfile
|
* Maybe disable swapfile
|
||||||
* Not a good idea to have this turned on for SSDs since it's extra writes, and writing to an SSD degrades the drive. Probably best to put this on a spinning disk.
|
* Not a good idea to have this turned on for SSDs since it's extra writes, and writing to an SSD degrades the drive. Probably best to put this on a spinning disk.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user