upload dotfiles
This commit is contained in:
parent
c79eb9fc65
commit
ac383289c7
337 changed files with 3187 additions and 0 deletions
16
.local/bin/bwroot
Executable file
16
.local/bin/bwroot
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
ROOT=""$HOME"/Documents/alpchroot"
|
||||
|
||||
case "$1" in
|
||||
"") echo "usage: bwroot ARGUMENT" >&2; exit 1; ;;
|
||||
*)
|
||||
bwrap \
|
||||
--bind "$ROOT" / \
|
||||
--bind /proc /proc \
|
||||
--dev-bind /dev /dev \
|
||||
--bind "$PWD" "$PWD" \
|
||||
--bind "$HOME" "$HOME" \
|
||||
--unshare-all \
|
||||
"$@" ;;
|
||||
esac
|
2
.local/bin/camera
Executable file
2
.local/bin/camera
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
pkill -f /dev/video || mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --autofit=25% --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)
|
2
.local/bin/dwmlaunch
Executable file
2
.local/bin/dwmlaunch
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
zsh -lc "/usr/libexec/pipewire-launcher & slstatus | dbus-run-session dwl"
|
19
.local/bin/getvol
Executable file
19
.local/bin/getvol
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
dev=@DEFAULT_SINK@
|
||||
! [ "$1" = '-m' ] || { dev=@DEFAULT_SOURCE@; shift; }
|
||||
|
||||
vol="$(wpctl get-volume "$dev")"
|
||||
|
||||
[ "$vol" != "${vol%\[MUTED\]}" ] && echo "MUTED" && exit
|
||||
vol="${vol#Volume: }"
|
||||
|
||||
split() {
|
||||
# For ommiting the . without calling and external program.
|
||||
IFS=$2
|
||||
set -- $1
|
||||
printf '%s' "$@"
|
||||
}
|
||||
|
||||
vol="$(printf "%.0f" "$(split "$vol" ".")")"
|
||||
echo "$vol"
|
20
.local/bin/powermenu
Executable file
20
.local/bin/powermenu
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
# tofi powermenu
|
||||
case $(printf "%s\n" " Lock session" " Log out" " Suspend" " Reboot" " Shut down" | fuzzel -d) in
|
||||
" Lock session")
|
||||
swaylock
|
||||
;;
|
||||
" Log out")
|
||||
kill "$(pidof dwl)"
|
||||
;;
|
||||
" Suspend")
|
||||
loginctl suspend
|
||||
;;
|
||||
" Reboot")
|
||||
loginctl reboot
|
||||
;;
|
||||
" Shut down")
|
||||
loginctl poweroff
|
||||
esac
|
||||
|
33
.local/bin/recordscreen
Executable file
33
.local/bin/recordscreen
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh -x
|
||||
#
|
||||
# Show icon in slstatus: [ + () ]
|
||||
# [ + + () ]
|
||||
# [ () ]
|
||||
#
|
||||
screencast(){
|
||||
case $(printf "%s\n" " Mic ON" " Mic OFF" | fuzzel -d) in
|
||||
" Mic ON")
|
||||
wf-recorder -D -a -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
|
||||
;;
|
||||
" Mic OFF")
|
||||
wf-recorder -D --audio="$(pactl list short sources | grep output | awk '{print $2}')" -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
video(){
|
||||
wf-recorder -D -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
|
||||
}
|
||||
|
||||
kill(){
|
||||
killall -s SIGINT wf-recorder && \
|
||||
notify-send "wf-recorder" "recording stopped" || \
|
||||
notify-send "ERROR" "No recording process found"
|
||||
}
|
||||
|
||||
case $(printf "%s\n" " Screencast" " Video only" " Stop recording" | fuzzel -d) in
|
||||
" Screencast") screencast;;
|
||||
" Video only") video;;
|
||||
" Stop recording") kill;;
|
||||
*) kill;;
|
||||
esac
|
12
.local/bin/tofiunicode
Executable file
12
.local/bin/tofiunicode
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# The famous "get a menu of emojis to copy" script, ported to tofi (wayland).
|
||||
|
||||
# Get user selection via tofi from emoji file.
|
||||
chosen=$(cut -d ';' -f1 ~/.local/share/misc/chars/* | fuzzel -d | sed "s/ .*//")
|
||||
|
||||
# Exit if none chosen.
|
||||
[ -z "$chosen" ] && exit
|
||||
|
||||
printf "%s" "$chosen" | wl-copy
|
||||
notify-send "'$chosen' copied to clipboard." &
|
8
.local/share/applications/imv.desktop
Normal file
8
.local/share/applications/imv.desktop
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=imv
|
||||
GenericName=Image Viewer
|
||||
Comment=X11/Wayland Image Viewer
|
||||
Exec=/usr/bin/imv %f
|
||||
Icon=multimedia-photo-viewer
|
||||
Terminal=true
|
Binary file not shown.
BIN
.local/share/fonts/ttf/AppleColorEmoji/AppleColorEmoji.ttf
Normal file
BIN
.local/share/fonts/ttf/AppleColorEmoji/AppleColorEmoji.ttf
Normal file
Binary file not shown.
3
.local/share/icons/macOS-White/cursor.theme
Normal file
3
.local/share/icons/macOS-White/cursor.theme
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Icon Theme]
|
||||
Name=macOS-White
|
||||
Inherits="macOS-White"
|
|
@ -0,0 +1 @@
|
|||
left_ptr_watch
|
|
@ -0,0 +1 @@
|
|||
sb_v_double_arrow
|
|
@ -0,0 +1 @@
|
|||
sb_h_double_arrow
|
|
@ -0,0 +1 @@
|
|||
crossed_circle
|
|
@ -0,0 +1 @@
|
|||
left_ptr_watch
|
|
@ -0,0 +1 @@
|
|||
copy
|
|
@ -0,0 +1 @@
|
|||
sb_h_double_arrow
|
|
@ -0,0 +1 @@
|
|||
sb_v_double_arrow
|
|
@ -0,0 +1 @@
|
|||
link
|
|
@ -0,0 +1 @@
|
|||
left_ptr_watch
|
|
@ -0,0 +1 @@
|
|||
move
|
|
@ -0,0 +1 @@
|
|||
question_arrow
|
|
@ -0,0 +1 @@
|
|||
copy
|
|
@ -0,0 +1 @@
|
|||
link
|
|
@ -0,0 +1 @@
|
|||
move
|
|
@ -0,0 +1 @@
|
|||
hand2
|
BIN
.local/share/icons/macOS-White/cursors/X_cursor
Normal file
BIN
.local/share/icons/macOS-White/cursors/X_cursor
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
link
|
1
.local/share/icons/macOS-White/cursors/alias
Symbolic link
1
.local/share/icons/macOS-White/cursors/alias
Symbolic link
|
@ -0,0 +1 @@
|
|||
link
|
BIN
.local/share/icons/macOS-White/cursors/all-scroll
Normal file
BIN
.local/share/icons/macOS-White/cursors/all-scroll
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
left_ptr
|
|
@ -0,0 +1 @@
|
|||
copy
|
1
.local/share/icons/macOS-White/cursors/bd_double_arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/bd_double_arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_right_corner
|
BIN
.local/share/icons/macOS-White/cursors/bottom_left_corner
Normal file
BIN
.local/share/icons/macOS-White/cursors/bottom_left_corner
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/bottom_right_corner
Normal file
BIN
.local/share/icons/macOS-White/cursors/bottom_right_corner
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/bottom_side
Symbolic link
1
.local/share/icons/macOS-White/cursors/bottom_side
Symbolic link
|
@ -0,0 +1 @@
|
|||
top_side
|
BIN
.local/share/icons/macOS-White/cursors/bottom_tee
Normal file
BIN
.local/share/icons/macOS-White/cursors/bottom_tee
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
bottom_right_corner
|
1
.local/share/icons/macOS-White/cursors/cell
Symbolic link
1
.local/share/icons/macOS-White/cursors/cell
Symbolic link
|
@ -0,0 +1 @@
|
|||
plus
|
BIN
.local/share/icons/macOS-White/cursors/center_ptr
Normal file
BIN
.local/share/icons/macOS-White/cursors/center_ptr
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/circle
Symbolic link
1
.local/share/icons/macOS-White/cursors/circle
Symbolic link
|
@ -0,0 +1 @@
|
|||
crossed_circle
|
1
.local/share/icons/macOS-White/cursors/closedhand
Symbolic link
1
.local/share/icons/macOS-White/cursors/closedhand
Symbolic link
|
@ -0,0 +1 @@
|
|||
move
|
1
.local/share/icons/macOS-White/cursors/col-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/col-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_h_double_arrow
|
1
.local/share/icons/macOS-White/cursors/color-picker
Symbolic link
1
.local/share/icons/macOS-White/cursors/color-picker
Symbolic link
|
@ -0,0 +1 @@
|
|||
cross
|
BIN
.local/share/icons/macOS-White/cursors/context-menu
Normal file
BIN
.local/share/icons/macOS-White/cursors/context-menu
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/copy
Normal file
BIN
.local/share/icons/macOS-White/cursors/copy
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/cross
Normal file
BIN
.local/share/icons/macOS-White/cursors/cross
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/cross_reverse
Symbolic link
1
.local/share/icons/macOS-White/cursors/cross_reverse
Symbolic link
|
@ -0,0 +1 @@
|
|||
cross
|
BIN
.local/share/icons/macOS-White/cursors/crossed_circle
Normal file
BIN
.local/share/icons/macOS-White/cursors/crossed_circle
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/crosshair
Normal file
BIN
.local/share/icons/macOS-White/cursors/crosshair
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
question_arrow
|
1
.local/share/icons/macOS-White/cursors/default
Symbolic link
1
.local/share/icons/macOS-White/cursors/default
Symbolic link
|
@ -0,0 +1 @@
|
|||
left_ptr
|
1
.local/share/icons/macOS-White/cursors/diamond_cross
Symbolic link
1
.local/share/icons/macOS-White/cursors/diamond_cross
Symbolic link
|
@ -0,0 +1 @@
|
|||
cross
|
1
.local/share/icons/macOS-White/cursors/dnd-ask
Symbolic link
1
.local/share/icons/macOS-White/cursors/dnd-ask
Symbolic link
|
@ -0,0 +1 @@
|
|||
question_arrow
|
1
.local/share/icons/macOS-White/cursors/dnd-copy
Symbolic link
1
.local/share/icons/macOS-White/cursors/dnd-copy
Symbolic link
|
@ -0,0 +1 @@
|
|||
copy
|
1
.local/share/icons/macOS-White/cursors/dnd-link
Symbolic link
1
.local/share/icons/macOS-White/cursors/dnd-link
Symbolic link
|
@ -0,0 +1 @@
|
|||
link
|
1
.local/share/icons/macOS-White/cursors/dnd-move
Symbolic link
1
.local/share/icons/macOS-White/cursors/dnd-move
Symbolic link
|
@ -0,0 +1 @@
|
|||
move
|
1
.local/share/icons/macOS-White/cursors/dnd-none
Symbolic link
1
.local/share/icons/macOS-White/cursors/dnd-none
Symbolic link
|
@ -0,0 +1 @@
|
|||
move
|
BIN
.local/share/icons/macOS-White/cursors/dnd_no_drop
Normal file
BIN
.local/share/icons/macOS-White/cursors/dnd_no_drop
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/dot_box_mask
Symbolic link
1
.local/share/icons/macOS-White/cursors/dot_box_mask
Symbolic link
|
@ -0,0 +1 @@
|
|||
dotbox
|
BIN
.local/share/icons/macOS-White/cursors/dotbox
Normal file
BIN
.local/share/icons/macOS-White/cursors/dotbox
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/double_arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/double_arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_v_double_arrow
|
1
.local/share/icons/macOS-White/cursors/down-arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/down-arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_down_arrow
|
1
.local/share/icons/macOS-White/cursors/draft
Symbolic link
1
.local/share/icons/macOS-White/cursors/draft
Symbolic link
|
@ -0,0 +1 @@
|
|||
pencil
|
1
.local/share/icons/macOS-White/cursors/draft_large
Symbolic link
1
.local/share/icons/macOS-White/cursors/draft_large
Symbolic link
|
@ -0,0 +1 @@
|
|||
right_ptr
|
1
.local/share/icons/macOS-White/cursors/draft_small
Symbolic link
1
.local/share/icons/macOS-White/cursors/draft_small
Symbolic link
|
@ -0,0 +1 @@
|
|||
right_ptr
|
1
.local/share/icons/macOS-White/cursors/draped_box
Symbolic link
1
.local/share/icons/macOS-White/cursors/draped_box
Symbolic link
|
@ -0,0 +1 @@
|
|||
dotbox
|
1
.local/share/icons/macOS-White/cursors/e-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/e-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
left_side
|
|
@ -0,0 +1 @@
|
|||
hand2
|
1
.local/share/icons/macOS-White/cursors/ew-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/ew-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_h_double_arrow
|
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
|
@ -0,0 +1 @@
|
|||
move
|
1
.local/share/icons/macOS-White/cursors/fd_double_arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/fd_double_arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
1
.local/share/icons/macOS-White/cursors/fleur
Symbolic link
1
.local/share/icons/macOS-White/cursors/fleur
Symbolic link
|
@ -0,0 +1 @@
|
|||
all-scroll
|
1
.local/share/icons/macOS-White/cursors/forbidden
Symbolic link
1
.local/share/icons/macOS-White/cursors/forbidden
Symbolic link
|
@ -0,0 +1 @@
|
|||
crossed_circle
|
1
.local/share/icons/macOS-White/cursors/grab
Symbolic link
1
.local/share/icons/macOS-White/cursors/grab
Symbolic link
|
@ -0,0 +1 @@
|
|||
hand1
|
1
.local/share/icons/macOS-White/cursors/grabbing
Symbolic link
1
.local/share/icons/macOS-White/cursors/grabbing
Symbolic link
|
@ -0,0 +1 @@
|
|||
move
|
1
.local/share/icons/macOS-White/cursors/h_double_arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/h_double_arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_h_double_arrow
|
BIN
.local/share/icons/macOS-White/cursors/hand1
Normal file
BIN
.local/share/icons/macOS-White/cursors/hand1
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/hand2
Normal file
BIN
.local/share/icons/macOS-White/cursors/hand2
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/help
Symbolic link
1
.local/share/icons/macOS-White/cursors/help
Symbolic link
|
@ -0,0 +1 @@
|
|||
question_arrow
|
1
.local/share/icons/macOS-White/cursors/ibeam
Symbolic link
1
.local/share/icons/macOS-White/cursors/ibeam
Symbolic link
|
@ -0,0 +1 @@
|
|||
xterm
|
1
.local/share/icons/macOS-White/cursors/icon
Symbolic link
1
.local/share/icons/macOS-White/cursors/icon
Symbolic link
|
@ -0,0 +1 @@
|
|||
dotbox
|
1
.local/share/icons/macOS-White/cursors/left-arrow
Symbolic link
1
.local/share/icons/macOS-White/cursors/left-arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_left_arrow
|
BIN
.local/share/icons/macOS-White/cursors/left_ptr
Normal file
BIN
.local/share/icons/macOS-White/cursors/left_ptr
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/left_ptr_help
Symbolic link
1
.local/share/icons/macOS-White/cursors/left_ptr_help
Symbolic link
|
@ -0,0 +1 @@
|
|||
question_arrow
|
BIN
.local/share/icons/macOS-White/cursors/left_ptr_watch
Normal file
BIN
.local/share/icons/macOS-White/cursors/left_ptr_watch
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/left_side
Normal file
BIN
.local/share/icons/macOS-White/cursors/left_side
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/left_tee
Normal file
BIN
.local/share/icons/macOS-White/cursors/left_tee
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/link
Normal file
BIN
.local/share/icons/macOS-White/cursors/link
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/ll_angle
Normal file
BIN
.local/share/icons/macOS-White/cursors/ll_angle
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/lr_angle
Normal file
BIN
.local/share/icons/macOS-White/cursors/lr_angle
Normal file
Binary file not shown.
BIN
.local/share/icons/macOS-White/cursors/move
Normal file
BIN
.local/share/icons/macOS-White/cursors/move
Normal file
Binary file not shown.
1
.local/share/icons/macOS-White/cursors/n-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/n-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
top_side
|
1
.local/share/icons/macOS-White/cursors/ne-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/ne-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
1
.local/share/icons/macOS-White/cursors/nesw-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/nesw-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
1
.local/share/icons/macOS-White/cursors/no-drop
Symbolic link
1
.local/share/icons/macOS-White/cursors/no-drop
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd_no_drop
|
1
.local/share/icons/macOS-White/cursors/not-allowed
Symbolic link
1
.local/share/icons/macOS-White/cursors/not-allowed
Symbolic link
|
@ -0,0 +1 @@
|
|||
crossed_circle
|
1
.local/share/icons/macOS-White/cursors/ns-resize
Symbolic link
1
.local/share/icons/macOS-White/cursors/ns-resize
Symbolic link
|
@ -0,0 +1 @@
|
|||
sb_v_double_arrow
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue