Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Aug 17, 2024
1 parent f9f152d commit bd3f090
Show file tree
Hide file tree
Showing 13 changed files with 267 additions and 225 deletions.
2 changes: 1 addition & 1 deletion bashrc_files/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ alias cnf=' fzf_cd -d "${XDG_CONFIG_HOME}" -u -d1'
alias conf=' cd "${XDG_CONFIG_HOME}"'
alias ncde=' cd "${CODING}"; nf'
alias nswp=' cd "${HOME}/.mynvim/swapfiles/"'
alias cde=' fzf_cd cd -d "${CODING}" -d3'
alias cde=' fzf_cd -d "${CODING}" -d3'
alias clne=' fzf_cd -d "${CLONED}"'
#--------------------------------------------------find----------------------------------#
#alias listaudio=' fd . -tf -e mp3 -e flac'
Expand Down
3 changes: 1 addition & 2 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
set $wallpaper_script $HOME/bin/xwallpaperauto.sh
set $dmenu_script $HOME/bin/my_dmenu.sh
set $dmenu_search $HOME/bin/dmenu_websearch.sh
set $emacs_script $HOME/bin/manage_emacs.sh
set $border_script $HOME/bin/i3wm_change_border.sh
set $clipboard_script $HOME/bin/add_to_clip.sh
set $refresh_script $HOME/bin/refresh_browser.sh
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
#-------------------------------------------------SPECIAL-BINDS-----------#
#sticky toggle
set $scratchpad_default floating enable, move scratchpad, scratchpad show, move position center
set $floating_default floating enable, move position center
set $xm_hd exec $HOME/bin/xmsg_quick.sh
bindsym Mod1+Shift+r exec --no-startup-id "xrdb ~/.Xresources ; $HOME/bin/i3wm_config_check.sh --3"
#bindsym Mod1+Shift+c exec --no-startup-id "xrdb ~/.Xresources ; $HOME/bin/i3wm_config_check.sh --NOASK --0"
bindsym Mod1+Shift+o exec "sleep 0.5; xset dpms force off"
Expand Down
32 changes: 14 additions & 18 deletions i3wm/modes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -114,28 +114,22 @@ set $MOUSE_MOVE_BIND\

mode "mousedown1" {
$MOUSE_MOVE_BIND
bindsym Escape exec "xdotool mouseup 1" ; $mode_be "mousemove" ; $xm_hd "mousemove"
# ; $xm_hd "Mousemove"
bindsym $mod+Escape exec "xdotool mouseup 1" ; $mode_be "mousemove" ; $xm_hd "mousemove"
# ; $xm_hd "Mousemove"
bindsym Escape exec "xdotool mouseup 1" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+Escape exec "xdotool mouseup 1" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+f exec "xdotool mouseup 1" ; $mode_be_default
}

mode "mousedown2" {
$MOUSE_MOVE_BIND
bindsym Escape exec "xdotool mouseup 2" ; $mode_be "mousemove" ; $xm_hd "mousemove"
#; $xm_hd "Mousemove"
bindsym $mod+Escape exec "xdotool mouseup 2" ; $mode_be "mousemove" ; $xm_hd "mousemove"
#; $xm_hd "Mousemove"
bindsym Escape exec "xdotool mouseup 2" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+Escape exec "xdotool mouseup 2" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+f exec "xdotool mouseup 2" ; $mode_be_default
}

mode "mousedown3" {
$MOUSE_MOVE_BIND
bindsym Escape exec "xdotool mouseup 3" ; $mode_be "mousemove" ; $xm_hd "mousemove"
#; $xm_hd "Mousemove"
bindsym $mod+Escape exec "xdotool mouseup 3" ; $mode_be "mousemove" ; $xm_hd "mousemove"
#; $xm_hd "Mousemove"
bindsym Escape exec "xdotool mouseup 3" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+Escape exec "xdotool mouseup 3" ; $mode_be "mousemove" ; exec $xmsg_script "mousemove"
bindsym $mod+f exec "xdotool mouseup 3" ; $mode_be_default
}

Expand All @@ -159,12 +153,9 @@ mode "mousemove" {
bindsym f exec xdotool click 1
bindsym d exec xdotool click 3
bindsym s exec xdotool click 2
bindsym r exec "xdotool mousedown 1" ; $mode_be "mousedown1"; $xm_hd "mousedown 1"
#; $xm_hd "Mousedown"
bindsym w exec "xdotool mousedown 2" ; $mode_be "mousedown2"; $xm_hd "mousedown 2"
#; $xm_hd "Mousedown"
bindsym e exec "xdotool mousedown 3" ; $mode_be "mousedown3"; $xm_hd "mousedown 3"
#; $xm_hd "Mousedown"
bindsym r exec "xdotool mousedown 1" ; $mode_be "mousedown1"; exec $xmsg_script "mousedown 1"
bindsym w exec "xdotool mousedown 2" ; $mode_be "mousedown2"; exec $xmsg_script "mousedown 2"
bindsym e exec "xdotool mousedown 3" ; $mode_be "mousedown3"; exec $xmsg_script "mousedown 3"
bindsym $mod+space focus floating; move position mouse
bindsym Escape $mode_be_default
bindsym $mod+Escape $mode_be_default
Expand Down Expand Up @@ -206,4 +197,9 @@ mode "zathura" {
bindsym Escape $mode_be_default
}

#mode "config" {
# bindsym d exec $border_script
# bindsym Escape $mode_be_default
#}

#---------------------------------------------------END------------------------------------------------------------#
Loading

0 comments on commit bd3f090

Please sign in to comment.