Skip to content

Instantly share code, notes, and snippets.

@daltondiaz
Last active March 21, 2022 02:48
Show Gist options
  • Save daltondiaz/0074ab43046f0dcb8449c7193b809742 to your computer and use it in GitHub Desktop.
Save daltondiaz/0074ab43046f0dcb8449c7193b809742 to your computer and use it in GitHub Desktop.
My Enviroment Linux

i3 Windows Manager

sudo apt-get install i3lock
sudo apt-get install dunst
sudo apt-get install i3status
sudo apt-get install i3-dmenu-desktop
sudo apt-get install suckless-tools

Configuration 2 displays with notebook in left

xrandr --output eDP-1 --auto --right-of HDMI-1

Disable HDMI

xrandr --output HDMI-1 --off

Run xrandr to know the name HDMI.

Configuration Resolution

xrandr --output HDMI-1 --mode 3840x2160 --verbose

Auto config. in startup

Add command exec --no-startup-id xrandr --output eDP-1 --auto --right-of HDMI-1 & in ~/.config/i3/config to auto start configuration with 2 displays.

Define workspaces

Add in ~/.config/i3/config

workspace 1 output HDMI-1
workspace 2 output eDP-1

Change wallpapers

Install feh

sudo apt-get install feh

and run

feh --randomize --bg-center ~/Pictures/wallpapers/*

Keys

moviments

mod+w will put all the windows into a set of tabs

mod+s will put all the windows into a stack

mod+e will put everything back

mod+arrow move betwween windows

mod+vsplit screen in vertial

mod+hsplit screen in horizontal

mod+shift Up|Down|Left|Right moviment application in one workspace

Vim

Search and Replace

Go Env

gd go to documentation Ctrl + o go back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment