Skip to content

Commit

Permalink
added_third_monitor_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Feb 3, 2023
1 parent b3264e0 commit fe245f4
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 223 deletions.
8 changes: 6 additions & 2 deletions bash/bashrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#
#- ~/.bashrc
# \\shellcheck disable=SC1000-SC9999
# shellcheck disable=SC1000-SC9999
#-
#-If not running interactively, don't do anything
[[ $- != *i* ]] && return
Expand Down Expand Up @@ -145,10 +145,10 @@ function killall_loaded() {
#---------------------------------------------------------------------- #
#-ALIASES #
#---------------------------------------------------------------------- #
alias sudo=' sudo -v; sudo'
alias tma=' tmux attach'
alias tmn=' tmux new-session -t mx'
alias tmd=' tmux detach'
alias sudo=' sudo '
alias cop=' xcmenu --input --clipboard'
alias l=' cd_from_lf'
alias a=' get_alias_fzf'
Expand Down Expand Up @@ -369,3 +369,7 @@ set -o vi




alias pacdneed='pacman -Qet'


56 changes: 34 additions & 22 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@
bindsym Mod1+Shift+r exec --no-startup-id "xrdb ~/.Xresources; $HOME/bin/i3configcheck.sh --3"
bindsym Mod1+Shift+c exec --no-startup-id "xrdb ~/.Xresources; $HOME/bin/i3configcheck.sh --NOASK --0"
bindsym Mod1+Shift+a --release mode freekey; exec --no-startup-id "sleep 0.2; xdotool key 'ctrl+v'; sleep 0.2; xdotool key 'alt+y'"
#-----------------------------------------------------------SET-----------#
set_from_resource $MON_1 i3wm.monitor1 DVI-D-1
set_from_resource $MON_2 i3wm.monitor2 DVI-D-1
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.TOP_GAPS 0
set_from_resource $R_GAPS i3wm.IN_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
#-------------------------------------------------SET---------------------#
set $WSW 1400px
set $WSH 950px
set $mod Mod1
Expand All @@ -40,19 +32,38 @@
set $focuse_TBAR #004f98
set $inacti_TBAR #888888
set $unfocu_TBAR #333333
#-------------------------------------------------RESOURCES---------------#
#-----LEFT_MONITOR-----------------------------------#
set_from_resource $MON_1 i3wm.monitor1 DVI-D-1
#---CENTER_MONITOR-----------------------------------#
set_from_resource $MON_2 i3wm.monitor2 DVI-D-1
#----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.TOP_GAPS 0
set_from_resource $R_GAPS i3wm.IN_GAPS 0
set_from_resource $L_GAPS i3wm.L_GAPS 0
#-------WORKSPACES--------------------------------------------------------#
workspace 3 output $MON_1
workspace 4 output $MON_1
workspace 5 output $MON_1
workspace 6 output $MON_1
workspace 7 output $MON_1
workspace 8 output $MON_1
workspace 9 output $MON_1
workspace 10 output $MON_1
workspace 11 output $MON_1
workspace 12 output $MON_1
workspace 1 output $MON_2
workspace 2 output $MON_2
#-------------------------------LEFT--------#
workspace 1 output $MON_1
workspace 2 output $MON_1
workspace 3 output $MON_1
workspace 4 output $MON_1
workspace 5 output $MON_1
#-------------------------------CENTER------#
workspace 6 output $MON_2
workspace 7 output $MON_2
workspace 8 output $MON_2
workspace 9 output $MON_2
workspace 10 output $MON_2
workspace 11 output $MON_2
workspace 12 output $MON_2
#-------------------------------RIGHT-------#
workspace 13 output $MON_3
workspace 14 output $MON_3
#-------------------------------------------------------SETTINGS----------#
floating_modifier $mod
focus_follows_mouse yes
Expand Down Expand Up @@ -105,7 +116,8 @@
$EXC xcompmgr -C
$EXC $HOME/bin/xwallpaperauto.sh --silent
$EXC /usr/bin/dunst
$EXC_A $HOME/.config/polybar/launch.sh
$EXC unclutter --timeout 2 --fork
$EXC_A /$HOME/.config/polybar/launch.sh
$EXC_A xset -dpms
$EXC_A xset s off
$EXC_A xset r rate 200 40
Expand Down
56 changes: 29 additions & 27 deletions i3wm/regular_bindings_i3wm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
#-------------------------------------------------------------------------------------------|
# i3 config file (v4)
#---------------------------------------------------[a-z]-BINDS----------------------------------------------------#
$Br a $B1 focus parent
$Br b $B1 floating toggle ; resize set $WSW $WSH, move position center
$Br c $B1 [class="Emacs"] scratchpad show
$Br d $_ exec dmenu_run -b -i -nf '#00FF00' -nb '#000000' -l 10 -fn "Office Code Pro:pixelsize=25:antialias=true:autohint=true"
$Br e $_ layout toggle split
$Br f $_ $xm_hd "Mousemove"; mode mousemove
$Br g $_ exec shotgun -s
$Br h $B1 focus left
$Br i $_ exec $HOME/bin/dmenu_websearch.sh
$Br j $B1 focus down
$Br k $B1 focus up
$Br l $B1 focus right
$Br m $B1 scratchpad show
$Br n $B1 [instance="i3s_note"] scratchpad show
$Br o $_ fullscreen
$Br p $_ exec dunstctl close-all
$Br r $_ $xm_hd "Resize"; mode resize
$Br s $_ layout stacking
$Br t $B1 [class="Tor Browser"] scratchpad show
$Br u $B1 [instance="i3s_st"] scratchpad show
$Br v $_ split v
$Br w $_ layout tabbed
#$Br x $_ exec resize
$Br y $_ $xm_hd "Freekey"; mode freekey
$Br z $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' nvim -p "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.html" "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.css"
$Br a $B1 focus parent
$Br b $B1 floating toggle ; resize set $WSW $WSH, move position center
$Br c $B1 [class="Emacs"] scratchpad show
$Br d $_ exec dmenu_run -b -i -nf '#00FF00' -nb '#000000' -l 10 -fn "Office Code Pro:pixelsize=25:antialias=true:autohint=true"
$Br e $_ layout toggle split
$Br f $_ $xm_hd "Mousemove" ; mode mousemove
$Br g $_ exec shotgun -s
$Br h $B1 focus left
$Br i $_ exec $HOME/bin/dmenu_websearch.sh
$Br j $B1 focus down
$Br k $B1 focus up
$Br l $B1 focus right
$Br m $B1 scratchpad show
$Br n $B1 [instance="i3s_note"] scratchpad show
$Br o $_ fullscreen
$Br p $_ exec dunstctl close-all
$Br r $_ $xm_hd "Resize" ; mode resize
$Br s $_ layout stacking
$Br t $B1 [class="Tor Browser"] scratchpad show
$Br u $B1 [instance="i3s_st"] scratchpad show
$Br v $_ split v
$Br w $_ layout tabbed
$Br x $_ exec $HOME/bin/rotate_monitor.sh
$Br y $_ $xm_hd "Freekey" ; mode freekey
$Br z $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' nvim -p "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.html" "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.css"
#--------------------------------------------------[^a-z]-BINDS----------------------------------------------------#
$Br 1 $B1 workspace 1
$Br 2 $B1 workspace 2
Expand All @@ -42,7 +42,9 @@
$Br 0 $B1 workspace 10
$Br bracketleft $B1 workspace 11
$Br bracketright $B1 workspace 12
$Br apostrophe $B1 [class=".*Zathura.*"] scratchpad show
$Br apostrophe $B1 workspace 13
$Br backslash $B1 workspace 14
#Br _________ $B1 [class=".*Zathura.*"] scratchpad show
$Br semicolon $B1 [class=".*qutebrowser.*"] scratchpad show
$Br equal $B1 [class=".*Thunar.*"] scratchpad show
$Br KP_Home $_ exec $HOME/bin/polybar_select_dmenu.sh
Expand All @@ -65,5 +67,5 @@
$Br Up $_ exec pulseaudio-ctl 'up'
$Br Down $_ exec pulseaudio-ctl 'down'
$Br slash $_ $xm_hd "Polymove"; mode polymove
$Br backslash $_ [class=".*icecat.*"] scratchpad show
#Br _________ $_ [class=".*icecat.*"] scratchpad show

2 changes: 1 addition & 1 deletion i3wm/release_border_i3wm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $RSF v $B2
$RSF x $B2
$RSF y $B2
$RSF z $B2
#$RSF minus $B2
#$RSF minus $B2
$RSF equal $B2
$RSF space $B2
$RSF semicolon $B2
Expand Down
27 changes: 14 additions & 13 deletions i3wm/shift_bindings_i3wm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
$SF Next $_ exec $HOME/bin/xwallpaperauto.sh --pargs --center
$SF less $_ exec "i3-msg 'gaps inner all minus 10'"
$SF greater $_ exec "i3-msg 'gaps inner all plus 10'"
$SF backslash $_ exec /usr/bin/icecat
$SF Super_L exec emacs
#---------------------------------------------KP-bindings----------------------------------------------------------#
$SF KP_Prior $_ exec $HOME/bin/brave_lunchbox.sh
Expand All @@ -57,18 +56,20 @@
#BSF KP_Left
#BSF KP_Right
#--------------------------------------------[0-9]-SHIFT-BINDS-----------------------------------------------------#
$SF 1 $B1 move container to workspace 1
$SF 2 $B1 move container to workspace 2
$SF 3 $B1 move container to workspace 3
$SF 4 $B1 move container to workspace 4
$SF 5 $B1 move container to workspace 5
$SF 6 $B1 move container to workspace 6
$SF 7 $B1 move container to workspace 7
$SF 8 $B1 move container to workspace 8
$SF 9 $B1 move container to workspace 9
$SF 0 $B1 move container to workspace 10
$SF bracketleft $B1 move container to workspace 11
$SF bracketright $B1 move container to workspace 12
$SF 1 $B1 move container to workspace 1
$SF 2 $B1 move container to workspace 2
$SF 3 $B1 move container to workspace 3
$SF 4 $B1 move container to workspace 4
$SF 5 $B1 move container to workspace 5
$SF 6 $B1 move container to workspace 6
$SF 7 $B1 move container to workspace 7
$SF 8 $B1 move container to workspace 8
$SF 9 $B1 move container to workspace 9
$SF 0 $B1 move container to workspace 10
$SF bracketleft $B1 move container to workspace 11
$SF bracketright $B1 move container to workspace 12
$SF apostrophe $B1 move container to workspace 13
$SF backslash $B1 move container to workspace 14
#$SF bracketright $B1 move container to workspace 12; workspace 12
#$SF u $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_st'
#---------------------------------------------------END------------------------------------------------------------#
Expand Down
Loading

0 comments on commit fe245f4

Please sign in to comment.