mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-28 10:18:46 -05:00
Update my Dotfiles
Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
parent
59d451fc2e
commit
5860bc6567
@ -322,7 +322,7 @@ colors: *repo
|
||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||
# background_opacity: 1.0
|
||||
background_opacity: 0.85
|
||||
window.opacity: 0.85
|
||||
|
||||
#selection:
|
||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Devices]
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\CurrentProfile={BA7FC152-2D51-4C26-A7A6-A036CC93D924}
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\CurrentProfile={5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0}
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\Profiles={BA7FC152-2D51-4C26-A7A6-A036CC93D924} {5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0}
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\hwLayout=gb
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Binding\KeyMap=K68 GB
|
||||
@ -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=578c7a15
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=aeda7655
|
||||
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=94888e57
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=b5a4931d
|
||||
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=7ef7c985
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=596c1ed6
|
||||
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=232c593
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=91bd0d46
|
||||
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=66b37a47
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=7d7a3f1d
|
||||
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=c383c76b
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=756de3e7
|
||||
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=f0225895
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=3b94a266
|
||||
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)
|
||||
@ -1461,10 +1461,10 @@
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\LiftHeight=3
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\MuteDevice=sink
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\WindowInfo\enabled=false
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\CurrentMode={57C94A3A-80E6-4182-B067-6D4A14AD497C}
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\CurrentMode={11C11AE3-3195-4DFC-B8AC-2FEA703414E5}
|
||||
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=9d7a4179
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=4e4b9da1
|
||||
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo
|
||||
|
||||
[Popups]
|
||||
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
feh --no-fehbg --bg-scale "$HOME/.config/feh/backgrounds/therepoclub_dracula2.png"
|
@ -98,3 +98,7 @@ end
|
||||
function gall
|
||||
gpull && gadd . && gcommit -s && gpush
|
||||
end
|
||||
|
||||
function config
|
||||
git --git-dir=/mnt/500GB/.gitlabs/newDotFiles --work-tree=$HOME $argv
|
||||
end
|
||||
|
@ -2,7 +2,6 @@ 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"
|
||||
@ -22,6 +21,12 @@ if test -d "$HOME/.local/bin/repobar"
|
||||
set PATH "$HOME/.local/bin/repobar:$PATH"
|
||||
end
|
||||
|
||||
# Adds `~/.local/bin/lemonbar` to $PATH
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if test -d "$HOME/.local/bin/lemonbar"
|
||||
set PATH "$HOME/.local/bin/lemonbar:$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"
|
||||
@ -34,7 +39,6 @@ if test -d "$HOME/.local/bin/clipmenu"
|
||||
set PATH "$HOME/.local/bin/clipmenu:$PATH"
|
||||
end
|
||||
|
||||
|
||||
function fish_greeting
|
||||
bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8 --birthday 16/06
|
||||
end
|
||||
|
1344
i3/.config/i3/config
1344
i3/.config/i3/config
File diff suppressed because it is too large
Load Diff
@ -5,23 +5,23 @@
|
||||
# GitHub - https://github.com/The-Repo-Club/
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Start On - Tue 07 Dec 14:36:45 GMT 2021
|
||||
# Modified On - Tue 07 Dec 14:36:45 GMT 2021
|
||||
# Modified On - Mon 31 January 2022, 07:26:11 pm (GMT)
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
topleft() {
|
||||
echo -e "%{l}$(lemonbar_workspaces '0,0')$(lemonbar_sep)$(lemonbar_window) %{r}$(lemonbar_keyboard)$(lemonbar_sep)$(lemonbar_updates)$(lemonbar_sep)$(lemonbar_volume)$(lemonbar_sep)$(lemonbar_battery)$(lemonbar_sep)$(lemonbar_network)$(lemonbar_sep)$(lemonbar_clock)"
|
||||
echo -e "%{l}$(lemonbar_workspaces '0,0')%{r}$(lemonbar_keyboard)$(lemonbar_sep)$(lemonbar_updates)$(lemonbar_sep)$(lemonbar_volume)$(lemonbar_sep)$(lemonbar_battery)$(lemonbar_sep)$(lemonbar_network)$(lemonbar_sep)$(lemonbar_clock)"
|
||||
}
|
||||
|
||||
bottomleft() {
|
||||
echo -e "%{l}$(lemonbar_cpu)$(lemonbar_sep)$(lemonbar_ram)$(lemonbar_sep)$(lemonbar_kernel) %{r}$(lemonbar_disk)"
|
||||
echo -e "%{l}$(lemonbar_cpu)$(lemonbar_sep)$(lemonbar_ram)$(lemonbar_sep)$(lemonbar_kernel)%{c}$(lemonbar_window) %{r}$(lemonbar_disk)"
|
||||
}
|
||||
|
||||
topright() {
|
||||
echo -e "%{l}$(lemonbar_workspaces '1920,0')$(lemonbar_sep)$(lemonbar_window) %{r}$(lemonbar_keyboard)$(lemonbar_sep)$(lemonbar_updates)$(lemonbar_sep)$(lemonbar_volume)$(lemonbar_sep)$(lemonbar_battery)$(lemonbar_sep)$(lemonbar_network)$(lemonbar_sep)$(lemonbar_clock)"
|
||||
echo -e "%{l}$(lemonbar_workspaces '1920,0')%{r}$(lemonbar_keyboard)$(lemonbar_sep)$(lemonbar_updates)$(lemonbar_sep)$(lemonbar_volume)$(lemonbar_sep)$(lemonbar_battery)$(lemonbar_sep)$(lemonbar_network)$(lemonbar_sep)$(lemonbar_clock)"
|
||||
}
|
||||
|
||||
bottomright() {
|
||||
echo -e "%{l}$(lemonbar_cpu)$(lemonbar_sep)$(lemonbar_ram)$(lemonbar_sep)$(lemonbar_kernel) %{r}$(lemonbar_disk)"
|
||||
echo -e "%{l}$(lemonbar_cpu)$(lemonbar_sep)$(lemonbar_ram)$(lemonbar_sep)$(lemonbar_kernel)%{c}$(lemonbar_window) %{r}$(lemonbar_disk)"
|
||||
}
|
||||
|
||||
while true; do
|
||||
|
@ -5,7 +5,7 @@
|
||||
# GitHub - https://github.com/The-Repo-Club/
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Start On - Tue 07 Dec 14:36:53 GMT 2021
|
||||
# Modified On - Tue 07 Dec 14:36:53 GMT 2021
|
||||
# Modified On - Mon 31 January 2022, 10:36:09 pm (GMT)
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
killall -q lemonbar
|
||||
@ -13,21 +13,25 @@ killall -q lemonbar_config
|
||||
|
||||
topleft() {
|
||||
lemonbar_config -tl | lemonbar -p -g 1920x18+0+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o 0 -f "SauceCodePro Nerd Font"-9 | $SHELL
|
||||
#succade -s topleft
|
||||
}
|
||||
|
||||
bottomleft() {
|
||||
lemonbar_config -bl | lemonbar -p -b -g 1920x18+0+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o 0 -f "SauceCodePro Nerd Font"-9 | $SHELL
|
||||
#succade -s bottomleft
|
||||
}
|
||||
|
||||
topright() {
|
||||
lemonbar_config -tr | lemonbar -p -g 1920x18+1920+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o 0 -f "SauceCodePro Nerd Font"-9 | $SHELL
|
||||
#succade -s topright
|
||||
}
|
||||
|
||||
bottomright() {
|
||||
lemonbar_config -br | lemonbar -p -b -g 1920x22+1920+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o 0 -f "SauceCodePro Nerd Font"-9 | $SHELL
|
||||
#succade -s bottomright
|
||||
}
|
||||
|
||||
while true; do
|
||||
if [ "$1" ]; then
|
||||
case $1 in
|
||||
-tl|--topleft)
|
||||
topleft
|
||||
@ -56,4 +60,4 @@ while true; do
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
@ -6,13 +6,13 @@ updates() {
|
||||
icon=" "
|
||||
[[ -f $configFile ]] && . $configFile
|
||||
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
|
||||
updates=$(yay -Pn)
|
||||
updates=$(checkupdates | wc -l)
|
||||
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
|
||||
newtime=`expr $timestamp + 900`
|
||||
echo -e "LastUsed=${newtime}\nMessage='${updates}'" > $configFile
|
||||
else
|
||||
if [ "$timestamp" -ge "$LastUsed" ]; then
|
||||
updates=$(yay -Pn)
|
||||
updates=$(checkupdates | wc -l)
|
||||
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
|
||||
newtime=`expr $timestamp + 900`
|
||||
echo -e "LastUsed=${newtime}\nMessage='${updates}'" > $configFile
|
||||
|
BIN
lemonbar/.local/bin/lemonbar/succade
Executable file
BIN
lemonbar/.local/bin/lemonbar/succade
Executable file
Binary file not shown.
31
licenses/.config/licenses/gpl3-trc
Normal file
31
licenses/.config/licenses/gpl3-trc
Normal file
@ -0,0 +1,31 @@
|
||||
TRC GENERAL PUBLIC LICENSE
|
||||
Version 3, 31 JANUARY 2022
|
||||
|
||||
This license is an open source license with restrictions for commercial and corporate use.
|
||||
Any project under this license ...
|
||||
CANNOT be used commercially
|
||||
CANNOT be redistributed with any sort of fee
|
||||
CANNOT be redistributed in any proprietary form (binary, obfuscated, etc.)
|
||||
CANNOT be patented
|
||||
CANNOT change to any more proprietary license
|
||||
CANNOT depend on any proprietary code/code blobs/software
|
||||
CANNOT be used by any corporate individual, company or organisation
|
||||
|
||||
DOESN'T have any warranty
|
||||
|
||||
CAN be modified
|
||||
CAN be redistributed in an open source form
|
||||
CAN be used privately
|
||||
|
||||
This license is non-corporate, individual use only.
|
||||
|
||||
The owner of this project holds NO LIABILITY if any unstable, redistributed or modified
|
||||
versions of this project harms you in any way.
|
||||
|
||||
Redistributed or modified versions of this project...
|
||||
MUST have the same license as the original project
|
||||
MUST disclose the project's source
|
||||
|
||||
OWNER: {{AUTHOR_NAME}} <{{AUTHOR_EMAIL}}>
|
||||
PROJECT NAME: {{PROJECT_NAME}}
|
||||
YEAR: {{CURRENT_YEAR}}
|
@ -34,11 +34,11 @@ if command -v autotiling &>/dev/null; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v twmn_check-disk &>/dev/null; then
|
||||
if ! pgrep -f "twmn_check-disk" >/dev/null; then
|
||||
twmn_check-disk &
|
||||
if command -v xroot &>/dev/null; then
|
||||
if ! pgrep -f "xroot" >/dev/null; then
|
||||
xroot -r xmenu_desktop &
|
||||
else
|
||||
echo "twmn_check-disk already Running"
|
||||
echo "xroot already Running"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# Created:
|
||||
# Thu 20 January 2022, 05:40:19 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
# Sun 23 January 2022, 09:30:37 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# This project was originally called Iteration. The aim was to generate a more
|
||||
@ -25,6 +25,8 @@
|
||||
# Dependencies:
|
||||
# perl (>= 5.22.1-9)
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
require Date::Format;
|
||||
require Time::Piece;
|
||||
|
@ -1,28 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Path - /usr/bin/editbash
|
||||
# GitHub - https://github.com/The-Repo-Club/
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Start On - Sat 30 Oct 15:00:06 BST 2021
|
||||
# Modified On - Sun 31 Oct 01:01:56 BST 2021
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Err(){
|
||||
printf '%s\n' "$2" 1>&2
|
||||
[ $1 -gt 0 ] && exit $1
|
||||
}
|
||||
|
||||
File=$1
|
||||
[ -z "$File" ] && Err 1 "No file provided"
|
||||
[ -f "$File" ] || Err 1 "File doesn't exist"
|
||||
|
||||
NewDoc=
|
||||
while IFS= read -r Line; do
|
||||
[[ $Line == "# Modified"* ]] && Line='# Modified On - '$( date -r "$File" )
|
||||
NewDoc=$NewDoc$Line$'\n'
|
||||
done < "$File"
|
||||
printf '%s' "$NewDoc" > "$File"
|
||||
|
||||
printf "%s/%s has been edited!\n" "$(pwd)" "$File"
|
@ -1,32 +1,19 @@
|
||||
#!/usr/bin/env sh
|
||||
#-*-coding:utf-8 -*-
|
||||
#Auto updated?
|
||||
# Yes
|
||||
#File :
|
||||
# lmgr
|
||||
#Author :
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github :
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
#Created:
|
||||
# Sun 23 January 2022, 08:37:12 PM [GMT]
|
||||
#Modified:
|
||||
# Sun 23 January 2022, 09:11:04 PM [GMT]
|
||||
#
|
||||
#Description:
|
||||
# Manager for controlling licences
|
||||
#
|
||||
#Dependencies:
|
||||
# <None>
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
# -*-coding:utf-8 -*-
|
||||
# -------------------------------------------------------------------------
|
||||
# Path - /home/repo/.local/bin/lmgr
|
||||
# GitHub - https://github.com/The-Repo-Club/
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Start On - Sun 23 January 2022, 11:51:17 am (GMT)
|
||||
# Modified On - Sun 06 February 2022, 11:53:51 am (GMT)
|
||||
# -------------------------------------------------------------------------
|
||||
Version=2022.02.06
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
set -e
|
||||
|
||||
VERSION='0.2'
|
||||
|
||||
usage() {
|
||||
echo " License manager v$VERSION"
|
||||
echo " License manager v$Version"
|
||||
echo ' manage, switch and template licenses'
|
||||
echo ''
|
||||
echo " $(basename "$0") <flag | @license>"
|
||||
|
@ -1,59 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# -*-coding:utf-8 -*-
|
||||
# Auto updated?
|
||||
# Yes
|
||||
#File :
|
||||
# makebash
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Wed 19 January 2022, 05:34:21 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# <Todo>
|
||||
#
|
||||
|
||||
|
||||
Err(){
|
||||
printf '%s\n' "$2" 1>&2
|
||||
[ $1 -gt 0 ] && exit $1
|
||||
}
|
||||
|
||||
while [ "$1" ]; do
|
||||
case $1 in
|
||||
--repo|-r)
|
||||
Repo=$2
|
||||
shift;;
|
||||
--file|-f)
|
||||
File=$2
|
||||
shift;;
|
||||
-*)
|
||||
Err 1 'Incorrect option(s) specified.' ;;
|
||||
*)
|
||||
break ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
[ -z "$Repo" ] && Err 1 'Missing repo'
|
||||
[ -z "$File" ] && Err 1 'Missing file'
|
||||
[ -f "$File" ] && Err 1 'File already exists'
|
||||
|
||||
Date=$(date)
|
||||
|
||||
cat << EOF > "$File"
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Path - /usr/bin/$File
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Github - https://github.com/The-Repo-Club/$Repo
|
||||
# Start on - $Date
|
||||
# Modified on - $Date
|
||||
EOF
|
||||
|
||||
printf "%s/%s has been created!\n" "$(pwd)" "$File"
|
777
localbin/.local/bin/man-to-md
Executable file
777
localbin/.local/bin/man-to-md
Executable file
@ -0,0 +1,777 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# man-to-md -- Converts nroff man pages to Markdown.
|
||||
# Copyright © 2016-2020 Maximilian Eul
|
||||
#
|
||||
# This file is part of man-to-md.
|
||||
#
|
||||
# man-to-md is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# man-to-md is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with man-to-md. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use utf8;
|
||||
use Getopt::Long qw(:config no_getopt_compat bundling);
|
||||
use File::Basename qw(dirname basename);
|
||||
chdir dirname($0);
|
||||
|
||||
use constant {
|
||||
PROGNAME => basename($0),
|
||||
PROGVER => '0.17.0',
|
||||
PROGDATE => '2020-12-18',
|
||||
|
||||
DEFAULT_COMMENT => "This file was autogenerated from the man page with 'make README.md'",
|
||||
};
|
||||
|
||||
my ($section, $subsection, $prev_section);
|
||||
my ($is_synopsis, $in_list, $start_list_item, $is_desclist, $in_rawblock, $in_preblock);
|
||||
my ($in_urltitle, $in_mailtitle);
|
||||
my ($progname, $mansection, $version, $is_bare_version, $verdate, $description);
|
||||
my ($lineopt, $line_did_set_options);
|
||||
my $headline_prefix = '# ';
|
||||
my $section_prefix = '# ';
|
||||
my $subsection_prefix = '### ';
|
||||
|
||||
my $re_token = qr/(?:"(?:\.|[^"])*+"|(?:\\.|[^\s"])(?:\\.|\S)*+)/; # matches one token, with or without "enclosure".
|
||||
my $re_urlprefix = qr/(?:https?:|s?ftp:|www)/;
|
||||
my $re_url = qr/${re_urlprefix}.+?/;
|
||||
my $re_email = qr/(?:\w[\w\-_\.\+]*@[\w\-_\+\.]+?\.[\w\-]+)/;
|
||||
my $re_punctuation = qr/[\s,;\.\?!]/;
|
||||
|
||||
my $replacement_token = "\001kXXfQ6Yd" . int(10000 * rand);
|
||||
|
||||
my %paste_after_section = ( ); # ('section' => ['filename'...], ...)
|
||||
my %paste_before_section = ( );
|
||||
my $plain_dashes = 1;
|
||||
my $code_formatting = 0;
|
||||
my $add_comment;
|
||||
|
||||
my %strings = ( );
|
||||
my %words = ( );
|
||||
my %stopwords = map { $_ => 1 } (qw(
|
||||
a an the
|
||||
as at and but by for from nor or so yet while if on of off to it its it's
|
||||
on in onto into with within unless while after before once since until when since
|
||||
));
|
||||
|
||||
sub Syntax (;$) {
|
||||
printf STDERR <<EOT, PROGNAME;
|
||||
syntax: %s [OPTIONS] < input.nroff > output.md
|
||||
Converts nroff man pages to Markdown.
|
||||
Options:
|
||||
-p, --paste-section-after SECTION:FILENAME
|
||||
Pastes the contents of FILENAME after the input SECTION
|
||||
and adds the filename as section title.
|
||||
-P, --paste-section-before SECTION:FILENAME
|
||||
Pastes the contents of FILENAME right before the input SECTION
|
||||
and adds the filename as section title.
|
||||
--paste-after SECTION:FILENAME Like -p, but does not add a section title.
|
||||
--paste-before SECTION:FILENAME Like -P, but does not add a section title.
|
||||
-c, --comment [COMMENT] Adds an invisible comment as first line.
|
||||
Uses a default comment without its argument.
|
||||
--escaped-dashes Don't remove the backslash from escaped dashes (\\-).
|
||||
-w, --word WORD Adds a word to the list of words
|
||||
not to be titlecased in chapter titles.
|
||||
-f, --formatted-code Allow formatting in nf/fi code blocks and Synopsis line.
|
||||
-h, --help Show program help
|
||||
-V, --version Show program version
|
||||
EOT
|
||||
exit ($_[0] // 0);
|
||||
}
|
||||
|
||||
sub Version () {
|
||||
printf <<EOT, PROGNAME, PROGVER, PROGDATE;
|
||||
%s v%s
|
||||
Written by Maximilian Eul <maximilian\@eul.cc>, %s.
|
||||
License GPLv3+: GNU GPL Version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
EOT
|
||||
exit;
|
||||
}
|
||||
|
||||
GetOptions(
|
||||
'paste-after=s@' => sub{ add_paste_file('after', split /:/, $_[1]) },
|
||||
'paste-before=s@' => sub{ add_paste_file('before', split /:/, $_[1]) },
|
||||
'p|paste-section-after=s@' => sub{ add_paste_file('after', split(/:/, $_[1]), 1) },
|
||||
'P|paste-section-before=s@' => sub{ add_paste_file('before', split(/:/, $_[1]), 1) },
|
||||
'escaped-dashes' => sub{ $plain_dashes = 0 },
|
||||
'c|comment:s' => sub{ $add_comment = (length $_[1]) ? $_[1] : DEFAULT_COMMENT },
|
||||
'f|formatted-code' => sub{ $code_formatting = 1 },
|
||||
'w|word=s' => sub{ $words{ lc $_[1] } = $_[1] },
|
||||
'h|help' => sub{ Syntax 0 },
|
||||
'V|version' => sub{ Version },
|
||||
);
|
||||
|
||||
sub add_paste_file ($$$) {
|
||||
my ($op, $section, $filename, $add_section_title) = @_;
|
||||
die "file not readable: $filename" unless (-f $filename && -r $filename);
|
||||
my $addto = ($op eq 'after')
|
||||
? \%paste_after_section
|
||||
: \%paste_before_section;
|
||||
push @{ $addto->{$section} }, {file => $filename, add_section_title => $add_section_title};
|
||||
}
|
||||
|
||||
# Install postprocessing function for all output:
|
||||
sub {
|
||||
my $pid = open(STDOUT, '|-');
|
||||
return if $pid > 0;
|
||||
die "cannot fork: $!" unless defined $pid;
|
||||
|
||||
# process entire output at once:
|
||||
local $/;
|
||||
local $_ = <STDIN>;
|
||||
utf8::decode($_);
|
||||
|
||||
# merge code blocks:
|
||||
s#(?:\n```\n```\n|</code></pre>\n<pre><code>|</code>\n<code>\n?)# #g;
|
||||
s#(?:</code><code>|</pre><pre>)##g;
|
||||
s#(?:\n</synopsis>\n<synopsis>\n|\n</synopsisFormatted>\n<synopsisFormatted>\n)# #g;
|
||||
|
||||
# ensure correct synposis format:
|
||||
s#(<(synopsis(?:Formatted)?)>.*</\2>)#postprocess_synopsis($1)#se;
|
||||
|
||||
# URLs:
|
||||
s/(\[[^\]]+) (?=\]\((?:$re_urlprefix|mailto:))/$1/g; # remove trailing spaces in link titles
|
||||
s/^(.+)(?<!>)(?<!>)(?:$)\n^(?:[\[\(]\*{0,2}($re_url)\*{0,2}[\]\)])($re_punctuation*)$/[$1]($2)$3/gm;
|
||||
|
||||
# Line breaks;
|
||||
s/\n *${replacement_token}#BRK#/ \n/g;
|
||||
|
||||
# Internal links:
|
||||
s=${replacement_token}#INTERNAL-LINK#\n? *(?:((?!<|<)[^\n]+)\n)? *(?:<|<)([^\n]+?)(?:>|>)($re_punctuation*)$=
|
||||
'[' . ($1 // $2) . '](' . $2 . ')' . $3
|
||||
=gme;
|
||||
s=${replacement_token}#LINK-TO#([^#]+)#\n? *(<|<|“|‘|")?([^\n]+?)((?:>|>|”|’|")?$re_punctuation*)?$=
|
||||
($2 // '') . '[' . $3 . '](#' . section_slug($1) . ')' . ($4 // '')
|
||||
=gme;
|
||||
# 1 target
|
||||
# 2 prefix
|
||||
# 3 link text
|
||||
# 4 suffix
|
||||
|
||||
# Clean up remaining markers:
|
||||
s/${replacement_token}#[\w\-]+#\n?//g;
|
||||
|
||||
# There should never be a linebreak after a NBSP, it defeats the entire purpose.
|
||||
s/(?<= )\n//g;
|
||||
|
||||
utf8::encode($_);
|
||||
print;
|
||||
exit;
|
||||
}->();
|
||||
|
||||
# nextline(keep_blanklines=false)
|
||||
# Fetch next input line into $_.
|
||||
# Returns true if there was an input line, false if EOF.
|
||||
# If the first argument (keep_blanklines) is true,
|
||||
# blank lines will be returned;
|
||||
# by default, blank lines will be skipped.
|
||||
# This function also removes all line comments (\")
|
||||
# and block comments (.ig).
|
||||
sub nextline {
|
||||
my $keep_blanklines = $_[0] // 0;
|
||||
my $in_comment;
|
||||
do {{
|
||||
$_ = <>;
|
||||
return 0 unless defined;
|
||||
|
||||
# options for following line(s):
|
||||
$line_did_set_options = 0;
|
||||
if (s/^\.?\s*\\"\s*(PLAIN)\s*$//) {
|
||||
$line_did_set_options = 1;
|
||||
add_lineopt($1);
|
||||
}
|
||||
|
||||
# special markers in comments:
|
||||
s/^\.?\s*\\"\s*INTERNAL-LINK.*$/${replacement_token}#INTERNAL-LINK#/s or
|
||||
s/^\.?\s*\\"\s*LINK-TO\s+([^\s#][^#\r\n]*)\s*$/${replacement_token}#LINK-TO#$1#/s or
|
||||
|
||||
s/^\.\\".*$// # remove line comment commands
|
||||
or
|
||||
s/^((?:\\[^"]|[^\\])++)\\".*$/$1/; # remove line comments
|
||||
|
||||
if (m/^\.ig/ || $in_comment) {
|
||||
# block comment
|
||||
$in_comment = ! m/^\.\./;
|
||||
redo;
|
||||
}
|
||||
|
||||
# Keep reading if line ends with “\<NEWLINE>”, it's not truly finished yet:
|
||||
while (!eof && s/((?:\\{2})*)\\[\r\n]+$/$1/) {
|
||||
$_ .= <>;
|
||||
}
|
||||
|
||||
}} while (line_empty() && !$keep_blanklines);
|
||||
utf8::decode($_);
|
||||
1
|
||||
}
|
||||
|
||||
sub line_empty { m/^\s*$/ }
|
||||
|
||||
sub has_lineopt ($) { defined($lineopt) && $lineopt =~ m/\b$_[0]\b/ }
|
||||
sub add_lineopt ($) { $lineopt .= " $_[0] " }
|
||||
sub clr_lineopt () { undef $lineopt }
|
||||
|
||||
sub strip_highlighting {
|
||||
# remove remaining highlighting:
|
||||
s/(?:^\.[BIR] |\\f[BIRP1234])//g unless $_[0];
|
||||
# get rid of .BR formatting, but correctly unquote its arguments:
|
||||
s/^\.[BIR]{2} *(.+)/alternating_highlighting('R', 'R', $1)/ge unless $_[0];
|
||||
|
||||
# paragraphs:
|
||||
if (m/^\.br/i) {
|
||||
$_ = "${replacement_token}#BRK#";
|
||||
return
|
||||
} elsif (m/^\.(LP|P|PP|sp)\b/) {
|
||||
$_ = "\n"; # one blank line
|
||||
$in_list = 0;
|
||||
}
|
||||
|
||||
# known special characters:
|
||||
s/\\\(lq/“/g;
|
||||
s/\\\(rq/”/g;
|
||||
s/\\\(oq/‘/g;
|
||||
s/\\\(cq/’/g;
|
||||
s/\\\(ga/`/g;
|
||||
s/\\\(aq/'/g;
|
||||
s/\\\(dq/"/g;
|
||||
s/\\\(fm/′/g;
|
||||
s/\\\(sd/″/g;
|
||||
s/\\\(Fo/«/g;
|
||||
s/\\\(Fc/»/g;
|
||||
s/\\\(fo/‹/g;
|
||||
s/\\\(fc/›/g;
|
||||
s/\\\(hy/-/g;
|
||||
s/\\\(en/–/g;
|
||||
s/\\\(em/—/g;
|
||||
s/\\\(ha/^/g;
|
||||
s/\\\(lh/☜/g;
|
||||
s/\\\(rh/☞/g;
|
||||
|
||||
s/\\\(at/@/g;
|
||||
s/\\\(bu/·/g;
|
||||
s/\\\(ci/○/g;
|
||||
s/\\\(CR/↵/g;
|
||||
s/\\\(de/°/g;
|
||||
s/\\\(dg/†/g;
|
||||
s/\\\(dd/‡/g;
|
||||
s/\\\(lz/◊/g;
|
||||
s/\\\(mc/µ/g;
|
||||
s/\\\(OK/✓/g;
|
||||
s/\\\(ps/¶/g;
|
||||
s/\\\(ru/_/g;
|
||||
s/\\\(sc/§/g;
|
||||
s/\\\(sh/#/g;
|
||||
s/\\\(sq/□/g;
|
||||
s/\\\(ti/~/g;
|
||||
|
||||
s/\\\(ct/¢/g;
|
||||
s/\\\(Do/\$/;
|
||||
s/\\\([Ee]u/€/g;
|
||||
s/\\\(Ye/¥/g;
|
||||
s/\\\(Po/£/g;
|
||||
s/\\\(Cs/¤/g;
|
||||
|
||||
s/\\\(co/©/g;
|
||||
s/\\\(rg/®/g;
|
||||
s/\\\(tm/™/g;
|
||||
|
||||
s/\\\(ff/ff/g;
|
||||
s/\\\(fi/fi/g;
|
||||
s/\\\(Fi/ffi/g;
|
||||
s/\\\(fl/fl/g;
|
||||
s/\\\(Fl/ffl/g;
|
||||
s/\\\(12/½/g;
|
||||
s/\\\(14/¼/g;
|
||||
s/\\\(34/¾/g;
|
||||
s/\\\(38/⅜/g;
|
||||
s/\\\(58/⅝/g;
|
||||
s/\\\(78/⅞/g;
|
||||
s/\\\(S1/¹/g;
|
||||
s/\\\(S2/²/g;
|
||||
s/\\\(S3/³/g;
|
||||
|
||||
# unicode characters:
|
||||
s/\\\[u0*?([0-9a-fA-F]+)\]/ chr hex $1 /ge;
|
||||
|
||||
s/\\[ ~]/ /g; # non-breakable space
|
||||
# s/\\-/‑/g; # non-breakable hyphen
|
||||
s/\\%//g; # hyphenation command
|
||||
|
||||
# other special characters, except "\\":
|
||||
s/`/\\`/g;
|
||||
s/\\ / /g;
|
||||
s/\\-/-/g if $plain_dashes;
|
||||
# s/\\(.)/$1/g;
|
||||
|
||||
# non-printing zero-width characters, used to mask strings that are not commands:
|
||||
s/\\[&\)]//g;
|
||||
s/\\://g; # ZWSP
|
||||
# other unprintables and control characters:
|
||||
s/\\[\/,]//g;
|
||||
|
||||
# unknown \*X or \*(XX string usages not previously defined with .ds:
|
||||
s/^(?:\\[^\*]|[^\\])*?\K\\\*[^\s\(]//g;
|
||||
s/^(?:\\[^\*]|[^\\])*?\K\\\*\([^\s]{2}//g;
|
||||
# These regexes look a bit weird.
|
||||
# They prevent removal of non-string-sequence input like ...**\\\\**...
|
||||
# but excluding there patterns with a negative look-behind
|
||||
# won't work because it's not a fixed-length match.
|
||||
# TODO: Apply similar exclusions to all other backslash-escaped replacements in this sub?
|
||||
|
||||
utf8::encode($_);
|
||||
}
|
||||
|
||||
sub strip_html {
|
||||
# avoid accidental html output:
|
||||
my @result = map{
|
||||
s/</</g;
|
||||
s/>/>/g;
|
||||
$_ }
|
||||
($#_ >= 0 ? @_ : ($_));
|
||||
wantarray ? @result : $result[0]
|
||||
}
|
||||
|
||||
sub section_title {
|
||||
# If the current line contains a section title,
|
||||
# this function sets $section, $prev_section, and the $is_... flags accordingly
|
||||
# and returns true.
|
||||
return 0 unless m/^\.SH +(.+)$/m;
|
||||
|
||||
$in_list = 0;
|
||||
$prev_section = $section // '';
|
||||
$section = qtok($1);
|
||||
undef $subsection;
|
||||
|
||||
$is_synopsis = ($section eq 'SYNTAX' || $section eq 'SYNOPSIS');
|
||||
1
|
||||
}
|
||||
|
||||
sub subsection_title {
|
||||
return 0 unless m/^\.SS +(.+)$/m;
|
||||
|
||||
$in_list = 0;
|
||||
$subsection = qtok($1);
|
||||
1
|
||||
}
|
||||
|
||||
sub postprocess_synopsis {
|
||||
local $_ = $_[0];
|
||||
|
||||
# Turn fake block tags into correct markup:
|
||||
s#<synopsis>(.*)</synopsis>#```$1```#s ||
|
||||
s#^<synopsisFormatted>\n(.*)\n</synopsisFormatted>#<pre><code>$1</code></pre>#s;
|
||||
|
||||
# Synopsis blocks are processed line-by-line, then merged by the global output postprocessing function.
|
||||
# This may cause spaces to be inserted at unexpected places. Remove them:
|
||||
s/ *${replacement_token}#BRK# */\n/gs;
|
||||
|
||||
$_
|
||||
}
|
||||
|
||||
sub reformat_syntax {
|
||||
# commands to be ignored:
|
||||
if (m/^\.(?:PD|hy|ad|ft|fi|\s|$)/) {
|
||||
$_ = '';
|
||||
return
|
||||
}
|
||||
|
||||
# replace .ds strings:
|
||||
for my $sname (keys %strings) {
|
||||
if (length $sname == 1) { s/\\\*$sname/$strings{$sname}/g; }
|
||||
elsif (length $sname == 2) { s/\\\*\($sname/$strings{$sname}/g; }
|
||||
}
|
||||
|
||||
# raw block markers:
|
||||
if (m/^\.(?:nf|co|cm)/) {
|
||||
if (has_lineopt('PLAIN')) {
|
||||
$in_preblock = 2;
|
||||
} else {
|
||||
$in_rawblock = 2;
|
||||
}
|
||||
if (m/^\.cm(?:\s+($re_token))?/) {
|
||||
chomp;
|
||||
$_ = qtok($1);
|
||||
strip_highlighting();
|
||||
$_ = "\n**\`$_\`**\n\n"
|
||||
} elsif (m/^\.co/) {
|
||||
$_ = "\n"
|
||||
} else {
|
||||
$_ = ''
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
# command invocation in Synopsis section:
|
||||
if ($is_synopsis && !line_empty()) {
|
||||
# only code here
|
||||
chomp;
|
||||
if ($code_formatting) {
|
||||
# synopsis content with formatting
|
||||
$_ = strip_html($_);
|
||||
reformat_html();
|
||||
strip_highlighting();
|
||||
s/\\(.)/$1/g; # in md <pre> blocks, backslashes are not special!
|
||||
$_ = "<synopsisFormatted>\n$_\n</synopsisFormatted>\n"
|
||||
} else {
|
||||
strip_highlighting();
|
||||
$_ = "<synopsis>\n$_\n</synopsis>\n";
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
# Usually we can get away with unescaped underscores.
|
||||
# But they'll lead to problems inside words that use \fI font changes.
|
||||
# So escape just these occurrences:
|
||||
s/(?=\S*\\f[IRP12]\S*)_/\\_/g;
|
||||
|
||||
# bold and italics:
|
||||
# (The special cases <b>*</b> and <i>*</i> are handled after the strip_html() call.)
|
||||
s/(?:\\f[B3])+([^\*_]|.{2,}?)(?:\\f[RP1])+/**$1**/g;
|
||||
s/(?:\\f[I2])+([^\*_]|.{2,}?)(?:\\f[RP1])+/_$1_/g;
|
||||
s/(?:\\f4)+([^\*_]|.{2,}?)(?:\\f[RP1])+/**_$1_**/g;
|
||||
|
||||
# groff concatenates tokens in .B and .I lines with spaces.
|
||||
# We still have to tokenize and re-join the line
|
||||
# to get rid of the token doublequote enclosures.
|
||||
s/^\.B +([^\*].*)/'**' . join(' ', tokenize($1)) . '**'/ge;
|
||||
s/^\.I +([^\*].*)/'_' . join(' ', tokenize($1)) . '_'/ge;
|
||||
|
||||
s/^\.([BIR])([BIR]) *(.+)/alternating_highlighting($1, $2, $3)/ge;
|
||||
|
||||
# other formatting:
|
||||
strip_highlighting(1);
|
||||
|
||||
# escape html tags:
|
||||
$_ = strip_html($_);
|
||||
|
||||
# process highlighting special cases:
|
||||
s#(?:\\f[B3])+(\*|_)(?:\\f[RP1])+#<b>\\$1</b>#g;
|
||||
s#(?:\\f[I2])+(\*|_)(?:\\f[RP1])+#<i>\\$1</i>#g;
|
||||
s#(?:\\f4)+(\*|_)(?:\\f[RP1])+#<b><i>\\$1</i></b>#g;
|
||||
s#^\.B +(\*.*)#'<b>' . join(' ', tokenize($1)) . '</b>'#ge;
|
||||
s#^\.I +(\*.*)#'<i>' . join(' ', tokenize($1)) . '</i>'#ge;
|
||||
|
||||
# remove remaining highlighting:
|
||||
s/(?:^\.[BIR]{1,2} |\\f[BIRP1234])//g;
|
||||
|
||||
if ($section eq 'AUTHOR' || $section eq 'AUTHORS') {
|
||||
# convert e-mail address to link:
|
||||
s/\b($re_email)\b/[$1](mailto:$1)/u;
|
||||
}
|
||||
|
||||
# item lists and description lists:
|
||||
if (m/^\.IP(?: +($re_token))?/ || m/^\.TP/) {
|
||||
my $tok = defined($1) ? qtok($1) : undef;
|
||||
my $is_bullet = (!defined($tok) || $tok eq '' || $tok eq '-' || $tok eq 'o');
|
||||
$is_desclist = !$is_bullet || (m/^\.TP/ && ($section ne 'EXIT CODES' && $section ne 'EXIT STATUS'));
|
||||
my $indent = ($in_list > 1)
|
||||
? ' ' x ($in_list - 1)
|
||||
: '';
|
||||
$_ = $indent . '* '; # no trailing break here
|
||||
if ($is_bullet) {
|
||||
$start_list_item = 1;
|
||||
} else {
|
||||
$_ .= $tok . " \n";
|
||||
}
|
||||
if (!$in_list) {
|
||||
$_ = "\n$_";
|
||||
$in_list = 1;
|
||||
}
|
||||
} elsif ($in_list && m/^\.RS/) {
|
||||
$in_list++;
|
||||
$_ = ''
|
||||
} elsif ($in_list && m/^\.RE/) {
|
||||
$in_list--;
|
||||
$_ = ''
|
||||
} elsif (m/^\.(?:RS|RE)/) {
|
||||
# ignore
|
||||
$_ = ''
|
||||
} elsif ($in_list) {
|
||||
if ($start_list_item) {
|
||||
$start_list_item = 0;
|
||||
|
||||
# In description list (probably some CLI options).
|
||||
# Add extra line break after option name:
|
||||
s/$/ / if $is_desclist;
|
||||
} else {
|
||||
my $indent = ' ' x (2 + (4 * ($in_list - 1)));
|
||||
s/^/$indent/;
|
||||
}
|
||||
} elsif (m/\.UR ($re_url)\s*$/) {
|
||||
$in_urltitle = $1;
|
||||
$_ = '['
|
||||
} elsif (m/\.MT ($re_email)\s*$/) {
|
||||
$in_mailtitle = $1;
|
||||
$_ = '['
|
||||
} elsif (defined $in_urltitle && m/\.UE(?: (\S*)\s*)?$/) {
|
||||
$_ = "]($in_urltitle)" . ($1 // '') . "\n";
|
||||
undef $in_urltitle
|
||||
} elsif (defined $in_mailtitle && m/\.ME(?: (\S*)\s*)?$/) {
|
||||
$_ = "](mailto:$in_mailtitle)" . ($1 // '') . "\n";
|
||||
undef $in_mailtitle
|
||||
} elsif (defined $in_urltitle || defined $in_mailtitle) {
|
||||
s/[\r\n]+/ /g
|
||||
}
|
||||
|
||||
s/$/ / if has_lineopt('BRK');
|
||||
clr_lineopt() unless $line_did_set_options;
|
||||
}
|
||||
|
||||
sub reformat_html {
|
||||
s#\\f[B3](.+?)\\f[RP1]#<b>$1</b>#g;
|
||||
s#\\f[I2](.+?)\\f[RP1]#<i>$1</i>#g;
|
||||
s#\\f4(.+?)\\f[RP1]#<b><i>$1</i></b>#g;
|
||||
s#^\.B +(.+)#<b>$1</b>#g;
|
||||
s#^\.I +(.+)#<i>$1</i>#g;
|
||||
s/^\.([BIR])([BIR]) *(.+)/alternating_highlighting($1, $2, $3, 1)/ge;
|
||||
}
|
||||
|
||||
# Strips doublequote enclosure from string tokens, if present.
|
||||
sub qtok {
|
||||
my @result = map{ defined && m/^"(.+)"$/ ? $1 : $_ } @_;
|
||||
wantarray ? @result : $result[0]
|
||||
}
|
||||
|
||||
# Extracts all tokens from the input string and returns them in a list.
|
||||
# Tokens are things enclosed in unescaped doublequotes or any strings without spaces.
|
||||
sub tokenize { qtok($_[0] =~ m/$re_token/g) }
|
||||
|
||||
sub section_slug ($) {
|
||||
local $_ = lc shift;
|
||||
s/[^\w\d\-_ ]//g;
|
||||
s/[ \-]+/-/g;
|
||||
$_
|
||||
}
|
||||
|
||||
sub section_anchor ($) { "<a name=\"" . section_slug($_[0]) . "\"></a>" }
|
||||
|
||||
sub print_section_title ($) {
|
||||
my $title = strip_html($_[0]);
|
||||
my $output = sprintf "\n%s\n\n%s%s\n\n", section_anchor($title), $section_prefix, $title;
|
||||
utf8::encode($output);
|
||||
print $output
|
||||
}
|
||||
|
||||
sub print_subsection_title ($) {
|
||||
my $title = strip_html($_[0]);
|
||||
my $output = sprintf "\n%s\n\n%s%s\n\n", section_anchor($title), $subsection_prefix, $title;
|
||||
utf8::encode($output);
|
||||
print $output
|
||||
}
|
||||
|
||||
sub paste_file (%) {
|
||||
my %args = @_;
|
||||
return 0 unless -r $args{'file'};
|
||||
|
||||
if ($args{'add_section_title'} && $args{'file'} =~ m/^(?:[a-zA-Z0-9_\-]+\/)*(.+)\.md$/) {
|
||||
my $section_title = $1;
|
||||
print_section_title $section_title;
|
||||
}
|
||||
|
||||
open FH, "< $args{'file'}";
|
||||
local $/;
|
||||
my $content = <FH>;
|
||||
close FH;
|
||||
|
||||
# $content =~ s/\s+$//;
|
||||
print "$content\n";
|
||||
|
||||
1
|
||||
}
|
||||
|
||||
sub alternating_highlighting {
|
||||
my @hl = @_[0, 1];
|
||||
my @tokens = tokenize($_[2]);
|
||||
my $do_html = $_[3] // 0;
|
||||
my $h = 0;
|
||||
|
||||
# groff concatenates tokens in .B and .I lines with spaces,
|
||||
# but tokens in .[BIR][BIR] lines are concatenated WITHOUT spaces.
|
||||
# Therefore we have to join('') the tokens here:
|
||||
|
||||
return join '', map {
|
||||
my $highlightkey = $hl[$h++ % 2];
|
||||
|
||||
if ($highlightkey eq 'R') {
|
||||
$_
|
||||
} elsif ($highlightkey eq 'I') {
|
||||
($do_html)
|
||||
? '<i>' . $_ . '</i>'
|
||||
: '_' . $_ . '_'
|
||||
} elsif ($highlightkey eq 'B') {
|
||||
($do_html)
|
||||
? '<b>' . $_ . '</b>'
|
||||
: '**' . $_ . '**'
|
||||
}
|
||||
} @tokens
|
||||
}
|
||||
|
||||
sub titlecase {
|
||||
local $_ = $_[0];
|
||||
my $re_word = '(\pL[\pL\d\'_]*)';
|
||||
|
||||
# lowercase stop words, keep casing of known words, else titlecase
|
||||
s!$re_word!$stopwords{lc $1} ? lc($1) : ($words{lc $1} // ucfirst(lc($1)))!ge;
|
||||
# capitalize first word following colon or semicolon
|
||||
s/ ( [:;] \s+ ) $re_word /$1\u$2/x;
|
||||
# titlecase first word (even a stopword), except if it's a known word
|
||||
s!^\s*$re_word!$words{lc $1} // ucfirst(lc($1))!e;
|
||||
|
||||
$_
|
||||
}
|
||||
|
||||
sub read_version {
|
||||
if ($_[0] eq '') {
|
||||
# no version string found
|
||||
$version = '';
|
||||
return 1
|
||||
}
|
||||
|
||||
if ($_[0] =~ m/^(?:$progname(?: \(\d\))?\s+)(?:v|ver\.?|version)? ?(\d[\w\.\-\+]*)$/i) {
|
||||
# found explicit version following known progname
|
||||
$is_bare_version = 1;
|
||||
$version = $1;
|
||||
return 1
|
||||
}
|
||||
|
||||
# found something else
|
||||
$version = $_[0];
|
||||
return 1
|
||||
}
|
||||
|
||||
##############################
|
||||
|
||||
# eat first line, extract progname, version, and man section
|
||||
nextline() or die "could not read first line";
|
||||
m/^.(?:Dd|Dt)\b/ and die "man page is in mdoc format which is not supported";
|
||||
m/^\.TH\b/ or die "first line does not contain '.TH' macro";
|
||||
m/^\.TH ($re_token)(?:\s|$)/ or die ".TH line doesn't contain page title";
|
||||
m/^\.TH ($re_token) ($re_token)(?: ($re_token)(?: ($re_token))?)?/ or die ".TH line doesn't contain man section";
|
||||
|
||||
($progname, $mansection, $verdate) = (lc(qtok($1)), qtok($2), qtok($3));
|
||||
read_version(qtok($4 // ''));
|
||||
|
||||
# skip NAME headline, extract description
|
||||
if (nextline() && section_title() && $section eq 'NAME') {
|
||||
if (nextline() && m/ \\?(?:-|\\\(em|\\\(en) +(.+)$/) {
|
||||
$description = $1;
|
||||
nextline();
|
||||
}
|
||||
}
|
||||
|
||||
print "[//]: # ($add_comment)\n\n" if defined $add_comment;
|
||||
printf "%s%s(%s)", $headline_prefix, strip_html($progname), $mansection;
|
||||
printf " - %s", strip_html($description) if defined $description;
|
||||
print "\n\n";
|
||||
|
||||
# Fake section name 'HEADLINE' can be used
|
||||
# to paste additional content right after the headline
|
||||
# (but not before)
|
||||
if (defined $paste_after_section{'HEADLINE'}) {
|
||||
paste_file(%$_) foreach (@{ $paste_after_section{'HEADLINE'} });
|
||||
undef $paste_after_section{'HEADLINE'};
|
||||
}
|
||||
|
||||
if ($version || $verdate) {
|
||||
if ($version) {
|
||||
print "Version " if $is_bare_version;
|
||||
print $version;
|
||||
}
|
||||
if ($version && $verdate) {
|
||||
print ", ";
|
||||
}
|
||||
if ($verdate) {
|
||||
print $verdate;
|
||||
}
|
||||
print "\n\n";
|
||||
}
|
||||
|
||||
# skip SYNOPSIS headline
|
||||
nextline() if (section_title && $is_synopsis);
|
||||
|
||||
do {{
|
||||
PARSELINE:
|
||||
|
||||
if ($in_rawblock) {
|
||||
if (m/^\.(?:fi|SH|cx)/) {
|
||||
# code block ends
|
||||
$in_rawblock = 0;
|
||||
print "</code></pre>\n" if $code_formatting;
|
||||
print "\n" if m/^\.cx/;
|
||||
redo if m/^\.SH/; # .nf sections can be ended with .SH, but we still need to print the new section title too
|
||||
} elsif ($code_formatting) {
|
||||
# inside code block with limited html formatting
|
||||
if ($in_rawblock == 2) {
|
||||
$in_rawblock = 1;
|
||||
print "<pre><code>";
|
||||
}
|
||||
$_ = strip_html($_);
|
||||
reformat_html;
|
||||
strip_highlighting;
|
||||
s/\\(.)/$1/g; # in md <pre> blocks, backslashes are not special!
|
||||
print
|
||||
} else {
|
||||
# inside code block without formatting
|
||||
strip_highlighting;
|
||||
s/\\(.)/$1/g; # in md raw blocks, backslashes are not special!
|
||||
print " $_"
|
||||
}
|
||||
|
||||
} elsif ($in_preblock) {
|
||||
if (m/^\.fi/) {
|
||||
# preformatted block ends
|
||||
$in_preblock = 0;
|
||||
$_ = '';
|
||||
} else {
|
||||
# Add two spaces at EOL to force visible linebreak:
|
||||
add_lineopt('BRK');
|
||||
}
|
||||
reformat_syntax;
|
||||
print
|
||||
|
||||
} elsif (section_title) {
|
||||
# new section begins
|
||||
if (defined $paste_after_section{$prev_section}) {
|
||||
paste_file(%$_) foreach (@{ $paste_after_section{$prev_section} });
|
||||
undef $paste_after_section{$prev_section};
|
||||
}
|
||||
if (defined $paste_before_section{$section}) {
|
||||
paste_file(%$_) foreach (@{ $paste_before_section{$section} });
|
||||
undef $paste_before_section{$section};
|
||||
}
|
||||
print_section_title titlecase($section)
|
||||
|
||||
} elsif (subsection_title) {
|
||||
# new subsection begins
|
||||
print_subsection_title $subsection
|
||||
|
||||
} elsif (m/^\.ds +(\S{1,2}) +"?(.+)$/) {
|
||||
$strings{ $1 } = $2
|
||||
|
||||
} elsif (m/^\.de\b/) {
|
||||
# macro definition -- skip completely
|
||||
1 while (nextline(1) && ! m/^\.\./);
|
||||
|
||||
} else {
|
||||
reformat_syntax;
|
||||
print
|
||||
}
|
||||
|
||||
}} while (nextline(1));
|
||||
|
||||
# Paste section which haven't matched anything yet:
|
||||
# TODO: print warnings -- they probably should have gone somewhere else
|
||||
foreach (values %paste_before_section)
|
||||
{ paste_file(%$_) foreach (@$_) }
|
||||
foreach (values %paste_after_section)
|
||||
{ paste_file(%$_) foreach (@$_) }
|
@ -5,7 +5,7 @@
|
||||
# GitHub - https://github.com/The-Repo-Club/
|
||||
# Author - The-Repo-Club [wayne6324@gmail.com]
|
||||
# Start on - Thurs 12 Aug 16:24:07 BST 2021
|
||||
# Modified On - Sun 31 Oct 00:24:44 BST 2021
|
||||
# Modified On - Fri 28 January 2022, 05:14:13 pm (GMT)
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
FILE=$@
|
||||
@ -20,5 +20,3 @@ if [ -f "$FILE" ]; then
|
||||
else
|
||||
printf "%s does not exists.\n" "$FILE"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,50 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# -*-coding:utf-8 -*-
|
||||
# Auto updated?
|
||||
# Yes
|
||||
#File :
|
||||
# file_name
|
||||
#Author:
|
||||
# The-Repo-Club [wayne6324@gmail.com]
|
||||
#Github:
|
||||
# https://github.com/The-Repo-Club/
|
||||
#
|
||||
# Created:
|
||||
# Thu 20 January 2022, 03:50:10 PM [GMT]
|
||||
# Modified:
|
||||
# Fri 21 January 2022, 02:29:56 PM [GMT]
|
||||
#
|
||||
# Description:
|
||||
# Check for disk useage
|
||||
#
|
||||
|
||||
# Max % that the disk can do until notifying you.
|
||||
MAX_USAGE=50
|
||||
|
||||
# Time in seconds between checks/messages.
|
||||
# Common values:
|
||||
# 300 = 5 mins
|
||||
# 600 = 10 mins
|
||||
# 1800 = 30 mins
|
||||
# 3600 = 1 hour
|
||||
|
||||
TIME_IN_BETWEEN=600
|
||||
|
||||
while true; do
|
||||
|
||||
# Get % of disk usage
|
||||
USAGEROOT=`df -hl | awk '/^\/dev\/nvme0n1p3/ { sum+=$5 } END { print sum }'`
|
||||
USAGEHOME=`df -hl | awk '/^\/dev\/nvme0n1p4/ { sum+=$5 } END { print sum }'`
|
||||
|
||||
# If current usage is higher than max usage
|
||||
if [[ $USAGEROOT -gt $MAX_USAGE ]] ; then
|
||||
twmnc --title "Disk Usage High on /" --content "Reached ${USAGEROOT}%"
|
||||
fi
|
||||
if [[ $USAGEHOME -gt $MAX_USAGE ]] ; then
|
||||
twmnc --title "Disk Usage High on /home" --content "Reached ${USAGEHOME}%"
|
||||
fi
|
||||
|
||||
# Wait until next check/message
|
||||
sleep $TIME_IN_BETWEEN
|
||||
done
|
||||
|
242
localbin/.local/bin/xdg-menu
Executable file
242
localbin/.local/bin/xdg-menu
Executable file
@ -0,0 +1,242 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Lu Xu <oliver_lew at outlook dot com>
|
||||
# License: MIT
|
||||
# References: https://specifications.freedesktop.org/desktop-entry-spec
|
||||
# https://specifications.freedesktop.org/icon-theme-spec
|
||||
|
||||
# XDG directories
|
||||
XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
|
||||
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
|
||||
XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share:/usr/local/share}
|
||||
|
||||
# Apply default configuration values
|
||||
SHOW_ALL=${XDG_MENU_SHOW_ALL:-}
|
||||
TERMINAL=${XDG_MENU_TERMINAL:-xterm}
|
||||
SIZE=${XDG_MENU_ICON_SIZE:-24}
|
||||
ICON_THEME=${XDG_MENU_ICON_THEME:-$(
|
||||
if command -v gtk-query-settings > /dev/null; then
|
||||
gtk-query-settings gtk-icon-theme-name | awk '{ print $2 }' | tr -d '"'
|
||||
else
|
||||
echo Adwaita
|
||||
fi
|
||||
)}
|
||||
FALLBACK_ICON=${XDG_MENU_FALLBACK_ICON:-application-x-executable}
|
||||
|
||||
# Read CLI arguments
|
||||
while getopts "ab:fhi:ns:t:" arg; do
|
||||
case "$arg" in
|
||||
a) SHOW_ALL=1;;
|
||||
b) FALLBACK_ICON=$OPTARG;;
|
||||
f) force_cache=1;;
|
||||
i) ICON_THEME=$OPTARG;;
|
||||
n) not_cache=1;;
|
||||
s) SIZE=$OPTARG;;
|
||||
t) TERMINAL=$OPTARG;;
|
||||
h|*) echo "$0 [-a] [-b icon] [-f] [-i theme] [-n] [-s size] [-t term]" && exit ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Directories
|
||||
DATA_DIRS=$XDG_DATA_HOME:$XDG_DATA_DIRS
|
||||
CACHE_DIR="$XDG_CACHE_HOME/xdg-xmenu"
|
||||
CACHE_ICON_DIR="$CACHE_DIR/icons"
|
||||
mkdir -p "$CACHE_ICON_DIR"
|
||||
|
||||
# Find directories in an icon theme matching the target size
|
||||
valid_dirs() {
|
||||
theme_dir=$1
|
||||
[ -f "$theme_dir/index.theme" ] || return
|
||||
while IFS='=' read -r key value; do
|
||||
# parse the index.theme file
|
||||
case "$key" in
|
||||
\[*\])
|
||||
# FIXME: scaled icons are ignored for now, sorry HiDPI
|
||||
# deal with last subdirectory, only Size is mandatory
|
||||
if [ "${Scale-1}" = 1 ] && [ -n "$Size" ]; then
|
||||
# defaults if they are not specified
|
||||
Type=${Type:-Threshold}
|
||||
MaxSize=${MaxSize:-Size}
|
||||
MinSize=${MinSize:-Size}
|
||||
Threshold=${Threshold:-2}
|
||||
|
||||
# match subdirectory sizes based on 'Type'
|
||||
# 1. fixed size, has to be exact
|
||||
{ [ "$Type" = Fixed ] &&
|
||||
[ "$SIZE" = "$Size" ]; } ||
|
||||
# 2. threshold size, within Threshold times
|
||||
{ [ "$Type" = Threshold ] &&
|
||||
[ "$SIZE" -ge "$((Size / Threshold))" ] &&
|
||||
[ "$SIZE" -le "$((Size * Threshold))" ]; } ||
|
||||
# 3. scalable size, Min/MaxSize as lower/upper limits
|
||||
{ [ "$Type" = Scalable ] &&
|
||||
[ "$SIZE" -ge "$MinSize" ] &&
|
||||
[ "$SIZE" -le "$MaxSize" ]; } &&
|
||||
# found it
|
||||
echo "$theme_dir/$subdir"
|
||||
fi
|
||||
|
||||
# clean up variables for the new subdirectory
|
||||
unset MaxSize MinSize Scale Size Threshold Type subdir
|
||||
subdir=${key#[}
|
||||
subdir=${subdir%]}
|
||||
;;
|
||||
*)
|
||||
# read each key-value pair into shell variables
|
||||
[ -n "$value" ] && eval "$key=\"$value\""
|
||||
;;
|
||||
esac
|
||||
done < "$theme_dir/index.theme"
|
||||
}
|
||||
|
||||
# Find all directories matching the size and containing icons directly
|
||||
find_all_dirs() {
|
||||
IFS=':'
|
||||
for datadir in $DATA_DIRS; do unset IFS
|
||||
for theme in "$ICON_THEME" "hicolor"; do
|
||||
valid_dirs "$datadir/icons/$theme"
|
||||
done
|
||||
done
|
||||
echo "/usr/share/pixmaps"
|
||||
}
|
||||
|
||||
all_dirs=$(find_all_dirs)
|
||||
|
||||
# Search for an icon based on its name
|
||||
find_icon() {
|
||||
icon=$1
|
||||
# find any png, svg or xpm icon in available directories
|
||||
for dir in $all_dirs; do
|
||||
for ext in png svg xpm; do
|
||||
if [ -f "$dir/$icon.$ext" ]; then
|
||||
echo "$dir/$icon.$ext"
|
||||
return
|
||||
fi
|
||||
done
|
||||
done
|
||||
# when the fallback icon is not found, return none instead
|
||||
[ "$icon" = "$FALLBACK_ICON" ] && echo "" || echo "$FALLBACK_ICON"
|
||||
}
|
||||
|
||||
# xmenu does not support svg, so convert svg to png
|
||||
cache_icon() {
|
||||
icon=$1
|
||||
|
||||
# icon is a existing png/xpm file
|
||||
[ -f "$icon" ] && [ ${icon##*.} != 'svg' ] && echo "$icon" && return
|
||||
|
||||
# cache path in $CACHE_ICON_DIR with the flattened name
|
||||
[ -f "$icon" ] && basename=$(echo $icon | tr '/' '_') || basename=${icon##*/}
|
||||
cache_path=$CACHE_ICON_DIR/$basename.png
|
||||
|
||||
# already cached, skip unless forced to cache again
|
||||
if [ -f "$cache_path" ] && [ -z "$force_cache" ]; then
|
||||
echo "$cache_path" && return
|
||||
fi
|
||||
|
||||
# find the icon in icon themes if the name is not a path
|
||||
[ -f "$icon" ] && icon_path=$icon || icon_path=$(find_icon "$icon")
|
||||
|
||||
# convert svg -> png
|
||||
if [ "${icon_path##*.}" = "svg" ]; then
|
||||
# first try the fasted, then the slower ones
|
||||
if [ -n "$not_cache" ]; then
|
||||
: # not doing caching in dry run mode
|
||||
elif command -v rsvg-convert > /dev/null; then
|
||||
rsvg-convert -w "$SIZE" -h "$SIZE" "$icon_path" -o "$cache_path"
|
||||
elif command -v convert > /dev/null; then
|
||||
convert -background none -size "${SIZE}x${SIZE}" "$icon_path" "$cache_path"
|
||||
elif command -v inkscape > /dev/null; then
|
||||
inkscape -w "$SIZE" -h "$SIZE" "$icon_path" -o "$cache_path"
|
||||
else
|
||||
echo >&2 "[Error]: Convert svg icons failed."
|
||||
echo >&2 "Please install one of the following programs:"
|
||||
echo >&2 "rsvg-convert(librsvg), convert(imagemagick), inkscape"
|
||||
exit 1
|
||||
fi
|
||||
echo "$cache_path"
|
||||
else
|
||||
# use png and xpm icons in-place
|
||||
# this could be empty if no fallback icon is found, and it will work
|
||||
echo "$icon_path"
|
||||
fi
|
||||
}
|
||||
|
||||
FALLBACK_ICON=$(cache_icon "$FALLBACK_ICON")
|
||||
|
||||
# parse the desktop entries and categorize them
|
||||
IFS=:
|
||||
for datadir in $DATA_DIRS; do unset IFS
|
||||
appdir="$datadir/applications"
|
||||
[ ! -d "$appdir" ] && continue
|
||||
for app in "$appdir"/*.desktop; do
|
||||
unset icon name genname cmd category nodisplay useterm added
|
||||
while IFS="=" read -r key value; do
|
||||
case "$key" in
|
||||
Categories) [ -z "$category" ] && category=$value ;;
|
||||
Icon) [ -z "$icon" ] && icon=$(cache_icon "$value") ;;
|
||||
Name) [ -z "$name" ] && name="$value" ;;
|
||||
GenericName)[ -z "$genname" ] && genname=$value ;;
|
||||
Exec) [ -z "$cmd" ] && cmd=$value &&
|
||||
# remove %* place holders
|
||||
[ "${cmd#*%}" != "$cmd" ] && cmd=$(
|
||||
echo "$cmd" | sed 's/ %[fFuUick]//g' | sed 's/%%/$/g'
|
||||
) ;;
|
||||
NoDisplay) [ "$value" != "false" ] && nodisplay=1 ;;
|
||||
Terminal) [ "$value" != "false" ] && useterm=1 ;;
|
||||
# FIXME: show_all not working as it should
|
||||
OnlyShowIn) [ -z "$SHOW_ALL" ] && nodisplay=1 ;;
|
||||
esac
|
||||
done < "$app"
|
||||
|
||||
[ -n "$nodisplay" ] && continue
|
||||
[ -n "$useterm" ] && cmd="$TERMINAL -e $cmd"
|
||||
[ -n "$genname" ] && name="$name ($genname)"
|
||||
icon="${icon-$FALLBACK_ICON}"
|
||||
icon="${icon:+\tIMG:$icon}"
|
||||
item="$icon\t$name\t$cmd"
|
||||
|
||||
IFS=\;
|
||||
for c in $category; do unset IFS
|
||||
case "$c" in
|
||||
Audio*|*Video) added=1; Multimedia="$Multimedia$item\n" ;;
|
||||
Development) added=1; Development="$Development$item\n" ;;
|
||||
Education) added=1; Education="$Education$item\n" ;;
|
||||
Game) added=1; Games="$Games$item\n" ;;
|
||||
Graphics) added=1; Graphics="$Graphics$item\n" ;;
|
||||
Network) added=1; Internet="$Internet$item\n" ;;
|
||||
Office) added=1; Office="$Office$item\n" ;;
|
||||
Science) added=1; Science="$Science$item\n" ;;
|
||||
Settings) added=1; Settings="$Settings$item\n" ;;
|
||||
System) added=1; System="$System$item\n" ;;
|
||||
Utility) added=1; Accessories="$Accessories$item\n" ;;
|
||||
esac
|
||||
done
|
||||
[ -z "$added" ] && Others="$Others$item\n"
|
||||
done
|
||||
done
|
||||
|
||||
category_sort() {
|
||||
category_icon=$1
|
||||
category_name=$2
|
||||
category_apps=$3
|
||||
icon=$(cache_icon "$category_icon")
|
||||
# create top level folder
|
||||
printf "${icon:+IMG:$icon\t}%s\n" "$category_name"
|
||||
# sort the applications by their names
|
||||
# FIXME: when icon is missing, name is in first column
|
||||
printf "$category_apps%s" | sort -f -k 2 | uniq
|
||||
}
|
||||
|
||||
category_sort applications-accessories Accessories "$Accessories"
|
||||
category_sort applications-development Development "$Development"
|
||||
category_sort applications-education Education "$Education"
|
||||
category_sort applications-games Games "$Games"
|
||||
category_sort applications-graphics Graphics "$Graphics"
|
||||
category_sort applications-internet Internet "$Internet"
|
||||
category_sort applications-multimedia Multimedia "$Multimedia"
|
||||
category_sort applications-office Office "$Office"
|
||||
category_sort applications-science Science "$Science"
|
||||
category_sort preferences-desktop Settings "$Settings"
|
||||
category_sort applications-system System "$System"
|
||||
category_sort applications-other Others "$Others"
|
@ -1,6 +1,6 @@
|
||||
[Sizes]
|
||||
SplitterPos=200
|
||||
WindowSize=@Size(566 504)
|
||||
WindowSize=@Size(950 1014)
|
||||
|
||||
[Window]
|
||||
DirTree=true
|
||||
|
@ -1,3 +0,0 @@
|
||||
[General]
|
||||
window_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x6\0\0\0 \0\0\ay\0\0\x4\x17\0\0\0\a\0\0\0!\0\0\ax\0\0\x4\x16\0\0\0\0\0\0\0\0\a\x80\0\0\0\a\0\0\0!\0\0\ax\0\0\x4\x16)
|
||||
window_state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\ar\0\0\x3\xd1\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0\x61\0\x62\0l\0i\0n\0\x65\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
|
@ -1,9 +1,5 @@
|
||||
local ok, err = pcall(require, "core")
|
||||
|
||||
vim.cmd("runtime mswin.vim")
|
||||
|
||||
vim.o.termguicolors = true
|
||||
|
||||
vim.g.dracula_show_end_of_buffer = true -- default false, Turn on or off EndOfBuffer symbol
|
||||
vim.g.dracula_transparent_bg = true -- default false, enables transparent background
|
||||
vim.cmd[[colorscheme dracula]]
|
||||
@ -24,3 +20,10 @@ vim.cmd [[highlight IndentBlanklineIndent6 guifg=#C678DD gui=nocombine]]
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars:append("space:⋅")
|
||||
vim.opt.listchars:append("eol:↴")
|
||||
|
||||
vim.g.header_email = "wayne6324@gmail.com"
|
||||
vim.g.header_github = "The-Repo-Club"
|
||||
vim.g.header_username = "The-Repo-Club"
|
||||
|
||||
vim.g.header_sh = "bash"
|
||||
vim.g.header_auto_update = "true"
|
||||
|
@ -86,6 +86,9 @@ hooks.add("install_plugins", function(use)
|
||||
"mboughaba/i3config.vim",
|
||||
}
|
||||
use {
|
||||
"The-Repo-Club/VimPugins"
|
||||
"The-Repo-Club/Vim_Headers"
|
||||
}
|
||||
use {
|
||||
"The-Repo-Club/Vim_Keys"
|
||||
}
|
||||
end)
|
||||
|
@ -27,7 +27,8 @@ M.options = {
|
||||
|
||||
autoindent = true,
|
||||
cindent = true,
|
||||
expandtab = true,
|
||||
noexpandtab = true,
|
||||
expandtab = false,
|
||||
shiftwidth = 4,
|
||||
smartindent = true,
|
||||
smarttab = true,
|
||||
|
@ -3,13 +3,30 @@ if not present then
|
||||
return
|
||||
end
|
||||
|
||||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
|
||||
parser_config.org = {
|
||||
install_info = {
|
||||
url = 'https://github.com/milisims/tree-sitter-org',
|
||||
revision = 'f110024d539e676f25b72b7c80b0fd43c34264ef',
|
||||
files = {'src/parser.c', 'src/scanner.cc'},
|
||||
},
|
||||
filetype = 'org',
|
||||
}
|
||||
|
||||
ts_config.setup {
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"org",
|
||||
"haskell",
|
||||
"cpp",
|
||||
"c",
|
||||
"javascript",
|
||||
"markdown"
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true,
|
||||
additional_vim_regex_highlighting = {'org'},
|
||||
},
|
||||
}
|
||||
|
@ -44,8 +44,8 @@ local function save_profiles(threshold)
|
||||
end
|
||||
|
||||
time([[Luarocks path setup]], true)
|
||||
local package_path_str = "/home/repo/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/repo/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/home/repo/.cache/nvim/packer_hererocks/2.0.5/lib/lua/5.1/?.so"
|
||||
local package_path_str = "/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
|
||||
if not string.find(package.path, package_path_str, 1, true) then
|
||||
package.path = package.path .. ';' .. package_path_str
|
||||
end
|
||||
@ -79,10 +79,15 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/L3MON4D3/LuaSnip",
|
||||
wants = { "friendly-snippets" }
|
||||
},
|
||||
VimPugins = {
|
||||
Vim_Headers = {
|
||||
loaded = true,
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/VimPugins",
|
||||
url = "https://github.com/The-Repo-Club/VimPugins"
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/Vim_Headers",
|
||||
url = "https://github.com/The-Repo-Club/Vim_Headers"
|
||||
},
|
||||
Vim_Keys = {
|
||||
loaded = true,
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/Vim_Keys",
|
||||
url = "https://github.com/The-Repo-Club/Vim_Keys"
|
||||
},
|
||||
["better-escape.nvim"] = {
|
||||
config = { "require('plugins.configs.others').better_escape()" },
|
||||
@ -138,7 +143,7 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/hrsh7th/cmp-nvim-lua"
|
||||
},
|
||||
["cmp-path"] = {
|
||||
after = { "nvim-cmp", "cmp-cmdline" },
|
||||
after = { "cmp-cmdline", "nvim-cmp" },
|
||||
after_files = { "/home/repo/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" },
|
||||
load_after = {},
|
||||
loaded = true,
|
||||
@ -223,7 +228,7 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/ray-x/lsp_signature.nvim"
|
||||
},
|
||||
["lualine.nvim"] = {
|
||||
config = { "\27LJ\1\0026\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\27custom.configs.lualine\frequire\0" },
|
||||
config = { "\27LJ\2\n6\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\27custom.configs.lualine\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/lualine.nvim",
|
||||
url = "https://github.com/nvim-lualine/lualine.nvim"
|
||||
@ -318,7 +323,7 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/nvim-telescope/telescope.nvim"
|
||||
},
|
||||
["trim.nvim"] = {
|
||||
config = { "\27LJ\1\0023\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\24custom.configs.trim\frequire\0" },
|
||||
config = { "\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24custom.configs.trim\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/trim.nvim",
|
||||
url = "https://github.com/cappyzawa/trim.nvim"
|
||||
@ -391,7 +396,7 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/wakatime/vim-wakatime"
|
||||
},
|
||||
["which-key.nvim"] = {
|
||||
config = { "\27LJ\1\0028\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\29custom.configs.which-key\frequire\0" },
|
||||
config = { "\27LJ\2\n8\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\29custom.configs.which-key\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/repo/.local/share/nvim/site/pack/packer/start/which-key.nvim",
|
||||
url = "https://github.com/folke/which-key.nvim"
|
||||
@ -429,90 +434,90 @@ end
|
||||
|
||||
-- Setup for: telescope.nvim
|
||||
time([[Setup for telescope.nvim]], true)
|
||||
try_loadstring("\27LJ\1\2?\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\14telescope\18core.mappings\frequire\0", "setup", "telescope.nvim")
|
||||
try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14telescope\18core.mappings\frequire\0", "setup", "telescope.nvim")
|
||||
time([[Setup for telescope.nvim]], false)
|
||||
-- Setup for: nvim-lspconfig
|
||||
time([[Setup for nvim-lspconfig]], true)
|
||||
try_loadstring("\27LJ\1\2U\0\0\2\0\3\0\0054\0\0\0007\0\1\0%\1\2\0>\0\2\1G\0\1\0006if &ft == \"packer\" | echo \"\" | else | silent! e %\bcmd\bvimx\1\0\3\0\a\0\f4\0\0\0%\1\1\0>\0\2\0027\0\2\0%\1\3\0>\0\2\0014\0\4\0007\0\5\0001\1\6\0'\2\0\0>\0\3\1G\0\1\0\0\rdefer_fn\bvim\19nvim-lspconfig\21packer_lazy_load\15core.utils\frequire\0", "setup", "nvim-lspconfig")
|
||||
time([[Setup for nvim-lspconfig]], false)
|
||||
-- Setup for: gitsigns.nvim
|
||||
time([[Setup for gitsigns.nvim]], true)
|
||||
try_loadstring("\27LJ\1\2U\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0%\1\3\0>\0\2\1G\0\1\0\18gitsigns.nvim\21packer_lazy_load\15core.utils\frequire\0", "setup", "gitsigns.nvim")
|
||||
time([[Setup for gitsigns.nvim]], false)
|
||||
-- Setup for: nvim-tree.lua
|
||||
time([[Setup for nvim-tree.lua]], true)
|
||||
try_loadstring("\27LJ\1\2>\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\rnvimtree\18core.mappings\frequire\0", "setup", "nvim-tree.lua")
|
||||
time([[Setup for nvim-tree.lua]], false)
|
||||
-- Setup for: bufferline.nvim
|
||||
time([[Setup for bufferline.nvim]], true)
|
||||
try_loadstring("\27LJ\1\2@\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\15bufferline\18core.mappings\frequire\0", "setup", "bufferline.nvim")
|
||||
try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\15bufferline\18core.mappings\frequire\0", "setup", "bufferline.nvim")
|
||||
time([[Setup for bufferline.nvim]], false)
|
||||
-- Setup for: vim-matchup
|
||||
time([[Setup for vim-matchup]], true)
|
||||
try_loadstring("\27LJ\1\2S\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0%\1\3\0>\0\2\1G\0\1\0\16vim-matchup\21packer_lazy_load\15core.utils\frequire\0", "setup", "vim-matchup")
|
||||
time([[Setup for vim-matchup]], false)
|
||||
-- Setup for: nvim-comment
|
||||
time([[Setup for nvim-comment]], true)
|
||||
try_loadstring("\27LJ\1\2=\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\fcomment\18core.mappings\frequire\0", "setup", "nvim-comment")
|
||||
time([[Setup for nvim-comment]], false)
|
||||
-- Setup for: dashboard-nvim
|
||||
time([[Setup for dashboard-nvim]], true)
|
||||
try_loadstring("\27LJ\1\2?\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\14dashboard\18core.mappings\frequire\0", "setup", "dashboard-nvim")
|
||||
try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14dashboard\18core.mappings\frequire\0", "setup", "dashboard-nvim")
|
||||
time([[Setup for dashboard-nvim]], false)
|
||||
time([[packadd for dashboard-nvim]], true)
|
||||
vim.cmd [[packadd dashboard-nvim]]
|
||||
time([[packadd for dashboard-nvim]], false)
|
||||
-- Config for: trim.nvim
|
||||
time([[Config for trim.nvim]], true)
|
||||
try_loadstring("\27LJ\1\0023\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\24custom.configs.trim\frequire\0", "config", "trim.nvim")
|
||||
time([[Config for trim.nvim]], false)
|
||||
-- Setup for: nvim-tree.lua
|
||||
time([[Setup for nvim-tree.lua]], true)
|
||||
try_loadstring("\27LJ\2\n>\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\rnvimtree\18core.mappings\frequire\0", "setup", "nvim-tree.lua")
|
||||
time([[Setup for nvim-tree.lua]], false)
|
||||
-- Setup for: nvim-lspconfig
|
||||
time([[Setup for nvim-lspconfig]], true)
|
||||
try_loadstring("\27LJ\2\nU\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0006if &ft == \"packer\" | echo \"\" | else | silent! e %\bcmd\bvimx\1\0\4\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0003\2\6\0)\3\0\0B\0\3\1K\0\1\0\0\rdefer_fn\bvim\19nvim-lspconfig\21packer_lazy_load\15core.utils\frequire\0", "setup", "nvim-lspconfig")
|
||||
time([[Setup for nvim-lspconfig]], false)
|
||||
-- Setup for: nvim-comment
|
||||
time([[Setup for nvim-comment]], true)
|
||||
try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\fcomment\18core.mappings\frequire\0", "setup", "nvim-comment")
|
||||
time([[Setup for nvim-comment]], false)
|
||||
-- Setup for: vim-matchup
|
||||
time([[Setup for vim-matchup]], true)
|
||||
try_loadstring("\27LJ\2\nS\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\16vim-matchup\21packer_lazy_load\15core.utils\frequire\0", "setup", "vim-matchup")
|
||||
time([[Setup for vim-matchup]], false)
|
||||
-- Setup for: gitsigns.nvim
|
||||
time([[Setup for gitsigns.nvim]], true)
|
||||
try_loadstring("\27LJ\2\nU\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\18gitsigns.nvim\21packer_lazy_load\15core.utils\frequire\0", "setup", "gitsigns.nvim")
|
||||
time([[Setup for gitsigns.nvim]], false)
|
||||
-- Config for: which-key.nvim
|
||||
time([[Config for which-key.nvim]], true)
|
||||
try_loadstring("\27LJ\1\0028\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\29custom.configs.which-key\frequire\0", "config", "which-key.nvim")
|
||||
try_loadstring("\27LJ\2\n8\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\29custom.configs.which-key\frequire\0", "config", "which-key.nvim")
|
||||
time([[Config for which-key.nvim]], false)
|
||||
-- Config for: lualine.nvim
|
||||
time([[Config for lualine.nvim]], true)
|
||||
try_loadstring("\27LJ\1\0026\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\27custom.configs.lualine\frequire\0", "config", "lualine.nvim")
|
||||
time([[Config for lualine.nvim]], false)
|
||||
-- Config for: trim.nvim
|
||||
time([[Config for trim.nvim]], true)
|
||||
try_loadstring("\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24custom.configs.trim\frequire\0", "config", "trim.nvim")
|
||||
time([[Config for trim.nvim]], false)
|
||||
-- Config for: dashboard-nvim
|
||||
time([[Config for dashboard-nvim]], true)
|
||||
require('plugins.configs.dashboard')
|
||||
time([[Config for dashboard-nvim]], false)
|
||||
-- Config for: lualine.nvim
|
||||
time([[Config for lualine.nvim]], true)
|
||||
try_loadstring("\27LJ\2\n6\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\27custom.configs.lualine\frequire\0", "config", "lualine.nvim")
|
||||
time([[Config for lualine.nvim]], false)
|
||||
-- Load plugins in order defined by `after`
|
||||
time([[Sequenced loading]], true)
|
||||
vim.cmd [[ packadd fzf.vim ]]
|
||||
vim.cmd [[ packadd cmp-path ]]
|
||||
vim.cmd [[ packadd cmp-cmdline ]]
|
||||
vim.cmd [[ packadd cmp_luasnip ]]
|
||||
vim.cmd [[ packadd cmp-nvim-lsp ]]
|
||||
vim.cmd [[ packadd cmp-nvim-lua ]]
|
||||
vim.cmd [[ packadd nvim-cmp ]]
|
||||
-- Config for: nvim-cmp
|
||||
require('plugins.configs.cmp')
|
||||
vim.cmd [[ packadd cmp-cmdline ]]
|
||||
vim.cmd [[ packadd cmp-nvim-lsp ]]
|
||||
vim.cmd [[ packadd nvim-autopairs ]]
|
||||
-- Config for: nvim-autopairs
|
||||
require('plugins.configs.others').autopairs()
|
||||
vim.cmd [[ packadd cmp-buffer ]]
|
||||
vim.cmd [[ packadd cmp_luasnip ]]
|
||||
vim.cmd [[ packadd cmp-path ]]
|
||||
vim.cmd [[ packadd LuaSnip ]]
|
||||
-- Config for: LuaSnip
|
||||
require('plugins.configs.others').luasnip()
|
||||
vim.cmd [[ packadd cmp-nvim-lua ]]
|
||||
vim.cmd [[ packadd cmp-buffer ]]
|
||||
vim.cmd [[ packadd nvim-autopairs ]]
|
||||
-- Config for: nvim-autopairs
|
||||
require('plugins.configs.others').autopairs()
|
||||
time([[Sequenced loading]], false)
|
||||
|
||||
-- Command lazy-loads
|
||||
time([[Defining lazy-load commands]], true)
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file CommentToggle lua require("packer.load")({'nvim-comment'}, { cmd = "CommentToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeFocus lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeFocus", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||
time([[Defining lazy-load commands]], false)
|
||||
|
||||
vim.cmd [[augroup packer_load_aucmds]]
|
||||
vim.cmd [[au!]]
|
||||
-- Event lazy-loads
|
||||
time([[Defining lazy-load event autocommands]], true)
|
||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'indent-blankline.nvim', 'nvim-treesitter'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'packer.nvim'}, { event = "VimEnter *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'better-escape.nvim', 'friendly-snippets'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-treesitter', 'indent-blankline.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||
time([[Defining lazy-load event autocommands]], false)
|
||||
vim.cmd("augroup END")
|
||||
if should_profile then save_profiles() end
|
||||
|
73
oomox/.config/oomox/colors/TheRepoClub/coffee
Normal file
73
oomox/.config/oomox/colors/TheRepoClub/coffee
Normal file
@ -0,0 +1,73 @@
|
||||
ACCENT_BG=83a598
|
||||
BASE16_GENERATE_DARK=False
|
||||
BASE16_INVERT_TERMINAL=False
|
||||
BASE16_MILD_TERMINAL=False
|
||||
BG=d5c4a1
|
||||
BTN_BG=665c54
|
||||
BTN_FG=fbf1c7
|
||||
BTN_OUTLINE_OFFSET=-3
|
||||
BTN_OUTLINE_WIDTH=1
|
||||
CARET1_FG=3c3836
|
||||
CARET2_FG=3c3836
|
||||
CARET_SIZE=0.0
|
||||
CINNAMON_OPACITY=1.0
|
||||
FG=1d2021
|
||||
GRADIENT=0.0
|
||||
GTK3_GENERATE_DARK=True
|
||||
HDR_BG=bdae93
|
||||
HDR_BTN_BG=d5c4a1
|
||||
HDR_BTN_FG=3c3836
|
||||
HDR_FG=3c3836
|
||||
ICONS_DARK=303030
|
||||
ICONS_LIGHT=d5c4a1
|
||||
ICONS_LIGHT_FOLDER=d5c4a1
|
||||
ICONS_MEDIUM=87875f
|
||||
ICONS_NUMIX_STYLE=0
|
||||
ICONS_STYLE=gnome_colors
|
||||
ICONS_SYMBOLIC_ACTION=686759
|
||||
ICONS_SYMBOLIC_PANEL=1d2021
|
||||
MATERIA_PANEL_OPACITY=0.6
|
||||
MATERIA_SELECTION_OPACITY=0.32
|
||||
MATERIA_STYLE_COMPACT=True
|
||||
MENU_BG=d5c4a1
|
||||
MENU_FG=1d2021
|
||||
NAME="TheRepoClub/coffee"
|
||||
OUTLINE_WIDTH=1
|
||||
ROUNDNESS=2
|
||||
SEL_BG=83a598
|
||||
SEL_FG=1d2021
|
||||
SPACING=3
|
||||
SURUPLUS_GRADIENT1=686759
|
||||
SURUPLUS_GRADIENT2=83a598
|
||||
SURUPLUS_GRADIENT_ENABLED=False
|
||||
TERMINAL_ACCENT_COLOR=83a598
|
||||
TERMINAL_BACKGROUND=303030
|
||||
TERMINAL_BASE_TEMPLATE=monovedek
|
||||
TERMINAL_COLOR0=262220
|
||||
TERMINAL_COLOR1=af5f5f
|
||||
TERMINAL_COLOR10=849155
|
||||
TERMINAL_COLOR11=c5c563
|
||||
TERMINAL_COLOR12=87afaf
|
||||
TERMINAL_COLOR13=c987a0
|
||||
TERMINAL_COLOR14=7ca296
|
||||
TERMINAL_COLOR15=ddd0c0
|
||||
TERMINAL_COLOR2=87875f
|
||||
TERMINAL_COLOR3=bcbc6c
|
||||
TERMINAL_COLOR4=666c7f
|
||||
TERMINAL_COLOR5=cd7998
|
||||
TERMINAL_COLOR6=6d978a
|
||||
TERMINAL_COLOR7=bbbbbb
|
||||
TERMINAL_COLOR8=8f9494
|
||||
TERMINAL_COLOR9=bb6868
|
||||
TERMINAL_CURSOR=d5c4a1
|
||||
TERMINAL_FOREGROUND=a89984
|
||||
TERMINAL_THEME_ACCURACY=128
|
||||
TERMINAL_THEME_AUTO_BGFG=True
|
||||
TERMINAL_THEME_EXTEND_PALETTE=False
|
||||
TERMINAL_THEME_MODE=manual
|
||||
THEME_STYLE=oomox
|
||||
TXT_BG=ebdbb2
|
||||
TXT_FG=3c3836
|
||||
UNITY_DEFAULT_LAUNCHER_STYLE=False
|
||||
WM_BORDER_FOCUS=83a598
|
||||
WM_BORDER_UNFOCUS=bdae93
|
@ -1 +1 @@
|
||||
{"last_variant": "default", "last_app": "kitty"}
|
||||
{"last_variant": "default", "last_app": "dwm"}
|
1
oomox/.config/oomox/export_config/icons_suru.json
Normal file
1
oomox/.config/oomox/export_config/icons_suru.json
Normal file
@ -0,0 +1 @@
|
||||
{"default_path": "/home/repo/.icons"}
|
@ -0,0 +1 @@
|
||||
{"default_path": "/home/repo/.icons/coffee/coffee"}
|
@ -1 +1 @@
|
||||
{"window_width": 1902, "window_height": 970, "preset_list_minimal_width": 150, "preset_list_width": 198, "preset_list_sections_expanded": {"presets": false, "plugins": true, "Xresources": false, "Random": false, "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": 329, "preset_list_sections_expanded": {"presets": false, "plugins": true, "Xresources": false, "Random": false, "Base16": true, "Image colors": true, "user": true, "Base16 User-Imported": true}}
|
@ -24,7 +24,6 @@ fish-nvm
|
||||
fm6000
|
||||
gamehub
|
||||
gdlauncher
|
||||
glow
|
||||
gotop
|
||||
humanity-icon-theme
|
||||
i3-cheat
|
||||
@ -86,7 +85,6 @@ transset-df
|
||||
ttf-material-design-icons
|
||||
ttf-remixicon
|
||||
tty-clock
|
||||
twmn-git
|
||||
ufw-icon-bar
|
||||
w3m-imgcat
|
||||
win-shot
|
||||
@ -94,6 +92,7 @@ woeusb-gui
|
||||
xcursor-breeze
|
||||
xidlehook
|
||||
xmenu
|
||||
xroot
|
||||
xtitle
|
||||
xwingridselect
|
||||
yaru-gnome-shell-theme
|
||||
|
@ -1,53 +0,0 @@
|
||||
[display]
|
||||
resolution_x = 1680
|
||||
resolution_y = 1000
|
||||
splash = True
|
||||
fullscreen = False
|
||||
fps = 60
|
||||
show_fps = True
|
||||
scaling = True
|
||||
collision_map = False
|
||||
large_gui = False
|
||||
controller_overlay = False
|
||||
controller_transparency = 45
|
||||
hide_mouse = True
|
||||
window_caption = PixelMon
|
||||
|
||||
[sound]
|
||||
sound_volume = 0.1
|
||||
music_volume = 0.1
|
||||
|
||||
[game]
|
||||
data = pixelmon
|
||||
starting_map = player_house_bedroom.tmx
|
||||
cli_enabled = False
|
||||
net_controller_enabled = False
|
||||
locale = en_US
|
||||
dev_tools = False
|
||||
recompile_translations = False
|
||||
|
||||
[gameplay]
|
||||
items_consumed_on_failure = True
|
||||
encounter_rate_modifier = 1.0
|
||||
|
||||
[player]
|
||||
animation_speed = 0.15
|
||||
player_npc = npc_red
|
||||
player_walkrate = 3.75
|
||||
player_runrate = 7.35
|
||||
|
||||
[logging]
|
||||
loggers = all
|
||||
debug_logging = True
|
||||
debug_level = error
|
||||
|
||||
[controls]
|
||||
up = up
|
||||
down = down
|
||||
left = left
|
||||
right = right
|
||||
a = return
|
||||
b = rshift, lshift
|
||||
back = escape
|
||||
backspace = backspace
|
||||
|
File diff suppressed because one or more lines are too long
@ -160,7 +160,7 @@ font-3 = "xos4 Terminus:size=12;2"
|
||||
|
||||
modules-left = cpu_i cpu separator memory_i memory separator kernel_i kernel separator distro_i distro
|
||||
modules-center =
|
||||
modules-right = separator filesystem_i filesystem separator homesystem_i homesystem
|
||||
modules-right = separator filesystem_i filesystem separator homesystem_i homesystem separator github_notifications_i github_notifications separator github_repositories_i github_repositories
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
8
polybar/.config/polybar/scripts/github/notifications
Executable file
8
polybar/.config/polybar/scripts/github/notifications
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
USER="The-Repo-Club"
|
||||
TOKEN="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"
|
||||
|
||||
notifications=$(echo "user = \"$USER:$TOKEN\"" | curl -sf -K- "https://api.github.com/notifications?per_page=100" | jq ".[].unread" | grep -c true)
|
||||
|
||||
echo "$notifications Notifications"
|
8
polybar/.config/polybar/scripts/github/repositories
Executable file
8
polybar/.config/polybar/scripts/github/repositories
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
USER="The-Repo-Club"
|
||||
TOKEN="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"
|
||||
|
||||
repositories=$(echo "user = \"$USER:$TOKEN\"" | curl -sf -K- "https://api.github.com/users/$USER/repos?per_page=100&type=all" | jq ".[].id" | wc -l)
|
||||
|
||||
echo "$repositories Repositories"
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
alacritty --class="Polybar-Updates" -e yay -Syu
|
@ -186,6 +186,50 @@ content-background = ${color.indigo}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 1
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/github_notifications]
|
||||
type = custom/script
|
||||
|
||||
exec = ~/.config/polybar/scripts/github/notifications
|
||||
|
||||
tail = true
|
||||
interval = 1
|
||||
|
||||
format-background = ${color.mf}
|
||||
format-foreground = ${color.fg}
|
||||
format-padding = 1
|
||||
|
||||
[module/github_notifications_i]
|
||||
type = custom/text
|
||||
|
||||
content =
|
||||
content-background = ${color.blue}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 1
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/github_repositories]
|
||||
type = custom/script
|
||||
|
||||
exec = ~/.config/polybar/scripts/github/repositories
|
||||
|
||||
tail = true
|
||||
interval = 1
|
||||
|
||||
format-background = ${color.mf}
|
||||
format-foreground = ${color.fg}
|
||||
format-padding = 1
|
||||
|
||||
[module/github_repositories_i]
|
||||
type = custom/text
|
||||
|
||||
content =
|
||||
content-background = ${color.blue}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 1
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
LastUsed=1641572439
|
||||
Message='No Updates'
|
||||
LastUsed=1643669588
|
||||
Message='0'
|
||||
|
@ -1 +0,0 @@
|
||||
/usr/lib/systemd/user/twmnd.service
|
10
systemd/.config/systemd/user/eos-update-notifier.service.bak
Normal file
10
systemd/.config/systemd/user/eos-update-notifier.service.bak
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=EOS update notifier service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/bin/eos-update-notifier -systemd
|
||||
|
||||
[Install]
|
||||
WantedBy=eos-update-notifier.timer
|
10
systemd/.config/systemd/user/eos-update-notifier.timer.bak
Normal file
10
systemd/.config/systemd/user/eos-update-notifier.timer.bak
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Run EOS update notifier periodically
|
||||
|
||||
[Timer]
|
||||
OnStartupSec=30sec
|
||||
OnCalendar=hourly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1 +0,0 @@
|
||||
/home/dt/.config/systemd/user/eos-update-notifier.timer
|
125
xdg-xmenu/.config/xdg-xmenu/menu
Normal file
125
xdg-xmenu/.config/xdg-xmenu/menu
Normal file
@ -0,0 +1,125 @@
|
||||
Accessories
|
||||
Archive Manager file-roller
|
||||
DB Browser for SQLite sqlitebrowser
|
||||
compton (X compositor) compton
|
||||
Galculator galculator
|
||||
GPG-Crypter gpg-crypter
|
||||
MultiMonitorLock GUI (MultiMonitorLock) /usr/bin/multimonitorlock-gui
|
||||
HP Device Manager (Printer Management Application) hp-toolbox
|
||||
LXQt File Archiver (File Archiver) lxqt-archiver
|
||||
Nemo nemo
|
||||
Neovim (Text Editor) xterm -e nvim
|
||||
nitrogen (Wallpaper Setter) nitrogen
|
||||
Passwords and Keys seahorse
|
||||
Piper piper
|
||||
anymeal (Recipe Manager) anymeal
|
||||
Screenkey screenkey
|
||||
Software Token (small) (Software Token) stoken-gui --small
|
||||
Software Token (Software Token) stoken-gui
|
||||
Stacer stacer
|
||||
SUSE Studio Imagewriter (USB key writer) imagewriter
|
||||
Text Editor xed
|
||||
Touchpad Indicator (Touchpad Indicator) /usr/bin/touchpad-indicator
|
||||
Winetricks winetricks --gui
|
||||
picom (X compositor) picom
|
||||
YubiKey Personalization Tool (YubiKey Personalization Tool) yubikey-personalization-gui
|
||||
Development
|
||||
DB Browser for SQLite sqlitebrowser
|
||||
CMake cmake-gui
|
||||
Qt Designer (Interface Designer) designer
|
||||
Electron 13 electron13
|
||||
Electron electron
|
||||
Godot Engine (Libre game engine) godot
|
||||
Icon Browser yad-icon-browser
|
||||
IntelliJ IDEA Community Edition /usr/bin/idea
|
||||
Meld (Diff Viewer) meld
|
||||
Qt Assistant assistant
|
||||
Qt Linguist linguist
|
||||
Qt QDBusViewer (D-Bus Debugger) qdbusviewer
|
||||
Games
|
||||
0 A.D. 0ad
|
||||
Left 4 Dead 2 steam steam://rungameid/550
|
||||
Dosbox dosbox
|
||||
Minetest (Minetest) minetest
|
||||
NBTEditor /usr/bin/nbteditor
|
||||
RuneScape (RuneScape) /usr/bin/runescape-launcher
|
||||
Steam (Runtime) /usr/bin/steam-runtime
|
||||
TERA steam steam://rungameid/212740
|
||||
Creativerse steam steam://rungameid/280790
|
||||
CaesarIA steam steam://rungameid/327640
|
||||
Aseprite steam steam://rungameid/431730
|
||||
Grand Theft Auto V steam steam://rungameid/271590
|
||||
Euro Truck Simulator 2 steam steam://rungameid/227300
|
||||
Graphics
|
||||
Blender (3D modeler) blender
|
||||
Document Scanner simple-scan
|
||||
FontForge (Font Editor) fontforge
|
||||
GNU Image Manipulation Program (Image Editor) gimp-2.10
|
||||
gThumb (Image Viewer) gthumb
|
||||
Inkscape (Vector Graphics Editor) inkscape
|
||||
Krita (Digital Painting) krita
|
||||
Peek (Animated GIF recorder) peek
|
||||
Tiled (Map Editor) tiled
|
||||
Internet
|
||||
Avahi SSH Server Browser /usr/bin/bssh
|
||||
Avahi VNC Server Browser /usr/bin/bvnc
|
||||
Discord (Internet Messenger) /usr/bin/discord
|
||||
Element /usr/bin/element-desktop
|
||||
Firefox (Web Browser) /usr/lib/firefox/firefox
|
||||
Google Chrome (Web Browser) /usr/bin/google-chrome-stable
|
||||
qBittorrent (BitTorrent client) qbittorrent
|
||||
Steam (Runtime) /usr/bin/steam-runtime
|
||||
Telegram Desktop telegram-desktop --
|
||||
Multimedia
|
||||
Volume Icon volumeicon
|
||||
mpv Media Player (Multimedia player) mpv --player-operation-mode=pseudo-gui --
|
||||
Peek (Animated GIF recorder) peek
|
||||
PulseAudio System Tray pasystray
|
||||
Qt V4L2 test Utility qv4l2
|
||||
Qt V4L2 video capture utility qvidcap
|
||||
PulseAudio Volume Control (Volume Control) pavucontrol
|
||||
Settings
|
||||
Advanced Network Configuration nm-connection-editor
|
||||
ARandR (Screen Settings) arandr
|
||||
Bluetooth Manager blueman-manager
|
||||
ckb-next /usr/bin/ckb-next
|
||||
Grub Customizer grub-customizer
|
||||
MultiMonitorLock GUI (MultiMonitorLock) /usr/bin/multimonitorlock-gui
|
||||
NVIDIA X Server Settings /usr/bin/nvidia-settings
|
||||
Print Settings (Print Settings) system-config-printer
|
||||
PulseAudio Preferences (Sound Server Preferences) paprefs
|
||||
Qt5 Settings qt5ct
|
||||
Qt6 Settings qt6ct
|
||||
Themix/Oomox theme designer (Themix) oomox-gui
|
||||
PulseAudio Volume Control (Volume Control) pavucontrol
|
||||
YAD settings yad-settings
|
||||
System
|
||||
akm akm
|
||||
Alacritty (Terminal) alacritty
|
||||
Avahi Zeroconf Browser /usr/bin/avahi-discover
|
||||
ckb-next /usr/bin/ckb-next
|
||||
Configure EOS Update Notifier eos-update-notifier-configure
|
||||
dconf Editor (Configuration editor for dconf) dconf-editor
|
||||
EndeavourOS apps info eos-apps-info
|
||||
EndeavourOS log tool /usr/bin/eos-log-tool
|
||||
fish xterm -e fish
|
||||
GParted (Partition Editor) /usr/bin/gparted
|
||||
Grub Customizer grub-customizer
|
||||
OpenJDK Java 17 Console /usr/lib/jvm/java-17-openjdk/bin/jconsole
|
||||
OpenJDK Java 17 Shell xterm -e /usr/lib/jvm/java-17-openjdk/bin/jshell
|
||||
kitty (Terminal emulator) kitty
|
||||
Hardware Locality lstopo lstopo
|
||||
Manage Printing /usr/bin/xdg-open http://localhost:631/
|
||||
OpenJDK Java 11 Console /usr/lib/jvm/java-11-openjdk/bin/jconsole
|
||||
OpenJDK Java 11 Shell xterm -e /usr/lib/jvm/java-11-openjdk/bin/jshell
|
||||
Oracle VM VirtualBox (Virtual Machine) VirtualBox
|
||||
Pacman Log Viewer plv
|
||||
PkgBrowser (Package Browser) pkgbrowser
|
||||
Print Settings (Print Settings) system-config-printer
|
||||
Reflector Simple /usr/bin/reflector-simple
|
||||
SUSE Studio Imagewriter (USB key writer) imagewriter
|
||||
UpdateInTerminal UpdateInTerminal --nt
|
||||
xplr xterm -e xplr
|
||||
Others
|
||||
gmrun (gmrun) gmrun
|
||||
hp-uiscan /usr/bin/hp-uiscan
|
@ -9,6 +9,7 @@
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/ViewFullscreen" "F11")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/FileSaveAll" "<Primary><Shift>l")
|
||||
; (gtk_accel_path "<Actions>/XedTextSizePluginActions/NormalSizeAction" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_1" "<Alt>2")
|
||||
; (gtk_accel_path "<Actions>/XedWindowPanesActions/ViewBottomPane" "<Primary>F9")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/DocumentsMoveToNewWindow" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/HelpAbout" "")
|
||||
@ -28,8 +29,8 @@
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditPaste" "<Primary>v")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetActionGroup/FilterHidden" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditCut" "<Primary>x")
|
||||
; (gtk_accel_path "<Actions>/XedWindowPanesActions/ViewSidePane" "F9")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/View" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowPanesActions/ViewSidePane" "F9")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/File" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditSelectAll" "<Primary>a")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/Help" "")
|
||||
@ -44,10 +45,11 @@
|
||||
; (gtk_accel_path "<Actions>/XedTextSizePluginActions/LargerTextAction" "<Primary>equal")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditRedo" "<Primary>y")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetFileSelectionActionGroup/FileOpen" "")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetSingleMostSelectionActionGroup/FileNew" "")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserPluginExtra/SetActiveRoot" "")
|
||||
; (gtk_accel_path "<Actions>/XedSpellPluginActions/ConfigSpell" "")
|
||||
; (gtk_accel_path "<Actions>/XedDocinfoPluginActions/DocumentStatistics" "")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetSingleMostSelectionActionGroup/FileNew" "")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_6" "<Alt>7")
|
||||
; (gtk_accel_path "<Actions>/XedQuitWindowActions/FileQuit" "<Primary>q")
|
||||
; (gtk_accel_path "<Actions>/XedTimePluginActions/InsertDateAndTime" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditUndo" "<Primary>z")
|
||||
@ -56,23 +58,27 @@
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/ViewHighlightMode" "<Primary><Shift>h")
|
||||
; (gtk_accel_path "<Actions>/XedSortPluginActions/Sort" "F10")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/SearchFind" "<Primary>f")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_5" "<Alt>6")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/SearchFindPrevious" "<Primary><Shift>g")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetActionGroup/FilterBinary" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/FileCloseAll" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/Search" "")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetActionGroupToplevel/FilterMenuAction" "")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_4" "<Alt>5")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/Search" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/FileSaveAs" "<Primary><Shift>s")
|
||||
; (gtk_accel_path "<Actions>/XedSpellPluginActions/InlineSpellChecker" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/DocumentsPreviousDocument" "<Primary><Alt>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditToggleCommentBlock" "<Primary><Shift>question")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetBookmarkActionGroup/BookmarkOpen" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/XAppFavoritesMenu" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/Edit" "")
|
||||
; (gtk_accel_path "<Actions>/XedTextSizePluginActions/SmallerTextAction" "<Primary>minus")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/FileSaveAs" "<Primary><Shift>s")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserWidgetBookmarkActionGroup/BookmarkOpen" "")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_3" "<Alt>4")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserPluginSingleSelectionExtra/OpenTerminal" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/EditCopy" "<Primary>c")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/EditPreferences" "")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/FileOpen" "<Primary>o")
|
||||
; (gtk_accel_path "<Actions>/FileBrowserPluginSingleSelectionExtra/OpenTerminal" "")
|
||||
; (gtk_accel_path "<Actions>/DocumentsListActions/Tab_2" "<Alt>3")
|
||||
; (gtk_accel_path "<Actions>/XedWindowAlwaysSensitiveActions/FileNew" "<Primary>n")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/SearchFindNext" "<Primary>g")
|
||||
; (gtk_accel_path "<Actions>/XedWindowActions/FilePrintPreview" "<Primary><Shift>p")
|
||||
|
Loading…
Reference in New Issue
Block a user