Skip to content

Commit

Permalink
SDKFJ
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Sep 20, 2024
1 parent a62966b commit 9e0f262
Show file tree
Hide file tree
Showing 9 changed files with 149 additions and 97 deletions.
2 changes: 1 addition & 1 deletion i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@
$EXC xcompmgr -n
$EXC /usr/bin/dunst
$EXC unclutter --timeout 2 --fork
#$EXC arbtt-capture
$EXC arbtt-capture -r 30
$EXC_A $HOME/.config/polybar/launch.sh
#-------END---------------------------------------------------------------#
4 changes: 2 additions & 2 deletions i3wm/regular_bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $SF equal $B1 move container to output $MON_P
#---------------------------------------------------BINDINGS-------------------------------------------------------#
$Br a $B1 focus parent
$Br b $B1 floating toggle ; move position center
$Br c $_ exec $xmsg_script "Zathura"; mode zathura
$Br c $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' /usr/bin/env nvim -O "file:///$HOME/Desktop/Coding/WEB_BROWSER/Firefox/"*
$Br d $_ exec $dmenu_script -run
$Br e $_ layout toggle split
$Br f $_ exec $xmsg_script "Mousemove"; mode mousemove
Expand All @@ -74,7 +74,7 @@ $Br v $_ split v
$Br w $_ layout tabbed
$Br x $_ exec $monitor_script 'rotate' '$MON_1' 'right'
$Br y $_ exec $xmsg_script "Freekey"; mode freekey
$Br z $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' /usr/bin/env nvim -O "file:///$HOME/Desktop/Coding/WEB_BROWSER/Firefox/"*
$Br z $_ exec $xmsg_script "Zathura"; mode zathura

#bindsym button9 $_ exec screengrab
$Mb button9 $_ exec screengrab
Expand Down
21 changes: 11 additions & 10 deletions mimeapps.list
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@ x-scheme-handler/https=brave-browser.desktop;

