Compare commits

...

3 Commits

Author SHA1 Message Date
6d195b54a9 Add script to help with first install 2024-02-20 18:40:18 +01:00
cae9efe25f hyprland: Tweak display settings 2024-02-20 18:40:11 +01:00
b08d55d093 nushell: Add volta stuff to env 2024-02-20 18:39:41 +01:00
5 changed files with 77 additions and 6 deletions

View File

@ -208,9 +208,9 @@ monitor=,preferred,auto,auto
monitor=DP-2,3440x1440@144.00000,auto,auto
{% end %}
{% if hostname == "buran" %}
monitor=eDP-1,3456x2160@60.00100,0x680,2.0
monitor=DP-1,5120x2160@59.98500,1728x450,1.25
monitor=DP-3,2560x1440@59.95100,5824x0,1.0,transform,3
monitor=eDP-1,preferred,3072x380,1.8
monitor=eDP-2,preferred,3072x380,1.8
monitor=DP-2,3840x1600@59.99400,0x0,1.25
# transform list
# normal (no transforms) -> 0
# 90 degrees -> 1

View File

@ -1,2 +1,2 @@
preload = ~/.config/wallpapers/2560x1440/rocket.jpg
wallpaper = ,~/.config/wallpapers/2560x1440/rocket.jpg
preload = ~/.config/wallpapers/2880x1800/city.jpg
wallpaper = ,~/.config/wallpapers/2880x1800/city.jpg

View File

@ -78,13 +78,18 @@ $env.NU_PLUGIN_DIRS = [
# ($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins
]
$env.PATH = ($env.PATH | split row (char esep) | prepend [($env.HOME + "/.local/bin"), ($env.HOME + "/.cargo/bin")])
$env.PATH = ($env.PATH | split row (char esep) | prepend [
($env.HOME + "/.local/bin"),
($env.HOME + "/.cargo/bin"),
($env.HOME + "/.volta/bin"),
])
$env.GPG_TTY = (tty)
$env.BROWSER = "firefox"
$env.EDITOR = "nvim"
$env.DEFMT_LOG = "info"
$env.MOZ_ENABLE_WAYLAND = "1"
$env.VOLTA_HOME = ($env.HOME + "/.volta")
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

View File

@ -0,0 +1,66 @@
#!/bin/bash
set -e
if [ "$(id -u)" -eq 0 ]; then echo "Do not run as root." >&2; exit 1; fi
sudo pacman -Syu
sudo pacman --needed -S \
alacritty \
base-devel \
bat \
bluez \
bluez-utils \
brightnessctl \
curl \
difftastic \
dunst \
dust \
exa \
fd \
fish \
git \
git-delta \
grim \
htop \
hyprland \
neovim \
nerd-fonts \
noto-fonts \
noto-fonts-emoji \
noto-fonts-extra \
nushell \
ripgrep \
rustup \
tig \
vim \
waybar \
wget \
wl-clipboard \
zathura
# install nvim packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim \
|| true # command will fail if packer is already installed
rustup default stable
if ! command -v paru &> /dev/null; then
echo "`paru` not found, installing..."
sleep 1
cd "$(mktemp -d)"
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
fi
paru -S hyprpaper-git findex-bin wdisplays eww-wayland
cargo install --locked --git https://git.nubo.sh/hulthe/lockscreen-blur.git
# cargo binstall
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall cargo-watch