/dwm-phyOS

modified dwm, alt + tab windows switching, png & icon supported status bar

Primary LanguageCMIT LicenseMIT

dwm-phyOS

Screenshots

(Alt + Tab to switch windows)

(catppuccin & tokyo night theme)

(Power menu 'right one is to renew dwm without restart')

This modified suckless dwm window manager is built for arch based phyOS distro but can be installed with following for any linux OS.

Click on 'Keys' button on top left in status bar to check out keybindings.

Requirement for total functionality:

  • light
  • picom
  • unclutter
  • rofi
  • dmenu
  • lf
  • xmenu
  • s-tui (stress test)
  • cointop (terminal crypto prices)
  • nvtop (nvidia gpu monitor)
  • pamixer
  • pulsemixer
  • imlib2
  • maim
  • joypixels emoji font
  • zathura (pdf reader, used for keys)

Non-arch users need to install all of them seperately from links below:

Programs below are all source code modified programs therefore all of them are needed to download from:

  • Simple installation would work for all repos other than fonts-phyOS, clone the repo and:

    make && sudo make install

Main account : https://github.com/PhyTech-R0

IMPORTANT!! READ BELOW

Make sure to use my dotfiles, all of the scripts and path variables need to be set correctly for full functionality.

I am currently maintaning this for arch linux only, therefore arch users can follow the below instructions to install everything easily:

Append package repo end of your /etc/pacman.conf :

[phyOS-repo]
SigLevel = Optional TrustedOnly
Server = https://PhyTech-R0.github.io/$repo/$arch

Then install necessary programs with pacman easily:

pacman -Sy phyOS-dwm phyOS-dunst phyOS-dwmblocks phyOS-st phyOS-fonts phyOS-dmenu phyOS-xmenu rofi picom unclutter lf ttf-joypixels light

Installation for different distros then arch linux:

git clone https://github.com/PhyTech-R0/dwm-phyOS
cd dwm-phyOS && make && sudo make install

You need to install fonts to your system first (Nerd fonts, including all glyphs etc.):

git clone github.com/phytech-r0/fonts-phyOS
cd fonts-phyOS && sudo mv *.otf *.ttf /usr/fonts/ttf
sudo fc-cache

For arch users (if you are using dotfiles)

You can copy "keys.h" file to '~/.config/phyos/dwm/' to change default bindings. Change keys.h with your taste, after that run:

phyup dwm

To update dwm easily. (wget required, you probably have it)

For non-arch and arch users (updating dotfiles and configs)

phyup dots

Note that this will replace all dots with new ones, if you have your current vim configuration or etc. please move them or rename them before using this command.

Default keys (same in keys.md)

NOTE: Caps Lock == Win

NOTE: Caps Lock is also equal to ESC in terminal (vim etc..)

Program Keys:

Key Combination Action
Win + q Quit focused
Win + Return Terminal(st)
Win + BackSpace Power menu
Win + Shift + Return Scratchpad (Terminal) [Press again to toggle]
Win + w $BROWSER(default ungoogled chromium)
Win + r File Browser (lf)
Win + d Execute Applications (rofi)
Win + b Toggle status bar (hide)
Win + Shift + d Execute Any Runnable (dmenu)
Win + p gotop (System monitor)
Win + Alt + p gpu monitor (nvidia)
Alt + p stress test and monitor (s-tui)
Win + F4 pulsemixer (audio input)
Win + F5 set multiple monitors and choose refresh rate
Win + F9 mount drive
Win + F10 unmount drive
Win + F11 Camera
Printscreen Screenshot fullscreen
Shift + Printscreen Screenshot (choose area or screen)
Win + ` Choose emoji and copy

Terminal keybinds

Key Combination Action
Alt + Shift + j Decrease font size (zoom -)
Alt + Shift + k Increase font size (zoom +)
Alt + o Copy output of command
Alt + ; Cycle fonts

Window Movement

Key Combination Action
Alt + Tab Choose window and focus
Win + j Focus next
Win + Shift + j Move focused to next
Win + k Focus previous
Win + Shift + k Move focused to previous
Win + l Resize master +
Win + h Resize master -
Win + s Sticky window toggle (show window in all tags)
Win + f Fullscreen (toggle)
Win + g Toggle gaps
Win + x Decrease gaps
Win + Shift + x Increase gaps
Win + Shift + g Set default gaps
Win + m Increase master (just try it to understand)
Win + Shift + m Decrease master (just try it to understand)
Win + Space Set focused as master
Win + Shift + Space Toggle floating window

Layouts

You can Right Click RMB on ' []= ' in status bar to choose layout with mouse

Key Combination Action
Alt + 1 Tiling (Default)
Alt + 2 Backstack
Alt + 3 Monocle (windows top of each)
Alt + 4 Deck layout
Alt + 5 Spiral
Alt + 6 Dwindle
Alt + 7 Centered master
Alt + 8 Centered floating master
Alt + 9 Floating (windows 10 style)
Win + Right Cycle layout next
Win + Left Cycle layout previous

Tag operations

You can Left Click LMB on 1-9 in status bar to focus tag

Key Combination Action
Win + 1 .. 9 Go to tag number
Win + WheelUp Go to next tag
Win + WheelDown Go to previous tag
Win + Shift + 1 .. 9 Send focused window to tag number

Utility keys

Key Combination Action
Sound Up Increase sound
Sound Down Decrease sound
Brightness Down Decrease brightness
Brightness Up Increase brightness
fn + TouchpadToggle Toggle touchpad
fn + Kbd Backlight Up Increase keyboard backlight
fn + Kbd Backlight Down Decrease keyboard backlight

Mouse actions

Key Combination Action
Win + LMB Move window with mouse (sets window to floating mode)
Win + RMB Resize window with mouse (sets window to floating mode)
Middle Click At edge of screen middle click to hide status bar