Compare commits

...

7 Commits

14 changed files with 44 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
---@type ChadrcConfig
local M = {}
M.ui = {
theme = 'vscode_dark',
theme = 'nord',
transparency = true
}

View File

@@ -1,6 +1,7 @@
[user]
name = Djeeberjr
email = djeeberjr@gmail.com
name = Niklas Kapelle
email = niklas@kapelle.org
signingkey = 4EB651B36D841D16
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
@@ -18,3 +19,5 @@
[interactive]
diffFilter = delta --color-only
[commit]
gpgsign = true

View File

@@ -96,6 +96,9 @@ device:zly-zelotes-game-mouse {
layerrule = noanim,rofi
windowrulev2 = workspace special:spotify silent, class:^(Spotify)$
windowrulev2 = workspace special:term silent, class:^(scratchpad)$
windowrulev2 = workspace 7 silent, class:^(TeamSpeak 3)$
windowrulev2 = workspace 7 silent, class:^(discord)$
windowrulev2 = workspace 1 silent, class:^(firefox)$
# Env
env = MOZ_ENABLE_WAYLAND,1

View File

@@ -0,0 +1,7 @@
# https://www.nordtheme.com/docs/colors-and-palettes
$color0 = rgb(2e3440)
$color1 = rgb(3b4252)
$color2 = rgb(434c5e)
$color3 = rgb(4c566a)

View File

@@ -10,13 +10,9 @@ depends=(
# Desktop apps
alacritty
code
# code-features
# code-marketplace
firefox
gimp
imv
mpv
# onlyoffice-bin
pavucontrol
thunar
thunderbird
@@ -31,10 +27,8 @@ depends=(
pipewire-pulse
gvfs
playerctl
# rofi-lbonn-wayland-git
# swaync
# waybar-hyperland-git
xdg-desktop-portal-hyprland
wl-clipboard
# CLI
bat
@@ -46,7 +40,6 @@ depends=(
htop
jq
neovim
# oh-my-zsh-git
pkgfile
pulsemixer
rsync
@@ -59,19 +52,18 @@ depends=(
# system
# yay
zip
unzip
arch-wiki-docs
docker
flatpak
# game-devices-udev
gamemode
git
networkmanager
ntfs-3g
ttf-hack
ttf-hack-nerd
xdg-user-dirs
)
optdepends=()

11
.config/metapkg/README.md Normal file
View File

@@ -0,0 +1,11 @@
# AUR packages
- code-features
- code-marketplace
- swaync
- rofi-lbonn-wayland-git
- waybar-hyperland-git
- oh-my-zsh-git
- yay
- game-devices-udev

View File

@@ -1,6 +1,7 @@
{
"height": 30, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px)
"layer":"top",
"modules-left": ["hyprland/workspaces"],
"modules-center": [],
"modules-right": ["custom/playerctl", "idle_inhibitor", "pulseaudio", "clock", "tray","custom/swaync"],

View File

@@ -2,7 +2,7 @@
export FZF_DEFAULT_OPTS='
--prompt="Manual: "
--preview="echo {1} | sed -E \"s/^\((.+)\)/\1/\" | xargs -I{S} man -Pcat {S} {2} 2>/dev/null"'
--preview="echo {1} | sed -E \"s/^\((.+)\)/\1/\" | xargs -I{S} man -Pcat {S} {2} | bat -l man -p --color=always 2>/dev/null"'
while getopts ":s:" opt; do
case $opt in

View File

@@ -27,3 +27,4 @@ esac
ls -ltd ./*/ | head -n 1 | awk '{print $9}' | xargs -I {} code {}

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# requires: expac
pacman -Qqm | sort | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)'
exit 0

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env bash
# requires: expac
comm -23 <(pacman -Qqe | sort) <({ pacman -Qqg base-devel; expac -l '\n' '%E' base; } | sort -u) | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)'
exit 0
pacman -Qqe | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)'

View File

@@ -1,19 +1,17 @@
#!/usr/bin/env sh
# required packages:
# - feh
set -e
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
[ -z "$@" ] && exit 0
[ -z "$1" ] && exit 0
LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg"
feh --no-fehbg --bg-fill $@
echo "$(realpath $1)" > $LAST_BG_LOCATION
rm -f "$LAST_BG_LOCATION"
ln -s $1 $(realpath "$LAST_BG_LOCATION")
hyprctl hyprpaper preload "$1"
hyprctl hyprpaper wallpaper "HDMI-A-1,$1"
hyprctl hyprpaper unload all
$SCRIPTPATH/set-color.sh

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env sh
# required packages:
# - xclicp
set -e
@@ -8,9 +6,8 @@ SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
$SCRIPTPATH/take-selected-screenshot.sh \
| $SCRIPTPATH/nc-share-file.sh \
| awk '{print $1"/preview"}' \
| xclip -i -selection "clipboard"
| $SCRIPTPATH/upload-image.sh \
| wl-copy
notify-send -u low "Upload complete"

View File

@@ -8,7 +8,9 @@ set -e
TMPDIR=$(mktemp -d)
deepin-screenshot -n -s "$TMPDIR" 2>/dev/null
cd $TMPDIR
grim -g "$(slurp)"
filename="$(date +"%d-%m-%y-%H-%M-%Z").png"