Skip to content

EnigmaCurry/sway-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sway-home

These are the dotfiles I use on most workstations.

I am writing a book on how I use this with Fedora Sway Atomic.

Install Fedora Sway Atomic

Fedora Sway Atomic is a good base layer to start with. It includes the basic essential binaries:

  • Sway
  • Waybar
  • Rofi
  • Foot
  • Grimshot

Setup

## Rename existing configs to .orig, for posterity:
mv ~/.config ~/.config.orig
mv ~/.bashrc ~/.bashrc.orig
mv ~/.bash_profile ~/.bash_profile.orig

## Clone the new config repo:
git clone https://github.com/enigmacurry/sway-home \
   ~/git/vendor/enigmacurry/sway-home
cd ~/git/vendor/enigmacurry/sway-home

## Run setup script:
./setup.sh

Keyboard setup

The keys labled on a modern PC keyboards do not have the same names in Emacs, nor on the original Space Cadet keyboard. This configuiration remaps the keys in the following manner:

  • The PC Caps lock key is remapped to function as Control.
  • The PC Windows Logo key uses the default map of Super, but is remapped as Mod3 in i3/sway, and is hidden from all other apps.
  • The PC Control key on the left side, is remapped to Hyper, also known as Mod4 in i3/sway. (Note: Emacs 29 falsely recognizes this key as Super, but since the real Super key is masked by Sway, this works out fine.)

Sway uses the following xkb files to perform the remapping of the keyboard:

This is a modification from the emacsnotes xkb guide, Thank you!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published