Update DotFiles

Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
The-Repo-Club 2022-07-14 17:15:51 +01:00
parent 6cbf429f42
commit e265d25e6a
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
53 changed files with 1076 additions and 743 deletions

View File

@ -1,21 +0,0 @@
output VIRTUAL1
off
output DP-1-0
off
output eDP1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 4
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d340f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00283c1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020014702033bf04c611203130420221f105f5d5e23090707830100006d030c002000803c20006001020367d85dc401788003681a00000101283c00e20f01023a801871382d40582c4500b9882100001e565e00a0a0a0295030203500b9882100001a04740030f2705a80b0588a00b9882100001e000000000000000000000000000063
eDP1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -1,6 +1,6 @@
output VIRTUAL1
off
output DP-1-0
output eDP1-1-2
off
output eDP1
crtc 0

View File

@ -1,27 +1,17 @@
#!/usr/bin/env bash
if [ "$DESKTOP_SESSION" == "i3" ]; then
if ! command -v polybar &> /dev/null; then
echo "polybar could not be found"
if ! command -v polybar &>/dev/null; then
echo "polybar could not be found"
else
if ! pgrep -x "polybar" >/dev/null; then
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
sh $HOME/.config/polybar/launch.sh
fi
else
if ! pgrep -x "polybar" > /dev/null; then
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
sh $HOME/.config/polybar/launch.sh
fi
else
echo "polybar already Running"
fi
fi
fi
if ! command -v autostart &> /dev/null; then
echo "autostart could not be found"
else
if ! pgrep -x "autostart" > /dev/null; then
autostart &
else
echo "autostart already Running"
echo "polybar already Running"
fi
fi
fi

View File

@ -8,8 +8,14 @@ mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 4
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +1,2 @@
HDMI-1-0 00ffffffffffff004c2d340f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00283c1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020014702033bf04c611203130420221f105f5d5e23090707830100006d030c002000803c20006001020367d85dc401788003681a00000101283c00e20f01023a801871382d40582c4500b9882100001e565e00a0a0a0295030203500b9882100001a04740030f2705a80b0588a00b9882100001e000000000000000000000000000063
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -197,7 +197,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=ecac92e8
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=98be86fa
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)
@ -425,7 +425,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=e060266b
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=35874487
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)
@ -675,7 +675,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=438704a
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=d00ca53b
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)
@ -733,7 +733,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=6af41108
0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=e820e0a5
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
@ -929,7 +929,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=cc97ee1b
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=52d56c7b
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)
@ -1157,7 +1157,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=43f03f23
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=23ac7894
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)
@ -1407,7 +1407,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=2a115f32
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=cbe23608
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)
@ -1465,7 +1465,7 @@
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=79feab14
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=662d2e21
0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo
[Popups]

View File

@ -0,0 +1,4 @@
{
"optOut": false,
"lastUpdateCheck": 1657405814542
}

Binary file not shown.

View File

@ -3,23 +3,25 @@
(history-item "file-quit" 2)
(history-item "select-none" 3)
(history-item "layers-new" 0)
(history-item "tools-scale" 3)
(history-item "layers-delete" 3)
(history-item "file-export-as" 0)
(history-item "tools-scale" 2)
(history-item "layers-delete" 0)
(history-item "file-export-as" 3)
(history-item "image-new" 3)
(history-item "python-fu-heal-selection" 1)
(history-item "layers-duplicate" 2)
(history-item "layers-alpha-selection-replace" 0)
(history-item "python-fu-heal-selection" 0)
(history-item "edit-paste" 1)
(history-item "layers-duplicate" 0)
(history-item "file-open" 2)
(history-item "layers-alpha-selection-replace" 1)
(history-item "windows-tab-position" 1)
(history-item "tools-rotate" 0)
(history-item "file-open-as-layers" 0)
(history-item "file-open" 1)
(history-item "edit-clear" 1)
(history-item "dialogs-preferences" 0)
(history-item "edit-clear" 0)
(history-item "file-print-gtk" 1)
(history-item "file-overwrite" 0)
(history-item "edit-copy" 1)
(history-item "file-print-gtk" 0)
(history-item "edit-copy" 0)
(history-item "select-all" 0)
(history-item "layers-anchor" 1)
(history-item "file-overwrite" 1)
(history-item "tools-size-increase" 0)
(history-item "filters-long-shadow" 0)
(history-item "filters-color-balance" 0)
@ -29,7 +31,6 @@
(history-item "layers-alpha-add" 0)
(history-item "image-resize" 0)
(history-item "image-scale" 0)
(history-item "select-all" 0)
(history-item "tools-bucket-fill" 0)
(history-item "file-save-as" 0)
(history-item "file-web-export" 0)
@ -58,7 +59,6 @@
(history-item "filters-dropshadow" 0)
(history-item "filters-variable-blur" 0)
(history-item "filters-lens-distortion" 0)
(history-item "layers-anchor" 0)
(history-item "file-save" 0)
(history-item "tools-flip" 0)
(history-item "layers-merge-down" 0)

View File