[Default Applications]
#application/vnd.chess-pgn;
application/epub=zathura.desktop;
application/epub+zip=org.pwmt.zathura-pdf-mupdf.desktop;
application/epub=zathura.desktop;
application/gzip=engrampa.desktop;
application/json=nvim.desktop;
application/mobi=zathura.desktop;
application/pdf=zathura.desktop;
application/schema+json=nvim.desktop;
application/toml=nvim.desktop
application/x-ankiaddon=anki.desktop;
application/x-apkg=anki.desktop;
application/x-bittorrent=deluge.desktop;
application/x-colpkg=anki.desktop;
application/x-desktop=nvim.desktop;
application/x-extension-html=nvim.desktop;
application/x-extension-htm=nvim.desktop;
application/x-extension-html=nvim.desktop;
application/x-extension-shtml=nvim.desktop;
application/x-extension-xhtml=nvim.desktop;
application/x-extension-xht=nvim.desktop;
application/xhtml+xml=nvim.desktop;
application/x-extension-xhtml=nvim.desktop;
application/x-mimearchive=nvim.desktop;
application/xml=nvim.desktop;
application/x-mobipocket-ebook=zathura.desktop;
application/x-openzim=zim.desktop;
application/x-shellscript=nvim.desktop;
application/x-wine-extension-ini=nvim.desktop;
application/toml=nvim.desktop
application/xhtml+xml=nvim.desktop;
application/xml=nvim.desktop;
audio/AMR=mpv.desktop;
audio/aac=mpv.desktop;
audio/ac3=mpv.desktop;
audio/AMR=mpv.desktop;
audio/flac=mpv.desktop;
audio/mp2=mpv.desktop;
audio/mp4=mpv.desktop;
Expand Down Expand Up @@ -78,7 +78,7 @@ image/x-xpixmap=nsxiv.desktop;
inode/directory=thunar.desktop;
text/cpp=nvim.desktop;
text/css=nvim.desktop;
text/csv=nvim.desktop;
text/csv=visidata.desktop
text/html=nvim.desktop;
text/javascript=nvim.desktop;
text/markdown=nvim.desktop;
Expand All @@ -90,9 +90,10 @@ text/tcl=nvim.desktop;
text/vbscript=nvim.desktop;
text/vnd.trolltech.linguist=nvim.desktop;
text/x-c++hdr=nvim.desktop;
text/x-c++src=nvim.desktop;
text/x-chdr=nvim.desktop;
text/x-common-lisp=nvim.desktop
text/x-copying=nvim.desktop;
text/x-c++src=nvim.desktop;
text/x-csrc=nvim.desktop;
text/x-dsrc=nvim.desktop;
text/x-elixir=nvim.desktop;
Expand Down Expand Up @@ -130,8 +131,8 @@ video/webm=mpv.desktop;
video/x-flic=mpv.desktop;
video/x-flv=mpv.desktop;
video/x-matroska=mpv.desktop;
video/x-msvideo=mpv.desktop;
video/x-ms-wmv=mpv.desktop;
video/x-msvideo=mpv.desktop;
video/x-ogm+ogg=mpv.desktop;
video/x-theora+ogg=mpv.desktop;
x-scheme-handler/about=brave-browser.desktop;
Expand Down
11 changes: 6 additions & 5 deletions nvim/autocmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ autocmd BufNewFile,BufRead *.kalker setfiletype kalk
autocmd BufNewFile,BufRead ${HOME}/.config/i3/* setfiletype i3
autocmd BufNewFile,BufRead *.ex,*.exs setfiletype elixir

autocmd Filetype elixir setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
autocmd Filetype cpp source ${HOME}/.config/nvim/language_specific/cpp.vim
autocmd Filetype lua source ${HOME}/.config/nvim/language_specific/lua.vim
autocmd Filetype kalker source ${HOME}/.config/nvim/language_specific/kalker.vim
autocmd Filetype css source ${HOME}/.config/nvim/language_specific/css.vim
autocmd Filetype html source ${HOME}/.config/nvim/language_specific/html.vim
autocmd Filetype elixir setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
autocmd Filetype elixir source ${HOME}/.config/nvim/language_specific/elixir.vim
autocmd Filetype sh,bash source ${HOME}/.config/nvim/language_specific/bash.vim
autocmd Filetype html source ${HOME}/.config/nvim/language_specific/html.vim
autocmd Filetype kalker source ${HOME}/.config/nvim/language_specific/kalker.vim
autocmd Filetype lisp source ${HOME}/.config/nvim/language_specific/lisp.vim
autocmd Filetype lua source ${HOME}/.config/nvim/language_specific/lua.vim
autocmd Filetype markdown source ${HOME}/.config/nvim/language_specific/markdown.vim
autocmd Filetype sh,bash source ${HOME}/.config/nvim/language_specific/bash.vim
autocmd BufNewFile,BufRead ~/.bashrc source ${HOME}/.config/nvim/language_specific/bashrc.vim


Expand Down
9 changes: 5 additions & 4 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set encoding=utf-8
set formatoptions=tcqrn1
set hidden
set magic
set modelines=0
set modelines=5
set nocompatible
set nowrap
set number
Expand Down Expand Up @@ -116,6 +116,7 @@ let g:maplocalleader = ","
let g:lf_map_keys = 0
let g:html_mode = 1
let g:is_bash = 1
let g:vlime_leader = "~"

source ${HOME}/.config/nvim/autocmd.vim
source ${HOME}/.config/nvim/plugins.vim
Expand All @@ -125,11 +126,11 @@ lua require('base')

colorscheme pop-punk

source ${HOME}/.config/nvim/leader_bindings.vim
source ${HOME}/.config/nvim/etc_bindings.vim
"source ${HOME}/.config/nvim/leader_bindings.vim
"source ${HOME}/.config/nvim/etc_bindings.vim

lua require('functions')
lua require("mappings")
lua require('mappings')

:call CorrectColors()

Expand Down
3 changes: 3 additions & 0 deletions nvim/language_specific/lisp.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

nnoremap <buffer> <leader>x :!sbcl --script "%"<CR>
nnoremap <buffer> <leader>W :w<CR>
2 changes: 1 addition & 1 deletion nvim/lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ which_key.setup({
},
layout = {
height = { min = 4, max = 50 }, -- min and max height of the columns
width = { min = 4, max = 20 }, -- min and max width of the columns
width = { min = 4, max = 40 }, -- min and max width of the columns
spacing = 1, -- spacing between columns
align = "left", -- align columns left, center or right
},
Expand Down
Loading

0 comments on commit 9e0f262

Please sign in to comment.