Skip to content

Commit

Permalink
FFG
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Nov 20, 2023
1 parent 77718fa commit 94b5ea8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 25 deletions.
12 changes: 8 additions & 4 deletions bash/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ alias e=' xcmenu --input --clipboard'
alias f=' (read _x; find . -iname "*${_x}*") <<< '
alias g=' grep --perl-regexp --ignore-case'
alias h=' cd "$HOME"'
alias i=' iex'
alias i=' iex' # elixir
alias j=' flask run --cert="$HOME/ADD_TO_TRUSTED/mykey.crt" --key="$HOME/.cretse_ridi/mykey.pem"'
alias k=' kiwix-desktop'
alias l=' cd_from_lf'
alias m=' ./manage.py'
alias n=" lsd --icon='never' -rt --permission='octal' --date=+'[%_H:%M:%S|%a|%D]' --blocks='permission,user,date,name'"
alias n=" lsd --icon='never' -rt --permission='octal' --date=+' %_H:%M %y %b %_d ' --blocks='permission,user,date,name'"
alias o=' open_prog'
alias p=' pwd'
# q
Expand Down Expand Up @@ -270,6 +270,7 @@ alias zg=' yg --exclude=\*.{pdf,mobi,epub,azw,azw2,djvu,lit,az
alias tl=' tar -tf'
alias bt=' bsdtar'
alias ll=" lsd --icon='never' -rt --permission='octal' --date=+'[%_H:%M:%S|%a|%D]' --blocks='permission,user,date,name'"
alias lla=' ll -a'
alias ht=' htop'
alias gd=' xcmenu --input --clipboard "$(pwd)"'
alias pd=' cd "$(xcmenu --clipboard)"'
Expand Down Expand Up @@ -301,9 +302,12 @@ alias ldi=' fdisk -l -o +uuid'
alias lsn=" lsd --icon='never' -l"
alias lst=" lsd --icon='never' -ltrh"
alias lsz=" lsd --icon='never' -lSrh"
alias lsna=' lsn -a'
alias lsta=' lst -a'
alias lsza=' lsz -a'
alias psg=' ps ax | grep -Pi'
alias bsg=' ps ax | grep -Pv "/usr/lib/brave" | grep -Pi'
alias inx=' inxi'
alias inx=' inxi' # Computer stats, hardware
alias pse=' ps -eo comm=, | grep --ignore-case'
alias pso=' ps -eo cmd=, | grep --ignore-case'
alias tre=' ps -ejH'
Expand Down Expand Up @@ -510,7 +514,6 @@ 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 sop='cd "$HOME/Videos/The_Sopranos_123456ab_Extras/"'



Expand All @@ -535,3 +538,4 @@ alias flip_images='mogrify -rotate 180 *.jpg'




17 changes: 12 additions & 5 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
#include bar_bar.conf
include regular_bindings_i3wm.conf
include modes_i3wm.conf
#-------ASSIGN------------------------------------------------------------#
assign [class=".*Deluge.*"] workspace 12
#-------FOR_WINDOW--------------------------------------------------------#
for_window [class=".*qutebrowser.*"] floating enable, resize set 1400px 1000px, move scratchpad, scratchpad show, move position center
for_window [class=".*icecat.*"] floating enable, resize set $WSW $WSH, move scratchpad, scratchpad show, move position center
Expand All @@ -116,12 +118,17 @@
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>"
for_window [tiling] border $BORDER_PIXEL_TILING
for_window [floating] border $BORDER_PIXEL_FLOATING
#-------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-----------#
Expand All @@ -138,4 +145,4 @@
#-------END---------------------------------------------------------------#
#for_window [floating] resize set $WSW $WSH, move position center
#for_window [class="i3*input"] resize set 1000 1000
#floating_minimum_size 100 x 100

4 changes: 3 additions & 1 deletion i3wm/config_SWAP
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
#include bar_bar.conf
include regular_bindings_i3wm.conf
include modes_i3wm.conf
#-------ASSIGN------------------------------------------------------------#
assign [class=".*Deluge.*"] workspace 12
#-------FOR_WINDOW--------------------------------------------------------#
for_window [class=".*qutebrowser.*"] floating enable, resize set 1400px 1000px, move scratchpad, scratchpad show, move position center
for_window [class=".*icecat.*"] floating enable, resize set $WSW $WSH, move scratchpad, scratchpad show, move position center
Expand All @@ -115,6 +117,7 @@
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>"
floating_minimum_size 100 x 100
#focus_on_window_activation focus
#---------------------------------------------------------EXECS-----------#
$EXC xcmenu
Expand All @@ -130,4 +133,3 @@
#-------END---------------------------------------------------------------#
#for_window [floating] resize set $WSW $WSH, move position center
#for_window [class="i3*input"] resize set 1000 1000
#floating_minimum_size 100 x 100
30 changes: 15 additions & 15 deletions i3wm/modes_i3wm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,22 @@ mode "freekey" {

#---------------------------------------------------RESIZE---------------------------------------------------------#
mode "resize" {
bindsym equal resize set $WSW $WSH, move position center
bindsym minus resize set 850px 750px, move position center, move left 480px, move up 150px
bindsym equal resize set $WSW $WSH, move position center
bindsym minus resize set 850px 750px, move position center, move left 480px, move up 150px
bindsym Shift+minus resize set 850px 750px, move position center, move right 480px, move up 150px
bindsym h resize shrink width 40px or 2ppt
bindsym l resize grow width 40px or 2ppt
bindsym k resize grow height 40px or 2ppt
bindsym j resize shrink height 40px or 2ppt
bindsym Shift+h resize shrink width 1px or 1ppt
bindsym Shift+l resize grow width 1px or 1ppt
bindsym Shift+k resize grow height 1px or 1ppt
bindsym Shift+j resize shrink height 1px or 1ppt
bindsym Shift+m move position center
bindsym $mod+r $mode_be "default"
bindsym Ctrl+c $mode_be "default"
bindsym Return $mode_be "default"
bindsym Escape $mode_be "default"
bindsym h resize shrink width 40px or 4ppt
bindsym l resize grow width 40px or 4ppt
bindsym k resize grow height 40px or 4ppt
bindsym j resize shrink height 40px or 4ppt
bindsym Shift+h resize shrink width 1px or 2ppt
bindsym Shift+l resize grow width 1px or 2ppt
bindsym Shift+k resize grow height 1px or 2ppt
bindsym Shift+j resize shrink height 1px or 2ppt
bindsym Shift+m move position center
bindsym $mod+r $mode_be "default"
bindsym Ctrl+c $mode_be "default"
bindsym Return $mode_be "default"
bindsym Escape $mode_be "default"
}

#---------------------------------------------------MOUSE-MOVEMENT-------------------------------------------------#
Expand Down

0 comments on commit 94b5ea8

Please sign in to comment.