New refurb laptop, fix lot of stuff
#todo manage small differences between multiple laptops...master
parent
d072f133ad
commit
92bff24fab
|
@ -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
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
cadence
|
||||
alsa-plugins
|
||||
gddccontrol
|
||||
hamster-time-tracker
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
top_right = system-usb-udev backlight pulseaudio date
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
icons=()
|
||||
parts=(/)
|
||||
icons=( )
|
||||
parts=(/ /home)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
2
.zshrc
2
.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
|
||||
|
|
10
README.md
10
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.
|
||||
|
|
Loading…
Reference in New Issue