i can't think of a witty message for this one. just the usual updates and changes i suppose
This commit is contained in:
parent
8cd1f258c9
commit
19f3a113c0
|
@ -1,3 +1,7 @@
|
|||
hsetroot -fill /home/deadguy/Pictures/wallpaper/doitlive.png &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
compton -b &
|
||||
sleep 2s
|
||||
redshift -c ~/.config/redshift/redshift.conf &
|
||||
dunst -conf ~/.config/dunst/dunstrc &
|
||||
sleep 5s
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
||||
#bspc monitor LVDS1 -d 1 2 3 4 5 6 7 8 9 10
|
||||
|
||||
gap=8
|
||||
pad=6
|
||||
b_width=1
|
||||
b_width=2
|
||||
export b_width
|
||||
export gap
|
||||
export pad
|
||||
|
@ -24,6 +24,7 @@ bspc config single_monocle true
|
|||
bspc config remove_unplugged_monitors true
|
||||
bspc config remove_disabled_monitors true
|
||||
bspc config pointer_follows_focus true
|
||||
bspc config focus_follows_pointer false
|
||||
bspc config ignore_ewmh_focus false
|
||||
bspc config auto_cancel true
|
||||
bspc config honor_size_hints true
|
||||
|
@ -43,6 +44,9 @@ bspc config active_border_color "#7cb342"
|
|||
bspc config presel_feedback_color "#26c6da"
|
||||
bspc config border_width $b_width
|
||||
|
||||
# Attempt at managing multihead
|
||||
workspaces_multimonitor &
|
||||
|
||||
# Floaters
|
||||
bspc rule -a Lxappearance state=floating
|
||||
bspc rule -a Vlc state=floating
|
||||
|
@ -58,6 +62,8 @@ bspc rule -a Gucharmap state=floating
|
|||
bspc rule -a File-roller state=floating
|
||||
bspc rule -a Catfish state=floating
|
||||
bspc rule -a st-256color state=floating
|
||||
bspc rule -a obs state=floating
|
||||
bspc rule -a Pd-l2ork state=floating
|
||||
|
||||
# Others
|
||||
bspc rule -a Zathura state=tiled
|
||||
|
@ -74,6 +80,6 @@ export _JAVA_OPTIONS='-Dsun.java2d.opengl=true'
|
|||
# External rules
|
||||
bspc config external_rules_command `$HOME/.config/bspwm/external_rules.sh`
|
||||
|
||||
#2bspwm &
|
||||
2bspwm &
|
||||
|
||||
. $HOME/.config/bspwm/autostart
|
||||
|
|
|
@ -433,3 +433,78 @@
|
|||
,+==~ ,= , ~=== ,+=== ===,+====,+== ===~~====~ +=~, ~=== ~===+, ==+ =====+ ==+ +=+
|
||||
,===+, ,===+ ,+==+ ====~ ===,====~,+== ===~ +==+, ==~ +=========~ === ~+===+ ==+ ,===+,
|
||||
,========= ,+=========, ===, +=+,,+== ===~ ==== ==~,===+ ,+==+ +== , +==+ =========
|
||||
|
||||
|
||||
|
||||
`
|
||||
om-
|
||||
`yMNN:
|
||||
`hMo.dN+
|
||||
.dN/ `yMo
|
||||
-mN: . `sMy`
|
||||
:Nm- sm: oMh`
|
||||
/Nd. `yMmN/ /Nd.
|
||||
+Nh` `hN+.hN+ :Nm-
|
||||
sMy` .dN/ `yMs -mm:
|
||||
`yMs -mm: . sMy` .dN/
|
||||
`hN+ :Nm- `sm: +Nh` `hN+
|
||||
.dN/ /Nd. `yMmN/ /Nd. `yMo`
|
||||
-mN: oMh` `hN+`hM+ :Nm- sMy`
|
||||
:Nm- `sMy` .dN/ `yMs` -mN: +Nh`
|
||||
/Nd. `yMo -mm: . sMy` .dN/ /Nd.
|
||||
oMh` .dN+ :Nm. sN: +Mh` `hMo :Nm-
|
||||
sMy .mN: +Md` `yMmN/ /Nd. `yMs -mN:
|
||||
`hMo -Nm- oMh` `dM+`hMo -Nm- oMy` .dM/
|
||||
`dM/ :Nm. sMs .mN: yMs .mN: +Md` `hMo
|
||||
.mN: +Md` `hMo -NN- . oMh` `dM/ :Nm. yMs
|
||||
-NN- oMy` `dM/ :Nm. yN: +Md` `hMo -NN- oMh`
|
||||
/Mm. yMs .mN: +Md` `hMmM+ :Nm. yMs .mN: /Md`
|
||||
+Mh` `hM+ :Nm- oMy `dM/ yMo -NN- oMh` `dM+ :Nm.
|
||||
sMy` .dN/ /Md. yMs .mN: sMy .mN: /Md` `yMs -mN-
|
||||
`yMs -mN: oMh` `hM+ :Nm- +Mh` `dM+ :Nm. sMy` .mN/
|
||||
`hM+ :Nm- sMy` .dN/ /Nd. `o/ /Nd. `yMo -mN- +Mh` `hM+
|
||||
.dN/ /Nd. `yMo -mN: oMh` `hM+ :Nm- sMy` .dN/ /Nd. `yMs
|
||||
-mN: oMh` `dM+ :Nm- sMy` .dMMmmmmmmNMN: +Mh` `hM+ :Nm- sMy`
|
||||
:Nm- sMs` .dN: /Nd. `yMo `............` /Nd. `yMo -mN: +Mh`
|
||||
+Nd. `yMo -mm- oMh` .hMd//////////////////////yMm- `sMy` .dN/ /Nd.
|
||||
oMy` .dN+ /Nd. `sMs` +yyyyyyyyyyyyyyyyyyyyyyyyyyyyo` +Mh` `hMo :Nm-
|
||||
`sMs` .mN/ +Nh. `yMs``````````````````````````````````````+Nd. `sMs` -mN:
|
||||
`yMo :mm- oMy` `hNNddddddddddddddddddddddddddddddddddddddddNNd. oMy` .dN+
|
||||
.dN+ /Nd. `sMs` `----------------------------------------------` +Nh. `hMo
|
||||
-mN: +Nh. `hMd++++++++++++++++++++++++++++++++++++++++++++++++++++++++hMm- `sMs`
|
||||
:mm- oMy` /sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssso oMy`
|
||||
/Nd. `yMy.```````````````````````````````````````````````````````````````````````oMh.
|
||||
/mh` `yNNhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhNNh.
|
||||
.-` `--------------------------------------------------------------------------------`
|
||||
|
||||
|
||||
.d:
|
||||
-NdM+
|
||||
:No :Ns
|
||||
+M/ -my
|
||||
sN: -m/ `dd`
|
||||
`hm. :NyNo `hm.
|
||||
`dd` +M+ -Ny sN-
|
||||
.mh` sN: ` .md` +M/
|
||||
:Ns yN- :No `hm. /Mo
|
||||
/M+ `dd` /MsNy yN- -Ny
|
||||
oN: .mh` oN: .mh` oM/ .mh`
|
||||
yN- -Ns yN- . `dm. /Mo `dm.
|
||||
`dm. /M+ `dm. /Ms yN- -Ns yN-
|
||||
.mh` oM/ .mh` oM+mh` oN: .mh` oN:
|
||||
-Ny yN- -Ny yN- `dd` /M+ `dd` /M+
|
||||
/Mo `hm. /Mo `hm. - ym. :Ns yN- :Ns
|
||||
+M/ .md` +M/ .md` +Mh` sN: -my sN: .mh`
|
||||
sN: -Ny sN- -Ny sN/dd` +M/ `dd` +M+ `dd`
|
||||
`hm. :No `hm. :No `hm. `hm. :No `hm. :Ns `hm.
|
||||
`dd` +M/ `dd` +M/ `dd` sN: -Ny sN- -Ny sN:
|
||||
-my sN: -Ny sN: -my sh` +M/ .md` +M/ .dd` +M/
|
||||
:Ns `hm. :Ns ym- :Ns `hMhssssmMo `hm. /Mo `hm. /Mo
|
||||
+M+ `dd` +M+ `dd` /M+ `----------` yN- -Ny sN- -Ny
|
||||
oN: .mh` sN: .mh` oMmyyyyyyyyyyyyyyyyyyNM/ .mh` oM/ .mh`
|
||||
yN- :Ns ym- -Ns ........................ `dm. /Mo `dm.
|
||||
`dm. /M+ `dd` /MNyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyhMN- -Ny yN-
|
||||
.mh` oN: .mh` .....................................` .mh` oN:
|
||||
-Ny yN- -NMhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhdMm. /M+
|
||||
/Mo `dm. ``````````````````````````````````````````````````` :Ns
|
||||
oM/ .mMdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddmMh`
|
|
@ -22,7 +22,7 @@
|
|||
# the top and down respectively.
|
||||
# The width can be negative. In this case the actual width is the
|
||||
# screen width minus the width defined in within the geometry option.
|
||||
geometry = "400x8-10+30"
|
||||
geometry = "400x8+10+31"
|
||||
|
||||
title = Dunst # Define window title
|
||||
class = Dunst # Define window class
|
||||
|
|
|
@ -4,6 +4,5 @@
|
|||
<!-- You are supposed to remove all the lines but the one(s) where the font is used in your terminal -->
|
||||
<!-- Only monospaced fonts have been listed here -->
|
||||
<!-- If your font isn't in the list, uncomment the next line and write its name -->
|
||||
<alias><family>Gohu GohuFont</family><default><family>icons-in-terminal</family></default></alias>
|
||||
|
||||
<alias><family>t cherry</family><default><family>icons-in-terminal</family></default></alias>
|
||||
</fontconfig>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
set noshowmode
|
||||
set noruler
|
||||
autocmd BufLeave <buffer> set showmode ruler
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,9 +2,6 @@
|
|||
super + {_,shift} + w
|
||||
bspc node -{c,k}
|
||||
|
||||
super + y
|
||||
bspc node -s biggest.local
|
||||
|
||||
super + f
|
||||
bspc node -t $(bspc query -N -n -n .tiled >/dev/null && echo floating || echo tiled)
|
||||
|
||||
|
@ -23,18 +20,19 @@ super + {braceleft,braceright}
|
|||
alt + {_,shift} + Tab
|
||||
bspc node -f {next,prev}.local.normal
|
||||
|
||||
super + {_,shift} + comma
|
||||
bspc node $(bspc query -N -n -n .!leaf || echo @/) {-R 90,-B}
|
||||
super + {comma,period}
|
||||
bspc node $(bspc query -N -n -n .!leaf || echo @/) -R {90,-90}
|
||||
|
||||
super + {_,shift} + minus
|
||||
bspc node {,$(bspc query -N -n .hidden | tail -n1) -g hidden=off -f} -g hidden
|
||||
super + {_,shift} + ntilde
|
||||
bspc node $(bspc query -N -n .hidden | tail -n1) {-g hidden,-g hidden=off -f}
|
||||
#whid {hide,dmenu}
|
||||
|
||||
super + {Up,Down,Left,Right}
|
||||
bspc node -f @{parent,brother,first,second}
|
||||
|
||||
# Run Applications
|
||||
super + {m,b,v,q,z,e,x,n,c}
|
||||
{mousepad,firefox,pavucontrol,oblogout,termite,thunar,skyterm,networkmanager_dmenu,kal}
|
||||
super + {m,b,v,q,z,e,x,c}
|
||||
{mousepad,firefox,pavucontrol,oblogout,termite,thunar,skyterm,kal}
|
||||
|
||||
super + {space,r,s}
|
||||
rofi -show {drun,run,window}
|
||||
|
@ -43,7 +41,7 @@ ctrl + alt + x
|
|||
xkill
|
||||
|
||||
Print
|
||||
maim -u ~/Pictures/scrot/$(date +%s).png && notify-send 'Screen captured'
|
||||
maim -u ~/Pictures/scrot/$(date +%s).png && notify-send -t 3000 'Screen captured'
|
||||
|
||||
super + F1
|
||||
notify-send -t 5000 "$(date +'%A %d de %B %H:%M')"
|
||||
|
@ -59,4 +57,4 @@ XF86Audio{Prev,Next,Play}
|
|||
mpc -q {prev,next,toggle}
|
||||
|
||||
XF86MonBrightness{Down,Up}
|
||||
xbacklight {-dec 5,-inc 5} && notify-send " $(printf %.0f%% $(xbacklight -get))"
|
||||
xbacklight {-dec 5,-inc 5} && notify-send -t 5000 " $(printf %.0f%% $(xbacklight -get))"
|
||||
|
|
|
@ -10,8 +10,9 @@ clickable_url = true
|
|||
scrollback_lines = 10000
|
||||
search_wrap = true
|
||||
#font = IBM Plex Mono Regular 10
|
||||
font = gohu gohufont 10
|
||||
#font = gohu gohufont 10
|
||||
#font = Sarasa Term J Regular 10
|
||||
font = t cherry Regular 9
|
||||
geometry = 1280x720
|
||||
|
||||
# "system", "on" or "off"
|
||||
|
|
11
.mutt/muttrc
11
.mutt/muttrc
|
@ -33,10 +33,13 @@ set mailcap_path = ~/.mutt/mailcap
|
|||
set new_mail_command="notify-send -t 10000 'New Email in %f' '%n new messages, %u unread.' &"
|
||||
|
||||
# Sidebar -----------------------------------------
|
||||
set sidebar_format = "%B %?N?[%N]?%* %S"
|
||||
#set sidebar_format = "%B %?N?[%N]?%* %S"
|
||||
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
|
||||
color sidebar_new yellow default
|
||||
set sidebar_width = 30
|
||||
set sidebar_divider_char = ' '
|
||||
set sidebar_short_path = yes
|
||||
set sidebar_next_new_wrap = yes
|
||||
|
||||
# Config -----------------------------------------
|
||||
set editor = "nvim"
|
||||
|
@ -71,7 +74,7 @@ unignore x-mailer:
|
|||
|
||||
# Status Bar -----------------------------------------
|
||||
set status_chars = " *%A"
|
||||
set status_format = "────[ Folder: %f ]────────[ %r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
|
||||
set status_format = "──┄┄╼ %f (%m) ╾┄┄──────┼%?n? %n new?%?d?, %d to delete?%?t?, %t tagged?%?p?, %p postponed ? ┼───%>─┤ %P ├───"
|
||||
color status blue default
|
||||
|
||||
# Index Options -----------------------------------------
|
||||
|
@ -107,10 +110,10 @@ set fast_reply # skip to compose when replying
|
|||
set sendmail_wait = 1 # wait for sending... to complete
|
||||
#set askcc # ask for CC:
|
||||
set fcc_attach # save attachments with the body
|
||||
unset mime_forward # forward attachments as part of body
|
||||
set mime_forward = yes # forward attachments as part of body
|
||||
set forward_format = "Fwd: %s" # format for subject when forwarding
|
||||
set forward_decode # decode when forwarding
|
||||
set attribution = "On %d, %n wrote:" # set the attribution
|
||||
set attribution = "El %d, %n escribio:" # set the attribution
|
||||
set reply_to # reply to Reply to: field
|
||||
set reverse_name # reply as whomever it was to
|
||||
set include # include message in replies
|
||||
|
|
22
.tmux.conf
22
.tmux.conf
|
@ -1,3 +1,12 @@
|
|||
#is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
# | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
#bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
#bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
#bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
#bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
#bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
|
||||
|
||||
# Set the default TERM
|
||||
set -g default-terminal tmux-256color
|
||||
|
||||
|
@ -61,6 +70,9 @@ bind-key M-| split-window -fh -c "#{pane_current_path}"
|
|||
bind-key M-- split-window -fv -c "#{pane_current_path}"
|
||||
bind X select-layout even-vertical
|
||||
|
||||
# Toggle zoom
|
||||
bind-key -n M-z resize-pane -Z
|
||||
|
||||
# Move to window
|
||||
bind -n M-S-1 select-window -t :1
|
||||
bind -n M-S-2 select-window -t :2
|
||||
|
@ -83,10 +95,6 @@ set-window-option -g xterm-keys on
|
|||
bind-key q kill-window
|
||||
bind-key x kill-pane
|
||||
|
||||
#######################
|
||||
### KEEP IT GAY ###
|
||||
#######################
|
||||
|
||||
bind-key / set-option -g status
|
||||
|
||||
set -g status-interval 1
|
||||
|
@ -131,7 +139,7 @@ set-option -g status-left ''
|
|||
|
||||
# Right side of status bar
|
||||
set-option -g status-right-length 250
|
||||
set-option -g status-right "#(txbar)#[fg=blue]%d/%m/%Y %R #[fg=colour2,bold]#S"
|
||||
set-option -g status-right "#(txbar)#[fg=blue]%d %b %R #[fg=colour2,bold]#S"
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg colour7
|
||||
|
@ -140,12 +148,10 @@ set-window-option -g window-status-fg colour7
|
|||
set-window-option -g window-status-current-fg colour11
|
||||
set-window-option -g window-status-current-attr bright
|
||||
|
||||
#######################
|
||||
|
||||
# Reload conf file
|
||||
bind r source-file ~/.tmux.conf \; display-message ' reloaded '
|
||||
|
||||
# Better mouse support
|
||||
set -g @prevent-scroll-for-fullscreen-alternate-buffer 'on'
|
||||
set -g @scroll-speed-num-lines-per-scroll '3'
|
||||
run-shell ~/bin/tmux-better-mouse-mode/scroll_copy_mode.tmux
|
||||
run-shell ~/bin/tmux-better-mouse-mode/scroll_copy_mode.tmux
|
9
.xinitrc
9
.xinitrc
|
@ -9,7 +9,7 @@ fi
|
|||
|
||||
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export PATH="${PATH}:/home/deadguy/bin"
|
||||
export PATH="${PATH}:/home/deadguy/bin:/usr/lib/surfraw:/usr/lib/ccache/bin/"
|
||||
|
||||
xset s off &
|
||||
xset s noblank &
|
||||
|
@ -18,9 +18,6 @@ xset s noexpose &
|
|||
setxkbmap -option caps:escape
|
||||
wmname LG3D &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
xfce4-power-manager &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
sxhkd &
|
||||
hsetroot -fill /home/deadguy/Pictures/wallpaper/doitlive.png &
|
||||
compton -b &
|
||||
exec bspwm
|
||||
xfce4-power-manager &
|
||||
exec bspwm
|
81
.zshrc
81
.zshrc
|
@ -4,11 +4,10 @@
|
|||
calcurse -r7 --format-apt=" - %m (%S a %E)\n" --format-recur-apt=" - %m (%S a %E)\n"
|
||||
|
||||
# Exports {{{
|
||||
export PATH="/usr/lib/ccache/bin/:$PATH"
|
||||
export EDITOR="nvim"
|
||||
export VISUAL="mousepad"
|
||||
export BROWSER="firefox"
|
||||
export CLIBROWSER="w3m"
|
||||
export CLIBROWSER="links"
|
||||
export GREP_COLOR="0;32"
|
||||
export PULSEMIXER_BAR_STYLE="┌╶┐╴└┘▮ ◆┆"
|
||||
export RANGER_LOAD_DEFAULT_RC="FALSE"
|
||||
|
@ -102,7 +101,6 @@ autoload -Uz colors
|
|||
zmodload zsh/complist
|
||||
compinit
|
||||
colors
|
||||
autoload -Uz zmv
|
||||
autoload -Uz zcalc
|
||||
autoload -Uz run-help
|
||||
autoload -Uz run-help-git
|
||||
|
@ -213,6 +211,15 @@ bindkey '^?' backward-delete-char
|
|||
bindkey '^h' backward-delete-char
|
||||
bindkey '^w' backward-kill-word
|
||||
|
||||
# Even more ways to search
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
bindkey '^P' up-line-or-beginning-search
|
||||
bindkey '^N' down-line-or-beginning-search
|
||||
bindkey '^U' history-incremental-pattern-search-backward
|
||||
|
||||
# Ctrl+Y is a standard in some places, and since Ctrl+R is taken...
|
||||
bindkey -a u undo
|
||||
bindkey -a '^y' redo
|
||||
|
@ -312,7 +319,7 @@ alias dir='dir --color=always'
|
|||
alias type='type -a' # See what the command you want to run points to
|
||||
alias df='df -hT --total' # Human readable, print filetype, and total
|
||||
alias free='free -ht' # Human readable and total
|
||||
alias du='du -d1 -h' # Human readable, max depth
|
||||
alias du='du -d1 -h | sort -rh' # Human readable, max depth
|
||||
alias info='info --vi-keys' # GNU info act like man command
|
||||
alias inxi='inxi -Fz'
|
||||
alias slop='slop --highlight --tolerance=0 --color=0.3,0.4,0.6,0.4 -f '%wx%h+%x+%y''
|
||||
|
@ -358,8 +365,8 @@ hx-commit() { hexa commit -m "$@" ;}
|
|||
|
||||
# Video {{{
|
||||
ytl() { youtube-viewer -n $@ ;}
|
||||
ytmp3() { youtube-dl -icw --no-cache-dir --no-call-home --restrict-filenames --extract-audio --audio-format mp3 --audio-quality 0 --prefer-ffmpeg -o "%(title)s.%(ext)s" $@ ;}
|
||||
yt2mp3() { youtube-dl -icw --no-cache-dir --no-call-home --restrict-filenames -x --audio-format mp3 --audio-quality 0 --prefer-ffmpeg -o "%(title)s.%(ext)s" -f 171 "$@" ;}
|
||||
mp3() { youtube-dl -icw --no-cache-dir --no-call-home --restrict-filenames --extract-audio --audio-format mp3 --audio-quality 0 --prefer-ffmpeg -o "%(title)s.%(ext)s" $@ ;}
|
||||
2mp3() { youtube-dl -icw --no-cache-dir --no-call-home --restrict-filenames -x --audio-format mp3 --audio-quality 0 --prefer-ffmpeg -o "%(title)s.%(ext)s" -f 171 "$@" ;}
|
||||
# }}}
|
||||
|
||||
# Pacman {{{
|
||||
|
@ -382,7 +389,7 @@ paclist() {
|
|||
|
||||
pacfix() {
|
||||
sudo rm -f /var/lib/pacman/db.lck
|
||||
sudo pacman-mirrors -g
|
||||
sudo pacman-mirrors -f5
|
||||
sudo pacman -Syyuu
|
||||
sudo pacman -Suu
|
||||
}
|
||||
|
@ -412,54 +419,6 @@ shot() { maim -d 5 -q -u ~/Pictures/scrot/$(date +%s).png && notify-send 'Screen
|
|||
# Set wallpaper
|
||||
wpp() { hsetroot -fill ~/Pictures/wallpaper/$1 ;}
|
||||
|
||||
# Showing off during live shows
|
||||
deci() {
|
||||
echo " "
|
||||
toilet -t -f 3d " $@! " | lolcat
|
||||
echo " "
|
||||
}
|
||||
|
||||
function cfg(){
|
||||
case $1 in
|
||||
vi) $EDITOR ~/.config/nvim/init.vim ;;
|
||||
ob) sudo -e $EDITOR /etc/oblogout.conf ;;
|
||||
start) $EDITOR ~/.config/bspwm/autostart ;;
|
||||
wm) $EDITOR ~/.config/bspwm/bspwmrc ;;
|
||||
keys) $EDITOR ~/.config/sxhkd/sxhkdrc ;;
|
||||
mutt) $EDITOR ~/.mutt/muttrc ;;
|
||||
zsh) $EDITOR ~/.zshrc ;;
|
||||
bar) $EDITOR ~/.config/polybar/config ;;
|
||||
dunst) $EDITOR ~/.config/dunst/dunstrc ;;
|
||||
term) $EDITOR ~/.config/termite/config ;;
|
||||
rofi) $EDITOR ~/.config/rofi/config.rasi;;
|
||||
mpv) $EDITOR ~/.config/mpv/mpv.conf ;;
|
||||
mpd) $EDITOR ~/.config/mpd/mpd.conf ;;
|
||||
play) $EDITOR ~/.config/ncmpcpp/config ;;
|
||||
rg) $EDITOR ~/.config/ranger/rc.conf ;;
|
||||
rifle) $EDITOR ~/.config/ranger/rifle.conf ;;
|
||||
scope) $EDITOR ~/.config/ranger/scope.sh ;;
|
||||
tx) $EDITOR ~/.tmux.conf ;;
|
||||
comp) $EDITOR ~/.config/compton.conf ;;
|
||||
tsd) $EDITOR ~/.config/transmission-daemon/settings.json ;;
|
||||
tsr) $EDITOR ~/.config/transmission-remote-cli/settings.cfg ;;
|
||||
xinit) $EDITOR ~/.xinitrc ;;
|
||||
xres) $EDITOR ~/.Xresources ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
function rld(){
|
||||
case $1 in
|
||||
zsh) source ~/.zshrc ;;
|
||||
fonts) fc-cache -v -f ;;
|
||||
keys) pkill -USR1 -x sxhkd ;;
|
||||
dunst) ~/.config/dunst/./reload ;;
|
||||
comp) pkill compton && compton -bcCGf ;;
|
||||
xres) xrdb ~/.Xresources ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
ranger() {
|
||||
if [ -z "$RANGER_LEVEL" ]; then
|
||||
/usr/bin/ranger "$@"
|
||||
|
@ -481,18 +440,6 @@ man() {
|
|||
man "$@"
|
||||
}
|
||||
|
||||
# colorized cat
|
||||
function c() {
|
||||
for file in "$@"
|
||||
do
|
||||
pygmentize -O style=monokai -f console256 -g "$file"
|
||||
done
|
||||
}
|
||||
# colorized less
|
||||
function l() {
|
||||
pygmentize -O style=monokai -f console256 -g $1 | less -r
|
||||
}
|
||||
|
||||
# This is a workaround for tmux. When you clear the terminal with ctrl-l
|
||||
# anything on-screen is not saved (this is compatible with xterm behavior).
|
||||
# In contrast, GNU screen will first push anything on-screen into the
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
case $1 in
|
||||
vi) $EDITOR ~/.config/nvim/init.vim ;;
|
||||
ob) sudo -e $EDITOR /etc/oblogout.conf ;;
|
||||
start) $EDITOR ~/.config/bspwm/autostart ;;
|
||||
wm) $EDITOR ~/.config/bspwm/bspwmrc ;;
|
||||
keys) $EDITOR ~/.config/sxhkd/sxhkdrc ;;
|
||||
mutt) $EDITOR ~/.mutt/muttrc ;;
|
||||
zsh) $EDITOR ~/.zshrc ;;
|
||||
bar) $EDITOR ~/.config/polybar/config ;;
|
||||
dunst) $EDITOR ~/.config/dunst/dunstrc ;;
|
||||
term) $EDITOR ~/.config/termite/config ;;
|
||||
rofi) $EDITOR ~/.config/rofi/config.rasi;;
|
||||
mpv) $EDITOR ~/.config/mpv/mpv.conf ;;
|
||||
mpd) $EDITOR ~/.config/mpd/mpd.conf ;;
|
||||
play) $EDITOR ~/.config/ncmpcpp/config ;;
|
||||
rg) $EDITOR ~/.config/ranger/rc.conf ;;
|
||||
rifle) $EDITOR ~/.config/ranger/rifle.conf ;;
|
||||
scope) $EDITOR ~/.config/ranger/scope.sh ;;
|
||||
tx) $EDITOR ~/.tmux.conf ;;
|
||||
comp) $EDITOR ~/.config/compton.conf ;;
|
||||
tsd) $EDITOR ~/.config/transmission-daemon/settings.json ;;
|
||||
tsr) $EDITOR ~/.config/transmission-remote-cli/settings.cfg ;;
|
||||
xinit) $EDITOR ~/.xinitrc ;;
|
||||
xres) $EDITOR ~/.Xresources ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Showing off during live shows
|
||||
|
||||
echo " "
|
||||
toilet -t -f 3d " $@! " | lolcat
|
||||
echo " "
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
case $1 in
|
||||
zsh) source ~/.zshrc ;;
|
||||
fonts) fc-cache -v -f ;;
|
||||
keys) pkill -USR1 -x sxhkd ;;
|
||||
dunst) ~/.config/dunst/./reload ;;
|
||||
comp) pkill compton && compton -bcCGf ;;
|
||||
xres) xrdb ~/.Xresources ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
|
@ -3,7 +3,7 @@
|
|||
terminal="st"
|
||||
|
||||
if [ -z $(xdotool search --classname "dropdown") ]; then
|
||||
bspc rule -a $terminal:dropdown state=floating,hidden=on,sticky=on layer=above,focus=on,rectangle=1360x252+0+527
|
||||
bspc rule -a $terminal:dropdown state=floating,hidden=on,sticky=on layer=above,focus=on,rectangle=1362x250+2+527
|
||||
|
||||
# Use of xtoolwait is recommended instead of the until-loop.
|
||||
# One or the other is needed to wait for the terminal to be
|
||||
|
|
|
@ -79,6 +79,7 @@ ipw2100-fw
|
|||
ipw2200-fw
|
||||
irssi
|
||||
jfsutils
|
||||
jp2a
|
||||
jq
|
||||
lib32-mesa-demos
|
||||
lib32-openal
|
||||
|
@ -87,7 +88,6 @@ libgsf
|
|||
libopenraw
|
||||
libpng12
|
||||
libunrar
|
||||
links
|
||||
linux-rt-manjaro
|
||||
linux-rt-manjaro-headers
|
||||
linux44-headers
|
||||
|
@ -181,7 +181,7 @@ python2-numpy
|
|||
qalculate-gtk
|
||||
qsynth
|
||||
qt5-tools
|
||||
qutebrowser
|
||||
qt5-webengine
|
||||
redshift
|
||||
refind-efi
|
||||
reiserfsprogs
|
||||
|
@ -208,7 +208,6 @@ texlive-fontsextra
|
|||
texlive-formatsextra
|
||||
texlive-science
|
||||
the_silver_searcher
|
||||
thunar-shares-plugin-manjaro
|
||||
thunar-volman
|
||||
tig
|
||||
tmux
|
||||
|
|
|
@ -32,7 +32,6 @@ ibniz-git
|
|||
img2xterm
|
||||
imlib2-bpg-git
|
||||
imlib2-webp-git
|
||||
jp2a
|
||||
libbpg
|
||||
megatools
|
||||
modprobed-db
|
||||
|
|
Reference in New Issue