This commit is contained in:
NaiJi ✨ 2024-07-29 21:18:04 +04:00
parent 004c8d6298
commit bdc97d2bf0
10 changed files with 43 additions and 46 deletions

View File

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

View File

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

View File

@ -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;

View File

@ -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(),
},

View File

@ -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 = {},

5
.local/bin/dexplorer Executable file
View File

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

10
.local/bin/radio Executable file
View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

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