I used v42 (Adams) of the Fedora i3 spin when I initially wrote this. That version of this repo is tagged fedora42.
I have since upgraded to Fedora 43 and switched to Sway. There is a Fedora Sway Spin.
- Lenovo ThinkPad X1 Carbon Gen 12, model 21KDS27P00
- Intel(R) Core(TM) Ultra 7 165U (14 CPUs)
- 32 GB RAM
I usually use just three workspaces in the following order:
- chrome running tab groups
- a terminal running tmux
- emacs running multiple buffers
My muscle memory just goes to one of the above with mod-{1,2,3}. Then inside any of them I use an additonal abstraction (tab groups, tmux or buffers) to manage multiple instances.
- ~/.config/sway/config use
swaymsg reloadafter changing - waybar configuration.
- My
.bashrchasalias xlock='swaylock -c 000000'
I use xremap on Wayland to implement the following key bindings in Chrome.
GNU CUA
--------------------------------
ctrl+a home
ctrl+e end
alt+f ctrl-right
alt+b ctrl-left
ctrl+k select-all in front of cursor and cut
ctrl+u select-all and delete
ctrl+d delete
ctrl+p up
ctrl+n down
ctrl+y paste
See my xremap config for details.
I am now using foot terminal with this foot.ini.
I start ssh-agent with a systemd user service.
I use brightnessctl to control the screen brightness.
For example, dim the screen 10% as many times as needed.
brightnessctl set 10%-
I connect to my company VPN and other networks wtih nmtui
sudo dnf install nmtui
These are fonts that have been patched with extra glyphs and symbols. catppuccin/tmux requires these so that its extra status symbols do not show up as squares.
mkdir -p ~/.local/share/fonts/NerdFonts && cd ~/.local/share/fonts/NerdFonts
curl -L -o JetBrainsMono.zip \
https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip
unzip -o JetBrainsMono.zip
fc-cache -f
See tmux.md.
sudo dnf install emacs
I have the following in my .emacs to control the colors and font.
;; Appearance — faces are the canonical place for colors and fonts
(set-face-attribute 'default nil :font "JetBrainsMono Nerd Font-14" :foreground "#00FF00" :background "#000000")
(set-face-attribute 'cursor nil :background "lime")
(set-face-attribute 'mouse nil :foreground "red")
(set-face-attribute 'region nil :foreground "black" :background "grey")I am not including my ~/elisp/ and .emacs here for now.
I used to use three external monitors. Now I just use one. I use wlr-randr to make it easy to switch between my laptop screen and an external monitor.
sudo dnf install wlr-randr
I confiure two scripts which I symlink from ~/bin:
- 1-mon-at-home.sh for when I dock
- laptop-screen.sh for when I undock
I unlock and lock my IronKey with ~/bin/iron which requires:
sudo dnf install libgcc.i686 glibc.i686
sudo mkdir /mnt/iron{,-iso}
The above works with my Imation Basic D250 Flash Drive (D2-D250-B08-3FIPS).
See openshift.md
sudo dnf install grim slurp feh
I have the following in my ~/.config/sway/config
bindsym Print exec grim ~/screenshot.png
bindsym $mod+Print exec grim -g "$(slurp)" ~/screenshot.png
So I can then do this:
PrtSccatpure full screenmod+PrtScturn mouse into cross-hairs so I can highlight what I want to capture
Rename ~/screenshot.png and use feh to view the image.
Other packages
sudo dnf install mupdf htop iftop rpm-build