Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
The-Repo-Club 2022-01-01 21:03:51 +00:00
parent 841c11962f
commit dc75d84e78
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
33 changed files with 533 additions and 401 deletions

View File

@ -1,40 +0,0 @@
# Comment out below or deleted the lines for things you dont want displayed!
# You may also change the order of these if you wish too...
display=(
'title' # Daytime and name
'sep' # Seperator
'uptime' # Uptime
'hwinfo' # Hardware Information (Header)
'host' # Host (PC Model Information)
'cpu' # CPU Information
'gpu' # GPU Information
'mem' # Memory Information
'res' # Resolution Information
'disk' # Disk Information (All disks installed)
'pinfo' # Peripherals Information (Header)
'keyboard' # Keyboard Information
'mouse' # Mouse Information
'monitor' # Monitor Information
'audio' # Audio Information
'swinfo' # Software Information (Header)
'distro' # Distro Information
'init' # Init Information
'kernel' # Kernel Information
'pkgs' # Packages Information
'shell' # Shell Information
'term' # Terminal Information
'de' # Desktop Environment Information
'wm' # Window Manager Information
'wmTheme' # Window Manager Theme Information
'gtkTheme' # GTK Theme Information
'gtkIcons' # GTK Icons Information
'gtkFonts' # GTK Fonts Information
'qtTheme' # QT Theme Information
'qtIcons' # QT Icons Information
'qtFonts' # QT Fonts Information
'end' # End (Header)
'blank' # Empty Block
'blank' # Empty Block
'color1' # Normal Colors
'color2' # Bright Colors
)

View File

