aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
Diffstat (limited to 'env')
-rwxr-xr-xenv/.config/.profile4
-rw-r--r--env/.config/hypr/hyprland.conf13
-rwxr-xr-xenv/.config/tmux/tmux.conf7
3 files changed, 15 insertions, 9 deletions
diff --git a/env/.config/.profile b/env/.config/.profile
index 7b2274b..3512850 100755
--- a/env/.config/.profile
+++ b/env/.config/.profile
@@ -102,6 +102,10 @@ alias statst="echo full_stat:true > ~/.local/bin/system/stbar/config.txt"
alias statsf="echo full_stat:false > ~/.local/bin/system/stbar/config.txt"
+# git
+alias gitlol="git log --oneline --graph --decorate"
+
+
alias nodem="find . -name 'node_modules' -type d | xargs du -sh | sort -hr | fzf -m --header \"select witch ones to delete\" --preview 'cat $(dirname {})/package.json'|awk print '{print $2}' | xargs -r rm -rf"
alias walltaker="stuff/manual-programs/git/walltaker-client/walltaker.sh"
diff --git a/env/.config/hypr/hyprland.conf b/env/.config/hypr/hyprland.conf
index fdb05d5..d4a63ea 100644
--- a/env/.config/hypr/hyprland.conf
+++ b/env/.config/hypr/hyprland.conf
@@ -299,13 +299,14 @@ bind = $mainMod, space, togglefloating,
bind = $mainMod, D, exec, $menu
bind = $mainMod SHIFT, D, exec, $HOME/stuff/scripts/system/rofi-search-web.sh
bind = $mainMod, P, pseudo, # dwindle
-bind = $mainMod, i, togglesplit, # dwindle
+bind = $mainMod SHIFT, i, togglesplit, # dwindle
bind = $mainMod, f, fullscreen, 0
bind = $mainMod SHIFT, m, fullscreen, 1
# layout stuffs
bind = $mainMod SHIFT, space, exec, $HOME/.config/hypr/cycle-layout.sh
-bind = $mainMod SHIFT, i, layoutmsg, cyclenext
+bind = $mainMod, i, cyclenext
+bind = $mainMod, i, alterzorder, top
bind = $mainMod, z, layoutmsg, swapwithmaster master
# behaves like xmonads promote feature (https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-Promote.html)
@@ -325,10 +326,10 @@ bind = $mainMod SHIFT, k, movewindow, u
bind = $mainMod SHIFT, j, movewindow, d
bind = $mainMod, t, pin
-bind = $mainMod CTRL, h, resizeactive, -50 0
-bind = $mainMod CTRL, l, resizeactive, 50 0
-bind = $mainMod CTRL, k, resizeactive, 0 -50
-bind = $mainMod CTRL, j, resizeactive, 0 50
+bind = $mainMod CTRL SHIFT, h, resizeactive, -50 0
+bind = $mainMod CTRL SHIFT, l, resizeactive, 50 0
+bind = $mainMod CTRL SHIFT, k, resizeactive, 0 -50
+bind = $mainMod CTRL SHIFT, j, resizeactive, 0 50
bind = $mainMod, o, focusmonitor, +1
bind = $mainMod SHIFT, o, movewindow, mon:+1
diff --git a/env/.config/tmux/tmux.conf b/env/.config/tmux/tmux.conf
index d836f66..d2b4d47 100755
--- a/env/.config/tmux/tmux.conf
+++ b/env/.config/tmux/tmux.conf
@@ -27,11 +27,12 @@ unbind -T copy-mode-vi MouseDragEnd1Pane
# bind r to reload config
unbind r
-bind r source-file ~/.tmux.conf
+bind r source-file ~/.config/tmux/tmux.conf
# start panes and windows 1
set -g base-index 1
set -g pane-base-index 1
+setw -g pane-base-index 1
set -g renumber-windows on # renumber windows when one is closed
# nav rebinds
@@ -48,9 +49,9 @@ bind -r m resize-pane -Z # maximize
# pane joining
bind J switch-client -T pane-management
-bind-key -T pane-management \" command-prompt -p "join pane from:" "join-pane -s '%%' -h"
+bind-key -T pane-management % command-prompt -p "join pane from:" "join-pane -s '%%' -h"
bind-key -T pane-management H command-prompt -p "join pane from:" "join-pane -s '%%' -f -h"
-bind-key -T pane-management % command-prompt -p "join pane from:" "join-pane -s '%%' -v"
+bind-key -T pane-management \" command-prompt -p "join pane from:" "join-pane -s '%%' -v"
bind-key -T pane-management V command-prompt -p "join pane from:" "join-pane -s '%%' -f -v"
bind-key -T pane-management B break-pane
bind-key -T pane-management S command-prompt -p "send pane to:" "join-pane -t '%%'"