alias stuff
This commit is contained in:
@@ -6,6 +6,7 @@ window:
|
||||
y: 7
|
||||
opacity: 1.0
|
||||
dynamic_title: true
|
||||
decorations: none
|
||||
#font:
|
||||
colors:
|
||||
# Default colors
|
||||
|
||||
@@ -84,8 +84,8 @@ bindsym $mod+Shift+r exec --no-startup-id winresize
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
|
||||
bindsym $mod+Shift+t layout toggle tabbed splith
|
||||
bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally |'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically -'
|
||||
|
||||
# No focus on mouse over (allows scrolling without changing focus)
|
||||
focus_follows_mouse no
|
||||
@@ -172,5 +172,8 @@ exec --no-startup-id nm-applet
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id pamac-tray
|
||||
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.o.syntax = 'on'
|
||||
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.o.errorbells = false
|
||||
vim.o.smartcase = true
|
||||
|
||||
@@ -49,3 +49,28 @@ title()
|
||||
{
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user