Compare commits
2 Commits
a990f86247
...
500b47fd9a
| Author | SHA1 | Date | |
|---|---|---|---|
| 500b47fd9a | |||
| f055bfbedc |
@ -24,5 +24,7 @@ do
|
|||||||
ln -sf "$PWD/$item" "$XDG_CONFIG_HOME/$inst_path"
|
ln -sf "$PWD/$item" "$XDG_CONFIG_HOME/$inst_path"
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -sf "$PWD/$MACHINE/zshrc" "$HOME/.zshrc"
|
ln -sf "$PWD/$MACHINE/functions" "$HOME/.functions"
|
||||||
ln -sf "$PWD/$MACHINE/profile" "$HOME/.profile"
|
ln -sf "$PWD/$MACHINE/profile" "$HOME/.profile"
|
||||||
|
ln -sf "$PWD/$MACHINE/zprofile" "$HOME/.zprofile"
|
||||||
|
ln -sf "$PWD/$MACHINE/zshrc" "$HOME/.zshrc"
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
[net]
|
||||||
|
git-fetch-with-cli = true
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
linker = "gcc"
|
linker = "gcc"
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||||
|
|||||||
8
noire-carnation/config/fuzzel/fuzzel.ini
Normal file
8
noire-carnation/config/fuzzel/fuzzel.ini
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
font=Ubuntu Mono
|
||||||
|
icons-enabled=false
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
background=2d353bff
|
||||||
|
selection=a7c080ff
|
||||||
|
text=d3c6aaff
|
||||||
|
selection-text=2d353bff
|
||||||
@ -23,7 +23,7 @@ DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
|
|||||||
|
|
||||||
#-- The package required by makepkg to download VCS sources
|
#-- The package required by makepkg to download VCS sources
|
||||||
# Format: 'protocol::package'
|
# Format: 'protocol::package'
|
||||||
VCSCLIENTS=('bzr::bzr'
|
VCSCLIENTS=('bzr::breezy'
|
||||||
'fossil::fossil'
|
'fossil::fossil'
|
||||||
'git::git'
|
'git::git'
|
||||||
'hg::mercurial'
|
'hg::mercurial'
|
||||||
|
|||||||
@ -104,12 +104,12 @@ bindsym $mod+Shift+space floating toggle
|
|||||||
bindsym $mod+space focus mode_toggle
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
# lock screen
|
# lock screen
|
||||||
# bindsym --release $mod+Shift+l exec swaylock
|
bindsym --release $mod+escape exec swaylock-blur
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
bindsym $mod+t exec kitty
|
bindsym $mod+t exec kitty
|
||||||
bindsym $mod+d exec wofi
|
bindsym $mod+d exec fuzzel
|
||||||
bindsym $mod+w exec clipman pick -t wofi
|
bindsym $mod+w exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d -w 60"
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
@ -200,6 +200,6 @@ exec discord
|
|||||||
exec ibus-daemon -rxR
|
exec ibus-daemon -rxR
|
||||||
|
|
||||||
# window rules
|
# window rules
|
||||||
|
|
||||||
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable
|
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable
|
||||||
for_window [app_id="org.freedesktop.impl.portal.desktop.kde"] floating enable
|
for_window [app_id="org.freedesktop.impl.portal.desktop.kde"] floating enable
|
||||||
for_window [title="meower"] floating enable; resize set 600 450;
|
|
||||||
|
|||||||
75
noire-carnation/functions
Executable file
75
noire-carnation/functions
Executable file
@ -0,0 +1,75 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bmv() {
|
||||||
|
if test -z "$1"; then
|
||||||
|
printf "Usage: %s [files pattern]...\n" "$0" 1>&2
|
||||||
|
return 64 # sysexits.h(3) EX_USAGE
|
||||||
|
fi
|
||||||
|
|
||||||
|
while test -n "$2"; do
|
||||||
|
for file in $1; do
|
||||||
|
mv "$file" "$(printf "%s" "$file" | sed "s/\$2//g")"
|
||||||
|
done
|
||||||
|
|
||||||
|
shift 2
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
ix() {
|
||||||
|
curl -F 'f:1=<-' ix.io
|
||||||
|
}
|
||||||
|
|
||||||
|
myip() {
|
||||||
|
curl icanhazip.com
|
||||||
|
}
|
||||||
|
|
||||||
|
paclean() {
|
||||||
|
for package in `pacman -Qtq`; do
|
||||||
|
pacman -Qi "$package"
|
||||||
|
|
||||||
|
printf "Uninstall? [y/N] "
|
||||||
|
read resp
|
||||||
|
|
||||||
|
# TODO: Add undo
|
||||||
|
if [ "$resp" != "y" ] && [ "$resp" != "Y" ]; then
|
||||||
|
printf "Skipped %s.\n\n" "$package" 1>&2
|
||||||
|
else
|
||||||
|
printf "Queued %s for uninstall.\n\n" "$package" 1>&2
|
||||||
|
packages="$packages$package "
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
su -c "pacman -Rns $packages"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sc() {
|
||||||
|
if test -z "$1"; then
|
||||||
|
printf "Usage: %s URI...\n" "$0" 1>&2
|
||||||
|
return 64 # sysexits.h(3) EX_USAGE
|
||||||
|
fi
|
||||||
|
|
||||||
|
while "$1"; do
|
||||||
|
scdl --original-name --debug -l "$1" >> log 2>&1
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
up() { # updates everything on the system
|
||||||
|
command -v apk >/dev/null && su -c 'apk update'
|
||||||
|
command -v cargo-install-update >/dev/null && cargo install-update --all --git
|
||||||
|
command -v kiss >/dev/null && su -c 'kiss u' && su -c 'kiss U'
|
||||||
|
command -v nvim >/dev/null && nvim +PlugUpdate -c x -c x
|
||||||
|
if command -v paru >/dev/null; then paru
|
||||||
|
elif command -v pacman >/dev/null; then su -c 'pacman -Syyu'; fi
|
||||||
|
|
||||||
|
CWD="$PWD"
|
||||||
|
|
||||||
|
command -v git >/dev/null && \
|
||||||
|
for dir in $HOME/.local/src/git/*/*/*/
|
||||||
|
do
|
||||||
|
printf '%s\n' "$dir"
|
||||||
|
cd "$dir"
|
||||||
|
git pull --all
|
||||||
|
done
|
||||||
|
|
||||||
|
cd "$CWD"
|
||||||
|
}
|
||||||
@ -43,74 +43,6 @@ GTK_IM_MODULE=ibus; export GTK_IM_MODULE
|
|||||||
QT_IM_MODULE=ibus; export QT_IM_MODULE
|
QT_IM_MODULE=ibus; export QT_IM_MODULE
|
||||||
XMODIFIERS=@im=ibus; export XMODIFIERS
|
XMODIFIERS=@im=ibus; export XMODIFIERS
|
||||||
|
|
||||||
# functions
|
|
||||||
bmv() {
|
|
||||||
if test -z "$1"; then
|
|
||||||
printf "Usage: %s [files pattern]...\n" "$0" 1>&2
|
|
||||||
return 64 # sysexits.h(3) EX_USAGE
|
|
||||||
fi
|
|
||||||
|
|
||||||
while test -n "$2"; do
|
|
||||||
for file in $1; do
|
|
||||||
mv "$file" "$(printf "%s" "$file" | sed "s/\$2//g")"
|
|
||||||
done
|
|
||||||
|
|
||||||
shift 2
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
ix() {
|
|
||||||
curl -F 'f:1=<-' ix.io
|
|
||||||
}
|
|
||||||
|
|
||||||
myip() {
|
|
||||||
curl icanhazip.com
|
|
||||||
}
|
|
||||||
|
|
||||||
paclean() {
|
|
||||||
for package in `pacman -Qtq`; do
|
|
||||||
pacman -Qi "$package"
|
|
||||||
|
|
||||||
printf "Uninstall? [y/N] "
|
|
||||||
read resp
|
|
||||||
|
|
||||||
# TODO: Add undo
|
|
||||||
if [ "$resp" != "y" ] && [ "$resp" != "Y" ]; then
|
|
||||||
printf "Skipped %s.\n\n" "$package" 1>&2
|
|
||||||
else
|
|
||||||
printf "Queued %s for uninstall.\n\n" "$package" 1>&2
|
|
||||||
packages="$packages$package "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
su -c "pacman -Rns $packages"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
sc() {
|
|
||||||
if test -z "$1"; then
|
|
||||||
printf "Usage: %s URI...\n" "$0" 1>&2
|
|
||||||
return 64 # sysexits.h(3) EX_USAGE
|
|
||||||
fi
|
|
||||||
|
|
||||||
while "$1"; do
|
|
||||||
scdl --original-name --debug -l "$1" >> log 2>&1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
yt() {
|
|
||||||
if test -z "$1"; then
|
|
||||||
printf "Usage: %s URI...\n" "$0" 1>&2
|
|
||||||
return 64 # sysexits.h(3) EX_USAGE
|
|
||||||
fi
|
|
||||||
|
|
||||||
while "$1"; do
|
|
||||||
yt-dlp -vx --split-chapters -o \
|
|
||||||
"chapter:%(fulltitle)s - %(section_number)s %(section_title)s.%(ext)s" \
|
|
||||||
"$1" --audio-quality 0 >> log 2>&1
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
alias weather="curl 'wttr.in/?0'"
|
alias weather="curl 'wttr.in/?0'"
|
||||||
alias vi="busybox vi"
|
alias vi="busybox vi"
|
||||||