Coder Social home page Coder Social logo

dwm-phyos's Introduction

dwm-phyOS

Screenshots

(Alt + Tab to switch windows)

(catppuccin & tokyo night theme)

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

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

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

! IMPORTANT

Settings button is unfunctional currently. Later on, i will make a simple Qt program to create and load configurations via settings button. All of the keybinds will be configurable through a simple gui, which will save you from configuring via config.h file manually. Note that keybinds & default programs are not in config.h. To change default configurations, please change them in keys.h. Arch users can change keybinds differently via a script called phyup in dotfiles repo. It will be explained later in this file.

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)

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 brave)
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

dwm-phyos's People

Contributors

ft-labs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.