Skip to content

Hyprland, i3, nvim and termux setups, that l used at some point

Notifications You must be signed in to change notification settings

beispielsweise/Configuration-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

165 Commits
 
 
 
 
 
 

Repository files navigation

Configuration files by bspw.

This is a very minimal hyprland configuration. Easy to understand, does not include any fancy themeswitching and scripting.

Hyprland

Required apps:

For screenshots: grim slurp wl-copy wl-clipboard
Apps used in setup: alacritty swaync hyprlock swww waybar imv yad rofi pcmanfm-gtk3 scrcpy pavucontrol stow
Some external modules and apps: xdg-desktop-portal-hyprland bc pamixer brightnessctl network-manager-applet gnome-keyring rclone gvfs xarchiver p7zip unrar unzip zip

Installation guide:

  1. After cloning the repository, run stow -v -t ~ ~/path-to-core/core. This will simlink the core hyprland setup installation with stow.
    Now you need to choose which host-specific setup you will need:
    For dual-gpu installation run stow -v -t ~ msi-laptop
    For default gpu installation run stow -v -t ~ hp-laptop

Important

You must ALWAYS choose a host-specific setup to stow, otherwise the setup may be unstable.

Important

After adding new files/folders run stow -v -t ~ core
After remove files/folders run stow -v -D -t ~ core

Note

A new host specific configuration can be created. it must include a path and a file .config/hypr/host.conf. If you don't need to add new files into hypr directory, leave it EMPTY. Add new folders/files on a required level. If the new folders are NOT setup-specific, use core

  1. General hyprland setup
    D-Gpu/nvidia hyprland setup
  2. Waybar setup, Swaync setup
  3. Install GTK theme: WhiteSur-Dark
  4. Install JetbrainsMono Nerd font: copy ttf files to ~/.local/share/fonts/ then fc-cache -f -v
  5. Swww setup

Quickshell

Install quickshell sudo pacman -S quickshell or use yay -S quickshell-git Quickshell Guide
Installed Google Sans Flex, using it for everything

For Neovim, check Nvim setup hints:

Setups

To setup and use second built-in SSD natively, preform the following steps:

  1. Disable hybernation in Windows (Via regedit)
  2. Create a directory for your disc e.g. mkdir -p ~/SSD2
  3. Run sudo blkid. Search for LABEL="1TB" BLOCK_SIZE="512" UUID="0624F1AC24F19F3D" TYPE="ntfs", important is the LABEL matching the one you entered in windows. TYPE should be NTFS.
    copy the UUID
  4. Open the /etc/fstab file and add the following line:
UUID=COPIED_UUID /home/USERNAME/SSD2 ntfs-3g defaults,nofail,uid=1000,gid=1000,umask=0022 0 0


Just in case, check if the uid and gid values are correct by running id -u and id -g

Apps

MControlCenter (deprecated, but can still be useful.)

Controlls fans on an MSI laptop (Arch kernels have all modules, unlike fedora/pop_os or others)
To use an unsupported version (Like in my case)

  1. Open msi-ec.c in the cloned repository
  2. Locate a piece of code that will look like this:
result = ec_get_firmware_version(ver_by_ec);
if (result < 0)
    return result;

ver = ver_by_ec;

After the variable ver insert pr_info("MSI EC: FIRMWARE_READ = %s\n", ver); 3. Recompile make, reinstall sudo make install and REBOOT your system 4. After rebooting, paste sudo modprobe msi-ec
5. Now retrieve your EC firmware version via dmesg | grep -i FIRMWARE_READ to confirm, if it matches one under UNSUPPORTED and has a config available. In my case it was MSI Katana GF76 UC11 / 17L1EMS1.107 6. Search for the corresponding config (for 17L1EMS1 it is conf14). It would look like this: a structure, where the number matches the one in confX:

static const char *ALLOWED_FW_14[] __initconst = {
	"17L2EMS1.108", // Katana 17 B11UCX, Katana GF76 11UC
	"17L1EMS1.107", // -> insert EC version here
	NULL
};

Insert the previously found EC version, preserving the formatting. 7. Recompile make, reinstall sudo make install and REBOOT your system

Note

The module may need to be reinstalled after a linux kernel update

EasyEffects

For a microphone upgrade. Make sure to tick "Launch on startup" in preferences.

NBFC (Alternative utility to controll fans)

See setup

Rclone (Folder syncing)

  1. Install rclone, run rclone-config and finish setting up the Google Drive account
    Note the name of the remote () for later
  2. Run the command to sync you current local folder with remote GOodle Drive folder:
    rclone sync ~/<your-folder> <remote-name>:<google-drive-folder-name>.
    Flag --progress to see results.
    Flag --filter-from ~/.config/rclone/filters.txt or any other specified path to use a filter and avoid syncing unnecessary files.
    The file can contain the following lines, e.g.: - *.autosave.xopp
  3. Add the command with an alias to a .rc fil, e.g.:
  --filter-from ~/.config/rclone/filters.txt --progress"```

About

Hyprland, i3, nvim and termux setups, that l used at some point

Resources

Stars

Watchers

Forks