Update, add clipboard, xfce/i3 mix
This commit is contained in:
parent
7a8b2450a6
commit
cbcee601ac
6 changed files with 31 additions and 15 deletions
|
|
@ -54,6 +54,10 @@ alias tm="tmux -2 attach"
|
||||||
alias ppjson="python -mjson.tool"
|
alias ppjson="python -mjson.tool"
|
||||||
#alias tmux-pwn='tmux list-clients | sed "s|^\(/dev/ttys[0-9]\+\).*\[\([0-9]\+x[0-9]\+\).*$|\2 \1|" | sort -r -n | tail -n +2 | cut -d " " -f 2 | xargs -n 1 tmux detach-client -t'
|
#alias tmux-pwn='tmux list-clients | sed "s|^\(/dev/ttys[0-9]\+\).*\[\([0-9]\+x[0-9]\+\).*$|\2 \1|" | sort -r -n | tail -n +2 | cut -d " " -f 2 | xargs -n 1 tmux detach-client -t'
|
||||||
|
|
||||||
|
# I can never remember the xclip options, so:
|
||||||
|
alias setclip='xclip -selection c'
|
||||||
|
alias getclip='xclip -selection clipboard -o'
|
||||||
|
|
||||||
#machines
|
#machines
|
||||||
alias lear="ssh -D 7777 -Y barak@lear.barakmich.com"
|
alias lear="ssh -D 7777 -Y barak@lear.barakmich.com"
|
||||||
alias hero="ssh -D 7777 -Y barak@hero.barakmich.com"
|
alias hero="ssh -D 7777 -Y barak@hero.barakmich.com"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
background_darkness = 0.8
|
background_darkness = 0.8
|
||||||
background_image = None
|
background_image = None
|
||||||
background_type = transparent
|
background_type = transparent
|
||||||
font = Droid Sans Mono Dotted 16
|
font = Droid Sans Mono Dotted 14
|
||||||
foreground_color = "#ffffff"
|
foreground_color = "#ffffff"
|
||||||
scroll_on_output = False
|
scroll_on_output = False
|
||||||
scrollback_infinite = True
|
scrollback_infinite = True
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
background_darkness = 0.8
|
background_darkness = 0.8
|
||||||
background_image = None
|
background_image = None
|
||||||
background_type = transparent
|
background_type = transparent
|
||||||
font = Inconsolata Medium 26
|
font = Droid Sans Mono Dotted 14
|
||||||
foreground_color = "#ffffff"
|
foreground_color = "#ffffff"
|
||||||
scrollback_infinite = True
|
scrollback_infinite = True
|
||||||
scrollbar_position = hidden
|
scrollbar_position = hidden
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@
|
||||||
;; (package-initialize)
|
;; (package-initialize)
|
||||||
|
|
||||||
(setq gc-cons-threshold 100000000)
|
(setq gc-cons-threshold 100000000)
|
||||||
(defconst spacemacs-version "0.105.20" "Spacemacs version.")
|
|
||||||
|
(defconst spacemacs-version "0.105.21" "Spacemacs version.")
|
||||||
(defconst spacemacs-emacs-min-version "24.3" "Minimal version of Emacs.")
|
(defconst spacemacs-emacs-min-version "24.3" "Minimal version of Emacs.")
|
||||||
|
|
||||||
(if (not (version<= spacemacs-emacs-min-version emacs-version))
|
(if (not (version<= spacemacs-emacs-min-version emacs-version))
|
||||||
|
|
|
||||||
16
.i3/config
16
.i3/config
|
|
@ -15,7 +15,7 @@ set $mod Mod1
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
font pango:DejaVu Sans Mono 10
|
font pango:DejaVu Sans Mono 13
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
# Before i3 v4.8, we used to recommend this one as the default:
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||||
|
|
@ -195,10 +195,10 @@ bindsym $mod+t mode "moveworkspace"
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
#bar {
|
||||||
# status_command i3status
|
## status_command i3status
|
||||||
status_command i3-wrapper
|
#status_command i3-wrapper
|
||||||
position top
|
#position top
|
||||||
tray_output primary
|
#tray_output primary
|
||||||
}
|
#}
|
||||||
|
exec --no-startup-id xfce4-panel --disable-wm-check
|
||||||
|
|
|
||||||
11
.spacemacs
11
.spacemacs
|
|
@ -38,6 +38,7 @@ values."
|
||||||
shell-default-term-shell "/bin/zsh")
|
shell-default-term-shell "/bin/zsh")
|
||||||
;; spell-checking
|
;; spell-checking
|
||||||
python
|
python
|
||||||
|
yaml
|
||||||
syntax-checking
|
syntax-checking
|
||||||
(version-control :variables
|
(version-control :variables
|
||||||
version-control-diff-tool 'diff-hl
|
version-control-diff-tool 'diff-hl
|
||||||
|
|
@ -312,6 +313,16 @@ BUFFER may be either a buffer or its name (a string)."
|
||||||
(add-to-list 'default-frame-alist '(alpha 85 85))
|
(add-to-list 'default-frame-alist '(alpha 85 85))
|
||||||
|
|
||||||
(setq diff-hl-side 'left)
|
(setq diff-hl-side 'left)
|
||||||
|
(defun cleanup-org-tables ()
|
||||||
|
(save-excursion
|
||||||
|
(goto-char (point-min))
|
||||||
|
(while (search-forward "-+-" nil t) (replace-match "-|-"))
|
||||||
|
))
|
||||||
|
|
||||||
|
(add-hook 'markdown-mode-hook 'orgtbl-mode)
|
||||||
|
(add-hook 'markdown-mode-hook
|
||||||
|
(lambda()
|
||||||
|
(add-hook 'after-save-hook 'cleanup-org-tables nil 'make-it-local)))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
8
.xinitrc
8
.xinitrc
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export PATH=$HOME/bin:$PATH
|
export PATH=$HOME/bin:$PATH
|
||||||
|
xfsettingsd &
|
||||||
xrdb -merge .Xdefaults &
|
xrdb -merge .Xdefaults &
|
||||||
|
|
||||||
#gnome-settings-daemon &
|
#gnome-settings-daemon &
|
||||||
|
|
@ -16,14 +17,13 @@ synclient PalmDetect=1
|
||||||
# Running a really minimal arch system? This helps:
|
# Running a really minimal arch system? This helps:
|
||||||
|
|
||||||
/usr/lib/xfce4/notifyd/xfce4-notifyd &
|
/usr/lib/xfce4/notifyd/xfce4-notifyd &
|
||||||
xfsettingsd &
|
|
||||||
pulseaudio --start &
|
pulseaudio --start &
|
||||||
blueman-applet &
|
blueman-applet &
|
||||||
#wicd-gtk --tray &
|
#wicd-gtk --tray &
|
||||||
|
|
||||||
#if [ -f ~/.xrandrrc ]; then
|
if [ -f ~/.xrandrrc ]; then
|
||||||
#~/.xrandrrc
|
~/.xrandrrc
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
~/.fehbg &
|
~/.fehbg &
|
||||||
if command -v compton &>/dev/null; then
|
if command -v compton &>/dev/null; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue