summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-02 21:02:20 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-02 21:02:20 +0100
commitce77153d0418371aa1990f32e4448445bbaa7556 (patch)
tree5c0dc2eb4b5da10706dc1400b1912f2fe20df497
parent7290f63a13165cac835246fc0c55f6528ff8894d (diff)
i3 and bashrc cleanup
-rw-r--r--.bashrc35
-rw-r--r--.config/i3/config6
2 files changed, 21 insertions, 20 deletions
diff --git a/.bashrc b/.bashrc
index 4965877..da84c7f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -38,23 +38,6 @@ alias ll='exa -la'
alias lt='exa -T'
alias lh="exa -1dI '.|..' .*"
-cd_up() {
- case $1 in
- *[!0-9]*)
- cd $( pwd | sed -r "s|(.*/$1[^/]*/).*|\1|i" )
- ;;
- *)
- cd $(printf "%0.0s../" $(seq 1 $1));
- ;;
- esac
-}
-alias '..'='cd_up'
-alias ghd='cd ~/Documents/github'
-alias aau='cd ~/Documents/uni/5\ Semester'
-alias game='cd ~/Documents/github/2018shock/'
-
-cpy() { readlink -en $1 | xclip -sel clipboard; }
-
alias g='git'
alias gs='git status'
alias lg='git log'
@@ -82,6 +65,24 @@ alias nvimrc='cd $XDG_CONFIG_HOME/nvim;nvim .'
alias i3config='vim $XDG_CONFIG_HOME/i3/config'
alias startup='vim $XDG_CONFIG_HOME/i3/init'
+cpy() { readlink -en $1 | xclip -sel clipboard; }
+
+cd_up() {
+ case $1 in
+ *[!0-9]*)
+ cd $( pwd | sed -r "s|(.*/$1[^/]*/).*|\1|i" )
+ ;;
+ *)
+ cd $(printf "%0.0s../" $(seq 1 $1));
+ ;;
+ esac
+}
+alias '..'='cd_up'
+alias ghd='cd ~/Documents/github'
+alias aau='cd ~/Documents/uni/5\ Semester'
+alias game='cd ~/Documents/github/2018shock/'
+alias nova='ssh -p 2080 192.168.0.156'
+
alias luamake=/home/adam/Documents/github/lua-language-server/3rd/luamake/luamake
eval "$(starship init bash)"
diff --git a/.config/i3/config b/.config/i3/config
index f7aa0ac..ce6a9e0 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -12,9 +12,9 @@ bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed
bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/logout --confirm="
bindsym $mod+Escape exec --no-startup-id systemctl suspend
-bindsym $mod+Return exec --no-startup-id alacritty
-bindsym $mod+b exec --no-startup-id firefox
-bindsym $mod+e exec --no-startup-id pcmanfm
+bindsym $mod+Return exec alacritty
+bindsym $mod+b exec firefox
+bindsym $mod+e exec pcmanfm
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/extra/screenshot