alias stuff
This commit is contained in:
25
.bashrc
25
.bashrc
@@ -30,7 +30,6 @@ colors() {
|
|||||||
echo; echo
|
echo; echo
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
title(){}
|
|
||||||
|
|
||||||
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
@@ -114,27 +113,3 @@ shopt -s expand_aliases
|
|||||||
# Enable history appending instead of overwriting. #139609
|
# Enable history appending instead of overwriting. #139609
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
#
|
|
||||||
# # ex - archive extractor
|
|
||||||
# # usage: ex <file>
|
|
||||||
ex ()
|
|
||||||
{
|
|
||||||
if [ -f $1 ] ; then
|
|
||||||
case $1 in
|
|
||||||
*.tar.bz2) tar xjf $1 ;;
|
|
||||||
*.tar.gz) tar xzf $1 ;;
|
|
||||||
*.bz2) bunzip2 $1 ;;
|
|
||||||
*.rar) unrar x $1 ;;
|
|
||||||
*.gz) gunzip $1 ;;
|
|
||||||
*.tar) tar xf $1 ;;
|
|
||||||
*.tbz2) tar xjf $1 ;;
|
|
||||||
*.tgz) tar xzf $1 ;;
|
|
||||||
*.zip) unzip $1 ;;
|
|
||||||
*.Z) uncompress $1;;
|
|
||||||
*.7z) 7z x $1 ;;
|
|
||||||
*) echo "'$1' cannot be extracted via ex()" ;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
echo "'$1' is not a valid file"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ window:
|
|||||||
y: 7
|
y: 7
|
||||||
opacity: 1.0
|
opacity: 1.0
|
||||||
dynamic_title: true
|
dynamic_title: true
|
||||||
|
decorations: none
|
||||||
#font:
|
#font:
|
||||||
colors:
|
colors:
|
||||||
# Default colors
|
# Default colors
|
||||||
|
|||||||
@@ -84,8 +84,8 @@ bindsym $mod+Shift+r exec --no-startup-id winresize
|
|||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
|
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
|
||||||
bindsym $mod+Shift+t layout toggle tabbed splith
|
bindsym $mod+Shift+t layout toggle tabbed splith
|
||||||
bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally'
|
bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally |'
|
||||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
bindsym $mod+v split v;exec notify-send 'tile vertically -'
|
||||||
|
|
||||||
# No focus on mouse over (allows scrolling without changing focus)
|
# No focus on mouse over (allows scrolling without changing focus)
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
@@ -172,5 +172,8 @@ exec --no-startup-id nm-applet
|
|||||||
exec --no-startup-id blueman-applet
|
exec --no-startup-id blueman-applet
|
||||||
exec --no-startup-id pamac-tray
|
exec --no-startup-id pamac-tray
|
||||||
exec --no-startup-id xfce4-power-manager
|
exec --no-startup-id xfce4-power-manager
|
||||||
exec --no-startup-id volumeicon
|
#exec --no-startup-id volumeicon
|
||||||
|
exec --no-startup-id start-pulseaudio-x11
|
||||||
|
exec --no-startup-id pa-applet
|
||||||
|
bindsym $mod+Ctrl+m exec pavucontrol
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ vim.o.termguicolors = true
|
|||||||
vim.cmd('colorscheme monokai') -- set colorscheme
|
vim.cmd('colorscheme monokai') -- set colorscheme
|
||||||
vim.o.syntax = 'on'
|
vim.o.syntax = 'on'
|
||||||
vim.cmd('set title')
|
vim.cmd('set title')
|
||||||
vim.opt.titlestring = [[%f %h%m%r%w ]]
|
vim.opt.titlestring = [[%{v:progname}: %f %h%m%r%w ]]
|
||||||
-- vim.opt.titlestring = [[%f %h%m%r%w %{v:progname} (%{tabpagenr()} of %{tabpagenr('$')})]]
|
-- vim.opt.titlestring = [[%f %h%m%r%w %{v:progname} (%{tabpagenr()} of %{tabpagenr('$')})]]
|
||||||
vim.o.errorbells = false
|
vim.o.errorbells = false
|
||||||
vim.o.smartcase = true
|
vim.o.smartcase = true
|
||||||
|
|||||||
@@ -49,3 +49,28 @@ title()
|
|||||||
{
|
{
|
||||||
echo -e "\e]2;$1\007";
|
echo -e "\e]2;$1\007";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# # ex - archive extractor
|
||||||
|
# # usage: ex <file>
|
||||||
|
ex ()
|
||||||
|
{
|
||||||
|
if [ -f $1 ] ; then
|
||||||
|
case $1 in
|
||||||
|
*.tar.bz2) tar xjf $1 ;;
|
||||||
|
*.tar.gz) tar xzf $1 ;;
|
||||||
|
*.bz2) bunzip2 $1 ;;
|
||||||
|
*.rar) unrar x $1 ;;
|
||||||
|
*.gz) gunzip $1 ;;
|
||||||
|
*.tar) tar xf $1 ;;
|
||||||
|
*.tbz2) tar xjf $1 ;;
|
||||||
|
*.tgz) tar xzf $1 ;;
|
||||||
|
*.zip) unzip $1 ;;
|
||||||
|
*.Z) uncompress $1;;
|
||||||
|
*.7z) 7z x $1 ;;
|
||||||
|
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
echo "'$1' is not a valid file"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
32
.profile
32
.profile
@@ -19,13 +19,6 @@ alias code='code --extensions-dir "$XDG_DATA_HOME/vscode"'
|
|||||||
alias vscodium='vscodium --extensions-dir "$XDG_DATA_HOME/vscode"'
|
alias vscodium='vscodium --extensions-dir "$XDG_DATA_HOME/vscode"'
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
||||||
|
|
||||||
# default applications
|
|
||||||
export EDITOR=/usr/bin/nvim
|
|
||||||
export BROWSER=/usr/bin/firefox
|
|
||||||
export TERMINAL=/usr/bin/alacritty
|
|
||||||
export EXPLORER=/usr/bin/thunar
|
|
||||||
export MAILCLIENT=/usr/bin/neomutt
|
|
||||||
export LAUNCHER=dmenu_run
|
|
||||||
|
|
||||||
# THEME
|
# THEME
|
||||||
|
|
||||||
@@ -40,3 +33,28 @@ export GREEN="#A6E22E"
|
|||||||
export ORANGE="#FD971F"
|
export ORANGE="#FD971F"
|
||||||
export YELLOW="#E6DB74"
|
export YELLOW="#E6DB74"
|
||||||
export PURPLE="#AE81FF"
|
export PURPLE="#AE81FF"
|
||||||
|
export FONT="Noto"
|
||||||
|
export FONTSIZE="12"
|
||||||
|
|
||||||
|
## define the font for dmenu to be used
|
||||||
|
DMENU_FN="$FONT-$FONTSIZE"
|
||||||
|
## background colour for unselected menu-items
|
||||||
|
DMENU_NB="#000000"
|
||||||
|
## textcolour for unselected menu-items
|
||||||
|
DMENU_NF=$WHITE
|
||||||
|
## background colour for selected menu-items
|
||||||
|
DMENU_SB=$BLUE
|
||||||
|
## textcolour for selected menu-items
|
||||||
|
DMENU_SF="#000000"
|
||||||
|
## command for the terminal application to be used:
|
||||||
|
TERMINAL_CMD="alacritty -e"
|
||||||
|
## export our variables
|
||||||
|
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
||||||
|
|
||||||
|
# default applications
|
||||||
|
export EDITOR=/usr/bin/nvim
|
||||||
|
export BROWSER=/usr/bin/firefox
|
||||||
|
export TERMINAL=/usr/bin/alacritty
|
||||||
|
export EXPLORER=/usr/bin/thunar
|
||||||
|
export MAILCLIENT=/usr/bin/neomutt
|
||||||
|
export LAUNCHER="dmenu_run $DMENU_OPTIONS"
|
||||||
|
|||||||
Reference in New Issue
Block a user