Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Nov 20, 2023
1 parent 94b5ea8 commit 5a8966a
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 120 deletions.
57 changes: 10 additions & 47 deletions bash/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
#
#-If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color="auto" '
alias grep='grep --colour="auto" '

#-SPECIAL
alias ls='ls --color="auto" '
alias grep='grep --colour="auto" '
alias systemctl='systemctl --no-pager'
#PS0='$(pwd)\n'
#PS0+='\e[0 q'
#INSERT='$(echo "${PWD/~/\~}" | perl -pe '\''s/^(\/[^\/]*|~)[\/]\K.*(?=\/[^\/]*$)/../g'\'')'
Expand Down Expand Up @@ -200,7 +203,7 @@ alias tjs=' cj; python manage.py test'
# -----------------------------------------------------------
# ----- ONE LETTER <LOWER>
# -----------------------------------------------------------
alias systemctl='systemctl --no-pager'
alias ptc=' pactree --color' #Pacman Dependencies
alias a=' get_alias_fzf'
alias b=' cd "$HOME/bin/"'
alias c=' cd ..'
Expand Down Expand Up @@ -361,6 +364,8 @@ alias grspac=' expac -HM "%m %n" | sort -n | grep -i' # Size of packages pa
alias sct=' nohup scrcpy & disown; exit'
alias ezchmod=' chmod og-rwx -R .'
alias csq=' mount | grep -i squash; mount | grep -i overlay'
alias jweb="/usr/lib/jvm/java-19-openjdk/bin/jwebserver"
alias pacdneed='pacman -Qet'

#---------------------------------------------------------------------- #
#-QUICK-ADDED-ALIASES #
Expand Down Expand Up @@ -431,8 +436,6 @@ set -o vi
#---------------------------------------------------------------------- #
#-END #
#---------------------------------------------------------------------- #
alias jweb="/usr/lib/jvm/java-19-openjdk/bin/jwebserver"
alias pacdneed='pacman -Qet'

alias szof=" du -axhc --time --max-depth=1 | grep -Pv '^0[ \t]' | sort -h"
alias szofall=' du -ahc --time --max-depth=1'
Expand Down Expand Up @@ -461,7 +464,6 @@ alias yayfiles=' pacman -Qql'
alias yaysel=' yay -Qs'
alias yayfrom=' yay -Qo'
alias springmr=' mvn spring-boot:run'

alias rqs=' (read _a ; yay -Qi "${_a}" | grep -Pi "^[ \t]*(Required[ \t]*By|Optional[ \t]*For)" | grep -Pio "(.*[:]|[ \t]*[^ \t]*)") <<< '
alias pqs=' (read _a ; yay -Qi "${_a}" | grep -Pi "^[ \t]*Depends[ \t]*On" | grep -Pio "(.*[:]|[ \t]*[^ \t]*)") <<< '
alias opqs=' (read _a ; yay -Qi "${_a}" | grep -Pi "^[ \t]*Optional[ \t]Deps*" | grep -Pio "(.*[:]|[ \t]*[^ \t]*)") <<< '
Expand Down Expand Up @@ -491,51 +493,12 @@ alias nvgr=' (echo ""; read -r _z; grep -Pri "${_z}" "$HOME/.config/nvim/
alias i3gr=' (echo ""; read -r _z; grep -Pri "${_z}" "$HOME/.config/i3/") <<< '
alias vid=' open_mpv'
alias vic=' open_mpv -close'

alias pipsl=' pip list | grep -i'
alias pip3sl=' pip3 list | grep -i'
alias pyac=' source *env*/bin/activate'
alias pyde=' deactivate'
















alias killun='killall at-spi2-registryd; killall at-spi2-bus-launcher; killall at-spi-registryd; killall at-spi-bus-launcher; killall tumblerd'








alias flip_images='mogrify -rotate 180 *.jpg'














alias flip_img=' mogrify -rotate 180 *.jpg'
alias killun=' killall at-spi2-registryd; killall at-spi2-bus-launcher; killall at-spi-registryd; killall at-spi-bus-launcher; killall tumblerd'



69 changes: 28 additions & 41 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#---------------------------------------------------------------------|
# i3 config file (v4)
#-------------------------------------------------SPECIAL-BINDS-----------#
#set $focuse_BORD #004f98
#sticky toggle
set $mode_be exec killall xmessage ; mode
set $xm_hd exec $HOME/bin/xmsg_quick.sh
Expand All @@ -21,26 +20,21 @@
set $SF_CTRL bindsym Mod1+Shift+Ctrl
set $EXC exec --no-startup-id
set $EXC_A exec_always --no-startup-id
set $BORDER_PIXEL_DEFAULT pixel 2
set $BORDER_PIXEL_TILING pixel 2
set $BORDER_PIXEL_FLOATING pixel 2
set $BORDER_PIXEL_SCRATCHPAD pixel 2
set $BORDER_PIXEL pixel 2
set $B1 ;
set $B2 ;
set $_ ;
set $- #000000
set $focuse_TEXT #FFFFFF
set $inacti_TEXT #888888
set $unfocu_TEXT #888888
#set $focuse_BORD #005500

set $focuse_BORD #004f98
set $inacti_BORD #999999
set $unfocu_BORD #444444

#set $focuse_BORD #004f98
set $focuse_BORD #0088FF
set $inacti_BORD #000000
set $unfocu_BORD #333333
set $focuse_TBAR #004f98
set $inacti_TBAR #999999
set $unfocu_TBAR #444444
set $inacti_TBAR #000000
set $unfocu_TBAR #333333
#-------------------------------------------------RESOURCES---------------#
#-----LEFT_MONITOR-----------------------------------#
set_from_resource $MON_1 i3wm.monitor1 DVI-D-1
Expand All @@ -49,12 +43,12 @@
#----RIGHT_MONITOR-----------------------------------#
set_from_resource $MON_3 i3wm.monitor3 DVI-D-1
#----GAPS--------------------------------------------#
set_from_resource $IN_GAPS i3wm.IN_GAPS 10
set_from_resource $OUT_GAPS i3wm.OUT_GAPS 5
set_from_resource $TOP_GAPS i3wm.TOP_GAPS 0
set_from_resource $BOT_GAPS i3wm.BOP_GAPS 0
set_from_resource $R_GAPS i3wm.R_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
set_from_resource $IN_GAPS i3wm.IN_GAPS 0
set_from_resource $OUT_GAPS i3wm.OUT_GAPS 0
set_from_resource $TOP_GAPS i3wm.TOP_GAPS 0
set_from_resource $BOT_GAPS i3wm.BOP_GAPS 0
set_from_resource $R_GAPS i3wm.R_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
#-------WORKSPACES--------------------------------------------------------#
#-------------------------------LEFT--------#
workspace 1 output $MON_1
Expand All @@ -79,24 +73,25 @@
focus_follows_mouse yes
floating_maximum_size 1920 x 1080
font pango:Monospace 7
#default_border $BORDER_PIXEL_DEFAULT
default_border $BORDER_PIXEL
#---GAPS------------------------------------------#
gaps inner $IN_GAPS
gaps outer $OUT_GAPS
gaps top $TOP_GAPS
gaps bottom $BOT_GAPS
gaps right $R_GAPS
gaps left $L_GAPS
gaps inner 0
gaps outer 0
gaps top 0
gaps bottom 0
gaps right 0
gaps left 0
#---Class-----------------------Border----------Background------Text------------Indicator-------ChildBorder----#
client.focused $focuse_TBAR $focuse_TBAR $focuse_TEXT $focuse_BORD $focuse_BORD
client.focused_inactive $inacti_TBAR $inacti_TBAR $inacti_TEXT $inacti_BORD $inacti_BORD
client.unfocused $unfocu_TBAR $unfocu_TBAR $unfocu_TEXT $unfocu_BORD $unfocu_BORD
client.focused $focuse_TBAR $focuse_TBAR $focuse_TEXT $focuse_TBAR $focuse_BORD
client.focused_inactive $inacti_TBAR $inacti_TBAR $inacti_TEXT $inacti_TBAR $inacti_BORD
client.unfocused $unfocu_TBAR $unfocu_TBAR $unfocu_TEXT $unfocu_TBAR $unfocu_BORD
client.focused_tab_title $- $- #000cc2
client.background $-
#-------------------------------------------------------INCLUDE-----------#
# for_window set border before release_border if you want to include
#for_window [all] border $BORDER_PIXEL
# --------- ("release_border_i3wm.conf") needs to be included before others.
#include release_border_i3wm.conf
include release_border_i3wm.conf
#include bar_bar.conf
include regular_bindings_i3wm.conf
include modes_i3wm.conf
Expand All @@ -118,22 +113,15 @@
for_window [window_role="bubble"] floating enable, move position center
for_window [window_type="dialog"] floating enable, move position center
for_window [window_type="popup_menu"] floating enable, move position center
#-------SPECIAL-XMESSAGE-----------#
for_window [class="Xmessage"] floating enable
no_focus [class="Xmessage"]
#-------TITLE----------------------#
for_window [all] title_window_icon no
for_window [all] title_format "<big><big><big><span background='#000000' rise='7pt'> <small><small>%title</small></small> </span></big></big></big>"
#-------BORDER---------------------#
for_window [tiling] border $BORDER_PIXEL_TILING
for_window [floating] border $BORDER_PIXEL_FLOATING
for_window [all] title_window_icon no
for_window [all] title_format "<big><big><big><span background='#000000' rise='7pt'> <small><small>%title</small></small> </span></big></big></big>"
floating_minimum_size 100 x 100
#focus_on_window_activation focus
#for_window [scratchpad] border $BORDER_PIXEL_FLOATING
#for_window [scratchpad] border pixel $BORDER_PIXEL_SCRATCHPAD
#---------------------------------------------------------EXECS-----------#
$EXC xcmenu
$EXC xcompmgr -C
#$EXC xcompmgr -C
$EXC /usr/bin/dunst
$EXC unclutter --timeout 2 --fork
$EXC_A $HOME/.config/polybar/launch.sh
Expand All @@ -145,4 +133,3 @@
#-------END---------------------------------------------------------------#
#for_window [floating] resize set $WSW $WSH, move position center
#for_window [class="i3*input"] resize set 1000 1000

