Skip to content

Commit

Permalink
Revert "KJF"
Browse files Browse the repository at this point in the history
This reverts commit 8ed2d09.
  • Loading branch information
ediw8311xht committed Sep 7, 2024
1 parent 8ed2d09 commit 5b0f41c
Show file tree
Hide file tree
Showing 9 changed files with 126,352 additions and 38 deletions.
1 change: 1 addition & 0 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 8 additions & 12 deletions i3wm/modes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

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,21 +109,20 @@ $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 @@ -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
Expand Down
21 changes: 2 additions & 19 deletions nvim/lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
1 change: 1 addition & 0 deletions polybar/config.ini
231 changes: 231 additions & 0 deletions polybar/configs/backup/2023_03_05__22_26_config_polybar.ini
Original file line number Diff line number Diff line change
@@ -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 = <label-state> <label-mode>
format = <label-state>
; 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 = " <label> "
format-padding = 2

exec = /usr/bin/bash $HOME/.config/polybar/my_modules/polybar_spot_price.sh "AU"
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/pulseaudio]
type = internal/pulseaudio

; format-volume = <label-volume> <bar-volume>
format-volume = <label-volume>
label-volume = " %percentage%% "
label-volume-foreground = ${colors.white}
label-volume-background = ${colors.black}

label-muted = muted
label-muted-foreground = #FF0000

[module/memory]
type = internal/memory
interval = 2
format-prefix-foreground = ${colors.mem1}
format-postfix-foreground = ${colors.mem1}
label-foreground = ${colors.mem1fore}
label-background = ${colors.mem1back}
;format-underline = #00AA00
label = [ %gb_used% ]

1 change: 1 addition & 0 deletions polybar/my_modules/polybar_spot_price.sh
Loading

0 comments on commit 5b0f41c

Please sign in to comment.