Skip to content

theopn/haunted-tiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haunted Tiles

Note

Also check out the Niri branch for my Nordic Niri setup!

Haunted Tiles logo
sway-sc
SwayFX

Configuration & scripts for my Dracula-themed (hence the name of the repository) Sway (and i3) environment.

Credits:

Sway Installation

  1. I typically install Fedora KDE and install Sway on top of it
    sudo dnf install rofi waybar dunst
    # If you install regular Sway instead of Swayfx,
    # make sure to comment out `include ~/.config/sway/swayfx.conf` in the sway config
    sudo dnf copr enable swayfx/swayfx
    sudo dnf install --allowerasing swayfx
    
    # Necessary packages for system control
    sudo dnf install brightnessctl copyq grimshot pavucontrol playerctl wf-recorder
    # If you don't have Polkit installed, install one
    sudo dnf install lxpolkit
    
    # Great tools to have for any tiling WM environment
    sudo dnf install blueman network-manager-applet
    
    # For generating lockscreen image
    sudo dnf install ImageMagick
    
    # Or your preferred terminal emulator; change $mod+ret in Sway config
    sudo dnf install kitty
    • If you installed Fedora Sway spin or did dnf groupinstall, reference this for the complete list of pre-installed packages
  2. Install ProggyClean Nerd Font:
    mkdir -p ~/.local/share/fonts && cd ~/.local/share/fonts
    # TODO: Check that this link is up-to-date before you proceed
    wget -O tmp.zip https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/ProggyClean.zip
    unzip tmp.zip && rm tmp.zip
    fc-cache -vf
    cd -
  3. Clone the repository and run the installation script (creates symlink for configuration files and scripts):
    git clone https://github.com/theopn/haunted-tiles.git ~/.config/haunted-tiles
    ~/.config/haunted-tiles/install.sh
  4. Locate your choice of wallpaper (PNG) as $XDG_CONFIG_HOME/wallpaper.png
  5. Generate a new lock screen image using the included lock icon:
    # use `lock-24269-640.png` a higher resolution image
    magick $XDG_CONFIG_HOME/wallpaper.png $XDG_CONFIG_HOME/haunted-tiles/assets/lock-24269-360.png -gravity center -composite $XDG_CONFIG_HOME/lockscreen.png
  6. Add yourself to the input user group for Waybar keyboard state module:
    sudo usermod -a -G input $(whoami)

For more tips on configuring i3/Sway, read my i3-sway-tips repository.

i3

Read this

Usage

List of keybindings different from the default i3/Sway:

  • jkl; -> hjkl
  • $mod + h -> $mod + z: toggles hori[z]ontal split
  • $mod + d: app launcher -> launches Rofi window switcher
  • $mod + Space: toggles between floating/tiled windows -> launches Rofi drun
  • $mod + b: toggles between floating/tiled windows
  • $mod + [/]: moves the current workspace to the monitor to the left/right
  • $mod + Shift + c/e: toggles the sway_mode, from which you can choose to reload the config, restart, or exit Sway
  • $mod + Shift + m: toggles monitor_mode, which you can control outputs
  • $mod + Shift + v: launches copoyq show
  • Print: launches a Rofi menu with screenshot options using Grimshot (area, screen, window, color picker, etc.)
  • Shift+Print: launches a Rofi script with screen recording menu using wf-recorder
  • $mod + Shift + p: launches a Rofi script with power options (lock, suspend, shutdown, etc.)

Notes:

  1. Window logo [3] indicator in Waybar means that there are 3 windows in the scratchpad.
  2. You can add a window to a scratchpad with $mod + Shift + - and cycle through the scratchpad with $mod + -.
  3. The keybindings for i3 is nearly identical, but please read the config

About

My Dracula-themed Sway config files & scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages