diff --git a/.Xresources.desk b/.Xresources similarity index 100% rename from .Xresources.desk rename to .Xresources diff --git a/.Xresources.laptop b/.Xresources.laptop deleted file mode 100644 index a494207..0000000 --- a/.Xresources.laptop +++ /dev/null @@ -1,8 +0,0 @@ -Xft.dpi: 170 -Xft.autohint: 0 -Xft.lcdfilter: lcddefault -Xft.hintstyle: hintfull -Xft.hinting: 1 -Xft.antialias: 1 -Xft.rgba: rgb - diff --git a/.config/bootstrap/config.d/desk b/.config/bootstrap/config.d/desk index 39e10d5..7cb67fb 100644 --- a/.config/bootstrap/config.d/desk +++ b/.config/bootstrap/config.d/desk @@ -1,3 +1,4 @@ +cadence alsa-plugins gddccontrol hamster-time-tracker diff --git a/.config/bootstrap/config_common b/.config/bootstrap/config_common index a0f24b4..f0e3eda 100644 --- a/.config/bootstrap/config_common +++ b/.config/bootstrap/config_common @@ -1,8 +1,7 @@ arc-gtk-theme arc-icon-theme -autojump -cadence docker +dkms dunst feh firefox @@ -13,8 +12,12 @@ i3-wm i3lock-color jq libusb-compat +less maim +man-db +man-pages mlocate +nmap nemo neofetch network-manager-applet @@ -36,7 +39,6 @@ python-pygments python-pyperclip python-requests qbittorrent -redshift restic rofi rsync @@ -46,7 +48,7 @@ terminator thunderbird trash-cli ttf-dejavu -ttf-font-awesome-5 +ttf-font-awesome ttf-material-icons-git ttf-symbola ttf-weather-icons @@ -61,6 +63,7 @@ xdg-user-dirs xdotool xorg-server xorg-xinit +xorg-xrandr xsel yay-bin zsh diff --git a/.config/polybar/config.d/laptop b/.config/polybar/config.d/laptop index 04191c8..8131b9d 100644 --- a/.config/polybar/config.d/laptop +++ b/.config/polybar/config.d/laptop @@ -1,6 +1,6 @@ [variables] -dpi = 150 -height = 54 +dpi = 100 +height = 70 top_left = powermenu system-uptime-pretty battery player-mpris top_center = xwindow -top_right = system-usb-udev backlight pulseaudio date \ No newline at end of file +top_right = system-usb-udev backlight pulseaudio date diff --git a/.config/polybar/scripts/filesystem.data.laptop b/.config/polybar/scripts/filesystem.data.laptop index e683f68..bfe6a3b 100644 --- a/.config/polybar/scripts/filesystem.data.laptop +++ b/.config/polybar/scripts/filesystem.data.laptop @@ -1,2 +1,2 @@ -icons=() -parts=(/) \ No newline at end of file +icons=( ) +parts=(/ /home) diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 8198094..c469b08 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -10,6 +10,6 @@ XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_TEMPLATES_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/" XDG_DOCUMENTS_DIR="$HOME/documents" -XDG_MUSIC_DIR="$HOME/music" +XDG_MUSIC_DIR="$HOME/" XDG_PICTURES_DIR="$HOME/images" XDG_VIDEOS_DIR="$HOME/videos" diff --git a/.init_config.sh b/.init_config.sh index 4cc8291..d1730e8 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -89,16 +89,25 @@ if [ ! -z "$INIT" ]; then # https://man.archlinux.org/man/rofi-dmenu.5 echo -e "* Symlink dmenu → rofi..." sudo ln -sf /usr/bin/rofi /usr/bin/dmenu - echo -e "* Enabling NetworkManager..." + echo -e "* Enabling required systemd units..." sudo systemctl enable --now NetworkManager + sudo systemctl enable --now systemd-timesyncd + echo -e "* Ensure hardware clock is up to date..." + sudo hwclock --systohc # So that "Open in Terminal" works in Nemo + echo -e "* Make 'Open Terminal' work in Nemo..." gsettings set org.cinnamon.desktop.default-applications.terminal exec i3-sensible-terminal # For screenshots - pip install pychee + echo -e "* Install pychee for uploading screenshots on Lychee..." + pip install --break-system-packages pychee # Additionnal plugins for ZSH + echo -e "* Install ZSH plugins for oh-my-zsh..." sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/share/oh-my-zsh/plugins/zsh-syntax-highlighting sudo git clone https://github.com/zsh-users/zsh-autosuggestions /usr/share/oh-my-zsh/plugins/zsh-autosuggestions sudo git clone https://github.com/unixorn/fzf-zsh-plugin.git /usr/share/oh-my-zsh/plugins/fzf-zsh-plugin + # Basic directory structure + echo -e "* Create base home directories..." + mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads fi if [ ! -z ${ENV} ]; then diff --git a/.zshrc b/.zshrc index cf63266..5d255e1 100644 --- a/.zshrc +++ b/.zshrc @@ -33,8 +33,6 @@ autoload -U compinit && compinit -u plugins=( # acs command → print aliases by group aliases - # `j` to go to an already used directory by partial name - autojump colored-man-pages # cat with colors → ccat or cless colorize diff --git a/README.md b/README.md index 8199948..2d3d495 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # dotfiles -## Generic todo +## Generic TODOs -Would be great to have a real people-agnostic base, separated from my own customization. Right now, base configuration still have personal path and stuff, making it unusable as-is for other people. +* Would be great to have a real people-agnostic base, separated from my own customization. Right now, base configuration still have personal path and stuff, making it unusable as-is for other people. +* Have a command to cancel stuff if case something goes bad, want to restore base system, etc ## What is this, Chosto ? @@ -24,7 +25,6 @@ In brief this is the classic Arch/i3 combo with : * [Rofi](https://github.com/DaveDavenport/rofi), a full-customizable app launcher * Automatic login (drives are encrypted) * Automatic backups -* Blue light reducer at night * A fancy lock screen, with optional hibernation, either triggered by hotkey or when there is no activity for X minutes * ZSH with Oh My ZSH * Mappings to control ALSA volume from dedicated keyboards buttons, to play/plause players compatible with MPRIS D-Bus Interface spec @@ -41,7 +41,7 @@ In brief this is the classic Arch/i3 combo with : * A working [Arch installation](https://wiki.archlinux.org/title/installation_guide) * Login with a `sudoer` user -* [yay](https://github.com/Jguer/yay) AUR wrapper +* [yay](https://github.com/Jguer/yay) AUR wrapper (better check your [mirrors](https://wiki.archlinux.org/title/Mirrors) too) * Python 3 and Pip * Git @@ -51,7 +51,7 @@ Please note : on my system `XDG_CONFIG_HOME` is empty and default to `$HOME/.con ### Clone the repository -* Clone in bare repository : `git clone --bare https://github.com/Chostakovitch/dotfiles.git $HOME/.cfg`. A bare repository does not have a working tree (basically it is just `.git` content). So we avoid conflicts with another git repository. +* Clone in bare repository : `git clone --bare https://git.chosto.me/Chosto/dotfiles.git $HOME/.cfg`. A bare repository does not have a working tree (basically it is just `.git` content). So we avoid conflicts with another git repository. * Create a working tree outside `.cfg` : `git --git-dir=$HOME/.cfg/ --work-tree=$HOME checkout`. Credits to [this article](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/) for the trick.