LinetTheFox / configs_backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation on wtf is going on here (w.i.p. whenever I feel like ¯\_(ツ)_/¯)

TODO:

  • finally make a script that automatically sets it all over the place
  • dwm shortcuts

DWM explained

Full detailed explanation can be viewed on suckless's tutorial

DWM manages windows by putting them into two parts of screen:

  • Master (to the left) - single window (usually, can be more), takes up a bit more than half of screen.
  • Stack (to the right) - contains the rest of windows located one above the other. When you add new windows to the screen - the newest one gets placed into the master and the window that used to be there to the top of the stack. Here's an example, in terminals I echoed the order in which they were created.

Here should be image stack_n_master.png in the pics directory :(

Colors

Terminal st has got the following color scheme. It doesn't have too bright colors - something like yellow or lime-green - and keeps the overall blueish theme.

Colors Codes
Here should be image :(
NormalBright
#333333#3D3D3D
#8C4665#BF4D80
#287373#53A6A6
#7C7C99#9E9ECB
#395573#477AB3
#5E468C#7E62B3
#31658C#6096BF
#899CA1#C0C0C0

DWM & other shortcuts

Note: "Mod" stands for that key with windows logo.

General
  • Mod+Enter - open terminal (here set to st)

  • Mod+D - open dmenu in status bar

  • Mod+[1-9] - navigate to the workspace (screen) 1 to 9

  • Mod+Tab - switch to last used workspace

  • Mod+0 - views all windows from the 9 workspaces

  • Mod+B / Mod+N - navigate to the previous/next workspace (screen) - order-wisei

  • Mod+Shift+L - lock screen (slock)

  • Mod+Shift+T - switch to tiling mode

  • Mod+Shift+F - switch to floating mode

  • Mod+Shift+M - switch to monocle mode (all windows are maximized and under one another)

  • Mod+Shift+Space - switch to the last used mode

  • Mod+Shift+Q - end current dwm session

Window management & Navigation (Tiling mode)
  • Mod+T - hide/show status bar

  • Mod+Q - close focused window

  • Mod+H / Mod+L - move the master-stack separator left/right.

  • Mod+J / Mod+K - focus on the previous/next window (master -> stack from top to bottom).

  • Mod+U / Mod+I - decrease/increase the numbers of windows in master (1 by default)

  • Mod+- (minus) / Mod+= (equal) - decrease/increase the gaps between windows

  • Mod+Shift+= (equal) - set the gaps between windows to minimal value (~0)

  • Mod+Shift+[1-9] - move the window to master of specified workspace

  • Mod+Z - move the focused window to master, previous master window goes to the top of the stack

Random apps I use relatively often and made shortcuts out of
  • Mod+Shift+I - Neovim

  • Mod+Shift+O - Librewolf

  • Mod+Shift+P - Telegrami

Mouse usage
  • Mod+M1_Drag - drag window "into floating mode" and move around

  • Mod+M2_Drag - resize window (from bottom-right corner)

  • Mod+M3 - toggle window between floating and last mode

Terminal (st) shortcuts
  • Ctrl+Shift+PgUp/PgDn - zoom terminal text in/out

  • Ctrl+Shift+Home - reset terminal text size

  • Ctrl+Shift+C/V - copy selected text to / paste from clipboard

  • Ctrl+Shift+Y / Shift+Insert - paste the selected text into command line right away (doesn't write to clipboard)

  • Shift+PgUp/PgDn - scroll terminal up or down

About


Languages

Language:C 91.9%Language:Roff 4.2%Language:Makefile 3.2%Language:Shell 0.7%