Skip to content

geekwolverine/archcraft-newm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

NEWM

NEWM Video

The ultimate NEWM configuration (A Desktop Environment Like Experience)


Overview

newm is a Wayland compositor written with laptops and touchpads in mind. The idea is, instead of placing windows inside the small viewport (that is, the monitor) to arrange them along an arbitrarily large two-dimensional wall (generally without windows overlapping) and focus the compositors job on moving around along this wall efficiently and providing ways to the user to rearrange the wall such that he finds the overall layout intuitive.

  • Operating System : Archcraft
  • Window Manager : Newm
  • Status Bar : Waybar
  • Launcher : Wofi
  • Session Manager : Wlogout
  • Notifications : Mako
  • Terminal : Foot
  • File Manager : Thunar
  • Text Editor : Geany
  • Web Browser : Firefox

Installation

  • Get the files from : Ko-fi ☕ Why Paid
  • Extract The file newm.tar.gz with : tar -xzvf newm.tar.gz
  • If you are using Archcraft (Required: 2023 or later) as your OS, You can just install the provided package with : sudo pacman -U archcraft-newm-2.0-0-any.pkg.tar.zst
  • If you want to install this setup on Arch Linux or on any other distro, follow the points below :
    • Install the following programs on your computer: newm, wtype alacritty wlroots wl-clipboard waybar wofi foot mako grim slurp wf-recorder light yad wlogout thunar geany mpv mpd mpc viewnior imagemagick xfce-polkit xorg-xwayland xdg-desktop-portal-wlr
    • After installing programs above, Create newm directory in ~/.config : mkdir -p ~/.config/newm
    • Copy Everything from dotfiles/config to ~/.config/newm : cp -r ./dotfiles/config/* ~/.config/newm/
    • To launch Newm properly on your system, install the additional files provided in shared directory :
    sudo install -Dm 755 dotfiles/shared/open-wl /usr/local/bin/open-wl
    sudo install -Dm 755 dotfiles/shared/run_newm /usr/local/bin/run_newm
    sudo install -Dm 755 dotfiles/shared/00-lock.sh /usr/lib/systemd/system-sleep/00-lock.sh
    
    • Logout and login to your amazingly configured Newm.

Appearance

Install the following theme, icon pack, cursors and fonts for overall appearance.

Config Structure

~/.config
└── newm              : Newm config directory
    ├── foot          : Terminal config
    ├── mako          : Notification daemon config
    │   └── icons     : Notification icons
    ├── scripts       : Various scripts for functionality
    ├── wallpapers    : Wallpapers
    ├── waybar        : Statusbar config
    ├── wlogout       : Wlogout config
    │   └── icons     : Session icons
    ├── wofi          : Launcher config
    └── config.py     : Main config file for NEWM

Enable Blur Effect

To enable blur effect, You need to edit these files and adjust color opacity :

  • ~/.config/newm/config.py
    • Uncomment line 128, 137, 142 and 147 and comment the one below them, respectively.
  • ~/.config/newm/foot/colors.ini
    • set alpha value on line 6 : alpha=0.5
  • ~/.config/newm/mako/config
    • set alpha value in bg color on line 37 : background-color=#2E344066
  • ~/.config/newm/waybar/style.css
    • set alpha value in window bg-color on line 13 : background-color: rgba(46, 52, 64, 0.5);
  • ~/.config/newm/wlogout/style.css
    • set alpha value in window bg-color on line 14 : background-color: rgba(46, 52, 64, 0.5);
  • ~/.config/newm/wofi/style.css
    • set alpha value in window bg-color on line 12 : background-color: rgba(46, 52, 64, 0.5);

Keybindings

Keys Action
super Toggle Overview
super + Return Open terminal
super + shift + Return Open floating terminal
super + alt + Return Open terminal with selected geometry
super + F Open file manager
super + E Open text editor
super + W Open web browser
super + D Run app launcher
super + X Run powermenu
super + N Open network manager
super + P Run colorpicker
super + C/Q Kill active window
ctrl + alt + L Run lockscreen
super + shift + C Reload newm config
ctrl + alt + Delete Exit newm instantly
super + Space Toggle fullscreen mode
super + shift + Space Toggle floating mode
super + S Swap b/w overlapping views
super + Equal Increase Scale / Zoom in
super + Minus Decrease Scale / Zoom out
super + Left Change focus to the left view
super + Right Change focus to the right view
super + Up Change focus to the upper view
super + Down Change focus to the lower view
super + shift + Left/Right/Up/Down Move view to respective side
super + ctrl + Left/Right/Up/Down Resize view respectively

Touchpad Gestures

Move super + move-1 Resize super + swipe-2 Scroll swipe-3 Scale swipe-4
Watch the video Watch the video Watch the video Watch the video

Tour : Videos

Here's the Complete Youtube Playlist demonstrating features.

Random wallpapers Rounded corners Blur effect Smooth animations Lockscreen
Watch the video Watch the video Watch the video Watch the video Watch the video
Overview Moving Resizing Scrolling Scaling
Watch the video Watch the video Watch the video Watch the video Watch the video

Screenshots

Solid

Desktop Tiles Wofi
newm newm newm
Lockscreen Overview Wlogout
newm newm newm

Blur

Desktop Tiles Wofi
newm newm newm
Lockscreen Overview Wlogout
newm newm newm

FYI


See Also

archcraft-sway archcraft-wayfire archcraft-river archcraft-hyprland
Sway Wayfire River Hyprland

About

// Configuration : NEWM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published