Compare commits

..

7 Commits

14 changed files with 44 additions and 30 deletions

View File

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

View File

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

View File

@@ -96,6 +96,9 @@ device:zly-zelotes-game-mouse {
layerrule = noanim,rofi layerrule = noanim,rofi
windowrulev2 = workspace special:spotify silent, class:^(Spotify)$ windowrulev2 = workspace special:spotify silent, class:^(Spotify)$
windowrulev2 = workspace special:term silent, class:^(scratchpad)$ 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
env = MOZ_ENABLE_WAYLAND,1 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 # Desktop apps
alacritty alacritty
code code
# code-features
# code-marketplace
firefox firefox
gimp
imv imv
mpv mpv
# onlyoffice-bin
pavucontrol pavucontrol
thunar thunar
thunderbird thunderbird
@@ -31,10 +27,8 @@ depends=(
pipewire-pulse pipewire-pulse
gvfs gvfs
playerctl playerctl
# rofi-lbonn-wayland-git
# swaync
# waybar-hyperland-git
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
wl-clipboard
# CLI # CLI
bat bat
@@ -46,7 +40,6 @@ depends=(
htop htop
jq jq
neovim neovim
# oh-my-zsh-git
pkgfile pkgfile
pulsemixer pulsemixer
rsync rsync
@@ -59,19 +52,18 @@ depends=(
# system # system
# yay
zip zip
unzip unzip
arch-wiki-docs arch-wiki-docs
docker docker
flatpak flatpak
# game-devices-udev
gamemode gamemode
git git
networkmanager networkmanager
ntfs-3g ntfs-3g
ttf-hack ttf-hack
ttf-hack-nerd ttf-hack-nerd
xdg-user-dirs
) )
optdepends=() 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) "height": 30, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
"layer":"top",
"modules-left": ["hyprland/workspaces"], "modules-left": ["hyprland/workspaces"],
"modules-center": [], "modules-center": [],
"modules-right": ["custom/playerctl", "idle_inhibitor", "pulseaudio", "clock", "tray","custom/swaync"], "modules-right": ["custom/playerctl", "idle_inhibitor", "pulseaudio", "clock", "tray","custom/swaync"],

View File

@@ -2,7 +2,7 @@
export FZF_DEFAULT_OPTS=' export FZF_DEFAULT_OPTS='
--prompt="Manual: " --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 while getopts ":s:" opt; do
case $opt in case $opt in

View File

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

View File

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

View File

@@ -1,19 +1,17 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# required packages:
# - feh
set -e set -e
SCRIPT=$(readlink -f "$0") SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTPATH=$(dirname "$SCRIPT")
[ -z "$@" ] && exit 0 [ -z "$1" ] && exit 0
LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg" LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg"
feh --no-fehbg --bg-fill $@ echo "$(realpath $1)" > $LAST_BG_LOCATION
rm -f "$LAST_BG_LOCATION" hyprctl hyprpaper preload "$1"
ln -s $1 $(realpath "$LAST_BG_LOCATION") 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 #!/usr/bin/env sh
# required packages:
# - xclicp
set -e set -e
@@ -8,9 +6,8 @@ SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTPATH=$(dirname "$SCRIPT")
$SCRIPTPATH/take-selected-screenshot.sh \ $SCRIPTPATH/take-selected-screenshot.sh \
| $SCRIPTPATH/nc-share-file.sh \ | $SCRIPTPATH/upload-image.sh \
| awk '{print $1"/preview"}' \ | wl-copy
| xclip -i -selection "clipboard"
notify-send -u low "Upload complete" notify-send -u low "Upload complete"

View File

@@ -8,7 +8,9 @@ set -e
TMPDIR=$(mktemp -d) 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" filename="$(date +"%d-%m-%y-%H-%M-%Z").png"