@ -6,7 +6,7 @@ print_info() {
info title
info underline
info "Uptime " uptime
info " " hwinfo
info hwinfo
info "Host " model
info "CPU " cpu
info "CPU Usage " cpu_usage
@ -14,12 +14,12 @@ print_info() {
info "Memory " memory
info "Resolution " resolution
info "Disk " disk
info " " prinfo
info prinfo
info "Keyboard " keyboard
info "Mouse " mouse
info "Monitor " monitor
info "Audio " audio
info " " swinfo
info swinfo
info "Distro " distro
info "Init " init
info "Locale " locale # This only works on glibc systems.
@ -34,7 +34,7 @@ print_info() {
info "Font " font
info "Terminal " term
info "Terminal Font " term_font
info " " bottom
info bottom
# info "Network " network
# info "GPU Driver " gpu_driver # Linux/macOS only
@ -56,6 +56,14 @@ print_info() {
# Note: To input user's birthday (example: 12 June), use this command: bfetch --birthday 12/06
user_bday="on"
# Happy near year ascii
# Show HAPPY HEW YEAR ascii art intead of distro's logo
# Default: 'on'
# Values: 'on', 'off'
# Flag: --new_year
new_year="on"
# Title
# Hide/Show Fully qualified domain name.
@ -567,14 +575,14 @@ underline_char="~"
# Example:
# separator="->": 'Shell-> bash'
# separator=" =": 'WM = dwm'
separator="\a"
separator=" » "
# Align Text
#
# Default: 'off'
# Values: 'left', 'right', 'off'
# Flag: --align_output
align_output="right"
align_output="off"
# Color Blocks
@ -881,10 +889,11 @@ stdout="off"
#==============================================================================
#
printf -v init "%b" "$(strings /sbin/init | awk 'match($0, /(upstart|systemd|sysvinit|runit)/) { print substr($0, RSTART, RLENGTH); exit; }')"
printf -v hwinfo "%b" "$(color 1)╔════════════════$(color 2) Hardware Information $(color 1)═════════════════╗"
printf -v swinfo "%b" "$(color 1)╠════════════════$(color 2) Software Information $(color 1)═════════════════╣"
printf -v prinfo "%b" "$(color 1)╠═══════════════$(color 2) Peripherals Information $(color 1)═══════════════╣"
printf -v bottom "%b" "$(color 1)╚═══════════════════════════════════════════════════════╝"
printf -v hwinfo "%b" "$(color 1)╔════════════════$(color 2) Hardware Information $(color 1)═════════════════╗$(color 7)"
printf -v swinfo "%b" "$(color 1)╠════════════════$(color 2) Software Information $(color 1)═════════════════╣$(color 7)"
printf -v prinfo "%b" "$(color 1)╠═══════════════$(color 2) Peripherals Information $(color 1)═══════════════╣$(color 7)"
printf -v msinfo "%b" "$(color 1)╠══════════════════$(color 2) Music Information $(color 1)══════════════════╣$(color 7)"
printf -v bottom "%b" "$(color 1)╚═══════════════════════════════════════════════════════╝$(color 7)"
#=== FUNCTION =================================================================
# Name: get_keyboard

View File

@ -196,7 +196,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\y=#ffffff
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\z=#ffffff
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=88651271
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=d440902f
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Name=Rainbow
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\DPI\0=@Point(400 400)
@ -424,7 +424,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\y=#ff0000
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\z=#ff0000
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=e662d1c8
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=a2cedbab
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Name=Breathing
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\DPI\0=@Point(400 400)
@ -674,7 +674,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\y=#aa00ff
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\z=#aa00ff
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=9a1ff7c7
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=867f9db
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Name=Trippy
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\DPI\0=@Point(400 400)
@ -732,7 +732,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\CurrentMode={51EB6E3A-27A0-4AD6-A35C-6B67E0329A3D}
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\HwModified=7ffd
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\ModeCount=3
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=999307a7
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=183733a6
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Name=Multi
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\KeyMap=K68 GB
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\UseRealNames=true
@ -928,7 +928,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\y=#ffffff
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\z=#ffffff
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=42863507
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=d8b1808b
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Name=Rainbow
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\DPI\0=@Point(400 400)
@ -1156,7 +1156,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\y=#ff0000
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\z=#ff0000
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=16df17b
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=b35fe560
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Name=Breathing
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\DPI\0=@Point(400 400)
@ -1406,7 +1406,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\y=#aa00ff
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\z=#aa00ff
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\UseRealNames=true
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=fb74c357
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=deb85b1a
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Name=Trippy
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\AngleSnap=false
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\DPI\0=@Point(400 400)
@ -1464,7 +1464,7 @@
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\CurrentMode={57C94A3A-80E6-4182-B067-6D4A14AD497C}
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\HwModified=40b6f054
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\ModeCount=3
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=7b05c273
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=8914e06a
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo
[Popups]

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 488 KiB

After

Width:  |  Height:  |  Size: 488 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -1,3 +1,2 @@
#!/usr/bin/env bash
feh --no-fehbg --bg-scale '/home/dt/.config/feh/backgrounds/endeavour.png'
feh --no-fehbg --bg-scale '/home/dt/.config/feh/backgrounds/therepoclub_dracula2.png'

View File

@ -0,0 +1,43 @@
# Unlock user from passwords
function ulock
faillock --reset
end
# Check ports for current user
function ports
sudo netstat -tulanp
end
# Set permissions for user
function setperm
sudo chown dt:dt $argv
end
# Stow commands
function stowadd
stow -St ~ $argv
end
function stowremove
stow -Dt ~ $argv
end
# Clear command
function clear
command reset && fish
end
# free
function free
command free -mt
end
# continue download
function wget
command wget -c $argv
end
# grub update
function update-grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
end

View File

@ -0,0 +1,100 @@
#github commands
function g
git $argv
end
function gadd
git add $argv
end
function gbranch
git branch $argv
end
function gcommit
git commit -S -v $argv
end
function gcommitmsg
git commit -S -m $argv
end
function gclone
git clone $argv
end
function gclean
git clean -id $argv
end
function gdiff
git diff $argv
end
function gfetch
git fetch $argv
end
function ghelp
git help $argv
end
function gpull
git pull $argv
end
function gmerge
git merge $argv
end
function gpush
git push $argv
end
function gremote
git remote $argv
end
function grebase
git rebase $argv
end
function grevert
git revert $argv
end
function greset
git reset $argv
end
function grm
git rm $argv
end
function gremote
git remote remove $argv
end
function grestore
git restore $argv
end
function greset
git reset -- $argv
end
function gshow
git show $argv
end
function gstatus
git status $argv
end
function gstash
git stash $argv
end
function gall
gpull && gadd . && gcommit -s && gpush
end

View File

@ -0,0 +1,28 @@
#list comamnds
function l
lsd $argv
end
function ls
lsd $argv
end
function la
ls -a
end
function ll
ls -l
end
function lla
ls -la
end
function lt
ls --tree
end
function lg
ls -A | egrep $argv
end

View File

@ -0,0 +1,35 @@
# Update Repo
function pacman
command sudo pacman $argv
end
function yay
command yay --color auto $argv
end
function update
pacman -Syu
end
function upall
yay -Fy && yay -Syu --noconfirm
end
#check aur and arch packages
function checkarch
pacman -Qqen >~/package_list.txt
end
function checkaur
pacman -Qqem >~/package_list_aur.txt
end
function aurupdate
auracle update -C ~/.cache/pkg/
end
# Pacman unlock
function unlock
sudo rm /var/lib/pacman/db.lck
end

View File

@ -0,0 +1,45 @@
function updaterepo
while true
read -l -P "Are you sure you want to update arch repo? [y/N] " confirm
switch $confirm
case Y y
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/
./git-v1.sh $argv
cd $dirprev[1]
echoResponce "Arch repo has been updated."
return
case "" N n
return
end
end
end
function updatereadme
while true
read -l -P "Are you sure you want to update arch readme? [y/N] " confirm
switch $confirm
case Y y
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/docs/
python updatereadme.py
cd $dirprev[1]
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/x86_64/
python updatereadme.py
cd $dirprev[1]
echoResponce "Arch readme has been updated."
return
case "" N n
return
end
end
end
function echoResponce
set_color 0F0
echo -n "✔ "
set_color FF0
echo -n " $argv "
set_color 0F0
echo -e " ✔"
end

View File

@ -0,0 +1,16 @@
#rsync commands
function rsync-move
rsync -avz --progress -h --remove-source-files $argv
end
function rsync-synchronize
rsync -avzu --delete --progress -h $argv
end
function rsync-update
rsync -avzu --progress -h $argv
end
function rsync-copy
rsync -avz --progress -h $argv
end

View File

@ -0,0 +1,20 @@
#youtube-dl commands
function yta-aac
youtube-dl --extract-audio --audio-format aac $argv
end
function yta-best
youtube-dl --extract-audio --audio-format best $argv
end
function yta-m4a
youtube-dl --extract-audio --audio-format m4a $argv
end
function yta-mp3
youtube-dl --extract-audio --audio-format mp3 $argv
end
function yta-wav
youtube-dl --extract-audio --audio-format wav $argv
end

View File

@ -1,301 +0,0 @@
function fish_greeting
# bfetch --birthday 16/06
fm6000 -f ~/.config/fm6000/art
end
# Check ports for current user
function ports
sudo netstat -tulanp
end
#set permissions for user
function setperm
sudo chown dt:dt $argv
end
#stow commands
function stowadd
stow -St ~ $argv
end
function stowremove
stow -Dt ~ $argv
end
#list comamnds
function l
lsd $argv
end
function ls
lsd $argv
end
function la
ls -a
end
function ll
ls -l
end
function lla
ls -la
end
function lt
ls --tree
end
function lg
ls -A | egrep $argv
end
# Update Repo
function pacman
command sudo pacman $argv
end
function update
pacman -Syu
end
function instaupdate
instaaur -c
end
function aurupdate
auracle update -C ~/.cache/instaaur/pkg
end
#clear command
function clear
command reset && fish
end
#pacman unlock
function unlock
sudo rm /var/lib/pacman/db.lck
end
#free
function free
command free -mt
end
#continue download
function wget
command wget -c $argv
end
#grub update
function update-grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
end
#youtube-dl commands
function yta-aac
youtube-dl --extract-audio --audio-format aac $argv
end
function yta-best
youtube-dl --extract-audio --audio-format best $argv
end
function yta-m4a
youtube-dl --extract-audio --audio-format m4a $argv
end
function yta-mp3
youtube-dl --extract-audio --audio-format mp3 $argv
end
function yta-wav
youtube-dl --extract-audio --audio-format wav $argv
end
#check aur and arch packages
function checkarch
pacman -Qqen >~/package_list.txt
end
function checkaur
pacman -Qqem >~/package_list_aur.txt
end
#rsync commands
function rsync-move
rsync -avz --progress -h --remove-source-files $argv
end
function rsync-synchronize
rsync -avzu --delete --progress -h $argv
end
function rsync-update
rsync -avzu --progress -h $argv
end
function rsync-copy
rsync -avz --progress -h $argv
end
#github commands
function g
git $argv
end
function gadd
git add $argv
end
function gbranch
git branch $argv
end
function gcommit
git commit -S -v $argv
end
function gcommitmsg
git commit -S -m $argv
end
function gclone
git clone $argv
end
function gclean
git clean -id $argv
end
function gdiff
git diff $argv
end
function gfetch
git fetch $argv
end
function ghelp
git help $argv
end
function gpull
git pull $argv
end
function gmerge
git merge $argv
end
function gpush
git push $argv
end
function gremote
git remote $argv
end
function grebase
git rebase $argv
end
function grevert
git revert $argv
end
function greset
git reset $argv
end
function grm
git rm $argv
end
function gremote
git remote remove $argv
end
function grestore
git restore $argv
end
function greset
git reset -- $argv
end
function gshow
git show $argv
end
function gstatus
git status $argv
end
function gstash
git stash $argv
end
function updaterepo
while true
read -l -P "Are you sure you want to update arch repo? [y/N] " confirm
switch $confirm
case Y y
cd ~/.gitlabs/Arch.TheRepo.Club/
./git-v1.sh $argv
cd $dirprev[1]
echoResponce "Arch repo has been updated."
return
case "" N n
return
end
end
end
function updatereadme
while true
read -l -P "Are you sure you want to update arch readme? [y/N] " confirm
switch $confirm
case Y y
cd ~/.gitlabs/Arch.TheRepo.Club/docs/
python updatereadme.py
cd $dirprev[1]
cd ~/.gitlabs/Arch.TheRepo.Club/x86_64/
python updatereadme.py
cd $dirprev[1]
echoResponce "Arch readme has been updated."
return
case "" N n
return
end
end
end
function echoResponce
set_color 0F0
echo -n "✔ "
set_color FF0
echo -n " $argv "
set_color 0F0
echo -e " ✔"
end
function package_count
set red "\033[0;31m"
set green "\033[0;32m"
set blue "\033[0;34m"
set end "\033[0m"
printf "$red Explicit$end: %s\n" (pacman -Qe | wc -l)
printf "$green Total$end: %s\n" (pacman -Q | wc -l)
printf "$blue External$end: %s\n" (pacman -Qm | wc -l)
end
# Keybinding
bind \ec __history_previous_command
bind \e\e __sudope

View File

@ -5,7 +5,7 @@ SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_initialized:3100
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:\x2d\x2dbold
SETUVAR fish_color_command:green
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red

View File

@ -1,21 +1,4 @@
function fish_prompt
set -g fish_prompt_pwd_dir_length 3
# Cache exit status
set -l last_status $status
# Just calculate these once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
if not set -q __fish_prompt_char
switch (id -u)
case 0
set -g __fish_prompt_char \u276f\u276f
case '*'
set -g __fish_prompt_char '$'
end
end
# Setup colors
#Bold Colors
set -l bnormal (set_color -o normal)
@ -39,6 +22,23 @@ function fish_prompt
set -l cyan (set_color cyan)
set -l white (set_color white)
set -g fish_prompt_pwd_dir_length 3
# Cache exit status
set -l last_status $status
# Just calculate these once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
if not set -q __fish_prompt_char
switch (id -u)
case 0
set -g __fish_prompt_char \u276f\u276f
case '*'
set -g __fish_prompt_char $bgreen''$bmagenta''$bred''$byellow''$bblue''$bcyan''
end
end
# Configure __fish_git_prompt
set -g __fish_git_prompt_show_informative_status true
set -g __fish_git_prompt_showcolorhints true
@ -50,9 +50,8 @@ function fish_prompt
end
# Top
echo -n $bred"["$byellow"$USER"$bgreen"@"$bblue"$__fish_prompt_hostname"$bnormal $bred(prompt_pwd)"]"$normal
__fish_git_prompt
echo -n $bred"["$byellow"$USER"$bgreen"@"$bblue"$__fish_prompt_hostname"$bnormal $bred(prompt_pwd)"]" $normal(fish_vcs_prompt)
# Bottom
echo -n $bmagenta$__fish_prompt_char $normal
echo -e "\n$__fish_prompt_char $normal"
end

View File

@ -598,7 +598,7 @@ assign [instance="(?i)Nemo"]
assign [instance="(?i)Aseprite|Krita"] → $ws4
# Workspace $ws5 Music
assign [instance="(?i)Vlc"] → $ws5
assign [instance="(?i)Xephyr"] → $ws5
# Workspace $ws6 WebBrowser
assign [instance="(?i)Firefox|Google-Chrome"] → $ws6
@ -799,11 +799,6 @@ $control_b+$alt+p \
$super_b+$control+h \
$exe $Hypervisor;focus
## Category: Applications;
# Description: Launch $GitBrowser;
$super_b+$control+l \
$exe i3_run $GitBrowser;focus
# }}} applications keyboard shortcuts
#####################################################################################################################

View File

@ -44,8 +44,8 @@ sync_to_monitor no
# Bell
visual_bell_duration 0.0
enable_audio_bell yes
bell_on_tab yes
enable_audio_bell no
bell_on_tab no
# Window
remember_window_size no

View File

@ -44,12 +44,12 @@ while true ; do
if [[ $number -eq 0 ]]; then
if [[ $autolock -eq 0 ]]; then
xautolock -enable && notify-send -t 2400 "xautolock" "enabled"
xautolock -enable && notify-send -t 1400 "xautolock" "enabled"
autolock=1
fi
else
if [[ $autolock -eq 1 ]]; then
xautolock -disable && notify-send -t 2400 "xautolock" "disabled"
xautolock -disable && notify-send -t 1400 "xautolock" "disabled"
autolock=0
fi
fi

53
localbin/.local/bin/pc Executable file
View File

@ -0,0 +1,53 @@
#!/usr/bin/env bash
## Reset Colors
Reset='\e[0m'
### Custom colors
Purple='\e[1;35m'
Yellow='\e[1;33m'
Green='\e[1;32m'
Blue='\e[1;34m'
Cyan='\e[1;36m'
Red='\e[1;31m'
### Custom colors
declare -a repolist
col=0
###Function
function repo_list () {
repolist=($(pacman-conf -l))
for i in "${repolist[@]}"; do
count=$(paclist $i | wc -l)
col=$((col+1))
printf "\e[0;3${col}m\e[1m %s \e[0m%d\n" "$i" "$count"
done
}
function package_count () {
printf "${Red} Explicit${Reset}: %s\n" "$(pacman -Qe | wc -l)"
printf "${Green} Total${Reset}: %s\n" "$(pacman -Q | wc -l)"
if [ "$(pacman -Qqm | wc -l)" -gt "0" ]; then
printf "${Blue} AUR${Reset}: %s\n" "$(pacman -Qm | wc -l)"
fi
if command -v basher &> /dev/null; then
num=0
while read -r ; do
num=$(( num + 1))
done <<< $( basher list )
if [ "$num" -gt "0" ]; then
printf "${Yellow} Basher${Reset}: %s\n" "${num}"
fi
fi
if command -v pip &> /dev/null; then
num=0
while read -r ; do
num=$(( num + 1))
done <<< $( pip list )
if [ "$num" -gt "0" ]; then
printf "${Cyan} PIP${Reset}: %s\n" "${num}"
fi
fi
echo
repo_list
return
}
package_count

41
localbin/.local/bin/xterm Executable file
View File

@ -0,0 +1,41 @@
#!/usr/bin/env bash
#------------------------------------------------------------------------------
# Path - /usr/bin/xterm
# GitHub - https://github.com/The-Repo-Club/
# Author - The-Repo-Club [wayne6324@gmail.com]
# Start on - Sun 24 Oct 13:26:51 BST 2021
# Modified On - Sun 31 Oct 00:28:04 BST 2021
#------------------------------------------------------------------------------
run_terminal() {
Arg1=$1; shift; export ArgX=$@
if [ "$terminal" = "alacritty" ]; then
exec "$terminal" --title "$Arg1" --class "$Arg1,$Arg1" -e "$Arg1" "$ArgX"
elif [ "$terminal" = "kitty" ]; then
exec "$terminal" --title="$Arg1" --class="$Arg1" --name=$Arg1 -e "$Arg1" "$ArgX"
else
exec "$terminal" "$Arg1" "$ArgX"
fi
}
xterm () {
for terminal in "$TERMINAL" kitty alacritty terminator xfce4-terminal urxvt termit termite lxterminal terminology st konsole ; do
if command -v "$terminal" > /dev/null 2>&1; then
Arg1=$1; shift; Arg2=$1;
if command -v $Arg2 &> /dev/null; then
shift; export ArgX=$@
run_terminal "$Arg2" "$ArgX"
echo "$Arg2" "$ArgX"
exit 0
else
export ArgX=$@
run_terminal "$Arg1" "$ArgX"
echo "$Arg1" "$ArgX"
exit 0
fi
fi
done
}
xterm $@

View File

@ -1 +1 @@
{"gtk2_hidpi": true, "OPTION_GTK3_CURRENT_VERSION_ONLY": true, "OPTION_EXPORT_CINNAMON_THEME": true, "default_path": "/home/dt/.themes"}
{"gtk2_hidpi": false, "OPTION_GTK3_CURRENT_VERSION_ONLY": false, "OPTION_EXPORT_CINNAMON_THEME": false, "default_path": "/home/dt/.themes"}

View File

@ -1 +1 @@
{"gtk2_hidpi": true, "default_path": "/home/dt/.themes"}
{"gtk2_hidpi": false, "default_path": "/home/dt/.themes"}

View File

@ -1 +1 @@
{"window_width": 946, "window_height": 970, "preset_list_minimal_width": 150, "preset_list_width": 167, "preset_list_sections_expanded": {"presets": true, "plugins": true, "Xresources": false, "Random": true, "Base16": true, "Image colors": true, "user": true, "Base16 User-Imported": true}}
{"window_width": 1902, "window_height": 970, "preset_list_minimal_width": 150, "preset_list_width": 357, "preset_list_sections_expanded": {"presets": true, "plugins": false, "Xresources": false, "Random": true, "Base16": true, "Image colors": true, "user": true, "Base16 User-Imported": true}}

View File

@ -20,7 +20,6 @@ dracula-gtk-theme
dracula-icons
dracula-qt5-theme
dracula-qt6-theme
eos-wallpapers
fm6000
gamehub
gdlauncher

View File

@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
#------------------------------------------------------------------------------
# Path - ~/.config/polybar/launch.sh

View File

@ -1,2 +1,2 @@
LastUsed=1639926839
LastUsed=1640982542
Message='No Updates'

15
worm/.config/worm/rc Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
exec ~/.fehbg &
polybar --reload main -c ~/.config/polybar/config_top.ini &
polybar --reload main -c ~/.config/polybar/config_bottom.ini &
exec sxhkd -c ~/.config/worm/sxhkdrc &
wormc border-width 2
wormc layout tiling
wormc struts 35 35 20 20
wormc gaps 10
wormc frame-height 20

71
worm/.config/worm/sxhkdrc Normal file
View File

@ -0,0 +1,71 @@
# Rofi
super + {p,w,x,s}
~/.config/qtile/rofi/bin/{launcher,windows,powermenu,screenshot}
# Launch Apps
super + shift + {f,w,e}
{kitty ranger,firefox,kitty nvim}
super + Return
kitty
# Take a screenshot
Print
scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
# Take a screenshot in 5 second
alt + Print
scrot -d 5 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
# Brighness control
XF86MonBrightnessUp
xbacklight -inc 10
XF86MonBrightnessDown
xbacklight -dec 10
# Volume control
XF86AudioRaiseVolume
amixer set Master 5%+
XF86AudioLowerVolume
amixer set Master 5%-
XF86AudioMute
amixer set Master toggle
# Restart worm
super + ctrl + r
worm
# Quit worm
ctrl + alt + q
pkill worm
# Close app
super + q
wormc close-active-client
# Maximize app
super + f
wormc maximize-active-client
# Switch active tag
super + {1,2,3,4,5,6,7,8,9}
wormc switch-tag {1,2,3,4,5,6,7,8,9}
# Switch tag
super + shift + {1,2,3,4,5,6,7,8,9}
wormc move-active-tag {1,2,3,4,5,6,7,8,9}
# Set master windows
super + m
wormc master-active
# Float a window
super + shift + space
wormc float-active
# Pywal apply
super + ctrl + w
~/.config/worm/pywal.sh

View File

@ -11,10 +11,17 @@ Blue='\e[1;34m'
Cyan='\e[1;36m'
Red='\e[1;31m'
### Custom colors
alias bfetch='bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8'
stats() {
fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n25
}
#clear
alias clear='reset && zsh'
alias czsh='rm -f ~/.zsh_history && reset && zsh'
alias stats='stats'
#grub update
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'

View File

@ -36,9 +36,7 @@ if [ "$TERM" = "linux" ]; then
fi
if [ ! "$TERM" = "linux" ]; then
bbsif --birthday 16/06
# fm6000 -f ~/.config/fm6000/art
# bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8 --birthday 16/06
bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8 --birthday 16/06
fi
autoload -U compinit