@ -3,9 +3,9 @@
# This file holds a list of recently used colors.
(color-history
(color-rgba 1 1 1 1)
(color-rgba 0.1803921568627451 0.20392156862745098 0.25098039215686274 1)
(color-rgba 0.49411764705882355 0.49411764705882355 1 1)
(color-rgba 1 1 1 1)
(color-rgba 1 1 1 4.6663864120431995e-310)
(color-rgba 0.023529411764705882 0 0.10980392156862745 1)
(color-rgba 0.019014734774827957 0 0.1061900332570076 1)

View File

@ -11,8 +11,8 @@
(size 620 200))
(session-info "toplevel"
(factory-entry "gimp-single-image-window")
(position 962 32)
(size 950 1014)
(position 10 53)
(size 1898 1015)
(open-on-exit)
(aux-info
(left-docks-width "52")
@ -75,12 +75,11 @@
(session-info "toplevel"
(factory-entry "gimp-file-open-dialog")
(position 319 77)
(size 1128 782)
(monitor 1))
(size 1128 786))
(session-info "toplevel"
(factory-entry "gimp-file-export-dialog")
(position 522 99)
(size 1128 782))
(size 1128 786))
(session-info "toplevel"
(factory-entry "gimp-module-dialog")
(position 268 330)

View File

@ -1423,7 +1423,7 @@
<resource identifier="${gimp_data_dir}/gradients/Yellow_Orange.ggr" checksum="428584726006e23e260baa2a7d79f295">
</resource>
<resource identifier="gimp-palette-color-history" checksum="b54d32ffeb1b9eeaa84ac1b81f7c06aa">
<resource identifier="gimp-palette-color-history" checksum="ac8fa681c54a685419dfd9e64d350e5c">
</resource>
<resource identifier="${gimp_data_dir}/palettes/Bears.gpl" checksum="e82e818c20ac12bdd21049924ea2d1e7">
@ -4012,6 +4012,15 @@
<resource identifier="FontAwesome" checksum="(null)">
</resource>
<resource identifier="Font Awesome 6 Brands" checksum="(null)">
</resource>
<resource identifier="Font Awesome 6 Free" checksum="(null)">
</resource>
<resource identifier="Font Awesome 6 Free Heavy" checksum="(null)">
</resource>
<resource identifier="Fontcop II" checksum="(null)">
</resource>

View File

@ -2,10 +2,10 @@
LocationMode=path-bar
ShowHidden=true
ShowSizeColumn=true
GeometryX=397
GeometryY=149
GeometryX=396
GeometryY=168
GeometryWidth=1128
GeometryHeight=782
GeometryHeight=786
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@ -1030,13 +1030,13 @@ $exe autostart
# {{{ Settings
exec --no-startup-id setxkbmap -option caps:super
exec --no-startup-id repomenue_youtube_subs -d
$exe setxkbmap -option caps:super
$exe repomenue_youtube_subs -d
# setting variables for later use
# use xrandr and/or arandr to know the names of your monitors
# use this line to tell which monitor is on the right
exec --no-startup-id autorandr --force --load i3
$exe autorandr --force --load i3
# }}} Settings

View File

@ -9,41 +9,41 @@
#------------------------------------------------------------------------------
topleft() {
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)"
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)%{c}$(lemonbar_window) %{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')%{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)%{c}$(lemonbar_window) %{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
case $1 in
-tl|--topleft)
topleft
wait
;;
-bl|--bottomleft)
bottomleft
wait
;;
-tr|--topright)
topright
wait
;;
-br|--bottomright)
bottomright
wait
;;
*)
break
;;
esac
case $1 in
-tl | --topleft)
topleft
wait
;;
-bl | --bottomleft)
bottomleft
wait
;;
-tr | --topright)
topright
wait
;;
-br | --bottomright)
bottomright
wait
;;
*)
break
;;
esac
done

View File

@ -12,52 +12,52 @@ killall -q lemonbar
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
lemonbar_config -tl | lemonbar -p -g 1920x18+0+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o eDP1 -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
lemonbar_config -bl | lemonbar -p -b -g 1920x18+0+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o eDP1 -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
lemonbar_config -tr | lemonbar -p -g 1920x18+1920+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o HDMI-1-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
lemonbar_config -br | lemonbar -p -b -g 1920x18+1920+0 -F "#C4C7C5" -B "#282A36" -U "#268bd2" -o HDMI-1-0 -f "SauceCodePro Nerd Font"-9 | $SHELL
#succade -s bottomright
}
if [ "$1" ]; then
case $1 in
-tl|--topleft)
topleft
wait
;;
-bl|--bottomleft)
bottomleft
wait
;;
-tr|--topright)
topright
wait
;;
-br|--bottomright)
bottomright
wait
;;
-all)
lemonbar_launch -tl &
lemonbar_launch -bl &
lemonbar_launch -tr &
lemonbar_launch -br &
wait
;;
*)
break
;;
esac
case $1 in
-tl | --topleft)
topleft
wait
;;
-bl | --bottomleft)
bottomleft
wait
;;
-tr | --topright)
topright
wait
;;
-br | --bottomright)
bottomright
wait
;;
-all)
lemonbar_launch -tl &
lemonbar_launch -bl &
lemonbar_launch -tr &
lemonbar_launch -br &
wait
;;
*)
wait
;;
esac
fi

View File

@ -1,17 +1,15 @@
#!/usr/bin/env bash
if [ $1 ]; then
workspace_list=""
i3_next="i3-msg workspace next_on_output, exec echo_ws"
i3_prev="i3-msg workspace prev_on_output, exec echo_ws"
workspace_list=""
while read -r workspace; do
ws="${workspace/* }"
case "$workspace" in
*"*"*) workspace_list+="%{F#282A36}%{B#BD93F9} $ws %{F-}%{B-} " ;;
*) workspace_list+="%{A:i3-msg workspace ${ws}:}%{F#282A36}%{B#C4C7C5} $ws %{F-}%{B-}%{A} " ;;
esac
done < <(wmctrl -d | grep "VP: $1")
output="%{A4:${i3_next}:}%{A5:${i3_prev}:}${workspace_list}%{A}%{A}"
echo "$output"
while read -r workspace; do
name="${workspace/* /}"
case "$workspace" in
*"*"*) workspace_list+="%{A:bspc desktop -f ${name}:}%{F#282A36}%{B#BD93F9} $name %{F-}%{B-}%{A} " ;;
*) workspace_list+="%{A:bspc desktop -f ${name}:}%{F#282A36}%{B#C4C7C5} $name %{F-}%{B-}%{A} " ;;
esac
done < <(wmctrl -d | grep "VP: $1")
output="${workspace_list}"
echo "$output"
fi

View File

@ -0,0 +1,54 @@
Graphics Backend used: svp
Passed Tests : 66
Quirky Tests : 36
Failed Tests : 1
Skipped Tests : 6
---Name of the tests that failed---
testDrawInvertN50WithRectangle
---Name of the tests that were Quirky---
testDrawRectWithLine
testDrawRectWithPolygon
testDrawRectWithPolyLine
testDrawRectWithPolyPolygon
testDrawRectWithPolyPolygonB2D
testDrawDiamondWithLine
testComplexDrawTransformedBitmap24bpp
testDashedLine
testLinearGradientBorder
testLinearGradientSteps
testRadialGradient
testRadialGradientOfs
testHalfEllipseWithPolyLine
testHalfEllipseAAWithPolyLine
testHalfEllipseAAWithPolyLineB2D
testHalfEllipseWithPolygon
testHalfEllipseAAWithPolygon
testTextDrawing
testDrawRectangleOnSize1028WithPixel
testDrawRectangleOnSize4096WithPixel
testDrawRectangleOnSize1028WithLine
testDrawRectangleOnSize4096WithLine
testDrawRectangleOnSize1028WithPolyLine
testDrawRectangleOnSize4096WithPolyLine
testDrawRectangleOnSize1028WithPolygon
testDrawRectangleOnSize4096WithPolygon
testDrawRectangleOnSize1028WithPolyLineB2D
testDrawRectangleOnSize4096WithPolyLineB2D
testDrawRectangleOnSize1028WithPolyPolygon
testDrawRectangleOnSize4096WithPolyPolygon
testDrawRectangleOnSize1028WithPolyPolygonB2D
testDrawRectangleOnSize4096WithPolygonPolygonB2D
testDrawOpenPolygonWithPolyLine
testDrawOpenPolygonWithPolygon
testDrawOpenPolygonWithPolyPolygon
testDrawOpenPolygonWithPolyPolygonB2D
---Name of the tests that were Skipped---
testDrawInvertTrackFrameWithRectangle
testDrawBitmap32bpp
testDrawTransformedBitmap32bpp
testDrawBitmapExWithAlpha32bpp
testDrawMask32bpp
testDrawBlend32bpp

View File

@ -7,10 +7,10 @@
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true">
<vendor>N/A</vendor>
<location>file:///usr/lib/jvm/java-17-openjdk</location>
<version>17.0.1</version>
<location>file:///usr/lib/jvm/java-18-openjdk</location>
<version>18.0.1.1</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>660069006C0065003A002F002F002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310037002D006F00700065006E006A0064006B002F006C00690062002F007300650072007600650072002F006C00690062006A0076006D002E0073006F000A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310037002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310037002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F007300650072007600650072003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310037002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310037002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034000A00</vendorData>
<vendorData>660069006C0065003A002F002F002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310038002D006F00700065006E006A0064006B002F006C00690062002F007300650072007600650072002F006C00690062006A0076006D002E0073006F000A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310038002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310038002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F007300650072007600650072003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310038002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D00310038002D006F00700065006E006A0064006B002F006C00690062002F0061006D006400360034000A00</vendorData>
</javaInfo>
</java>

View File

@ -1 +1 @@
20(Build:2)
30(Build:2)

View File

@ -1,2 +1,2 @@
<?xml version="1.0"?>
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/OptionsDialog.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwda.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwda.tmp/OptionsDialog.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Filter.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdb.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdb.tmp/Filter.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Paths.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdd.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdd.tmp/Paths.xcu</conf:ini-entry></conf:configuration></conf:configuration-backend-db>
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/OptionsDialog.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867la.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867la.tmp/OptionsDialog.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Filter.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867lb.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867lb.tmp/Filter.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Paths.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867ld.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867ld.tmp/Paths.xcu</conf:ini-entry></conf:configuration></conf:configuration-backend-db>

View File

@ -1,2 +1,2 @@
SCHEMA=$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs
DATA=$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdd.tmp/Paths.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwdb.tmp/Filter.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu731341ybgwda.tmp/OptionsDialog.xcu $BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu $BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu
DATA=$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867ld.tmp/Paths.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867lb.tmp/Filter.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu1453867la.tmp/OptionsDialog.xcu $BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu $BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu

File diff suppressed because one or more lines are too long

View File

@ -1,22 +1,25 @@
#!/usr/bin/env bash
# -*-coding:utf-8 -*-
# Auto updated?
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File :
# autostart
#Author:
#Author :
# The-Repo-Club [wayne6324@gmail.com]
#Github:
#Github :
# https://github.com/The-Repo-Club/
#
# Created:
# Mon 22 November 2021, 03:15:54 PM [GMT]
# Modified:
# Sat 22 January 2022, 11:56:31 AM [GMT]
#Created:
# Mon 22 November 2021, 03:15:54 PM [GMT+1]
#Last edited:
# Wed 06 July 2022, 08:02:16 AM [GMT+1]
#
# Description:
#Description:
# <Todo>
#
#Dependencies:
# <None>
#
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then
@ -60,16 +63,6 @@ else
fi
fi
if ! command -v feh &>/dev/null; then
echo "feh could not be found"
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
else
sh "$HOME/.fehbg"
fi
fi
################
## Tray Icons ##
################
@ -120,6 +113,22 @@ if command -v volumeicon &>/dev/null; then
fi
fi
####################
## Fix Background ##
####################
if ! command -v feh &>/dev/null; then
echo "feh could not be found"
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
else
sh "$HOME/.fehbg" &
sleep 2s
sh "$HOME/.fehbg" &
fi
fi
###############
## Auto Lock ##
###############
@ -139,7 +148,7 @@ if command -v xidlehook &>/dev/null; then
"" \
--timer 3600 \
"systemctl suspend" \
""
"" &
else
echo "xidlehook already Running"
fi

View File

@ -1,3 +1,4 @@
aic94xx-firmware
ansiweather
anymeal
aura
@ -21,6 +22,7 @@ dracula-qt6-theme
fish-nvm
fm6000
gamehub
gnome-icon-theme
gotop
humanity-icon-theme
i3-cheat
@ -34,6 +36,7 @@ libart-lgpl
libxft-bgra
lovesay
minecraft-launcher
mkinitcpio-firmware
multimonitorlock
multimonitorlock-gui
nbteditor
@ -87,7 +90,9 @@ ttf-material-design-icons
ttf-remixicon
tty-clock
ufw-icon-bar
upd72020x-fw
w3m-imgcat
wd719x-firmware
win-shot
woeusb-gui
xcursor-breeze

View File

@ -12,6 +12,6 @@ strings=pkgbrowser, ly, zap, i3-gaps, microsoft edge, python3, python, pamac, on
[window]
central-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\0\0\0\x1>\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
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)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x8a\0\0\0\x33\0\0\xe\xf5\0\0\x4-\0\0\a\x8a\0\0\0\x33\0\0\xe\xf5\0\0\x4-\0\0\0\x1\0\0\0\0\a\x80\0\0\a\x8a\0\0\0\x33\0\0\xe\xf5\0\0\x4-)
left-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\x1\f\0\xff\xff\xff\xff\x1\0\0\0\x2\0)
right-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\0\xee\0\xff\xff\xff\xff\x1\0\0\0\x2\0)

View File

@ -158,7 +158,7 @@ font-3 = "xos4 Terminus:size=12;2"
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = cpu_i cpu separator memory_i memory separator kernel_i kernel separator distro_i distro separator tray_i tray tray_i
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 separator github_notifications_i github_notifications separator github_repositories_i github_repositories separator github_gists_i github_gists
@ -187,7 +187,7 @@ locale =
; center
; right
; none
tray-position = false
tray-position = none
; If true, the bar will not shift its
; contents when the tray changes

View File

@ -187,7 +187,7 @@ locale =
; center
; right
; none
tray-position = none
tray-position = right
; If true, the bar will not shift its
; contents when the tray changes

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
if pgrep -x "stalonetray" > /dev/null
then
killall stalonetray &
else
stalonetray &
fi

View File

@ -252,29 +252,6 @@ content-background = ${color.bright_cyan}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/tray]
type = custom/script
exec = echo "SysTray Toggle"
tail = true
interval = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = exec ~/.config/polybar/scripts/traycollapse.sh
[module/tray_i]
type = custom/text
content =
content-background = ${color.bright_cyan}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/

View File

@ -1,48 +1,51 @@
#!/usr/bin/env bash
# Change this depending on your battery in /sys/class/power_supply/
battery="BAT0";
battery="BAT0"
has_battery() {
if [ -d /sys/class/power_supply/$battery ]; then
return 0;
fi
return 1;
if [ -d /sys/class/power_supply/$battery ]; then
return 0
fi
return 1
}
get_charge() {
cat "/sys/class/power_supply/$battery/capacity"
cat "/sys/class/power_supply/$battery/capacity"
}
is_charging() {
status=$(cat "/sys/class/power_supply/$battery/status")
if [ ! $status = "Discharging" ]; then
return 0;
fi
return 1;
status=$(cat "/sys/class/power_supply/$battery/status")
if [ ! $status = "Discharging" ]; then
return 0
fi
return 1
}
battery() {
battery_status="";
if $(is_charging); then
icon=" "
if $(has_battery); then
battery_status=" $(get_charge)%";
fi
else
if $(has_battery); then
if [[ $(get_charge) -ge 66 ]]; then
icon=" "
elif [[ $(get_charge) -ge 33 ]]; then
icon=" "
else
icon=" "
fi
battery_status=" $(get_charge)%";
fi
fi
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
printf " %s %s \n" "^c#1e222a^^b#12993f^$icon" "^c#1e222a^^b#50fa7b^$battery_status"
battery_status=""
if $(is_charging); then
icon=" "
if $(has_battery); then
battery_status="$(get_charge)%"
fi
else
if $(has_battery); then
if [[ $(get_charge) -ge 66 ]]; then
icon=" "
elif [[ $(get_charge) -ge 33 ]]; then
icon=" "
else
icon=" "
fi
battery_status="$(get_charge)%"
fi
fi
printf " %s %s \n" "^c$Foreground^^b$Green^$icon" "^c$Foreground^^b$Green_Bright^ $battery_status"
}
battery

View File

@ -1,54 +1,58 @@
#!/usr/bin/env bash
DaySuffix() {
if [ "x`date +%-d | cut -c2`x" = "xx" ]
then
DayNum=`date +%-d`
else
DayNum=`date +%-d | cut -c2`
fi
if [ "x$(date +%-d | cut -c2)x" = "xx" ]; then
DayNum=$(date +%-d)
else
DayNum=$(date +%-d | cut -c2)
fi
CheckSpecialCase=`date +%-d`
case $DayNum in
0 )
echo "th" ;;
1 )
if [ "$CheckSpecialCase" = "11" ]
then
echo "th"
else
echo "st"
fi ;;
2 )
if [ "$CheckSpecialCase" = "12" ]
then
echo "th"
else
echo "nd"
fi ;;
3 )
if [ "$CheckSpecialCase" = "13" ]
then
echo "th"
else
echo "rd"
fi ;;
[4-9] )
echo "th" ;;
* )
return 1 ;;
esac
CheckSpecialCase=$(date +%-d)
case $DayNum in
0)
echo "th"
;;
1)
if [ "$CheckSpecialCase" = "11" ]; then
echo "th"
else
echo "st"
fi
;;
2)
if [ "$CheckSpecialCase" = "12" ]; then
echo "th"
else
echo "nd"
fi
;;
3)
if [ "$CheckSpecialCase" = "13" ]; then
echo "th"
else
echo "rd"
fi
;;
[4-9])
echo "th"
;;
*)
return 1
;;
esac
}
clock() {
icon_date="  "
icon_time=" "
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
date=$(date +" %-d`DaySuffix` %b %Y")
time=$(date +" %I:%M %P")
icon_date="  "
icon_time=" "
printf "%s %s %s %s \n" "^c#1e222a^ ^b#467580^$icon_date" "^c#1e222a^^b#8be9fd^$date" "^c#1e222a^ ^b#467580^$icon_time" "^c#1e222a^^b#8be9fd^$time"
date=$(date +" %-d$(DaySuffix) %b %Y")
time=$(date +" %I:%M %P")
printf " %s %s %s %s \n" "^c$Foreground^^b$Green^$icon_date" "^c$Foreground^^b$Green_Bright^ $date" "^c$Foreground^^b$Green^$icon_time" "^c$Foreground^^b$Green_Bright^ $time"
}
clock

View File

@ -1,16 +1,19 @@
#!/usr/bin/env bash
cpu() {
icon=" "
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
read -r cpu a b c previdle rest < /proc/stat
prevtotal=$((a+b+c+previdle))
sleep 0.5
read -r cpu a b c idle rest < /proc/stat
total=$((a+b+c+idle))
cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) ))
cpu=" $cpu%"
printf " %s %s \n" "^c#1e222a^^b#745737^$icon" "^c#1e222a^^b#ffb86c^$cpu"
icon=" "
read -r cpu a b c previdle rest </proc/stat
prevtotal=$((a + b + c + previdle))
sleep 0.5
read -r cpu a b c idle rest </proc/stat
total=$((a + b + c + idle))
cpu=$((100 * ((total - prevtotal) - (idle - previdle)) / (total - prevtotal)))
printf " %s %s \n" "^c$Foreground^^b$Orange^$icon" "^c$Foreground^^b$Orange_Bright^ $cpu%"
}
cpu

View File

@ -1,12 +1,15 @@
#!/usr/bin/env bash
keyboard () {
icon=" ⌨"
keyboard() {
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
keyboard="$(setxkbmap -query | awk '/layout/{print $2}')"
keyboard=" $keyboard"
icon="  "
printf " %s %s \n" "^c#1e222a^^b#803c62^$icon" "^c#1e222a^^b#ff79c6^${keyboard^^}"
keyboard="$(setxkbmap -query | awk '/layout/{print $2}')"
keyboard="${keyboard^^}"
printf " %s %s \n" "^c$Foreground^^b$Pink^$icon" "^c$Foreground^^b$Pink_Bright^ $keyboard"
}
keyboard

View File

@ -1,32 +1,40 @@
#!/usr/bin/env bash
network() {
R1=`cat /sys/class/net/wlan0/statistics/rx_bytes`
T1=`cat /sys/class/net/wlan0/statistics/tx_bytes`
sleep 1
R2=`cat /sys/class/net/wlan0/statistics/rx_bytes`
T2=`cat /sys/class/net/wlan0/statistics/tx_bytes`
TBPS=`expr $T2 - $T1`
RBPS=`expr $R2 - $R1`
TKBPS=`echo "$TBPS / 1024"| bc`
RKBPS=`echo "$RBPS / 1024"| bc`
icon_up=" "
icon_down=" "
if [ "$RKBPS" -gt "1024" ]; then
RKBPS=`echo "scale=2; $RKBPS / 1024"| bc`
RKBPS=" $RKBPS mb"
else
RKBPS=" $RKBPS kb"
fi
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
if [ "$TKBPS" -gt "1024" ]; then
TKBPS=`echo "scale=2; $TKBPS / 1024"| bc`
TKBPS=" $TKBPS mb"
else
TKBPS=" $TKBPS kb"
fi
R1=$(cat /sys/class/net/wlan0/statistics/rx_bytes)
T1=$(cat /sys/class/net/wlan0/statistics/tx_bytes)
sleep 1
R2=$(cat /sys/class/net/wlan0/statistics/rx_bytes)
T2=$(cat /sys/class/net/wlan0/statistics/tx_bytes)
TBPS=$(expr $T2 - $T1)
RBPS=$(expr $R2 - $R1)
TKBPS=$(echo "$TBPS / 1024" | bc)
RKBPS=$(echo "$RBPS / 1024" | bc)
icon_up=" 直 "
icon_down=" 睊 "
if [ "$RKBPS" -gt "1024" ]; then
RKBPS=$(echo "scale=2; $RKBPS / 1024" | bc)
RKBPS=" $RKBPS mb"
else
RKBPS=" $RKBPS kb"
fi
printf " %s %s %s %s \n" "^c#1e222a^^b#614b80^$icon_down" "^c#1e222a^^b#bd93f9^${RKBPS^^}" "^c#1e222a^^b#614b80^$icon_up" "^c#1e222a^^b#bd93f9^${TKBPS^^}"
if [ "$TKBPS" -gt "1024" ]; then
TKBPS=$(echo "scale=2; $TKBPS / 1024" | bc)
TKBPS=" $TKBPS mb"
else
TKBPS=" $TKBPS kb"
fi
case "$(cat /sys/class/net/wl*/operstate 2>/dev/null)" in
up) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_up" "^c$Foreground^^b$Purple_Bright^ Connected" ;;
down) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_down" "^c$Foreground^^b$Purple_Bright^ Disconnected" ;;
esac
# printf " %s %s %s %s \n" "^c$Foreground^^b$Purple^$icon_down" "^c$Foreground^^b$Purple_Bright^ ${RKBPS^^}" "^c$Foreground^^b$Purple^$icon_up" "^c$Foreground^^b$Purple_Bright^ ${TKBPS^^}"
}

View File

@ -1,12 +1,14 @@
#!/usr/bin/env bash
ram() {
icon=" "
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
ram=$(free -h | awk '/Mem:/ { print $3 }' | cut -f1 -d 'i')
ram=" $ram"
icon=" "
printf " %s %s \n" "^c#1e222a^^b#7b8047^$icon" "^c#1e222a^^b#f1fa8c^$ram"
ram=$(free -h | awk '/Mem:/ { print $3 }' | cut -f1 -d 'i')
printf " %s %s \n" "^c$Foreground^^b$Yellow^$icon" "^c$Foreground^^b$Yellow_Bright^ $ram"
}
ram

View File

@ -1,40 +1,16 @@
#!/usr/bin/env bash
updates() {
configFile=$HOME/.config/repowm/repobar/bar_updates.ini
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
timestamp=$(date +%s)
icon=" "
[[ -f $configFile ]] && . $configFile
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
updates=$(yay -Pn)
if [ "$updates" -eq "0" ]; then
updatecount="No Updates"
elif [ "$updates" -ge "1" ]; then
updatecount="$updates Update"
else
updatecount="$updates Updates"
fi
printf " %s %s \n" "^c#1e222a^^b#802a2a^$icon" "^c#1e222a^^b#ff5555^$updatecount"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" > $configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
updates=$(yay -Pn)
if [ "$updates" -eq "0" ]; then
updatecount="No Updates"
elif [ "$updates" -ge "1" ]; then
updatecount="$updates Update"
else
updatecount="$updates Updates"
fi
printf " %s %s \n" "^c#1e222a^^b#802a2a^$icon" "^c#1e222a^^b#ff5555^$updatecount"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" > $configFile
else
updates=" $Message"
printf " %s %s \n" "^c#1e222a^^b#802a2a^$icon" "^c#1e222a^^b#ff5555^$updates"
fi
fi
updates=$(yay -Pn)
icon=" "
if [ -z "$updates" ]; then
printf " %s %s \n" "^c$Foreground^^b$Red^$icon" "^c$Foreground^^b$Red_Bright^ Fully Updated"
else
printf " %s %s \n" "^c$Foreground^^b$Red^$icon" "^c$Foreground^^b$Red_Bright^ $updates Updates"
fi
}
updates

View File

@ -1,65 +1,67 @@
#!/usr/bin/env bash
volume_alsa() {
# load colors
. ~/.config/repobar/bar_themes/minimal-mistakes
analog=$(pamixer --list-sinks | grep analog | awk '{ print $2 }' | sed 's/"//g')
hdmi=$(pamixer --list-sinks | grep hdmi | awk '{ print $2 }' | sed 's/"//g')
analog=$(pamixer --list-sinks | grep analog | awk '{ print $2 }' | sed 's/"//g')
hdmi=$(pamixer --list-sinks | grep hdmi | awk '{ print $2 }' | sed 's/"//g')
if [ ! -z "$analog" ]; then
muted=$(pamixer --sink $analog --get-volume-human | grep muted)
vol=$(pamixer --sink $analog --get-volume | sed 's/[^0-9]*//g')
if [ ! -z "$analog" ]; then
muted=$(pamixer --sink $analog --get-volume-human | grep muted)
vol=$(pamixer --sink $analog --get-volume | sed 's/[^0-9]*//g')
if [ "$muted" = "muted" ]; then
vol_a=" ﱝ muted"
else
if [ "$vol" -ge 75 ]; then
vol_a="  $vol%"
elif [ "$vol" -ge 50 ]; then
vol_a=" 墳 $vol%"
elif [ "$vol" -ge 25 ]; then
vol_a=" 奔 $vol%"
elif [ "$vol" -ge 0 ]; then
vol_a=" 奄 $vol%"
fi
fi
fi
if [ ! -z "$hdmi" ]; then
muted=$(pamixer --sink $hdmi --get-volume-human | grep muted)
vol=$(pamixer --sink $hdmi --get-volume | sed 's/[^0-9]*//g')
if [ "$muted" = "muted" ]; then
vol_a=" ﱝ muted"
else
if [ "$vol" -ge 75 ]; then
vol_h="  $vol%"
elif [ "$vol" -ge 50 ]; then
vol_h=" 墳 $vol%"
elif [ "$vol" -ge 25 ]; then
vol_h=" 奔 $vol%"
elif [ "$vol" -ge 0 ]; then
vol_h=" 奄 $vol%"
fi
fi
fi
if [ ! -z "$vol_a" ] && [ ! -z "$vol_h" ]; then
icon_a="  "
icon_h="  "
printf " %s %s %s %s \n" "^c#1e222a^^b#616580^$icon_a" "^c#1e222a^^b#c2caff^$vol_a" "^c#1e222a^^b#616580^$icon_h" "^c#1e222a^^b#c2caff^$vol_h"
elif [ ! -z "$vol_h" ]; then
icon_h="  "
printf " %s %s \n" "^c#1e222a^^b#616580^$icon_h" "^c#1e222a^^b#c2caff^$vol_h"
elif [ ! -z "$vol_a" ]; then
icon_a="  "
printf " %s %s \n" "^c#1e222a^^b#616580^$icon_a" "^c#1e222a^^b#c2caff^$vol_a"
if [ "$muted" = "muted" ]; then
vol_a=" ﱝ muted"
else
icon=" ﱝ "
text=" Auido Disconnected"
printf " %s %s %s \n" "^c#1e222a^^b#616580^$icon" "^c#1e222a^^b#c2caff^$text" "^c#1e222a^^b#616580^$icon"
if [ "$vol" -ge 75 ]; then
vol_a="  $vol%"
elif [ "$vol" -ge 50 ]; then
vol_a=" 墳 $vol%"
elif [ "$vol" -ge 25 ]; then
vol_a=" 奔 $vol%"
elif [ "$vol" -ge 0 ]; then
vol_a=" 奄 $vol%"
fi
fi
fi
if [ ! -z "$hdmi" ]; then
muted=$(pamixer --sink $hdmi --get-volume-human | grep muted)
vol=$(pamixer --sink $hdmi --get-volume | sed 's/[^0-9]*//g')
if [ "$muted" = "muted" ]; then
vol_a=" ﱝ muted"
else
if [ "$vol" -ge 75 ]; then
vol_h="  $vol%"
elif [ "$vol" -ge 50 ]; then
vol_h=" 墳 $vol%"
elif [ "$vol" -ge 25 ]; then
vol_h=" 奔 $vol%"
elif [ "$vol" -ge 0 ]; then
vol_h=" 奄 $vol%"
fi
fi
fi
if [ ! -z "$vol_a" ] && [ ! -z "$vol_h" ]; then
icon_a="  "
icon_h="  "
printf " %s %s %s %s \n" "^c$Foreground^^b$Cyan^$icon_a" "^c$Foreground^^b$Cyan_Bright^ $vol_a" "^c$Foreground^^b$Cyan^$icon_h" "^c$Foreground^^b$Cyan_Bright^ $vol_h"
elif [ ! -z "$vol_h" ]; then
icon_h="  "
printf " %s %s \n" "^c$Foreground^^b$Cyan^$icon_h" "^c$Foreground^^b$Cyan_Bright^ $vol_h"
elif [ ! -z "$vol_a" ]; then
icon_a="  "
printf " %s %s \n" "^c$Foreground^^b$Cyan^$icon_a" "^c$Foreground^^b$Cyan_Bright^ $vol_a"
else
icon=" ﱝ "
text=" Auido Disconnected"
printf " %s %s %s \n" "^c$Foreground^^b$Cyan^$icon" "^c$Foreground^^b$Cyan_Bright^ $text" "^c$Foreground^^b$Cyan^$icon"
fi
}
volume_alsa

View File

@ -13,7 +13,7 @@ UCZiL6BoryLWxyapUuVYW27g # Average Linux User
UCylGUf9BvQooEFjgdNudoQg # The Linux Cast
UC8ENHE5xdFSwx71u3fDH5Xw # ThePrimeagen
UCRE3NFNtdjR96-H4QG4U1Fg # HexDSL
UCfp-lNJy4QkIGnaEE6NtDSg # Terminal For Life
# UCfp-lNJy4QkIGnaEE6NtDSg # Terminal For Life
UCmw-QGOHbHA5cDAvwwqUTKQ # Zaney
#Minecraft
@ -25,7 +25,6 @@ UCuMJPFqazQI4SofSFEd-5zA # impulseSV
#Spirit
UC_8fJz5gAnhRqZ740QXlzmw # Jen McCarty
UCxdt2Wf_g9k1wnBfWEsq79Q # Star Warrior
UCAk3t7WHs2zjsZpopox8Taw # Jonna Jinton
#Meditations

View File

@ -1,45 +1,169 @@
#!/usr/bin/env bash
# path: ~/.config/repowm/autostart.sh
# author: The-Repo-Club [wayne6324@gmail.com]
# github: https://github.com/The-Repo-Club/instawm
# date: 2021-04-10 12:34:47.440579
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File :
# autostart.sh
#Author :
# The-Repo-Club [wayne6324@gmail.com]
#Github :
# https://github.com/The-Repo-Club/
#
#Created:
# Mon 22 November 2021, 03:15:54 PM [GMT]
#Last edited:
# Fri 08 July 2022, 07:18:26 AM [GMT+1]
#
#Description:
# <Todo>
#
#Dependencies:
# <None>
#
if ! command -v xautolock &> /dev/null; then
echo "xautolock could not be found"
exit
else
if ! pgrep -x "xautolock" > /dev/null; then
xautolock -time 10 -locker 'multimonitorlock -l -- --time-str="%H:%M"' -notify 30 -notifier "notify-send -u critical -- 'LOCKING screen in 30 seconds'" &
else
echo "xautolock already Running"
fi
fi
# if command -v autorandr &>/dev/null; then
# if ! pgrep -f "autorandr" >/dev/null; then
# autorandr --force --load repowm &
# else
# echo "autorandr already Running"
# fi
# fi
if ! command -v picom &> /dev/null; then
echo "picom could not be found"
exit
else
if ! pgrep -x "picom" > /dev/null; then
picom --config $HOME/.config/repowm/picom.conf &
else
echo "picom already Running"
fi
fi
if ! command -v feh &> /dev/null; then
echo "feh could not be found"
exit
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
exit
else
sh $HOME/.fehbg
fi
fi
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &> /dev/null; then
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
else
echo "polkit-gnome already Running"
fi
fi
# if command -v xroot &>/dev/null; then
# if ! pgrep -f "xroot" >/dev/null; then
# xroot -r xmenu_desktop &
# else
# echo "xroot already Running"
# fi
# fi
# if command -v clipmenu-daemon &>/dev/null; then
# if ! pgrep -f "clipmenu-daemon" >/dev/null; then
# clipmenu-daemon &
# else
# echo "clipmenu-daemon already Running"
# fi
# fi
if ! command -v feh &>/dev/null; then
echo "feh could not be found"
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
else
sh "$HOME/.fehbg"
sleep 2s
sh "$HOME/.fehbg"
fi
fi
if ! command -v picom &>/dev/null; then
echo "picom could not be found"
exit
else
if ! pgrep -x "picom" >/dev/null; then
picom -b --experimental-backend --config $HOME/.config/repowm/picom.conf &
else
echo "picom already Running"
fi
fi
# ################
# ## Tray Icons ##
# ################
# if ! command -v ckb-next &>/dev/null; then
# echo "ckb-next could not be found"
# else
# if ! pgrep -x "ckb-next" >/dev/null; then
# ckb-next --background &
# else
# echo "ckb-next already Running"
# fi
# fi
# if command -v nm-applet &>/dev/null; then
# if ! pgrep -x "nm-applet" >/dev/null; then
# nm-applet &
# else
# echo "nm-applet already Running"
# fi
# fi
# if command -v blueman-applet &>/dev/null; then
# if ! pgrep -x "blueman-applet" >/dev/null; then
# blueman-applet &
# else
# echo "blueman-applet already Running"
# fi
# fi
# if command -v touchpad-indicator &>/dev/null; then
# if ! pgrep -f "touchpad-indicator" >/dev/null; then
# touchpad-indicator &
# else
# echo "touchpad-indicator already Running"
# fi
# fi
# if command -v numlockx &>/dev/null; then
# numlockx on &
# fi
# if command -v volumeicon &>/dev/null; then
# if ! pgrep -x "volumeicon" >/dev/null; then
# volumeicon &
# else
# echo "volumeicon already Running"
# fi
# fi
# ###############
# ## Auto Lock ##
# ###############
if command -v xidlehook &>/dev/null; then
# shellcheck disable=SC2155
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
if ! pgrep -x "xidlehook" >/dev/null; then
xidlehook \
--not-when-fullscreen \
--not-when-audio \
--timer 300 \
"xrandr --output $PRIMARY_DISPLAY --brightness .1" \
"xrandr --output $PRIMARY_DISPLAY --brightness 1" \
--timer 30 \
"xrandr --output $PRIMARY_DISPLAY --brightness 1; multimonitorlock -l -- --time-str=%I:%M:%S %p" \
"" \
--timer 3600 \
"systemctl suspend" \
""
else
echo "xidlehook already Running"
fi
fi
# ################
# ## Other Junk ##
# ################
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# # see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
eval "$(/usr/bin/gnome-keyring-daemon --start)"
export SSH_AUTH_SOCK
# # see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836
mkdir -p "$HOME"/.local/share/keyrings

View File

@ -1,233 +1,421 @@
# Thank you code_nomad: http://9m.no/ꪯ鵞
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
#################################
#
# Backend
#
# Shadows #
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";
#backend = "xrender"
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# GLX backend
#
#################################
glx-no-stencil = true;
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
# but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown.
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
# glx-use-copysubbuffermesa = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
# Recommended if it works.
# glx-no-rebind-pixmap = true;
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
#glx-swap-method = "undefined";
#################################
#
# Shadows
#
#################################
# Enabled client-side shadows on windows.
# shadow = false
shadow = false;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
log-level = "warn";
#change your username here
#log-file = "/home/erik/.config/compton.log";
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 7;
# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
# shadow-color = "#000000"
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g = 'Cairo-clock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
#################################
#
# Opacity
#
#################################
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
opacity-rule = [
"90:class_g = 'Conky' && focused",
"60:class_g = 'Conky' && !focused"
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
# clip-shadow-above = []
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
#################################
#
# Fading
#
# Fading #
#################################
# Fade windows during opacity changes.
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = false;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
#
# Other
#
# Transparency / Opacity #
#################################
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
# This prevents opacity being ignored for some apps.
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
detect-client-opacity = true;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.95;
# Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension.
refresh-rate = 0;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.9;
# Vertical synchronization: match the refresh rate of the monitor
# this breaks transparency in virtualbox - put a "#" before next line to fix that
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
# Specify a list of conditions of windows that should never be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
# opacity-rule = []
opacity-rule = [
"100:class_g = 'firefox' && focused",
"95:class_g = 'firefox' && !focused",
"95:class_g = 'kitty' && focused",
"80:class_g = 'kitty' && !focused",
"95:class_g = 'Nemo' && focused",
"80:class_g = 'Nemo' && !focused"
];
#################################
# Corners #
#################################
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
corner-radius = 0
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 12
#
# blur-deviation = false
#
# blur-strength = 5
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = false
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ""
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
#################################
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = "glx"
backend = "xrender";
# Enable/disable VSync.
# vsync = false
vsync = true;
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
detect-client-leader = true;
#################################
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
# detect-rounded-corners = false
detect-rounded-corners = true;
# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true;
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. This usually means windows from the same application
# will be considered focused or unfocused at the same time.
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
#
# detect-client-leader = false
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
glx-no-stencil = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
# in the source tree for examples.
#
# glx-fshader-win = ""
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = "/path/to/your/log/file"
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = "/path/to/your/log/file"
# Window type settings
#
#################################
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# clip-shadow-above:::
# Controls wether shadows that would have been drawn above the window should
# be clipped. Useful for dock windows that should have no shadow painted on top.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true;};
dock = { shadow = false; }
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.9; }
dropdown_menu = { opacity = 0.9; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
};
######################
#
# XSync
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
#
######################
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
xrender-sync-fence = true;

View File

@ -1,2 +0,0 @@
LastUsed=1653596636
Message='No Updates'

View File

@ -1,2 +0,0 @@
LastUsed=1638909528
Message='5°C'

View File

@ -8,4 +8,4 @@ showUptime=1
runXinitrc=0
lastUserChoice="i3"
lastUserChoice="repowm"

View File

@ -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" "")

View File

@ -9,32 +9,32 @@ xprofile=$HOME/.xprofile
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# enable xprofiles
if [ -f "$xprofile" ]; then
source "$xprofile"
source "$xprofile"
fi