Compare commits
10 Commits
e4d2947f66
...
564708e505
| Author | SHA1 | Date | |
|---|---|---|---|
|
564708e505
|
|||
|
7911ff53b8
|
|||
|
058334fdfe
|
|||
|
83e63b5d83
|
|||
|
a9323f4aec
|
|||
|
2834f960b3
|
|||
|
17ecd5ec71
|
|||
|
e3934aea05
|
|||
|
deaff85de5
|
|||
|
ae0181148b
|
@@ -1,8 +1,15 @@
|
|||||||
|
ipc_socket = false
|
||||||
|
live_config_reload = false
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
unfocused_hollow = false
|
||||||
[cursor.style]
|
[cursor.style]
|
||||||
shape = "Beam"
|
shape = "Beam"
|
||||||
|
|
||||||
[selection]
|
[mouse]
|
||||||
save_to_clipboard = false
|
hide_when_typing = true
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.9
|
opacity = 0.7
|
||||||
|
decorations = "None"
|
||||||
|
blur = true
|
||||||
|
|||||||
@@ -15,6 +15,11 @@
|
|||||||
log = delta
|
log = delta
|
||||||
reflog = delta
|
reflog = delta
|
||||||
show = delta
|
show = delta
|
||||||
|
blame = delta
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
side-by-side = true
|
||||||
|
dark = true
|
||||||
|
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ dwindle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
new_is_master = true
|
new_status=master
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
@@ -86,7 +86,7 @@ binds {
|
|||||||
}
|
}
|
||||||
|
|
||||||
device {
|
device {
|
||||||
name = zly-zelotes-game-mouse
|
name = moji-1k-nrf-receiver
|
||||||
sensitivity = -1
|
sensitivity = -1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
.config/lazygit/config.yml
Normal file
6
.config/lazygit/config.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
gui:
|
||||||
|
nerdFontsVersion: "3"
|
||||||
|
git:
|
||||||
|
paging:
|
||||||
|
colorArg: always
|
||||||
|
pager: delta --dark --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}"
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
# Run: makepkg -s
|
|
||||||
pkgname=metapkg
|
|
||||||
pkgver=1.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Meta package for installing all my packages. Does not include AUR packages or hardware specific packages"
|
|
||||||
arch=('any')
|
|
||||||
url="https://git.kapelle.org/niklas/dotfiles-remastered"
|
|
||||||
|
|
||||||
depends=(
|
|
||||||
# Desktop apps
|
|
||||||
alacritty
|
|
||||||
code
|
|
||||||
firefox
|
|
||||||
imv
|
|
||||||
mpv
|
|
||||||
pavucontrol
|
|
||||||
thunar
|
|
||||||
thunderbird
|
|
||||||
|
|
||||||
# DE
|
|
||||||
greetd-tuigreet
|
|
||||||
hyprland
|
|
||||||
hyprpaper
|
|
||||||
libnotify
|
|
||||||
pipewire-alsa
|
|
||||||
pipewire-jack
|
|
||||||
pipewire-pulse
|
|
||||||
wireplumber
|
|
||||||
gvfs
|
|
||||||
playerctl
|
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
wl-clipboard
|
|
||||||
|
|
||||||
# CLI
|
|
||||||
bat
|
|
||||||
duf
|
|
||||||
entr
|
|
||||||
exa
|
|
||||||
fzf
|
|
||||||
git-delta
|
|
||||||
htop
|
|
||||||
jq
|
|
||||||
neovim
|
|
||||||
pkgfile
|
|
||||||
pulsemixer
|
|
||||||
rsync
|
|
||||||
sl
|
|
||||||
trash-cli
|
|
||||||
zsh-autosuggestions
|
|
||||||
zsh-completions
|
|
||||||
zsh-syntax-highlighting
|
|
||||||
zsh-theme-powerlevel10k
|
|
||||||
|
|
||||||
|
|
||||||
# system
|
|
||||||
sudo
|
|
||||||
zip
|
|
||||||
unzip
|
|
||||||
arch-wiki-docs
|
|
||||||
docker
|
|
||||||
flatpak
|
|
||||||
gamemode
|
|
||||||
git
|
|
||||||
networkmanager
|
|
||||||
ntfs-3g
|
|
||||||
ttf-hack
|
|
||||||
ttf-hack-nerd
|
|
||||||
ttf-dejavu
|
|
||||||
xdg-user-dirs
|
|
||||||
)
|
|
||||||
|
|
||||||
optdepends=()
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# AUR packages
|
|
||||||
|
|
||||||
- code-features
|
|
||||||
- code-marketplace
|
|
||||||
- swaync
|
|
||||||
- rofi-lbonn-wayland-git
|
|
||||||
- waybar-hyperland-git
|
|
||||||
- oh-my-zsh-git
|
|
||||||
- yay
|
|
||||||
- game-devices-udev
|
|
||||||
|
|
||||||
# Fresh install
|
|
||||||
|
|
||||||
- pacman S git sudo neovim
|
|
||||||
- useradd -m -G wheel -s /bin/bash niklas
|
|
||||||
- passwd niklas
|
|
||||||
- EDITOR=nvim visudo /etc/sudoers
|
|
||||||
- git clone --bare https://git.kapelle.org/niklas/dotfiles-remastered.git ~/.local/share/dotfiles-remastered
|
|
||||||
- git --git-dir=$HOME/.local/share/dotfiles-remastered --work-tree=$HOME checkout
|
|
||||||
- cd .config/metapkg
|
|
||||||
- makepkg -si
|
|
||||||
- systemctl enable greetd
|
|
||||||
|
|
||||||
`/etc/greetd/config.toml`
|
|
||||||
```toml
|
|
||||||
[terminal]
|
|
||||||
# The VT to run the greeter on. Can be "next", "current" or a number
|
|
||||||
# designating the VT.
|
|
||||||
vt = 1
|
|
||||||
|
|
||||||
# The default session, also known as the greeter.
|
|
||||||
[default_session]
|
|
||||||
|
|
||||||
# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
|
|
||||||
# with whatever you want started, such as `sway`.
|
|
||||||
command = "tuigreet --time --user-menu -r"
|
|
||||||
|
|
||||||
# The user to run the command as. The privileges this user must have depends
|
|
||||||
# on the greeter. A graphical greeter may for example require the user to be
|
|
||||||
# in the `video` group.
|
|
||||||
user = "greeter"
|
|
||||||
|
|
||||||
[initial_session]
|
|
||||||
command = "Hyprland"
|
|
||||||
user = "niklas"
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
- git clone https://aur.archlinux.org/yay.git
|
|
||||||
- cd yay
|
|
||||||
- makepkg -si
|
|
||||||
|
|
||||||
- install aur packages
|
|
||||||
- change shell of user chsh -s /bin/zsh
|
|
||||||
- Install chaedrc git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
|
|
||||||
- Link nvchad config ln -sf ../../../chadtc.lua chadrc.lua in ~/.config/nvim/lua/custom/chadrc.lua
|
|
||||||
|
|
||||||
Firefox plugins:
|
|
||||||
- ublock
|
|
||||||
- bitwarden
|
|
||||||
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,59 +0,0 @@
|
|||||||
# Generated by makepkg 6.0.2
|
|
||||||
# using fakeroot version 1.32.1
|
|
||||||
pkgname = metapkg
|
|
||||||
pkgbase = metapkg
|
|
||||||
pkgver = 1.0-1
|
|
||||||
pkgdesc = Meta package for installing all my packages. Does not include AUR packages or hardware specific packages
|
|
||||||
url = https://git.kapelle.org/niklas/dotfiles-remastered
|
|
||||||
builddate = 1691505281
|
|
||||||
packager = Unknown Packager
|
|
||||||
size = 0
|
|
||||||
arch = any
|
|
||||||
depend = alacritty
|
|
||||||
depend = code
|
|
||||||
depend = firefox
|
|
||||||
depend = gimp
|
|
||||||
depend = imv
|
|
||||||
depend = mpv
|
|
||||||
depend = pavucontrol
|
|
||||||
depend = thunar
|
|
||||||
depend = thunderbird
|
|
||||||
depend = greetd-tuigreet
|
|
||||||
depend = hyprland
|
|
||||||
depend = hyprpaper
|
|
||||||
depend = libnotify
|
|
||||||
depend = pipewire-alsa
|
|
||||||
depend = pipewire-jack
|
|
||||||
depend = pipewire-pulse
|
|
||||||
depend = gvfs
|
|
||||||
depend = playerctl
|
|
||||||
depend = xdg-desktop-portal-hyprland
|
|
||||||
depend = bat
|
|
||||||
depend = duf
|
|
||||||
depend = entr
|
|
||||||
depend = exa
|
|
||||||
depend = fzf
|
|
||||||
depend = git-delta
|
|
||||||
depend = htop
|
|
||||||
depend = jq
|
|
||||||
depend = neovim
|
|
||||||
depend = pkgfile
|
|
||||||
depend = pulsemixer
|
|
||||||
depend = rsync
|
|
||||||
depend = sl
|
|
||||||
depend = trash-cli
|
|
||||||
depend = zsh-autosuggestions
|
|
||||||
depend = zsh-completions
|
|
||||||
depend = zsh-syntax-highlighting
|
|
||||||
depend = zsh-theme-powerlevel10k
|
|
||||||
depend = zip
|
|
||||||
depend = unzip
|
|
||||||
depend = arch-wiki-docs
|
|
||||||
depend = docker
|
|
||||||
depend = flatpak
|
|
||||||
depend = gamemode
|
|
||||||
depend = git
|
|
||||||
depend = networkmanager
|
|
||||||
depend = ntfs-3g
|
|
||||||
depend = ttf-hack
|
|
||||||
depend = ttf-hack-nerd
|
|
||||||
@@ -37,7 +37,6 @@ type = "prompt"
|
|||||||
style = "full"
|
style = "full"
|
||||||
home_icon = "~"
|
home_icon = "~"
|
||||||
|
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "right"
|
alignment = "right"
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
@@ -62,6 +61,11 @@ type = "prompt"
|
|||||||
trailing_diamond = ""
|
trailing_diamond = ""
|
||||||
template = " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
template = " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
newline = true
|
||||||
|
|
||||||
# Newline prompt
|
# Newline prompt
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = "status"
|
type = "status"
|
||||||
@@ -71,10 +75,11 @@ type = "prompt"
|
|||||||
"{{ if .Error }}p:status_failure{{ end }}",
|
"{{ if .Error }}p:status_failure{{ end }}",
|
||||||
"{{ if not .Error}}p:status_success{{ end }}"
|
"{{ if not .Error}}p:status_success{{ end }}"
|
||||||
]
|
]
|
||||||
template = "\n❯"
|
template = "❯"
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
always_enabled = true
|
always_enabled = true
|
||||||
|
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
foreground = "p:status_success"
|
foreground = "p:status_success"
|
||||||
template = "❯ "
|
template = "❯ "
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
ROFI_CONFIG_DIR="$XDG_CONFIG_HOME/rofi/"
|
ROFI_CONFIG_DIR="$XDG_CONFIG_HOME/rofi/"
|
||||||
|
|
||||||
UPTIME="`uptime -p | sed -e 's/up //g'`"
|
UPTIME="$(uptime | awk -F'( |,|:)+' '{print $6,$7",",$8,"hours,",$9,"minutes."}')"
|
||||||
|
|
||||||
SHUTDOWN=""
|
SHUTDOWN=""
|
||||||
RESTART=""
|
RESTART=""
|
||||||
@@ -37,8 +37,8 @@ case ${selection} in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$WINDOWS)
|
$WINDOWS)
|
||||||
# TODO
|
boot-windows
|
||||||
# grub-set-default
|
systemctl reboot
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../share/scripts/macho.sh
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
# Make a screenshots and save it in ~/pictures/screenshots
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
SCREENSHOT_DIR="$HOME/pictures/screenshots"
|
|
||||||
|
|
||||||
screenshotFile=$($SCRIPTPATH/take-screenshot.sh)
|
|
||||||
|
|
||||||
mkdir -p "$SCREENSHOT_DIR"
|
|
||||||
|
|
||||||
mv "$screenshotFile" "$SCREENSHOT_DIR"
|
|
||||||
rm -rf "$(dirname $screenshotFile)"
|
|
||||||
|
|
||||||
printf "%s\n" "$SCREENSHOT_DIR/$(basename $screenshotFile)"
|
|
||||||
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
# required packages:
|
|
||||||
# - sxiv
|
|
||||||
|
|
||||||
SELECT=$(sxiv -N "floatme" -t -o ~/pictures/wallpapers )
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
$SCRIPTPATH/set-bg.sh "$SELECT"
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
[ -z "$1" ] && exit 0
|
|
||||||
|
|
||||||
LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg"
|
|
||||||
|
|
||||||
#echo "$(realpath $1)" > $LAST_BG_LOCATION
|
|
||||||
ln -sf $1 $LAST_BG_LOCATION
|
|
||||||
|
|
||||||
swww img $1
|
|
||||||
|
|
||||||
$SCRIPTPATH/wal.sh "$1"
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
# Make a selection of the screen and take a screenshot. Save it to tmp and print its path.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
TMPDIR=$(mktemp -d)
|
|
||||||
|
|
||||||
GRIM_DEFAULT_DIR="$TMPDIR" grim -g "$(slurp)"
|
|
||||||
|
|
||||||
filename="$(date +"%d-%m-%y-%H-%M-%Z").png"
|
|
||||||
|
|
||||||
mv $TMPDIR/* "$TMPDIR/$filename"
|
|
||||||
|
|
||||||
printf "%s\n" "$TMPDIR/$filename"
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
IMAGE="$1"
|
|
||||||
|
|
||||||
if [ -z $IMAGE ]; then
|
|
||||||
echo "Provide a image"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
wal -i "$IMAGE" -n
|
|
||||||
|
|
||||||
killall -SIGUSR2 waybar
|
|
||||||
|
|
||||||
2
.profile
2
.profile
@@ -20,7 +20,6 @@ export XDG_PICTURES_DIR="$HOME/pictures"
|
|||||||
|
|
||||||
export GOPATH="$XDG_DATA_HOME/go"
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
export VSCODE_EXTENSIONS="$XDG_DATA_HOME/vscode/extensions"
|
export VSCODE_EXTENSIONS="$XDG_DATA_HOME/vscode/extensions"
|
||||||
export WINEPREFIX="$XDG_DATA_HOME/wine"
|
|
||||||
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||||
#export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo"
|
#export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo"
|
||||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
@@ -31,7 +30,6 @@ export AUDACITY_PATH="$XDG_DATA_HOME/audacity"
|
|||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
|
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
|
||||||
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
||||||
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
||||||
|
|||||||
8
.zshrc
8
.zshrc
@@ -30,11 +30,18 @@ export MANPAGER="bat -l man -p"
|
|||||||
|
|
||||||
# ZSH percent fix
|
# ZSH percent fix
|
||||||
export PROMPT_EOL_MARK=""
|
export PROMPT_EOL_MARK=""
|
||||||
|
HISTFILE="$XDG_CACHE_HOME/zsh_history"
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
setopt APPEND_HISTORY
|
||||||
|
|
||||||
# FZF
|
# FZF
|
||||||
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
||||||
export FZF_DEFAULT_OPTS="--ansi"
|
export FZF_DEFAULT_OPTS="--ansi"
|
||||||
|
|
||||||
|
# FZF history
|
||||||
|
source <(fzf --zsh)
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias please='sudo '
|
alias please='sudo '
|
||||||
@@ -58,4 +65,5 @@ alias df="duf"
|
|||||||
alias du="dust"
|
alias du="dust"
|
||||||
alias nom="npm"
|
alias nom="npm"
|
||||||
alias code="codium"
|
alias code="codium"
|
||||||
|
alias lg="lazygit"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user