67 changes: 40 additions & 27 deletions i3wm/config_SWAP
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#---------------------------------------------------------------------|
# i3 config file (v4)
#-------------------------------------------------SPECIAL-BINDS-----------#
#set $focuse_BORD #004f98
#sticky toggle
set $mode_be exec killall xmessage ; mode
set $xm_hd exec $HOME/bin/xmsg_quick.sh
Expand All @@ -20,21 +21,26 @@
set $SF_CTRL bindsym Mod1+Shift+Ctrl
set $EXC exec --no-startup-id
set $EXC_A exec_always --no-startup-id
set $BORDER_PIXEL pixel 2
set $BORDER_PIXEL_DEFAULT pixel 2
set $BORDER_PIXEL_TILING pixel 2
set $BORDER_PIXEL_FLOATING pixel 2
set $BORDER_PIXEL_SCRATCHPAD pixel 2
set $B1 ;
set $B2 ;
set $_ ;
set $- #000000
set $focuse_TEXT #FFFFFF
set $inacti_TEXT #888888
set $unfocu_TEXT #888888
#set $focuse_BORD #004f98
set $focuse_BORD #0088FF
set $inacti_BORD #000000
set $unfocu_BORD #333333
#set $focuse_BORD #005500

set $focuse_BORD #004f98
set $inacti_BORD #999999
set $unfocu_BORD #444444

