diff --git a/i3wm/config b/i3wm/config index af83a0d..8310965 100755 --- a/i3wm/config +++ b/i3wm/config @@ -15,6 +15,7 @@ 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 diff --git a/i3wm/modes.conf b/i3wm/modes.conf index 72718ea..aeac6fa 100644 --- a/i3wm/modes.conf +++ b/i3wm/modes.conf @@ -182,19 +182,15 @@ mode "mpv" { } mode "zathura" { - bindsym d exec $zathura_script '-d' - bindsym h exec $zathura_script '-h' bindsym g exec $zathura_script '-g' - bindsym o exec $zathura_script '-o' + bindsym d exec $zathura_script '-d' 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 Shift+minus exec $zathura_script '-p-' + 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 Shift+equal exec $zathura_script '-p+' + bindsym equal exec $zathura_script '-p+' bindsym $mod+Escape $mode_be_default bindsym Escape $mode_be_default @@ -210,10 +206,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_script -O ; $mode_be_default + bindsym z exec $zathura_recent ; $mode_be_default bindsym Shift+r exec rofi -show drun ; $mode_be_default - bindsym Shift+z exec $zathura_script -H ; $mode_be_default + bindsym Shift+z exec $zathura_recent '-a' ; $mode_be_default bindsym Escape $mode_be_default } diff --git a/i3wm/regular_bindings.conf b/i3wm/regular_bindings.conf index 6cb4d92..f8a1d6e 100644 --- a/i3wm/regular_bindings.conf +++ b/i3wm/regular_bindings.conf @@ -109,9 +109,6 @@ $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 @@ -119,11 +116,13 @@ $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" @@ -132,6 +131,7 @@ $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 diff --git a/nvim/lua/base.lua b/nvim/lua/base.lua index 36317fe..25a12ec 100644 --- a/nvim/lua/base.lua +++ b/nvim/lua/base.lua @@ -310,25 +310,8 @@ lspconfig.pyright.setup({ capabilities = cmp_capabilities, }) --- 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.ccls.setup({}) + -- lspconfig.elixirls.setup{ -- credo = { enable = false }, -- cmd = { "/usr/lib/elixir-ls/language_server.sh" }, diff --git a/polybar/config.ini b/polybar/config.ini new file mode 120000 index 0000000..b3b8fd5 --- /dev/null +++ b/polybar/config.ini @@ -0,0 +1 @@ +/home/maceurt/.config/polybar/configs//config_g.ini \ No newline at end of file diff --git a/polybar/configs/backup/2023_03_05__22_26_config_polybar.ini b/polybar/configs/backup/2023_03_05__22_26_config_polybar.ini new file mode 100755 index 0000000..97e0d6d --- /dev/null +++ b/polybar/configs/backup/2023_03_05__22_26_config_polybar.ini @@ -0,0 +1,231 @@ + +;modules-left = i3 ;modules-right = temp1 memory cpu pulseaudio ;modules-right = filesystem pulseaudio xkeyboard memory cpu eth battery temperature date powermenu +[colors] + zbackground = #111111 + nbackground = #000000 + border-color = #000000 + foreground = #000044 + background-alt = #000000 + foreground-alt = #000000 + primary = #000088 + secondary = #00AAFF + alert = #FF0000 + + + temp1 = #EEEEEE + temp2 = #EEEEEE + mem1fore = #999999 + mem1back = #000000 + cpu1 = #EEEEEE + pulse1 = #999999 + + white = #999999 + black = #000000 + separator_foreground = #999999 + separator_background = #00FF00 + time_est_background = #000000 + time_est_foreground = #AA4400 + + spot_label_foreground = #BBBBBB + spot_label_background = #000000 + spot_format_prefix_foreground = #444444 + spot_format_prefix_background = #000000 + + volume_foreground = #000000 + xwindow_foreground = #0099FF + +;---------------------------------------------------------i3-colors +;i3bgl_f_in = #FF333333 +;i3bgl_vis_uf = #FF333333 +;i3bgl_uf = #FF333333 + i3fgl_f_in = #00FF00 + i3fgl_vis_uf = #007000 + i3fgl_uf = #D0D0D0 + i3fgl_uf_urgent = #FF0000 +;------------------------------------------------------------------ +[settings] + screenchange-reload = true + transparency = false +; compositing-background = xor +; compositing-background = screen +; compositing-foreground = source +; compositing-border = under + +[bar/basicbar] +;------------------_FONTS_-------------------; + font-0 = TerminessTTF Nerd Font Mono:style=Bold:antialias=true:pixelsize=13;3 +;------------------_COLOR_------------------; + +;separator-foreground = ${colors.separator_foreground} +;separator-background = ${colors.separator_background} +;separator = " | " + background = ${colors.zbackground} + foreground = ${colors.foreground} + background-alt = ${colors.background-alt} + foreground-alt = ${colors.background-alt} + primary = #ffb52a + secondary = #060033 + line-color = #f00000 + alert = #bd2c40 +; module-background-color = ${colors.nbackground} +;------------------_POSITION_---------------; +; offset-x = 70% +; width = 30% + bottom = false + offset-y = 0px + height = 18px +;------------------_MARGIN-PADDING_---------; + padding-left = 1 + padding-right = 1 + border-size = 2 + border-color = ${colors.zbackground} + module-margin-left = 1 + module-margin-right = 1 +;-----------------_GENERAL_----------------; + override-redirect = false + fixed-center = true + enable-ipc = true + line-size = 10 + monitor = ${env:MONITOR:} + scroll-up = i3wm-wsnext + scroll-down = i3wm-wsprev + cursor-click = pointer + cursor-scroll = ns-resize +;------------------_MODULE_-----------------; + modules-left = silver_spot gold_spot + modules-center = TimeEST i3 + modules-right = memory pulseaudio + +[module/i3] + background = ${colors.nbackground} + type = internal/i3 + ws-icon-0 = 1;1 + ws-icon-1 = 2;2 + ws-icon-2 = 3;3 + ws-icon-3 = 4;4 + ws-icon-4 = 5;5 + ws-icon-5 = 6;6 + ws-icon-6 = 7;7 + ws-icon-7 = 8;8 + ws-icon-8 = 9;9 + ws-icon-9 = 9;9 + ws-icon-10 = 10;0 + ws-icon-11 = 11;[ + ws-icon-12 = 12;] + ws-icon-13 = 13;a + ws-icon-14 = 14;b + border-size = 0 +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + border-color = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + format-prefix-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + format-postfix-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-separator-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-urgent-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-focused-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-visible-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-unfocused-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-mode-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-focused-inactive-background = ${colors.nbackground} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-mode-foreground = ${colors.i3fgl_f_in} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-focused-foreground = ${colors.i3fgl_f_in} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-visible-foreground = ${colors.i3fgl_vis_uf} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-urgent-foreground = ${colors.i3fgl_uf_urgent} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-unfocused-foreground = ${colors.i3fgl_uf} +;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + label-mode = %mode% + label-focused = "%icon%" + label-visible = "%icon%" + label-unfocused ="%icon%" + label-urgent = "%icon%" +; format = + format = +; margin = 3 + index-sort = false + wrapping-scroll = false + pin-workspaces = true + label-focused-padding = 10px + label-unfocused-padding = 10px + label-visible-padding = 10px + label-urgent-padding = 10px + +[module/TimeEST] + type = custom/script + interval = 1 + exec = TZ=America/Indiana/Indianapolis date +" %-l:%M%p/%A/%b/%d " + label-foreground = ${colors.time_est_foreground} + label-background = ${colors.time_est_background} + label-padding = 0 + +[module/xwindow] + type = internal/xwindow + label = " %title:0:65: ...% " + label-foreground = ${colors.xwindow_foreground} + +[module/silver_spot] + type = custom/script + exec = /usr/bin/bash $HOME/.config/polybar/my_modules/polybar_spot_price.sh "AG" + format-prefix = " [ag]" + interval = 1800 + tail = false + + format-prefix-background = ${colors.spot_format_prefix_background} + format-prefix-foreground = ${colors.spot_format_prefix_foreground} + label-foreground = ${colors.spot_label_foreground} + label-background = ${colors.spot_label_background} + label-padding-left = 0 + label-padding-right = 12px + +[module/gold_spot] + type = custom/script + format-prefix = " [au]" + format-postfix = " " + format = "