Skip to content

fibsussy/nmcli-lan-ip-setter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔧 Installation

One-Line Install (Arch Linux)

Precompiled binary (default, fast):

curl -fsSL https://raw.githubusercontent.com/fibsussy/nmcli-lan-ip-setter/main/install.sh | bash

Or build from source:

curl -fsSL https://raw.githubusercontent.com/fibsussy/nmcli-lan-ip-setter/main/install.sh | bash -s local

Note: For security, inspect the install script before running it. View it here.

Manual Installation

Prerequisites

Add yourself to the input group:

sudo usermod -a -G input $USER
# Log out and log back in for changes to take effect

From Source

# Clone and build
git clone https://github.com/fibsussy/nmcli-lan-ip-setter.git
cd nmcli-lan-ip-setter
cargo build --release

# Install
sudo cp target/release/nmcli-lan-ip-setter /usr/bin/

Post-Installation Setup

  1. Copy the example config:
mkdir -p ~/.config/nmcli-lan-ip-setter
cp /usr/share/doc/nmcli-lan-ip-setter/config.example.ron ~/.config/nmcli-lan-ip-setter/config.ron
  1. Edit your config:
$EDITOR ~/.config/nmcli-lan-ip-setter/config.ron
  1. Select which keyboards to enable:
nmcli-lan-ip-setter toggle

Manual Install

git clone https://github.com/fibsussy/nmcli-lan-ip-setter
cd nmcli-lan-ip-setter
makepkg -si

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages