mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-24 16:28:41 -05:00
Updated a few of my Dotfiles
This commit is contained in:
parent
c1b1b20a79
commit
3ead1bd537
@ -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=832975fb
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=5b6b51aa
|
||||
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=9c04b2e
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=286357af
|
||||
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=f57ad169
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=5be987b6
|
||||
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=50f0c57e
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=c560d131
|
||||
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=a1d12f9b
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=96d2cea4
|
||||
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=7d66ddae
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=4961c6a6
|
||||
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=919ce6d8
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=6477081f
|
||||
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=d25ffca3
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=2959697d
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo
|
||||
|
||||
[Popups]
|
||||
|
Binary file not shown.
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# DISCORD BOT
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# 19 January 2022, 14:15:12 GMT
|
||||
# Last edited:
|
||||
# Wed 19 January 2022, 03:11:50 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# A cool botfor discord web hooks.
|
||||
|
@ -27,8 +27,12 @@ function update
|
||||
pacman -Syu
|
||||
end
|
||||
|
||||
function aurupdate
|
||||
auracle update -C ~/.cache/pkg/
|
||||
end
|
||||
|
||||
function upall
|
||||
pacman -Fy && pacman -Syu --noconfirm
|
||||
pacman -Fy && pacman -Syu --noconfirm && aurupdate
|
||||
end
|
||||
|
||||
#check aur and arch packages
|
||||
@ -40,10 +44,6 @@ 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
|
||||
|
78
fish/.config/fish/config.fish
Normal file
78
fish/.config/fish/config.fish
Normal file
@ -0,0 +1,78 @@
|
||||
if test -f "$HOME/.confid/fish/fish.profile"
|
||||
source "$HOME/.confid/fish/fish.profile"
|
||||
end
|
||||
|
||||
|
||||
set PATH "$HOME/.local/bin:$PATH"
|
||||
|
||||
if test -d "$HOME/.basher/bin"
|
||||
set PATH "$HOME/.basher/bin:$PATH"
|
||||
status --is-interactive; and source (basher init - fish|psub)
|
||||
end
|
||||
|
||||
# Adds `~/.config/composer/vendor/bin` to $PATH
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if test -d "$HOME/.config/composer/vendor/bin"
|
||||
set PATH "$HOME/.config/composer/vendor/bin:$PATH"
|
||||
end
|
||||
|
||||
# Adds `~/.local/bin/repobar` to $PATH
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if test -d "$HOME/.local/bin/repobar"
|
||||
set PATH "$HOME/.local/bin/repobar:$PATH"
|
||||
end
|
||||
|
||||
# Adds `~/.local/bin/discord_bot` to $PATH
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if test -d "$HOME/.local/bin/discord_bot"
|
||||
set PATH "$HOME/.local/bin/discord_bot:$PATH"
|
||||
end
|
||||
|
||||
# Adds `~/.local/bin/clipmenu` to $PATH
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if test -d "$HOME/.local/bin/clipmenu"
|
||||
set PATH "$HOME/.local/bin/clipmenu:$PATH"
|
||||
end
|
||||
|
||||
|
||||
function fish_greeting
|
||||
if status --is-login
|
||||
if test (tty)
|
||||
printf %b '\e[40m' '\e[8]' # set default background to color 0 'dracula-bg'
|
||||
printf %b '\e[37m' '\e[8]' # set default foreground to color 7 'dracula-fg'
|
||||
printf %b '\e]P0282a36' # redefine 'black' as 'dracula-bg'
|
||||
printf %b '\e]P86272a4' # redefine 'bright-black' as 'dracula-comment'
|
||||
printf %b '\e]P1ff5555' # redefine 'red' as 'dracula-red'
|
||||
printf %b '\e]P9ff7777' # redefine 'bright-red' as '#ff7777'
|
||||
printf %b '\e]P250fa7b' # redefine 'green' as 'dracula-green'
|
||||
printf %b '\e]PA70fa9b' # redefine 'bright-green' as '#70fa9b'
|
||||
printf %b '\e]P3f1fa8c' # redefine 'brown' as 'dracula-yellow'
|
||||
printf %b '\e]PBffb86c' # redefine 'bright-brown' as 'dracula-orange'
|
||||
printf %b '\e]P4bd93f9' # redefine 'blue' as 'dracula-purple'
|
||||
printf %b '\e]PCcfa9ff' # redefine 'bright-blue' as '#cfa9ff'
|
||||
printf %b '\e]P5ff79c6' # redefine 'magenta' as 'dracula-pink'
|
||||
printf %b '\e]PDff88e8' # redefine 'bright-magenta' as '#ff88e8'
|
||||
printf %b '\e]P68be9fd' # redefine 'cyan' as 'dracula-cyan'
|
||||
printf %b '\e]PE97e2ff' # redefine 'bright-cyan' as '#97e2ff'
|
||||
printf %b '\e]P7f8f8f2' # redefine 'white' as 'dracula-fg'
|
||||
printf %b '\e]PFffffff' # redefine 'bright-white' as '#ffffff'
|
||||
clear
|
||||
end
|
||||
end
|
||||
bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8 --birthday 16/06
|
||||
end
|
||||
|
||||
# Get all the files inside folder
|
||||
for file in "$HOME/.config/fish/aliases/"*
|
||||
source $file
|
||||
end
|
||||
|
||||
# Keybinding
|
||||
bind \ec __history_previous_command
|
||||
bind \e\e __sudope
|
||||
|
||||
if status is-login
|
||||
if test (tty) = /dev/tty1
|
||||
exec tbsm
|
||||
end
|
||||
end
|
@ -590,40 +590,40 @@ font pango:Noto Mono Regular 13
|
||||
|
||||
# sign via class
|
||||
# Workspace $ws1 Terminal
|
||||
assign [class="(?i)Alacritty|Kitty"] → $ws1
|
||||
assign [class="(?i)Alacritty|Kitty"] → $ws1
|
||||
|
||||
# Workspace $ws2 Text Editor
|
||||
assign [class="(?i)Code|Jetbrains-Idea-CE"] → $ws2
|
||||
assign [class="(?i)Code|Jetbrains"] → $ws2
|
||||
|
||||
# Workspace $ws3 Files
|
||||
assign [class="(?i)Nemo"] → $ws3
|
||||
assign [class="(?i)Nemo"] → $ws3
|
||||
|
||||
# Workspace $ws4 Graphics
|
||||
assign [class="(?i)Aseprite|Krita"] → $ws4
|
||||
assign [class="(?i)Aseprite|Krita"] → $ws4
|
||||
|
||||
# Workspace $ws5 Music
|
||||
assign [class="(?i)Xephyr"] → $ws5
|
||||
assign [class="(?i)CmusImage"] → $ws5
|
||||
assign [class="(?i)Xephyr"] → $ws5
|
||||
assign [class="(?i)CmusImage"] → $ws5
|
||||
|
||||
# Workspace $ws6 WebBrowser
|
||||
assign [class="(?i)Firefox|Google-Chrome"] → $ws6
|
||||
assign [class="(?i)Firefox|Google-Chrome"] → $ws6
|
||||
|
||||
# Workspace $ws7 Other Stuff
|
||||
assign [class="(?i)Mail|Thunderbird"] → $ws7
|
||||
assign [class="(?i)Keybase"] → $ws7
|
||||
# Workspace $ws7 Other Stuf
|
||||
assign [class="(?i)Mail|Thunderbird"] → $ws7
|
||||
assign [class="(?i)Keybase"] → $ws7
|
||||
|
||||
# Workspace $ws8 file GitAhead
|
||||
assign [class="(?i)Minecraft*|Steam*"] → $ws8
|
||||
assign [class="(?i)0ad*|Minetest"] → $ws8
|
||||
# Workspace $ws8 file GitAhea
|
||||
assign [class="(?i)Minecraft*|Steam*"] → $ws8
|
||||
assign [class="(?i)0ad*|Minetest"] → $ws8
|
||||
|
||||
# Workspace $ws9 Chat
|
||||
assign [class="(?i)Telegram|Element"] → $ws9
|
||||
# Workspace $ws9 Cha
|
||||
assign [class="(?i)Telegram|Element"] → $ws9
|
||||
|
||||
# Workspace $ws0 Settings
|
||||
assign [class="(?i)Virt*|LazyGit"] → $ws0
|
||||
assign [class="(?i)Dconf-editor|Piper*"] → $ws0
|
||||
assign [class="(?i)Actions|Btop"] → $ws0
|
||||
assign [class="(?i)PkgBrowser"] → $ws0
|
||||
# Workspace $ws0 Setting
|
||||
assign [class="(?i)Virt*|LazyGit"] → $ws0
|
||||
assign [class="(?i)Dconf-editor|Piper*"] → $ws0
|
||||
assign [class="(?i)Actions|Btop"] → $ws0
|
||||
assign [class="(?i)PkgBrowser"] → $ws0
|
||||
|
||||
# }}} Assign Applications
|
||||
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# keybinds
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Wed 10 March 2021, 12:34:47 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 05:13:48 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# picom-toggle
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Thu 20 January 2022, 04:40:04 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 04:40:07 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# picom
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Thu 20 January 2022, 04:40:13 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 04:40:16 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
|
@ -1,70 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# -*-coding:utf-8 -*-
|
||||
# Auto updated?
|
||||
# Yes
|
||||
#File :
|
||||
# audiolock
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Mon 08 November 2021, 07:14:09 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 05:14:45 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
#
|
||||
|
||||
if ! command -v audiolock &> /dev/null; then
|
||||
echo "audiolock could not be found"
|
||||
else
|
||||
for pid in $(pgrep -f audiolock); do
|
||||
if [ $pid != $$ ]; then
|
||||
echo "[$(date)] : audiolock : Process is already running with PID $pid"
|
||||
exit 1
|
||||
else
|
||||
echo "Running with PID $pid"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# -/-/-/-/- Settings -/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
|
||||
: "${LOCK_SLEEP_VALUE:=5}" # raise this if you experience problems
|
||||
: "${LOCK_FILE:=/proc/asound/card*/pcm*p/sub*/status}"
|
||||
: "${TEMP_LOCK_FILE:=/tmp/asound}"
|
||||
# -/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
|
||||
|
||||
autolock=0
|
||||
|
||||
while true ; do
|
||||
cat $LOCK_FILE > $TEMP_LOCK_FILE
|
||||
|
||||
number=0
|
||||
while IFS= read -r Line; do
|
||||
if [[ $Line == *"RUNNING"* ]]; then
|
||||
printf "%s\n" "$Line"
|
||||
(( number++ ))
|
||||
break
|
||||
fi
|
||||
done < "$TEMP_LOCK_FILE"
|
||||
printf "%s\n" "${number}"
|
||||
|
||||
if [[ $number -eq 0 ]]; then
|
||||
if [[ $autolock -eq 0 ]]; then
|
||||
xautolock -enable && notify-send -t 1400 "xautolock" "enabled"
|
||||
autolock=1
|
||||
fi
|
||||
else
|
||||
if [[ $autolock -eq 1 ]]; then
|
||||
xautolock -disable && notify-send -t 1400 "xautolock" "disabled"
|
||||
autolock=0
|
||||
fi
|
||||
fi
|
||||
|
||||
interval=${LOCK_SLEEP_VALUE:-$(( 10 * 60 ))}
|
||||
printf 'Sleeping for %s seconds...\n' "$interval"
|
||||
sleep "$interval"
|
||||
done
|
@ -4,153 +4,160 @@
|
||||
# Yes
|
||||
#File :
|
||||
# autostart
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Mon 22 November 2021, 03:15:54 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 05:16:18 PM [GMT]
|
||||
# Modified:
|
||||
# Sat 22 January 2022, 11:56:31 AM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
#
|
||||
|
||||
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &> /dev/null; then
|
||||
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" > /dev/null; then
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
else
|
||||
echo "polkit-gnome already Running"
|
||||
fi
|
||||
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
|
||||
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
else
|
||||
echo "polkit-gnome already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v autotiling &> /dev/null; then
|
||||
if ! pgrep -f "autotiling" > /dev/null; then
|
||||
autotiling &
|
||||
else
|
||||
echo "autotiling already Running"
|
||||
fi
|
||||
if command -v autotiling &>/dev/null; then
|
||||
if ! pgrep -f "autotiling" >/dev/null; then
|
||||
autotiling &
|
||||
else
|
||||
echo "autotiling already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v audiolock &> /dev/null; then
|
||||
if ! pgrep -f "audiolock" > /dev/null; then
|
||||
audiolock &
|
||||
else
|
||||
echo "audiolock already Running"
|
||||
fi
|
||||
if command -v twmn_check-disk &>/dev/null; then
|
||||
if ! pgrep -f "twmn_check-disk" >/dev/null; then
|
||||
twmn_check-disk &
|
||||
else
|
||||
echo "twmn_check-disk already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v twmn_check-disk &> /dev/null; then
|
||||
if ! pgrep -f "twmn_check-disk" > /dev/null; then
|
||||
twmn_check-disk &
|
||||
else
|
||||
echo "twmn_check-disk already Running"
|
||||
fi
|
||||
if command -v clipmenu-daemon &>/dev/null; then
|
||||
if ! pgrep -f "clipmenu-daemon" >/dev/null; then
|
||||
clipmenu-daemon &
|
||||
else
|
||||
echo "clipmenu-daemon already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v clipmenu-daemon &> /dev/null; then
|
||||
if ! pgrep -f "clipmenu-daemon" > /dev/null; then
|
||||
clipmenu-daemon &
|
||||
else
|
||||
echo "clipmenu-daemon already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v picom &> /dev/null; then
|
||||
echo "picom could not be found"
|
||||
if ! command -v picom &>/dev/null; then
|
||||
echo "picom could not be found"
|
||||
else
|
||||
if ! pgrep -x "picom" > /dev/null; then
|
||||
picom -CGb --experimental-backend --config $HOME/.config/i3/picom.conf &
|
||||
else
|
||||
echo "picom already Running"
|
||||
fi
|
||||
if ! pgrep -x "picom" >/dev/null; then
|
||||
picom -CGb --experimental-backend --config "$HOME"/.config/i3/picom.conf &
|
||||
else
|
||||
echo "picom already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v feh &> /dev/null; then
|
||||
echo "feh could not be found"
|
||||
if ! command -v feh &>/dev/null; then
|
||||
echo "feh could not be found"
|
||||
else
|
||||
if ! test -f "$HOME/.fehbg"; then
|
||||
echo "$HOME/.fehbg could not be found"
|
||||
else
|
||||
sh $HOME/.fehbg
|
||||
fi
|
||||
if ! test -f "$HOME/.fehbg"; then
|
||||
echo "$HOME/.fehbg could not be found"
|
||||
else
|
||||
sh "$HOME/.fehbg"
|
||||
fi
|
||||
fi
|
||||
|
||||
################
|
||||
## Tray Icons ##
|
||||
################
|
||||
|
||||
if ! command -v ckb-next &> /dev/null; then
|
||||
echo "ckb-next could not be found"
|
||||
if ! command -v ckb-next &>/dev/null; then
|
||||
echo "ckb-next could not be found"
|
||||
else
|
||||
if ! pgrep -x "ckb-next" > /dev/null; then
|
||||
ckb-next --background &
|
||||
else
|
||||
echo "ckb-next already Running"
|
||||
fi
|
||||
if ! pgrep -x "ckb-next" >/dev/null; then
|
||||
ckb-next --background &
|
||||
else
|
||||
echo "ckb-next already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v nm-applet &> /dev/null; then
|
||||
if ! pgrep -x "nm-applet" > /dev/null; then
|
||||
nm-applet &
|
||||
else
|
||||
echo "nm-applet already Running"
|
||||
fi
|
||||
if command -v nm-applet &>/dev/null; then
|
||||
if ! pgrep -x "nm-applet" >/dev/null; then
|
||||
nm-applet &
|
||||
else
|
||||
echo "nm-applet already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v blueman-applet &> /dev/null; then
|
||||
if ! pgrep -x "blueman-applet" > /dev/null; then
|
||||
blueman-applet &
|
||||
else
|
||||
echo "blueman-applet already Running"
|
||||
fi
|
||||
if command -v blueman-applet &>/dev/null; then
|
||||
if ! pgrep -x "blueman-applet" >/dev/null; then
|
||||
blueman-applet &
|
||||
else
|
||||
echo "blueman-applet already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v touchpad-indicator &> /dev/null; then
|
||||
if ! pgrep -f "touchpad-indicator" > /dev/null; then
|
||||
touchpad-indicator &
|
||||
else
|
||||
echo "touchpad-indicator already Running"
|
||||
fi
|
||||
if command -v touchpad-indicator &>/dev/null; then
|
||||
if ! pgrep -f "touchpad-indicator" >/dev/null; then
|
||||
touchpad-indicator &
|
||||
else
|
||||
echo "touchpad-indicator already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v numlockx &> /dev/null; then
|
||||
numlockx on &
|
||||
if command -v numlockx &>/dev/null; then
|
||||
numlockx on &
|
||||
fi
|
||||
|
||||
if command -v volumeicon &> /dev/null; then
|
||||
if ! pgrep -x "volumeicon" > /dev/null; then
|
||||
volumeicon &
|
||||
else
|
||||
echo "volumeicon already Running"
|
||||
fi
|
||||
if command -v volumeicon &>/dev/null; then
|
||||
if ! pgrep -x "volumeicon" >/dev/null; then
|
||||
volumeicon &
|
||||
else
|
||||
echo "volumeicon already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
###############
|
||||
## Auto Lock ##
|
||||
###############
|
||||
|
||||
if command -v xautolock &> /dev/null; then
|
||||
if ! pgrep -x "xautolock" > /dev/null; then
|
||||
xautolock -time 10 -locker 'multimonitorlock -l -- --time-str="%I:%M:%S %p"' -notify 30 -notifier "notify-send -u critical -- 'LOCKING screen in 30 seconds'" &
|
||||
else
|
||||
echo "xautolock already Running"
|
||||
fi
|
||||
|
||||
if command -v xidlehook &>/dev/null; then
|
||||
# shellcheck disable=SC2155
|
||||
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
|
||||
if ! pgrep -x "xidlehook" >/dev/null; then
|
||||
xidlehook \
|
||||
--not-when-fullscreen \
|
||||
--not-when-audio \
|
||||
--timer 300 \
|
||||
"xrandr --output $PRIMARY_DISPLAY --brightness .1" \
|
||||
"xrandr --output $PRIMARY_DISPLAY --brightness 1" \
|
||||
--timer 30 \
|
||||
"xrandr --output $PRIMARY_DISPLAY --brightness 1; multimonitorlock -l -- --time-str=%I:%M:%S %p" \
|
||||
"" \
|
||||
--timer 3600 \
|
||||
"systemctl suspend" \
|
||||
""
|
||||
else
|
||||
echo "xidlehook already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
################
|
||||
## Other Junk ##
|
||||
################
|
||||
|
||||
# see https://unix.stackexchange.com/a/295652/332452
|
||||
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
|
||||
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||
|
||||
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
|
||||
dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||
fi
|
||||
|
||||
# see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
|
||||
eval $(/usr/bin/gnome-keyring-daemon --start)
|
||||
eval "$(/usr/bin/gnome-keyring-daemon --start)"
|
||||
export SSH_AUTH_SOCK
|
||||
|
||||
# see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836
|
||||
mkdir -p "$HOME"/.local/share/keyrings
|
||||
mkdir -p "$HOME"/.local/share/keyrings
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# bulkrename
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Sun 31 October 2021, 05:16:39 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 05:17:13 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# Run this script by setting it at: # Nemo -> Edit -> Preferences ->
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# bulkresize
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Sun 31 October 2022, 01:17:37 AM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 05:18:37 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# Run this script by setting it at: # Nemo -> Edit -> Preferences ->
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# dayborn
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Thu 20 January 2022, 05:40:19 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 07:08:03 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# This project was originally called Iteration. The aim was to generate a more
|
||||
|
@ -4,13 +4,13 @@
|
||||
# Yes
|
||||
#File :
|
||||
# i3_run
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#
|
||||
# Created:
|
||||
# Sun 19 October 2022, 01:26:51 PM [GMT]
|
||||
# Last edited:
|
||||
# Wed 19 January 2022, 03:06:59 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# makebash
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Wed 19 January 2022, 05:34:21 PM [GMT]
|
||||
# Last edited:
|
||||
# Wed 19 January 2022, 05:34:27 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
|
@ -4,15 +4,15 @@
|
||||
# Yes
|
||||
#File :
|
||||
# file_name
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324:gmail.com]
|
||||
#Github :
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Thu 20 January 2022, 03:50:10 PM [GMT]
|
||||
# Last edited:
|
||||
# Thu 20 January 2022, 03:52:57 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# Check for disk useage
|
||||
|
@ -20,6 +20,7 @@ dracula-gtk-theme
|
||||
dracula-icons
|
||||
dracula-qt5-theme
|
||||
dracula-qt6-theme
|
||||
fish-nvm
|
||||
fm6000
|
||||
gamehub
|
||||
gdlauncher
|
||||
@ -85,11 +86,13 @@ transset-df
|
||||
ttf-material-design-icons
|
||||
ttf-remixicon
|
||||
tty-clock
|
||||
twmn-git
|
||||
ufw-icon-bar
|
||||
w3m-imgcat
|
||||
win-shot
|
||||
woeusb-gui
|
||||
xcursor-breeze
|
||||
xidlehook
|
||||
xmenu
|
||||
xtitle
|
||||
xwingridselect
|
||||
|
Binary file not shown.
38
zsh/.zshrc
38
zsh/.zshrc
@ -14,25 +14,25 @@ ZSH_PLUGINS="$ZSH_CUSTOM/plugins"
|
||||
ZSH_THEMES="$ZSH_CUSTOM/themes"
|
||||
|
||||
if [ "$TERM" = "linux" ]; then
|
||||
printf %b '\e[40m' '\e[8]' # set default background to color 0 'dracula-bg'
|
||||
printf %b '\e[37m' '\e[8]' # set default foreground to color 7 'dracula-fg'
|
||||
printf %b '\e]P0282a36' # redefine 'black' as 'dracula-bg'
|
||||
printf %b '\e]P86272a4' # redefine 'bright-black' as 'dracula-comment'
|
||||
printf %b '\e]P1ff5555' # redefine 'red' as 'dracula-red'
|
||||
printf %b '\e]P9ff7777' # redefine 'bright-red' as '#ff7777'
|
||||
printf %b '\e]P250fa7b' # redefine 'green' as 'dracula-green'
|
||||
printf %b '\e]PA70fa9b' # redefine 'bright-green' as '#70fa9b'
|
||||
printf %b '\e]P3f1fa8c' # redefine 'brown' as 'dracula-yellow'
|
||||
printf %b '\e]PBffb86c' # redefine 'bright-brown' as 'dracula-orange'
|
||||
printf %b '\e]P4bd93f9' # redefine 'blue' as 'dracula-purple'
|
||||
printf %b '\e]PCcfa9ff' # redefine 'bright-blue' as '#cfa9ff'
|
||||
printf %b '\e]P5ff79c6' # redefine 'magenta' as 'dracula-pink'
|
||||
printf %b '\e]PDff88e8' # redefine 'bright-magenta' as '#ff88e8'
|
||||
printf %b '\e]P68be9fd' # redefine 'cyan' as 'dracula-cyan'
|
||||
printf %b '\e]PE97e2ff' # redefine 'bright-cyan' as '#97e2ff'
|
||||
printf %b '\e]P7f8f8f2' # redefine 'white' as 'dracula-fg'
|
||||
printf %b '\e]PFffffff' # redefine 'bright-white' as '#ffffff'
|
||||
clear
|
||||
printf %b '\e[40m' '\e[8]' # set default background to color 0 'dracula-bg'
|
||||
printf %b '\e[37m' '\e[8]' # set default foreground to color 7 'dracula-fg'
|
||||
printf %b '\e]P0282a36' # redefine 'black' as 'dracula-bg'
|
||||
printf %b '\e]P86272a4' # redefine 'bright-black' as 'dracula-comment'
|
||||
printf %b '\e]P1ff5555' # redefine 'red' as 'dracula-red'
|
||||
printf %b '\e]P9ff7777' # redefine 'bright-red' as '#ff7777'
|
||||
printf %b '\e]P250fa7b' # redefine 'green' as 'dracula-green'
|
||||
printf %b '\e]PA70fa9b' # redefine 'bright-green' as '#70fa9b'
|
||||
printf %b '\e]P3f1fa8c' # redefine 'brown' as 'dracula-yellow'
|
||||
printf %b '\e]PBffb86c' # redefine 'bright-brown' as 'dracula-orange'
|
||||
printf %b '\e]P4bd93f9' # redefine 'blue' as 'dracula-purple'
|
||||
printf %b '\e]PCcfa9ff' # redefine 'bright-blue' as '#cfa9ff'
|
||||
printf %b '\e]P5ff79c6' # redefine 'magenta' as 'dracula-pink'
|
||||
printf %b '\e]PDff88e8' # redefine 'bright-magenta' as '#ff88e8'
|
||||
printf %b '\e]P68be9fd' # redefine 'cyan' as 'dracula-cyan'
|
||||
printf %b '\e]PE97e2ff' # redefine 'bright-cyan' as '#97e2ff'
|
||||
printf %b '\e]P7f8f8f2' # redefine 'white' as 'dracula-fg'
|
||||
printf %b '\e]PFffffff' # redefine 'bright-white' as '#ffffff'
|
||||
clear
|
||||
fi
|
||||
|
||||
if [ ! "$TERM" = "linux" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user