A collection of my experiences with Linux in the form of dot files. These dotfiles were started with a minimal installation of Debian 10 Buster on 09/10/2020.
________________________
0.The layout for this README.md was heavily influenced by those of Spencer Tipping and Dylan Araps.
- Introduction
- Bootstrap
- Programs referenced by these configs
- Unexpected features you get right out of the gate
- Sway-specific
The purpose of this repository is to contain the bare minimum of what is necessary to quickly bootstrap my current sensibilities on a Linux system. At its core, there are two assumptions:
- The use of the Debian GNU/Linux Operating System, either Debian Stable or Debian Sid 💀.
- The implementation of the Wayland protocol through the use of the Sway tiling Wayland compositor or through the GNOME desktop environment.
The script assumes you are on a Debian Stable or Debian Sid system and has not been tested on other distributions. Depending on your distribution, the packages listed in the script may not be available or have a different name. If the latter is the case, modify the script accordingly, otherwise, it is very likely to fail.
-
Use
wget
to download and run the bootstrapping script calleddebstrap.sh
, which is located inside theDebstrap
directory within this repository.wget https://raw.githubusercontent.com/argosatcore/Deb_Dots/main/Debstrap/debstrap.sh
-
Make it executable.
chmod +x debstrap.sh
-
Deploy
debstrap.sh.
To customize your bootstrap installation, answer debstrap.sh's questions at your discretion. There are twelve questions total, which can be found at the final section of the script, titled "Debstrap Options"../debstrap.sh
-
Profit:
Sway | GNOME |
---|---|
![]() |
![]() |
All of which are apt install
able on Debian Stable -except for swaylock
, which at the moment remains, unfortunately, exclusive to Sid-:
Program | Description |
---|---|
foot |
Wayland native minimalist terminal emulator. |
gammastep |
Screen temperature manager. |
gnome |
Wayland desktop environment. |
grimshot |
Wayland native screenshot tool. |
mako-notifier |
Wayland native notification daemon. |
nautilus |
File manager. |
neovim |
Text editor. |
swaybg |
Wayland native wallpaper utility. |
swaylock |
Wayland native screen locker. |
sway |
Wayland compositor. |
tmux |
Terminal multiplexer. |
vim-gtk |
(Neo)Vim's clipboard integration. |
waybar |
Wayland native panel. |
wdisplays |
Wayland native graphical tool for configuring displays. |
wlogout |
Wayland session menu. |
wofi |
Wayland native highly configurable launcher. |
Feature | Sway | GNOME |
---|---|---|
Bash's vim mode: When in normal mode, you will see a - at the beginning of your prompt. When in insert mode, you will see a + at the beginning of the prompt. |
Yes | Yes |
Change directories without using the cd command: Just type the name of the directory to move into it. |
Yes | Yes |
Bash completion is no longer case sensitive: No more wasted time pressing keys to get upper case letters. | Yes | Yes |
Neovim as a pager for man pages: Because man pages deserve better. | Yes | Yes |
Caps Lock key is swapped with Esc key: If you are a vim user (or someone that just uses the crap out of the Esc key), you know how handy this is. If you don't want this, just change it in the input configuration in Sway's config file. | Yes | Yes |
Mouse set for left handed people: If you happen to be part of the other 90% of the human population, just change the input configuration in Sway's config file or in GNOME's mouse settings. | Yes | Yes |
Ridiculously fast key repeat rate: Like, really fast. | Yes | Yes |
Alternate Keyboard layout set to Latin American: It is set as a second option and can be toggled by pressing Super +Space . |
Yes | Yes |
Gapless single client: If there is only one client on a given workspace, gaps and borders will be disabled. As soon as another client is launched on the same workspace, gaps and borders will be activated. | Yes | No |
Session | Windows | Mouse | Programs |
---|---|---|---|
Super +Shift+c : reload Sway. |
Super +q : close. |
Super +Click1 : move window. |
Super +Return : run a terminal. |
Super +Shift +e : exit Wayland session. |
Super +f : fullscreen. |
Super +Click2 : resize window. |
Super +i : run firefox. |
Alt +Shift +x : lock screen. |
Super +Escape : toggle floating. Remember, Caps Lock now works as Escape and viceversa. |
- | Super +n : run nautilus. |
Super +Shift +minus : hide/unhide scratchpad. |
Super +(h,j,k,l) : change the selection of a window in a given direction. |
- | Super +d : run wofi as an application launcher. |
Super +PageUp : switch to the next workspace. If there is no next workspace occupied, it will automatically create a new one. |
Super +Alt +(h,j,k,l) : swap focused window with any window in a given direction. |
- | Super +Tab : run wofi as a window switcher. |
Super +PageDown : switch to the previous workspace. If there is no previously occupied workspace, it will automatically create a new one. |
Super +Shift +(h,j,k,l) : move window in a given direction. |
- | Super +Shift +q : run wlogout. |
Super +x : toggle Waybar on/off. |
Super +w : tab windows. |
- | - |
Super +Shift +b : toggle window border on/off. |
Super +s : stack windows. |
- | - |
Super +(1,2,3,4,5,6,7,8,9,0) : Switch to workspace 1-10. |
Super +e : split tabbed or stacked windows. |
- | - |
Super +Shitft +(1,2,3,4,5,6,7,8,9,0) : Move an application to workspace 1-10. |
Alt +Tab : switch focus between tiling and floating areas. |
- | - |
Super +Space : Switch keyboard layout. Options are: Latin American (default) and US-International. |
- | - | - |