2022-07-10 13:07:52 +00:00
|
|
|
# Anas Elgarhy's dwm
|
2022-07-11 03:59:03 +00:00
|
|
|
## My fork from dwm 🍴, with a lot of beautiful patches 🥰
|
2022-07-10 13:07:52 +00:00
|
|
|
|
2022-07-11 05:05:23 +00:00
|
|
|
![dwm screenshot](./screenshots/dwm-6.3-0.1.0.png)
|
|
|
|
![dwm and 2 alacritty](./screenshots/dwm_bpytop_and_ufetch_tile_layout-6.3-0.1.0.png)
|
|
|
|
![dwm and alacritty](./screenshots/dwm_alacritty-6.3-0.1.0.png)
|
2022-07-10 13:07:52 +00:00
|
|
|
|
|
|
|
### Applayed patches:
|
2022-07-10 16:43:56 +00:00
|
|
|
- [alwayscenter](https://dwm.suckless.org/patches/alwayscenter)
|
|
|
|
- [cool autostart](https://dwm.suckless.org/patches/cool_autostart)
|
|
|
|
- [fullscreen](https://dwm.suckless.org/patches/fullscreen)
|
2022-07-10 17:23:18 +00:00
|
|
|
- [gridmode](https://dwm.suckless.org/patches/gridmode)
|
2022-07-10 16:43:56 +00:00
|
|
|
- [keychord](https://dwm.suckless.org/patches/keychord)
|
|
|
|
- [movestack](https://dwm.suckless.org/patches/movestack)
|
|
|
|
- [pertag](https://dwm.suckless.org/patches/pertag)
|
|
|
|
- [systray](https://dwm.suckless.org/patches/systray)
|
2022-07-10 16:59:56 +00:00
|
|
|
- [sticky](https://dwm.suckless.org/patches/sticky)
|
2022-07-10 17:12:28 +00:00
|
|
|
- [noborder](https://dwm.suckless.org/patches/noborder)
|
2022-07-10 18:24:03 +00:00
|
|
|
- [fibonacci layouts](https://dwm.suckless.org/patches/fibonacci)
|
2022-07-10 20:02:35 +00:00
|
|
|
- [centeredmaster](https://dwm.suckless.org/patches/centeredmaster)
|
2022-07-10 13:07:52 +00:00
|
|
|
|
|
|
|
### Keys
|
2022-07-10 16:59:56 +00:00
|
|
|
| Keys | Function |
|
|
|
|
|--------------------------------|-----------------------------------------------------------------------|
|
|
|
|
| modkey + shift + d | Open dmenu (launcher) |
|
|
|
|
| modkey + shift + ctrl | Open rofi launcher (small size) |
|
|
|
|
| modkey + enter | Launche the main terminal (alacritty by default) |
|
2022-07-11 06:02:44 +00:00
|
|
|
| modkey + t -> a | Launche the alacritty terminal |
|
|
|
|
| modkey + t -> shift + a | Launche the alacritty terminal with tmux |
|
|
|
|
| modkey + t -> k | Launche the konsole terminal |
|
|
|
|
| modkey + t -> shift + k | Launche the konsole terminal with tmux |
|
2022-07-10 16:59:56 +00:00
|
|
|
| modkey + shift + f -> g | Launche the GUI file manger (dolphin by default) |
|
2022-07-11 06:02:44 +00:00
|
|
|
| modkey + shift + f -> f | Launche rofi file file browser (small size) |
|
|
|
|
| modkey + shift + f -> r | Launche ranger in the main terminal |
|
2022-07-10 16:59:56 +00:00
|
|
|
| modkey + w -> g | Launche google chrome browser |
|
|
|
|
| modkey + w -> t | Launche tor browser |
|
|
|
|
| modkey + c -> d | Launche discord |
|
|
|
|
| modkey + a -> j | Launche jetbrains-toolbox |
|
|
|
|
| modkey + a -> n | Launche NeoVim in the main terminal |
|
|
|
|
| modkey + a -> v | Launche Vim in the main terminal |
|
2022-07-11 04:52:38 +00:00
|
|
|
| modkey + a -> e | Launche emacs |
|
|
|
|
| modkey + p -> n | Launche nitrogen |
|
|
|
|
| modkey + p -> s | Launche settings manger (plasma-open-settings) |
|
2022-07-10 16:59:56 +00:00
|
|
|
| modkey + e | Launche rofi emoji selector |
|
|
|
|
| modkey + f | Toggle full screen mode |
|
|
|
|
| modkey + b | Toggle the status bar (hide/show) |
|
|
|
|
| modkey + j | Change the focus to privus window in the stack |
|
|
|
|
| modkey + k | Change the focus to the next window in the stack |
|
|
|
|
| modkey + i | Change the stack layout to virtecal |
|
|
|
|
| modkey + d | Change the stack layout to horizontal |
|
|
|
|
| modkey + h | Decrease the focus window size |
|
|
|
|
| modkey + l | Increase the focus window size |
|
|
|
|
| modkey + Tab | Toggle between the curent tag and the privus tag |
|
|
|
|
| modkey + shift + j | Move the focus window down in the stack |
|
|
|
|
| modkey + shift + k | Move the focus window up in the stack |
|
|
|
|
| modkey + q -> q | Quit from the focus window (kill it) |
|
|
|
|
| modkey + s -> t | Use the tile layout |
|
|
|
|
| modkey + s -> f | Use the float layout |
|
|
|
|
| modkey + s -> m | Use the monocle layout |
|
|
|
|
| modkey + s -> g | Use the grid layout |
|
2022-07-10 18:24:03 +00:00
|
|
|
| modkey + s -> r | Use the spial layout (part from fibonacci layouts) |
|
|
|
|
| modkey + s -> shift + r | Use the dwindle layout (part from fibonacci layouts) |
|
2022-07-10 20:02:35 +00:00
|
|
|
| modkey + s -> c | Use the centerd master layout |
|
|
|
|
| modkey + s -> shift + s | Use the centerd floating master layout |
|
2022-07-10 16:59:56 +00:00
|
|
|
| modkey + s -> space | Toggle between current layout and tile layout |
|
|
|
|
| modkey + shift + s | Toggle sticky mode |
|
|
|
|
| modkey + alt + f | Toggle floating window |
|
2022-07-11 02:42:03 +00:00
|
|
|
| modekey + m -> c | Launche the cmus player |
|
|
|
|
| modkey + m -> v | Launche vlc video player |
|
2022-07-10 16:59:56 +00:00
|
|
|
| modkey + 0 | View all tags |
|
|
|
|
| modkey + shift + 0 | Mirror the current tag in all tags |
|
|
|
|
| modkey + comma (,) | - |
|
|
|
|
| modkey + period (.) | - |
|
|
|
|
| modkey + shift + comma (,) | - |
|
|
|
|
| modkey + shift + period (.) | - |
|
|
|
|
| modkey + (1..9) | Navigate between tags |
|
2022-07-11 03:59:03 +00:00
|
|
|
| modkey + shift + (1..9) | Move the focus window to specific tag |
|
|
|
|
| modkey + control + (1..9) | - |
|
|
|
|
| modkey + shift + ctrl + (1..9) | Mirror the current tag in specific tag |
|
2022-07-11 04:19:43 +00:00
|
|
|
| superkey + space | Change the keyboard layout (ar, en) |
|
2022-07-10 16:59:56 +00:00
|
|
|
| PrtSc | Take a screenshot using default screenshot tool (spectacle) |
|
|
|
|
| modkey + shift + x | Lock the screen (using betterlockscreen) |
|
|
|
|
| modkey + shift + ctrl + x | Plasma screen server |
|
|
|
|
| modkey + shift + alt + q | Kill dwm |
|
2022-07-10 13:07:52 +00:00
|
|
|
|
|
|
|
> modkey = win key or super key
|
|
|
|
|
|
|
|
### Dependencies (apps)
|
2022-07-10 15:59:57 +00:00
|
|
|
- `google-chrome-stable` the main web browser
|
|
|
|
- `alacritty` the main terminal
|
|
|
|
- `spectacle` the main screenshot tool
|
|
|
|
- `dolphin` the GUI file manger
|
|
|
|
- `rofi`
|
|
|
|
- `dmenu`
|
|
|
|
- `libxinerama-dev`\*\*
|
|
|
|
- `tmux`\*
|
|
|
|
- `tor-browser`
|
|
|
|
- `discord`
|
|
|
|
- `libxft-bgra` for color emojies support
|
|
|
|
- `jetbrains-toolbox`
|
|
|
|
- `nvim`\*
|
|
|
|
- `vim`\*
|
|
|
|
- `xbacklight` for control in the screen brightness
|
|
|
|
- `pamixer` for control in the audio level
|
|
|
|
- `playerctl` for control in the media
|
|
|
|
- `pactl` for control in the mic
|
|
|
|
- `betterlockscreen` for lock screen
|
|
|
|
- `setxkbmap` for switch between keyboard layouts, like (ar, en)
|
|
|
|
- `slstatus` the status bar
|
|
|
|
- `picom` compositor , for transparency
|
|
|
|
- `nitrogen` for set the wallpaper
|
2022-07-10 13:07:52 +00:00
|
|
|
|
2022-07-10 15:59:57 +00:00
|
|
|
> \*\*: build dependencie.
|
|
|
|
|
|
|
|
### Install
|
2022-07-11 04:19:43 +00:00
|
|
|
- Manual:
|
2022-07-10 15:59:57 +00:00
|
|
|
1. Run this command to install all avilable dependencies in standerd arch repostory
|
|
|
|
```bash
|
2022-07-10 16:05:39 +00:00
|
|
|
sudo pacman -S google-chrome libxft-bgra rofi dmenu tmux tor-browser discord neovim jetbrains-toolbox vim pamixer playerctl betterlockscreen dolphin spectacle alacritty picom nitrogen libxinerama
|
2022-07-10 15:59:57 +00:00
|
|
|
```
|
|
|
|
2. Install yay if you not installed it.
|
2022-07-11 04:23:07 +00:00
|
|
|
3. Run this command to install all avilable dependencies in the AUR repostory `yay -S xkblayout`
|
2022-07-10 17:34:35 +00:00
|
|
|
4. Clone this repostory `git clone https://github.com/anas-elgarhy/dwm-anas.git`
|
|
|
|
5. Build and install `sudo make clean install`
|
|
|
|
6. Enjoy 😉
|