GithubHelp home page GithubHelp logo

ziap / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
36.0 3.0 0.0 58.49 MB

My SwayWM dotfiles

License: GNU General Public License v3.0

Shell 17.45% CSS 11.38% Lua 53.34% JavaScript 17.82%
linux config desktop-environment dotfiles neovim rice ricing rofi swaywm wayland zsh reproducible-workflows workflow nvim shell-prompt vim vimrc

dotfiles's Introduction

SwayWM dotfiles

A custom wayland desktop environment fine-tuned to my development workflow and daily usage.

Informations

screenshot

Features

  • โœจ Minimal and aesthetic gruvbox themed desktop
  • ๐Ÿ—จ๏ธ Lightweight and powerful ZSH shell with custom prompt
  • ๐Ÿš€ Functional developer environment for
    • C and C++
    • Rust
    • Vanilla web development
    • Python
  • ๐Ÿ“„ Document editing with markdown, latex, pandoc and reveal.js
  • ๐Ÿ“ File browsing and application launcher with rofi
  • ๐Ÿ“ท Screenshot with support for
    • Region
    • Window
    • Screen
  • ๐Ÿ”Œ Power menu and a very basic lock screen
  • ๐Ÿ”ง Essential Fedora modification (rpmfusion, codecs) included in the install script

Plan

  • Add more rofi menus
  • Svelte developer environment
  • Notification with dunst
  • Setup on a more minimal Fedora installation

Installation

Clone repository

git clone --depth=1 https://github.com/ziap/dotfiles
cd dotfiles

cp -rp .config .Xresources ~

RPMFusion and media codecs

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

sudo dnf install @multimedia

Fonts

Fonts being used are:

  • FiraCode (terminal, editor font)
  • VictorMono (italic font)
  • RobotoMono (UI font)

Run this script to download all fonts to the local font folder ~/.local/share/fonts

./download_fonts.sh

Terminal + Shell setup

Install and setup foot, zsh and some plugins

sudo dnf install foot util-linux-user zsh zsh-autosuggestions zsh-syntax-highlighting

chsh -s $(which zsh)
cp .zshrc ~ 

Install extra packages

sudo dnf install sqlite ImageMagick bat eza ripgrep fd-find skim imv mpv
  • sqlite: for dnf autocompletion
  • ImageMagick: for command line image editing
  • bat, eza: Syntax highlighting, icons for cat and ls
  • ripgrep, fd-find: Faster grep and find
  • skim: Fuzzy finder
  • imv: Image viewer
  • mpv: Video/audio player

Desktop environment setup

sudo dnf install sway rofi-wayland waybar luajit slurp grim light playerctl pulseaudio-utils wl-clipboard epapirus-icon-theme
  • luajit: Run Lua rofi scripts
  • grim, slurp: Screenshot tool
  • light, pulseaudio-utils: Control screen brightness and audio volume
  • playerctl: Media player controller
  • wl-clipboard: Clipboard tool
  • epapirus-icon-theme: ePapirus icon theme for rofi

Developer environment setup

The packages for each programming languages are pretty self-explanatory

sudo dnf install neovim gh git git-delta python3 python3-pip nodejs npm gcc gcc-c++ clang-tools-extra

Install language servers

sudo npm i -g pyright vscode-langservers-extracted typescript typescript-language-server emmet-ls

Install rust and rust-analyzer

# During install select nightly profile
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

rustup component add rust-analyzer

While rust-analyzer isn't added to ~/.cargo/bin by default

cat << EOF > ~/.cargo/bin/rust-analyzer
#!/bin/sh
rustup run nightly rust-analyzer
EOF

chmod +x ~/.cargo/bin/rust-analyzer

Install plugins

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

nvim -c PlugInstall

Firefox setup

  • user.js and custom theme in the firefox folder
  • Dark reader with gruvbox theme

Document editing workflow setup

sudo dnf install pandoc texlive zathura zathura-pdf-mupdf

IME Setup

sudo dnf install fcitx5 fcitx5-qt fcitx5-gtk fcitx5-configtool
sudo dnf install fcitx5-unikey # Or your IME

You can automatically start fcitx by adding exec_always fcitx5 to sway config but I prefer manually starting it in rofi.

License

This project is licensed under the GPL-3.0 license.

dotfiles's People

Contributors

ziap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.