set $focuse_TBAR #004f98
set $inacti_TBAR #000000
set $unfocu_TBAR #333333
set $inacti_TBAR #999999
set $unfocu_TBAR #444444
#-------------------------------------------------RESOURCES---------------#
#-----LEFT_MONITOR-----------------------------------#
set_from_resource $MON_1 i3wm.monitor1 DVI-D-1
Expand All @@ -43,12 +49,12 @@
#----RIGHT_MONITOR-----------------------------------#
set_from_resource $MON_3 i3wm.monitor3 DVI-D-1
#----GAPS--------------------------------------------#
set_from_resource $IN_GAPS i3wm.IN_GAPS 0
set_from_resource $OUT_GAPS i3wm.OUT_GAPS 0
set_from_resource $TOP_GAPS i3wm.TOP_GAPS 0
set_from_resource $BOT_GAPS i3wm.BOP_GAPS 0
set_from_resource $R_GAPS i3wm.R_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
set_from_resource $IN_GAPS i3wm.IN_GAPS 10
set_from_resource $OUT_GAPS i3wm.OUT_GAPS 5
set_from_resource $TOP_GAPS i3wm.TOP_GAPS 0
set_from_resource $BOT_GAPS i3wm.BOP_GAPS 0
set_from_resource $R_GAPS i3wm.R_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
#-------WORKSPACES--------------------------------------------------------#
#-------------------------------LEFT--------#
workspace 1 output $MON_1
Expand All @@ -73,25 +79,24 @@
focus_follows_mouse yes
floating_maximum_size 1920 x 1080
font pango:Monospace 7
default_border $BORDER_PIXEL
#default_border $BORDER_PIXEL_DEFAULT
#---GAPS------------------------------------------#
gaps inner 0
gaps outer 0
gaps top 0
gaps bottom 0
gaps right 0
gaps left 0
gaps inner $IN_GAPS
gaps outer $OUT_GAPS
gaps top $TOP_GAPS
gaps bottom $BOT_GAPS
gaps right $R_GAPS
gaps left $L_GAPS
#---Class-----------------------Border----------Background------Text------------Indicator-------ChildBorder----#
client.focused $focuse_TBAR $focuse_TBAR $focuse_TEXT $focuse_TBAR $focuse_BORD
client.focused_inactive $inacti_TBAR $inacti_TBAR $inacti_TEXT $inacti_TBAR $inacti_BORD
client.unfocused $unfocu_TBAR $unfocu_TBAR $unfocu_TEXT $unfocu_TBAR $unfocu_BORD
client.focused $focuse_TBAR $focuse_TBAR $focuse_TEXT $focuse_BORD $focuse_BORD
client.focused_inactive $inacti_TBAR $inacti_TBAR $inacti_TEXT $inacti_BORD $inacti_BORD
client.unfocused $unfocu_TBAR $unfocu_TBAR $unfocu_TEXT $unfocu_BORD $unfocu_BORD
client.focused_tab_title $- $- #000cc2
client.background $-
#-------------------------------------------------------INCLUDE-----------#
# for_window set border before release_border if you want to include
#for_window [all] border $BORDER_PIXEL
# --------- ("release_border_i3wm.conf") needs to be included before others.
include release_border_i3wm.conf
#include release_border_i3wm.conf
#include bar_bar.conf
include regular_bindings_i3wm.conf
include modes_i3wm.conf
Expand All @@ -113,12 +118,19 @@
for_window [window_role="bubble"] floating enable, move position center
for_window [window_type="dialog"] floating enable, move position center
for_window [window_type="popup_menu"] floating enable, move position center
#-------SPECIAL-XMESSAGE-----------#
for_window [class="Xmessage"] floating enable
no_focus [class="Xmessage"]
for_window [all] title_window_icon no
for_window [all] title_format "<big><big><big><span background='#000000' rise='7pt'> <small><small>%title</small></small> </span></big></big></big>"
#-------TITLE----------------------#
for_window [all] title_window_icon no
for_window [all] title_format "<big><big><big><span background='#000000' rise='7pt'> <small><small>%title</small></small> </span></big></big></big>"
#-------BORDER---------------------#
for_window [tiling] border $BORDER_PIXEL_TILING
for_window [floating] border $BORDER_PIXEL_FLOATING
floating_minimum_size 100 x 100
#focus_on_window_activation focus
#for_window [scratchpad] border $BORDER_PIXEL_FLOATING
#for_window [scratchpad] border pixel $BORDER_PIXEL_SCRATCHPAD
#---------------------------------------------------------EXECS-----------#
$EXC xcmenu
$EXC xcompmgr -C
Expand All @@ -133,3 +145,4 @@
#-------END---------------------------------------------------------------#
#for_window [floating] resize set $WSW $WSH, move position center
#for_window [class="i3*input"] resize set 1000 1000

2 changes: 1 addition & 1 deletion nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fu! CorrectColors()
hi StatusLineNC cterm=NONE ctermbg=NONE ctermfg=160 gui=NONE guibg=#222222 guifg=#999999
hi FoldColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#00ff00
hi Folded cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#999999
hi CursorLine cterm=BOLD ctermfg=NONE ctermbg=18 gui=BOLD guibg=NONE guifg=NONE
hi CursorLine cterm=BOLD ctermfg=NONE ctermbg=18 gui=BOLD guibg=#000040 guifg=NONE
hi CursorLineNr cterm=BOLD ctermfg=NONE ctermbg=18 gui=NONE guibg=NONE guifg=#FFFF00
hi SignColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#000000
hi LineNr cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=#000000 guifg=#AAAAAA
Expand Down
4 changes: 2 additions & 2 deletions polybar/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
;------------------------------------------------------------------
[settings]
screenchange-reload = true
transparency = true
transparency = false
; compositing-background = xor
; compositing-background = screen
; compositing-foreground = source
Expand Down Expand Up @@ -94,7 +94,7 @@
cursor-scroll = ns-resize
;------------------_MODULE_-----------------;
; modules-left = silver_spot gold_spot
modules-left =
; modules-left =
modules-center = TimeEST i3
modules-right = pulseaudio

Expand Down
Loading

0 comments on commit 5a8966a

Please sign in to comment.