diff --git a/.bashrc b/.bashrc index ada6f2d..c575468 100644 --- a/.bashrc +++ b/.bashrc @@ -125,9 +125,8 @@ export VISUAL="nvim" export EDITOR="nvim" export PGHOST="localhost" export SQLITE_HISTORY="/home/naiji/.local/share/sqlite3/.sqlite_history" -alias nano="echo 'STOP! USE NVIM YOU MONKEYBRAIN STOP BREATHING MANUALLY JUST STOP'" -alias vscode="echo 'I WILL KILL YOU RIGHT NOW'" alias vim="nvim" alias nsxiv="nsxiv -ap" alias cal="cal -3 -m" alias fzvim=". fzvim" +alias stuff="neofetch && date && cal && cat ~/.local/share/i3status/notes" diff --git a/.config/i3/config b/.config/i3/config index ce7278e..e7402a5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -148,10 +148,6 @@ exec --no-startup-id qbittorrent exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor -exec --no-startup-id element-desktop -exec --no-startup-id telegram-desktop -exec --no-startup-id slack - exec_always xwallpaper --no-randr --maximize /home/naiji/.local/share/backgrounds/wallpaper.png # Resizing windows by 10 in i3 using keyboard only @@ -223,18 +219,31 @@ mode "$mode_ffmpeg" { } bindsym $mod+Shift+M mode "$mode_music" -set $mode_music (u)pdate music, (s)ingle, (r)andom, r(e)peat +set $mode_music (u)pdate music, (s)ingle, (r)andom, r(e)peat, (k)start radio, (l)stop radio mode "$mode_music" { - bindsym u exec //home/naiji/.local/bin/media-util mpc update && home/naiji/.local/bin/media-util mpc update, mode "default" + bindsym u exec /home/naiji/.local/bin/media-util mpc update && home/naiji/.local/bin/media-util mpc update, mode "default" bindsym s exec /home/naiji/.local/bin/media-util mpc single && notify-send -e -t 1000 -i music "Single mode" "$(mpc status %single%)", mode "default" bindsym r exec /home/naiji/.local/bin/media-util mpc random && notify-send -e -t 1000 -i music "Random mode" "$(mpc status %random%)", mode "default" bindsym e exec /home/naiji/.local/bin/media-util mpc repeat && notify-send -e -t 1000 -i music "Repeat mode" "$(mpc status %repeat%)", mode "default" + bindsym l exec /home/naiji/.local/bin/radio stop, mode "default" + bindsym k exec /home/naiji/.local/bin/radio start, mode "default" # exit system mode: "Enter" or "Escape" bindsym Return mode "default" bindsym Escape mode "default" } +bindsym $mod+Shift+B mode "$mode_explorer" +set $mode_explorer (b)ooks, (y)outube, (m)ovies +mode "$mode_explorer" { + bindsym m exec /home/naiji/.local/bin/dexplorer movies, mode "default" + bindsym y exec /home/naiji/.local/bin/dexplorer youtube, mode "default" + bindsym b exec /home/naiji/.local/bin/dexplorer books, mode "default" + + # exit system mode: "Enter" or "Escape" + bindsym Return mode "default" + bindsym Escape mode "default" +} bindsym $mod+Print exec --no-startup-id maim -s | xclip -selection clipboard -t image/png -i bindsym Print exec --no-startup-id maim | xclip -selection clipboard -t image/png -i diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 54d0737..aff8c56 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -5,6 +5,8 @@ image/webp=nsxiv.desktop image/gif=nsxiv.desktop audio/flac=mpv.desktop application/pdf=org.pwmt.zathura-pdf-mupdf.desktop +audio/x-opus+ogg=mpv.desktop +image/bmp=nsxiv.desktop [Added Associations] image/png=nsxiv.desktop; @@ -13,4 +15,6 @@ image/jpeg=nsxiv.desktop; image/gif=nsxiv.desktop; audio/flac=mpv.desktop; inode/directory=mpv.desktop; -application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; +application/pdf=scribus.desktop;org.pwmt.zathura-pdf-mupdf.desktop; +audio/x-opus+ogg=mpv.desktop; +image/bmp=nsxiv.desktop; diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 43b5bd4..cedba8f 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -12,6 +12,8 @@ vim.g.have_nerd_font = false -- NOTE: You can change these options as you wish! -- For more options, you can see `:help option-list` +vim.g.loaded_netrwPlugin = 0 + -- Make line numbers default vim.opt.number = true -- You can also add relative line numbers, to help with jumping. @@ -269,6 +271,10 @@ require("lazy").setup({ -- }, -- pickers = {} extensions = { + file_browser = { + theme = "ivy", + hijack_netrw = true, + }, ["ui-select"] = { require("telescope.themes").get_dropdown(), }, diff --git a/.config/nvim/lua/kickstart/plugins/debug.lua b/.config/nvim/lua/kickstart/plugins/debug.lua index 8ecd127..60ddfc2 100644 --- a/.config/nvim/lua/kickstart/plugins/debug.lua +++ b/.config/nvim/lua/kickstart/plugins/debug.lua @@ -58,24 +58,6 @@ return { }, } - dap.adapters.gdb = { - type = "executable", - command = "gdb", - args = { "-i", "dap" }, - } - dap.configurations.c = { - { - name = "Launch", - type = "gdb", - request = "launch", - program = function() - return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/a.out") - end, - cwd = "${workspaceFolder}", - stopAtBeginningOfMainSubprogram = false, - }, - } - require("mason-nvim-dap").setup({ automatic_setup = true, handlers = {}, diff --git a/.local/bin/dexplorer b/.local/bin/dexplorer new file mode 100755 index 0000000..d28f9b2 --- /dev/null +++ b/.local/bin/dexplorer @@ -0,0 +1,5 @@ +#!/bin/bash + +[ $1 == "books" ] && zathura "$(find ~/Mounts/hdd2/Books/ -type f | dmenu)"; +[ $1 == "youtube" ] && mpv "$(find ~/Mounts/hdd2/YouTube/ -type f | dmenu)"; +[ $1 == "movies" ] && mpv "$(find ~/Mounts/hdd2/Movies\ \&\ Series/ -type f | dmenu)"; diff --git a/.local/bin/radio b/.local/bin/radio new file mode 100755 index 0000000..7419342 --- /dev/null +++ b/.local/bin/radio @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ $1 == "start" ] +then + mpv https://ycradio.stream.publicradio.org/ycradio.aac & + echo "$!" > ~/.local/share/mpv/radio +elif [ $1 == "stop" ] +then + kill $(cat ~/.local/share/mpv/radio) +fi diff --git a/.local/share/backgrounds/full.png b/.local/share/backgrounds/full.png index caab684..f5d5531 100644 Binary files a/.local/share/backgrounds/full.png and b/.local/share/backgrounds/full.png differ diff --git a/.local/share/backgrounds/wallpaper.png b/.local/share/backgrounds/wallpaper.png index 4d4fd8a..8a4476a 100644 Binary files a/.local/share/backgrounds/wallpaper.png and b/.local/share/backgrounds/wallpaper.png differ diff --git a/.newsboat/urls b/.newsboat/urls index b1c7fd2..50f5d8f 100644 --- a/.newsboat/urls +++ b/.newsboat/urls @@ -1,24 +1,6 @@ -https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app.rss +https://www.freelists.org/feed/i3-announce https://archlinux.org/feeds/news/ -https://www.kaspersky.com/blog/feed/ -https://openai.com/blog/rss.xml -https://odysee.com/$/rss/@AlphaNerd:8 -https://pleroma.social/announcements/feed.xml https://pencil.toast.cafe/yu-gi-oh-colors/feed/ https://pencil.toast.cafe/bunker-labs/feed/ -https://soatok.blog/feed/ -https://xkcd.com/rss.xml -https://www.dosgameclub.com/feed/ -https://emersion.fr/blog/atom.xml -https://gideonwolfe.com/index.xml -https://lunaticobscurity.blogspot.com/feeds/posts/default -https://feeds.feedburner.com/martinkl -https://one-from-nippon.ghost.io/rss/ -https://nyxt-browser.com/feed -https://stonetoss.com/comic/feed/ -https://dudemanguy.github.io/blog/rss.xml -https://soranews24.com/feed/ https://selfprivacy.org/blog/index.xml https://lukesmith.xyz/index.xml -https://www.freelists.org/feed/i3-announce -https://the.waifuism.life/index.xml