mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 16:11:34 +09:00
BSPWM : hotkey, fish shell
This commit is contained in:
@ -1,9 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
# wgtk stuff
|
|
||||||
#wpg -R wallpaper.png
|
|
||||||
#wpg -s wallpaper.png
|
|
||||||
#source "${HOME}/.cache/wal/colors.sh"
|
|
||||||
|
|
||||||
# Set environment
|
# Set environment
|
||||||
export BSPWM_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bspwm"
|
export BSPWM_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bspwm"
|
||||||
|
|||||||
@ -4,7 +4,8 @@ end
|
|||||||
|
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
|
||||||
oh-my-posh init fish --config ~/.poshthemes/craver.omp.json | source
|
set VETHER_IP $(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
|
||||||
|
export DISPLAY=$VETHER_IP:10.0
|
||||||
|
|
||||||
# emacs
|
# emacs
|
||||||
alias emupgrade="~/.emacs.d/bin/doom upgrade"
|
alias emupgrade="~/.emacs.d/bin/doom upgrade"
|
||||||
@ -34,5 +35,14 @@ alias startsv="ssh odroid startsv"
|
|||||||
alias stopsv="ssh odroid stopsv"
|
alias stopsv="ssh odroid stopsv"
|
||||||
alias gpulls="pushd ~/.config/emacs && git pull && pushd ~/org && git pull && popd && popd"
|
alias gpulls="pushd ~/.config/emacs && git pull && pushd ~/org && git pull && popd && popd"
|
||||||
|
|
||||||
|
# Changing "ls" to "exa"
|
||||||
|
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
||||||
|
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
||||||
|
alias ll='exa -l --color=always --group-directories-first' # long format
|
||||||
|
alias lt='exa -aT --color=always --group-directories-first' # tree listing
|
||||||
|
alias l.='exa -a | egrep "^\."'
|
||||||
|
|
||||||
figlet -w 100 "$hostname"
|
figlet -w 100 "$hostname"
|
||||||
export PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py
|
export PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py
|
||||||
|
|
||||||
|
starship init fish | source
|
||||||
|
|||||||
@ -22,10 +22,11 @@ super + shift + {1-5}
|
|||||||
# kitty
|
# kitty
|
||||||
##control+alt+g
|
##control+alt+g
|
||||||
## lutris
|
## lutris
|
||||||
#control+alt+f
|
super+t
|
||||||
# thunar
|
thunar
|
||||||
#super+shift+c
|
# close & kill
|
||||||
# /home/kz87/.bscripts/wc.sh
|
super+shift+c
|
||||||
|
bspc node -c
|
||||||
#
|
#
|
||||||
##rofi things
|
##rofi things
|
||||||
##Launch apps
|
##Launch apps
|
||||||
@ -97,7 +98,9 @@ super + shift + {1-5}
|
|||||||
#
|
#
|
||||||
## Toggle picom
|
## Toggle picom
|
||||||
super+p
|
super+p
|
||||||
[[ `pgrep -c picom` -eq 0 ]] && picom -b --config $HOME/.xmonad/scripts/picom.conf || killall picom
|
[[ `pgrep -c picom` -eq 0 ]] && picom || killall picom
|
||||||
|
super+w
|
||||||
|
~/scripts/random_wallpaper.sh
|
||||||
|
|
||||||
##Keyboard layouts
|
##Keyboard layouts
|
||||||
#super+space
|
#super+space
|
||||||
@ -161,42 +164,12 @@ super+p
|
|||||||
# bspc node focused -z top 0 -15
|
# bspc node focused -z top 0 -15
|
||||||
#super+alt+j
|
#super+alt+j
|
||||||
# bspc node focused -z bottom 0 15
|
# bspc node focused -z bottom 0 15
|
||||||
#super+{d,a}
|
super + {_,shift +} + {h,j,k,l}
|
||||||
# play -v 0.4 ~/Documents/Sounds/tile.wav& bspc node @/ -C {forward,backward}
|
bspc node -{f,s} {west,south,north,east}
|
||||||
#alt+{d,a}
|
|
||||||
# play -v 0.4 ~/Documents/Sounds/tile.wav& bspc node first_ancestor -R {90,270}
|
|
||||||
#super+e
|
|
||||||
# play -v 0.4 ~/Documents/Sounds/tile.wav& bspc node first_ancestor --balance
|
|
||||||
#
|
|
||||||
#control+shift+h
|
|
||||||
# bspc node focused -z right -15 0
|
|
||||||
#control+shift+l
|
|
||||||
# bspc node focused -z left 15 0
|
|
||||||
#control+shift+j
|
|
||||||
# bspc node focused -z top 0 15
|
|
||||||
#control+shift+k
|
|
||||||
# bspc node focused -z bottom 0 -15
|
|
||||||
#
|
|
||||||
super+space
|
super+space
|
||||||
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
|
bspc node focused -t ~fullscreen
|
||||||
bspc node focused -t fullscreen; \
|
super+KP_Add
|
||||||
else \
|
bspc config window_gap $(( 5 + `bspc config window_gap` ))
|
||||||
bspc node focused -t tiled; \
|
super+KP_Subtract
|
||||||
fi;
|
bspc config window_gap $(( -5 + `bspc config window_gap` ))
|
||||||
#super+KP_Add
|
|
||||||
# bspc config window_gap $(( 5 + `bspc config window_gap` ))
|
|
||||||
#super+KP_Subtract
|
|
||||||
# bspc config window_gap $(( -5 + `bspc config window_gap` ))
|
|
||||||
#
|
|
||||||
#control+alt+{k,j,h,l}
|
|
||||||
# bspc node --presel-dir ~{north,south,west,east}
|
|
||||||
#
|
|
||||||
#control+alt+a
|
|
||||||
# if [[ ! -z "$(bspc query -N -n focused.normal)" ]]; then \
|
|
||||||
# bspc node focused -l above; \
|
|
||||||
# elif [[ ! -z "$(bspc query -N -n focused.above)" ]]; then \
|
|
||||||
# bspc node focused -l below; \
|
|
||||||
# else \
|
|
||||||
# bspc node focused -l normal; \
|
|
||||||
# fi;
|
|
||||||
#
|
|
||||||
|
|||||||
Reference in New Issue
Block a user