Skip to content

hamadismail/i3-tweaks

Repository files navigation

i3 Tweaks

This repository contains configurations and customizations for the i3 window manager on Linux include required packages.

Screenshots

Old Configuration View

Old Configuration 1 Old Configuration 2

New Configuration View

Installation

To use these configurations, follow these steps:

  1. Clone this repository:

    git clone https://github.com/hamadismail/i3-tweaks.git
  2. Navigate to the repository directory:

    cd i3-tweaks
  3. Copy the configuration files to your i3 config directory:

    cp -r .config/i3 ~/.config/
  4. Restart i3 to apply the new configurations.

Configuration

Flatpak

To configure flatpak, follow these steps:

  1. Get access the filesystem:
    System mode

    sudo flatpak override --filesystem=$HOME

    User mode

    flatpak --user override --filesystem=$HOME
  2. Get access the themes and icons:
    For color theme

    flatpak --user override --env=GTK_THEME=Theme-name

    For icon theme

    flatpak --user override --env=ICON_THEME=Icon-name
  3. Open link in browser tab:
    Manually try to open a URL from the flatpak sandbox

    flatpak run --command=xdg-open com.spotify.Client https://www.google.com

    That is supposed to request a new browser tab or window, requested from within the sandbox

    Check if xdg-desktop-portal is installed:

    sudo pacman -S xdg-desktop-portal xdg-desktop-portal-gtk

    Restart the portal services:

    systemctl --user restart xdg-desktop-portal
    systemctl --user restart xdg-desktop-portal-gtk

    Fixing postman crashing issue:
    Go to the location

    ~/.var/app/com.getpostman.Postman/config/Postman/proxy

    And use this command

    openssl req -subj '/C=US/CN=Postman Proxy' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout postman-proxy-ca.key -out postman-proxy-ca.crt

Disk Encryption and Decryption Using LUKS

🔐 Create Disk Encryption:

  1. Add Disk Encryption
sudo cryptsetup -y luksFormat /dev/sdX

replace X with your disk

  1. Open Encrypted Disk
sudo cryptsetup -v luksOpen /dev/sdX <name-encrypted-disk>
  1. Format the Encrypted Disk
sudo mkfs.exfat /dev/mapper/<name-encrypted-disk>
  1. Mount the Encrypted Disk
sudo mount /dev/mapper/<name-encrypted-disk> /mnt/<directory-name>
  1. Unmount the Encrypted Disk
sudo umount /mnt/<directory-name>
  1. Close the Encrypted Disk
sudo cryptsetup -v luksClose <name-encrypted-disk>

❌ Remove Disk Encryption:

  1. (Erase Disk)
sudo cryptsetup erase /dev/sdX
  1. Format the Disk for Normal Use
sudo mkfs.exfat /dev/sdX

Check Disk Read and Write Speed

Write Speed:

sudo dd if=/dev/zero of=testfile bs=1M count=1024 oflag=direct

Read Speed:

sudo dd if=testfile of=/dev/zero bs=1M count=1024 iflag=direct

Usage

After installation, you can use the following keybindings (or whatever custom bindings you have set up):

  • Mod + Enter: Open terminal
  • Mod + d: Open dmenu
  • Mod + q: Close window
  • Mod + h/j/k/l: Navigate windows

For more details, refer to the configuration files.

Contributing

If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages