diff --git a/.bash_profile b/.bash_profile index c16bc6f..63cd23c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -39,6 +39,9 @@ export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock" export SSH_AUTH_SOCK; SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +# shellcheck disable=SC2046 +systemctl --user import-environment PATH $(compgen -v XDG) + [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ] && { GUILOG="$HOME/.local/state/gui.log" diff --git a/.config/autorandr/ip/config b/.config/autorandr/ip/config deleted file mode 100644 index 55e3112..0000000 --- a/.config/autorandr/ip/config +++ /dev/null @@ -1,6 +0,0 @@ -output HDMI-A-0 -off -output eDP -mode 1920x1080 -pos 0x0 -rate 60.00 diff --git a/.config/autorandr/ip/setup b/.config/autorandr/ip/setup deleted file mode 100644 index 22d4553..0000000 --- a/.config/autorandr/ip/setup +++ /dev/null @@ -1 +0,0 @@ -eDP 00ffffffffffff0009e5d50800000000231d0104a5221378030b95935c59932a20505400000001010101010101010101010101010101043a803671381e403020360058c21000001a000000000000000000000000000000000000000000fe00424f452043510a202020202020000000fe004e5431353646484d2d4e34330a000e diff --git a/.config/autorandr/postswitch.d/wallpaper b/.config/autorandr/postswitch.d/wallpaper deleted file mode 100755 index b3f0bd2..0000000 --- a/.config/autorandr/postswitch.d/wallpaper +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/mount_cook.jpg" --no-fehbg diff --git a/.config/autorandr/settings.ini b/.config/autorandr/settings.ini deleted file mode 100644 index 6515a70..0000000 --- a/.config/autorandr/settings.ini +++ /dev/null @@ -1,2 +0,0 @@ -[config] -skip-options=crtc,gamma,x-prop-colorspace,x-prop-max_bpc,x-prop-non_desktop,x-prop-scaling_mode,x-prop-tearfree,x-prop-underscan,x-prop-underscan_hborder,x-prop-underscan_vborder, diff --git a/.config/bash/10-aliases.bash b/.config/bash/10-aliases.bash index f3a1f9d..b524f25 100644 --- a/.config/bash/10-aliases.bash +++ b/.config/bash/10-aliases.bash @@ -7,6 +7,10 @@ function bd() { echo "$@" | base64 -d; echo } +function gi() { + curl -fL "https://www.toptal.com/developers/gitignore/api/$(printf '%s\n' "$@" | sort -u | paste -sd,)" +} + function update() { $TERM --hold -e "$SHELL" -ic "pac -Syu && echo $'\e[32mDONE'" & $TERM --hold -e "$SHELL" -ic "flatpak update && echo -e $'\e[32mDONE'" & @@ -48,3 +52,6 @@ alias ...='../..' \ watch='watch -c ' \ xargs='xargs ' \ xmr='monero-wallet-cli --daemon-address monero.maby.dev:18081 --trusted-daemon --log-file=/tmp/monero-wallet-cli.log --wallet-file /home/ange/.config/monero/ange' + +. /usr/share/git/completion/git-completion.bash +$(complete -p git) p c diff --git a/.config/bash/11-docker.bash b/.config/bash/11-docker.bash index 9aec55f..07750b6 100644 --- a/.config/bash/11-docker.bash +++ b/.config/bash/11-docker.bash @@ -7,7 +7,6 @@ compalias dk='podman' \ dkclsa='podman container ls -a --external' \ dkclsaq='podman container ls -a -q --external' \ dkclsq='podman container ls -q' \ - dkcrm!='podman container rm -f' \ dkcrm='podman container rm' \ dkcsp='podman container stop' \ dkcst='podman container restart' \ @@ -21,7 +20,6 @@ compalias dk='podman' \ dkilsaq='podman image ls -a -q' \ dkilsq='podman image ls -q' \ dkip='podman image push' \ - dkirm!='podman image rm -f' \ dkirm='podman image rm' \ dkis='podman image save' \ dkit='podman image tag' \ @@ -31,11 +29,9 @@ compalias dk='podman' \ dkni='podman network inspect' \ dknls='podman network ls' \ dknlsq='podman network ls -q' \ - dknrm!='podman network rm -f' \ dknrm='podman network rm' \ dksys='podman system' \ dksysdf='podman system df' \ - dksysp!='podman system prune -f' \ dksysp='podman system prune' \ dktop='podman top' \ dkv='podman volume' \ @@ -43,11 +39,9 @@ compalias dk='podman' \ dkvi='podman volume inspect' \ dkvls='podman volume ls' \ dkvlsq='podman volume ls -q' \ - dkvrm!='podman volume rm -f' \ dkvrm='podman volume rm' alias dc='docker-compose' \ - dcb!='docker-compose build --no-cache' \ dcb='docker-compose build' \ dccls='docker-compose ps' \ dcclsq='docker-compose ps -q' \ @@ -56,9 +50,7 @@ alias dc='docker-compose' \ dcl='docker-compose pull' \ dcr='docker-compose run --rm' \ dcrd='docker-compose run -d --rm' \ - dcrm!='docker-compose rm -f' \ dcrm='docker-compose rm' \ - dcrmv!='docker-compose rm -v -f' \ dcrmv='docker-compose rm -v' \ dcsp='docker-compose stop' \ dcst='docker-compose restart' \ diff --git a/.config/bash/11-git.bash b/.config/bash/11-git.bash deleted file mode 100644 index dd6e4b2..0000000 --- a/.config/bash/11-git.bash +++ /dev/null @@ -1,3 +0,0 @@ -function gi() { - curl -fL "https://www.toptal.com/developers/gitignore/api/$(printf '%s\n' "$@" | sort -u | paste -sd,)" -} diff --git a/.config/newsraft/feeds b/.config/newsraft/feeds index 2cdf4db..225d1c3 100644 --- a/.config/newsraft/feeds +++ b/.config/newsraft/feeds @@ -2,13 +2,13 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCI4W-ck8ZLA_YljxMhlpg2g "Chess Simp" @ News -https://archlinux.org/feeds/news/ "ArchLinux" -https://odysee.com/$/rss/@BrodieRobertson:5 "BrodieRobertson" -https://www.debian.org/News/news "Debian" -https://f-droid.org/feed.xml "F-Droid" -https://odysee.com/$/rss/@AlphaNerd:8 "MentalOutlaw" -https://suckless.org/atom.xml "suckless.org" -https://tails.net/news/index.en.rss "Tails" +https://archlinux.org/feeds/news/ "ArchLinux" +https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "BrodieRobertson" +https://www.debian.org/News/news "Debian" +https://f-droid.org/feed.xml "F-Droid" +https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "MentalOutlaw" +https://suckless.org/atom.xml "suckless.org" +https://tails.net/news/index.en.rss "Tails" @ Updates https://github.com/vector-im/element-web/releases.atom "Element" diff --git a/.config/nvim/ftplugin/css.lua b/.config/nvim/ftplugin/css.lua new file mode 120000 index 0000000..d805bec --- /dev/null +++ b/.config/nvim/ftplugin/css.lua @@ -0,0 +1 @@ +html.lua \ No newline at end of file diff --git a/.config/nvim/pack/plugins/start/plenary b/.config/nvim/pack/plugins/start/plenary index 2d9b061..3707cdb 160000 --- a/.config/nvim/pack/plugins/start/plenary +++ b/.config/nvim/pack/plugins/start/plenary @@ -1 +1 @@ -Subproject commit 2d9b06177a975543726ce5c73fca176cedbffe9d +Subproject commit 3707cdb1e43f5cea73afb6037e6494e7ce847a66 diff --git a/.config/nvim/pack/plugins/start/telescope b/.config/nvim/pack/plugins/start/telescope index 2eca9ba..415af52 160000 --- a/.config/nvim/pack/plugins/start/telescope +++ b/.config/nvim/pack/plugins/start/telescope @@ -1 +1 @@ -Subproject commit 2eca9ba22002184ac05eddbe47a7fe2d5a384dfc +Subproject commit 415af52339215926d705cccc08145f3782c4d132 diff --git a/.config/nvim/pack/plugins/start/treesitter b/.config/nvim/pack/plugins/start/treesitter index caba7ef..a67a312 160000 --- a/.config/nvim/pack/plugins/start/treesitter +++ b/.config/nvim/pack/plugins/start/treesitter @@ -1 +1 @@ -Subproject commit caba7ef3556079dec03407bcbb290ddc688ea06e +Subproject commit a67a312e7b08cbf2895d8f29a4b1f38f18d9a8e8 diff --git a/.config/suckless/dwm-6.5/config.def.h b/.config/suckless/dwm-6.5/config.def.h index d674ef5..fb383f3 100644 --- a/.config/suckless/dwm-6.5/config.def.h +++ b/.config/suckless/dwm-6.5/config.def.h @@ -52,9 +52,6 @@ static const Layout layouts[] = { { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, -/* helper for spawning shell commands in the pre dwm-5.0 fashion */ -#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } - /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; @@ -112,4 +109,3 @@ static const Button buttons[] = { { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; - diff --git a/.config/systemd/user/sockets.target.wants/podman.socket b/.config/systemd/user/sockets.target.wants/podman.socket new file mode 120000 index 0000000..f59705a --- /dev/null +++ b/.config/systemd/user/sockets.target.wants/podman.socket @@ -0,0 +1 @@ +/usr/lib/systemd/user/podman.socket \ No newline at end of file diff --git a/.config/systemd/user/timers.target.wants/wallpaper.timer b/.config/systemd/user/timers.target.wants/wallpaper.timer new file mode 120000 index 0000000..c1a751b --- /dev/null +++ b/.config/systemd/user/timers.target.wants/wallpaper.timer @@ -0,0 +1 @@ +../wallpaper.timer \ No newline at end of file diff --git a/.config/systemd/user/wallpaper.service b/.config/systemd/user/wallpaper.service new file mode 100644 index 0000000..13b2220 --- /dev/null +++ b/.config/systemd/user/wallpaper.service @@ -0,0 +1,6 @@ +[Unit] +Description=Randomly changes wallpaper + +[Service] +Type=oneshot +ExecStart=bash wallpaper diff --git a/.config/systemd/user/wallpaper.timer b/.config/systemd/user/wallpaper.timer new file mode 100644 index 0000000..e3766cb --- /dev/null +++ b/.config/systemd/user/wallpaper.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Randomly changes wallpaper + +[Timer] +OnUnitInactiveSec=10min +Unit=wallpaper.service + +[Install] +WantedBy=timers.target diff --git a/.config/wallpapers/cityscape.jpg b/.config/wallpapers/cityscape.jpg deleted file mode 100644 index ce4547a..0000000 Binary files a/.config/wallpapers/cityscape.jpg and /dev/null differ diff --git a/.config/wallpapers/debian11.png b/.config/wallpapers/debian11.png deleted file mode 100644 index 45b736d..0000000 Binary files a/.config/wallpapers/debian11.png and /dev/null differ diff --git a/.config/wallpapers/debian12.png b/.config/wallpapers/debian12.png deleted file mode 100644 index a0be754..0000000 Binary files a/.config/wallpapers/debian12.png and /dev/null differ diff --git a/.config/wallpapers/lake_forest.jpg b/.config/wallpapers/lake_forest.jpg deleted file mode 100644 index 46993bb..0000000 Binary files a/.config/wallpapers/lake_forest.jpg and /dev/null differ diff --git a/.config/wallpapers/monerochan.png b/.config/wallpapers/monerochan.png deleted file mode 100644 index 282693d..0000000 Binary files a/.config/wallpapers/monerochan.png and /dev/null differ diff --git a/.config/wallpapers/mount_cook.jpg b/.config/wallpapers/mount_cook.jpg index 2bf0dd4..e008398 100644 Binary files a/.config/wallpapers/mount_cook.jpg and b/.config/wallpapers/mount_cook.jpg differ diff --git a/.config/wallpapers/nusapenida.jpg b/.config/wallpapers/nusapenida.jpg new file mode 100644 index 0000000..57b315b Binary files /dev/null and b/.config/wallpapers/nusapenida.jpg differ diff --git a/.local/aur/newsraft b/.local/aur/newsraft index d81279f..be787ff 160000 --- a/.local/aur/newsraft +++ b/.local/aur/newsraft @@ -1 +1 @@ -Subproject commit d81279f291f16487757a07a4d793d271a413a547 +Subproject commit be787ffa4852e27b1079866f615aa7d22801c01d diff --git a/.local/bin/wallpaper b/.local/bin/wallpaper new file mode 100755 index 0000000..1fab660 --- /dev/null +++ b/.local/bin/wallpaper @@ -0,0 +1,5 @@ +#!/bin/bash + +shopt -s extglob + +feh --bg-fill "$(shuf -en1 "$XDG_CONFIG_HOME/wallpapers/"!(lock.png))" --no-fehbg diff --git a/.local/bin/wow b/.local/bin/wow deleted file mode 100755 index 7fc0af9..0000000 --- a/.local/bin/wow +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -e - -env LUTRIS_SKIP_INIT=1 flatpak run net.lutris.Lutris lutris:rungameid/1 diff --git a/.xinitrc b/.xinitrc index cb16589..7f63d70 100644 --- a/.xinitrc +++ b/.xinitrc @@ -15,4 +15,6 @@ sbar & xset s 600 15 xset dpms 616 616 616 +wallpaper + exec dwm