Skip to content

Commit

Permalink
j
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Sep 4, 2024
1 parent 597ef38 commit 9732555
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 17 deletions.
1 change: 0 additions & 1 deletion i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
set $balance_workspace $HOME/.local/bin/i3_balance_workspace
set $polybar_script $HOME/bin/polybar_manipulate.sh
set $xmsg_script $HOME/bin/xmsg_quick.sh
set $zathura_recent $HOME/bin/zathura_recent.sh
#-------------------------------------------------SPECIAL-BINDS-----------#
#sticky toggle
set $scratchpad_default floating enable, move scratchpad, scratchpad show, move position center
Expand Down
20 changes: 12 additions & 8 deletions i3wm/modes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,19 @@ mode "mpv" {
}

mode "zathura" {
bindsym g exec $zathura_script '-g'
bindsym d exec $zathura_script '-d'
bindsym r exec $zathura_script '-r'
bindsym h exec $zathura_script '-h'
bindsym g exec $zathura_script '-g'
bindsym o exec $zathura_script '-o'
bindsym Shift+o exec $zathura_script '-O'
bindsym Shift+minus exec $zathura_script '-p-'
bindsym minus exec $zathura_script '-p-'
bindsym r exec $zathura_script '-r'

bindsym Shift+greater exec $zathura_script '-p+'
bindsym Shift+less exec $zathura_script '-p-'

bindsym Shift+h exec $zathura_script '-H'
bindsym Shift+equal exec $zathura_script '-p+'
bindsym equal exec $zathura_script '-p+'
bindsym Shift+minus exec $zathura_script '-p-'
bindsym Shift+o exec $zathura_script '-O'

bindsym $mod+Escape $mode_be_default
bindsym Escape $mode_be_default
Expand All @@ -206,10 +210,10 @@ mode "run_program" {
bindsym r exec rnote ; $mode_be_default
bindsym t exec thunar ; $mode_be_default
bindsym y exec freetube ; $mode_be_default
bindsym z exec $zathura_recent ; $mode_be_default
bindsym z exec $zathura_script -O ; $mode_be_default

bindsym Shift+r exec rofi -show drun ; $mode_be_default
bindsym Shift+z exec $zathura_recent '-a' ; $mode_be_default
bindsym Shift+z exec $zathura_script -H ; $mode_be_default
bindsym Escape $mode_be_default
}

Expand Down
6 changes: 3 additions & 3 deletions i3wm/regular_bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,21 @@ $Br Down $_ exec "pulseaudio-ctl 'down' || pamixer --decrease 1"
$Br minus $_ exec $refresh_script --hard "$BROWSER"
$Br period $_ gaps inner all toggle $IN_GAPS, gaps bottom all toggle $BOT_GAPS, gaps left all toggle $L_GAPS, gaps top all toggle $TOP_GAPS, gaps right all toggle $R_GAPS
#$Br Return $_ exec /usr/local/bin/st
$SF greater $_ exec $zathura_script -p+
$SF less $_ exec $zathura_script -p-

$Br Return $_ exec /usr/bin/kitty
$Br slash $_ exec $xmsg_script "Polymove"; mode polymove
$Br space $B1 focus mode_toggle
$SF Up $_ exec $wallpaper_script "UP"
$SF Insert $_ exec $wallpaper_script --pargs --focus
$SF Home $_ exec $wallpaper_script --pargs --tile
$SF End $_ exec $wallpaper_script --pargs --zoom
$SF greater $_ exec $zathura_script -p+
$SF Delete $_ exec $wallpaper_script --pargs --maximize
$SF Down $_ exec $wallpaper_script "DOWN"
$SF Next $_ exec $wallpaper_script --pargs --center
$SF minus $_ exec /bin/qutebrowser ":reload"
$SF Left $_ exec $wallpaper_script "LEFT"
$SF less $_ exec $zathura_script -p-
$SF Prior $_ exec $wallpaper_script --pargs --no-randr
$SF Return $_ exec /usr/bin/brave
$SF Right $_ exec $wallpaper_script "RIGHT"
Expand All @@ -131,7 +132,6 @@ $SF slash $_ exec $zathura_script -d
$SF_CTRL greater $_ gaps inner all plus 10
$SF_CTRL less $_ gaps inner all minus 10
$SF_CTRL minus $_ exec $refresh_script "$BROWSER"
$SF_CTRL slash $_ exec $zathura_script -g
#---------------------------------------------------END------------------------------------------------------------#
#$SF Menu $_ exec $emacs_script -n
#$SF_CTRL Menu $_ exec $emacs_script -r
Expand Down
21 changes: 19 additions & 2 deletions nvim/lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,25 @@ lspconfig.pyright.setup({
capabilities = cmp_capabilities,
})

lspconfig.ccls.setup({})

-- lspconfig.clangd.setup({
-- cmd = {'clangd', '--background-index', '--compile-commands-dir', 'D:/systemc/excersies/build'},
-- init_options = {
-- clangdFileStatus = true,
-- clangdSemanticHighlighting = true
-- },
-- filetypes = {'c', 'cpp', 'cxx', 'cc'},
-- root_dir = function() vim.fn.getcwd() end,
-- settings = {
-- ['clangd'] = {
-- ['compilationDatabasePath'] = 'build',
-- ['fallbackFlags'] = {'-std=c++17'}
-- }
-- }
-- })
lspconfig.ccls.setup({
filetypes = {"c", "cpp"},
})
-- lspconfig.sourcekit.setup({})
-- lspconfig.elixirls.setup{
-- credo = { enable = false },
-- cmd = { "/usr/lib/elixir-ls/language_server.sh" },
Expand Down
7 changes: 4 additions & 3 deletions zathura/zathurarc
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
#---------------------------------------#
#----MAPPINGS----------------CTRL-------#
#---------------------------------------#
map <C--> adjust_window best-fit
map <C-_> adjust_window best-fit
map <C-+> adjust_window width
map <C--> adjust_window best-fit
map <C-=> adjust_window width
map <C-b> feedkeys ':blist quickbookmark<Return>'
map <C-_> adjust_window best-fit
map <C-B> feedkeys ':bmark quickbookmark<Return>'
map <C-b> feedkeys ':blist quickbookmark<Return>'
map <C-g> feedkeys ':bjump quickbookmark<Return>'
map <C-h> toggle_statusbar
map <C-j> navigate 'next'
map <C-k> navigate 'previous'
Expand Down

0 comments on commit 9732555

Please sign in to comment.