Compare commits
274 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2aa8820e86 | |||
| ab961d7006 | |||
| df83eef022 | |||
| 16fddec80c | |||
| 46ac775d64 | |||
| 10f10df3d3 | |||
| bbffda2ec8 | |||
| 04eb39ce33 | |||
| fc8a72ebaf | |||
| e13204586c | |||
| 406f904367 | |||
| 8a03de58b9 | |||
| 0c1bbf2724 | |||
| a13b62b983 | |||
| 16085ea510 | |||
| 0751521ea9 | |||
| 5fe9887fd1 | |||
| 008be8a351 | |||
| 03a7c0ef5d | |||
| e7409b1f7d | |||
| 936b4489c1 | |||
| 7ed4daa6d8 | |||
| 092d39ca40 | |||
| d663d0a73b | |||
| 62973120bb | |||
| 8a6fff09a9 | |||
| db86e8770e | |||
| 647e39b5cf | |||
| 9e3c50f60b | |||
| 1395146661 | |||
| 87ed7f3527 | |||
| 2e856516aa | |||
| 3d32dea385 | |||
| 334815816a | |||
| 9f65bc30c8 | |||
| e79633362e | |||
| 88ab0c75e4 | |||
| e49b11da27 | |||
| 37d14d3e7c | |||
| f79772f85f | |||
| ad38badb04 | |||
| 9165e6dad8 | |||
| 1bbd7f5e6c | |||
| 010f692b41 | |||
| cc1b5ae9c7 | |||
| 070750b7c8 | |||
| 4a28478156 | |||
| 6fb63aa116 | |||
| b307fab0f2 | |||
| 9292773c26 | |||
| d3ad5d4b5d | |||
| f64c2d39c5 | |||
| 3e630c4c4f | |||
| d30af24cae | |||
| d9b6fdfc1b | |||
| 6fcf9ba919 | |||
| 3b95857d2d | |||
| 7a7c647c22 | |||
| f0510126ba | |||
| 3a929aab14 | |||
| 30847ce7ab | |||
| e04f3e0fb8 | |||
| b419ec8f9f | |||
| 9401989d52 | |||
| 99c753d335 | |||
| 7aace26ee9 | |||
| d4cfe9e64d | |||
| d4f922dd95 | |||
| 5e349c574c | |||
| 27cf792916 | |||
| da08d846a8 | |||
| 6ff1cb0c04 | |||
| 508fd11964 | |||
| 0984ac2838 | |||
| d498a4fd18 | |||
| 2d4d014056 | |||
| b92370a8c0 | |||
| 02090ad839 | |||
| 0cab81e17c | |||
| 80f3c7ec18 | |||
| e75d93975c | |||
| a7d797f432 | |||
| d5e31079f6 | |||
| 509ccdc88b | |||
| 063f5b5029 | |||
| d1e31d35b3 | |||
| 6d2bbfa01e | |||
| ede78da06a | |||
| 1ff79d8a85 | |||
| bf1dbe95e9 | |||
| 6bd5d710ec | |||
| 4273b7612e | |||
| 133cc4d31c | |||
| b9b5ebe807 | |||
| 61df077539 | |||
| fc663940ff | |||
|
|
2e87881195 | ||
|
|
4eca2ee06a | ||
| 40cf47632b | |||
| aab3bef14a | |||
| 3490407647 | |||
| 8b096b569a | |||
| 60d9c2182a | |||
| 9a2666798a | |||
| 0a3fdd0682 | |||
| 4be018fdc5 | |||
| e94b86c137 | |||
| ed138d143a | |||
| 140f471283 | |||
| d784acc82a | |||
| c667df83fa | |||
| 5ebe434fbf | |||
| 06a0ac7cc4 | |||
| 1114ddf947 | |||
| 7df1e7a4d8 | |||
| d9fc1b7765 | |||
| 972c4d7a4d | |||
| a13b50be39 | |||
| da084d3243 | |||
| 41db2b047e | |||
| 77e0a5a50f | |||
| 423a767254 | |||
| e4d0042114 | |||
| a7c30c7a27 | |||
| 08d8a22709 | |||
| 8f4ceb7e2e | |||
| 9cac6e0f85 | |||
| c864b6df9f | |||
| c9520bf079 | |||
| 14c50758fb | |||
| 1e5bd3255d | |||
| 2502a78da7 | |||
| d2a7a8263c | |||
| 96685eb902 | |||
| 51eebfe113 | |||
| 09f050a42e | |||
| d8a623b5b8 | |||
| 9c77d9b3fc | |||
| 1b9408c46e | |||
| d2210226d8 | |||
| 15dc08f81a | |||
| d10da3b71a | |||
| e8626f8108 | |||
| b01ea97798 | |||
| f5638b6c81 | |||
| a64bc16a23 | |||
| e2b173bae0 | |||
| ec15ab5913 | |||
| 1967463cf7 | |||
| c9ff0abbc2 | |||
| eec5d06d09 | |||
| 3505b8f23d | |||
| 37510222a6 | |||
| 83b74423da | |||
| 095b5798f2 | |||
| f763d7b994 | |||
| 9adddc4b7a | |||
| a7697c2e87 | |||
| 84bc65982f | |||
| ac8cca19b1 | |||
| 78b79a01d9 | |||
| 7ac7bf0f1f | |||
| 48ec212fb2 | |||
| aa7a192b0c | |||
| d23037e11a | |||
| 2a36ef6c0b | |||
| deecd96cc9 | |||
| 2669ace5fa | |||
| 1f5f00e637 | |||
| 2bda586093 | |||
| 97abb8d8b6 | |||
| 1fe0f2baef | |||
| f1accd5842 | |||
| 8aeae726ed | |||
| 86669142bf | |||
| 2e0dabc7f8 | |||
| 060d5ca3e7 | |||
| 74247ed5b2 | |||
| 8932a425d2 | |||
| 700b6ec873 | |||
| 1a0d68953a | |||
| 798c8085ff | |||
| 021b2d90ce | |||
| f5f0e597c4 | |||
| 4649db7adc | |||
| 0ac5d5aa7b | |||
| 260e206da0 | |||
| eee06ca4c0 | |||
| f2903ab7cb | |||
| 0abfc02384 | |||
| beb6292ddd | |||
| 62b2b87c9f | |||
| 1094a63a3b | |||
| acecaa7ffe | |||
| df2ad52c99 | |||
| 017eab1a02 | |||
| 42e47f9227 | |||
| f6188dfe86 | |||
| 34003802c6 | |||
| 66cfd7af31 | |||
| bb16ba3261 | |||
| 497d5f863f | |||
| 728378eb2a | |||
| a26d681c2d | |||
| 140088e237 | |||
| 2494d5ce01 | |||
| f91bbc857d | |||
| eff06079de | |||
| 9b2bd0b702 | |||
| e842787d16 | |||
| a267ba0adf | |||
| 5281c0499f | |||
| 69c6eedd3f | |||
| c59e88722c | |||
| 28a0928b83 | |||
| 4a7032aff4 | |||
| aeb4a5a27a | |||
| de1a723d05 | |||
| 392ac49b33 | |||
| 1f042392b3 | |||
| fefb13530f | |||
| 5d53ab9298 | |||
| bf4891512b | |||
| bf7055e4f7 | |||
| 7f2bb1585a | |||
| 5283f339d1 | |||
| 81fd63bf11 | |||
| 0044f6a4f5 | |||
| a69e726c1e | |||
| cab484bd4f | |||
| 4fdf4d6004 | |||
|
|
e4b9ea7f80 | ||
|
|
f14af11d89 | ||
| 2c34a6dd6b | |||
| 6ada82a506 | |||
| bdbf88cfa6 | |||
| 61e46e7ba9 | |||
| d9b9be32a2 | |||
| 3b687f3342 | |||
| e05610d6cc | |||
| 6a49e78789 | |||
| 48360b9169 | |||
| 354a4c1c01 | |||
| b7f03054d4 | |||
| 4632b5d39b | |||
| af3f15e30e | |||
| ae14fa1171 | |||
| ebd4bc0bad | |||
| fa71de6291 | |||
| ad85172df5 | |||
| de6ffd9347 | |||
| 346da23927 | |||
| c013387b96 | |||
| 0d71058215 | |||
| 08aba1e3d0 | |||
| 9f29b0eb44 | |||
| 3a211ea8e3 | |||
| 52d740b545 | |||
| 08d397da50 | |||
| 48b271cb4b | |||
| 35201aa221 | |||
| 279520eeea | |||
| ca848a1c1f | |||
| 94d4387df6 | |||
| baa37a68e7 | |||
| 9a3f68c6e4 | |||
| 1bc33a19cc | |||
| 5a6e686ab3 | |||
| 9b21ae50b1 | |||
| becc0ec855 | |||
| 6e8336f18a | |||
| 29d3373746 | |||
| 03a1f90b29 | |||
| 0bbef95663 |
2
.chezmoi.toml.tmpl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[diff]
|
||||
reverse = true
|
||||
4
.chezmoiexternal.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[".tmux/plugins/tpm"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/tmux-plugins/tpm"
|
||||
refreshPeriod = "168h"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
set PATH ~/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
|
||||
|
||||
set fish_greeting ""
|
||||
|
||||
. ~/.bash_aliases
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/barak/.vim
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/barak/.config/systemd/user/ssh-agent.service
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||
4.10.3+=true
|
||||
|
||||
[/home/barak/Desktop/steam.desktop]
|
||||
row=5
|
||||
col=0
|
||||
|
||||
[/]
|
||||
row=0
|
||||
col=0
|
||||
|
||||
[/home/barak]
|
||||
row=1
|
||||
col=0
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||
4.10.3+=true
|
||||
|
||||
[/home/barak/Desktop/steam.desktop]
|
||||
row=5
|
||||
col=0
|
||||
|
||||
[/]
|
||||
row=0
|
||||
col=0
|
||||
|
||||
[/home/barak]
|
||||
row=1
|
||||
col=0
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||
4.10.3+=true
|
||||
|
||||
[/home/barak/Desktop/steam.desktop]
|
||||
row=5
|
||||
col=0
|
||||
|
||||
[/home/barak/Desktop/Hearthstone.desktop]
|
||||
row=3
|
||||
col=0
|
||||
|
||||
[/home/barak/Desktop/Heroes of the Storm.desktop]
|
||||
row=2
|
||||
col=0
|
||||
|
||||
[/home/barak/Desktop/Battle.net.desktop]
|
||||
row=4
|
||||
col=0
|
||||
|
||||
[/]
|
||||
row=0
|
||||
col=0
|
||||
|
||||
[/home/barak]
|
||||
row=1
|
||||
col=0
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
WebBrowser=google-chrome-beta
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
UpdateInterval=1
|
||||
TimeScale=0
|
||||
Size=56
|
||||
Mode=0
|
||||
Frame=1
|
||||
Border=0
|
||||
Bars=0
|
||||
TrackedCore=0
|
||||
Command=xfce4-taskmanager
|
||||
InTerminal=0
|
||||
StartupNotification=1
|
||||
ColorMode=1
|
||||
Foreground1=#0000ffff0000
|
||||
Foreground2=#ffff00000000
|
||||
Foreground3=#00000000ffff
|
||||
Background=#000000000000
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Use_Label=true
|
||||
Show_Values=false
|
||||
Show_Bars=true
|
||||
Colorize_Values=true
|
||||
Color_In=rgb(255,79,0)
|
||||
Color_Out=rgb(255,229,0)
|
||||
Text=wlp4s0
|
||||
Network_Device=wlp4s0
|
||||
Max_In=4096
|
||||
Max_Out=4096
|
||||
Auto_Max=true
|
||||
Update_Interval=500
|
||||
Values_As_Bits=true
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
delay=1
|
||||
region=3
|
||||
action=1
|
||||
show_mouse=1
|
||||
screenshot_dir=file:/home/barak/Pictures
|
||||
app=env
|
||||
last_user=
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
[Settings]
|
||||
ShowAllProcesses=FALSE
|
||||
MorePrecision=FALSE
|
||||
FullCommandLine=FALSE
|
||||
ShowStatusIcon=FALSE
|
||||
ShowMemoryInXBytes=FALSE
|
||||
MonitorPaintBox=TRUE
|
||||
ShowApplicationIcons=TRUE
|
||||
ToolbarStyle=DEFAULT
|
||||
PromptTerminateTask=TRUE
|
||||
RefreshRate=750
|
||||
ColumnUID=FALSE
|
||||
ColumnPID=TRUE
|
||||
ColumnPPID=FALSE
|
||||
ColumnState=FALSE
|
||||
ColumnVSZ=TRUE
|
||||
ColumnRSS=TRUE
|
||||
ColumnCPU=TRUE
|
||||
ColumnPriority=FALSE
|
||||
SortColumn=7
|
||||
SortType=1
|
||||
WindowWidth=2556
|
||||
WindowHeight=1411
|
||||
HandlePosition=100
|
||||
ProcessTreeView=FALSE
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="displays" version="1.0">
|
||||
<property name="Default" type="empty">
|
||||
<property name="eDP1" type="string" value="1. LGD 14"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Resolution" type="string" value="2560x1440"/>
|
||||
<property name="RefreshRate" type="double" value="60.004441"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="DP1" type="string" value="2. Dell 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="59.996625"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="HDMI2" type="string" value="2. HCG 7"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Resolution" type="string" value="1920x1080"/>
|
||||
<property name="RefreshRate" type="double" value="60.000000"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="2560"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="HDMI1" type="string" value="2. AJA Video Systems, Inc. 32"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Resolution" type="string" value="1920x1080"/>
|
||||
<property name="RefreshRate" type="double" value="30.000000"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
<property name="Notify" type="bool" value="true"/>
|
||||
</channel>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="keyboard-layout" version="1.0">
|
||||
<property name="Default" type="empty">
|
||||
<property name="XkbDisable" type="bool" value="true"/>
|
||||
<property name="XkbOptions" type="empty">
|
||||
<property name="Group" type="string" value=""/>
|
||||
<property name="Compose" type="string" value="compose:prsc"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="pointers" version="1.0">
|
||||
<property name="Logitech_G400s_Optical_Gaming_Mouse" type="empty">
|
||||
<property name="RightHanded" type="bool" value="true"/>
|
||||
<property name="Threshold" type="int" value="4"/>
|
||||
<property name="Acceleration" type="double" value="4.600000"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar" version="1.0">
|
||||
<property name="last-view" type="string" value="ThunarIconView"/>
|
||||
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/>
|
||||
<property name="last-window-width" type="int" value="1276"/>
|
||||
<property name="last-window-height" type="int" value="1411"/>
|
||||
<property name="last-window-maximized" type="bool" value="false"/>
|
||||
<property name="last-separator-position" type="int" value="170"/>
|
||||
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_DATE_MODIFIED"/>
|
||||
<property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
|
||||
</channel>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-appfinder" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-height" type="int" value="400"/>
|
||||
<property name="window-width" type="int" value="2554"/>
|
||||
<property name="pane-position" type="int" value="180"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-desktop" version="1.0">
|
||||
<property name="backdrop" type="empty">
|
||||
<property name="screen0" type="empty">
|
||||
<property name="monitor0" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
|
||||
</property>
|
||||
<property name="workspace1" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
|
||||
</property>
|
||||
<property name="workspace2" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
|
||||
</property>
|
||||
<property name="workspace3" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-notifyd" version="1.0">
|
||||
<property name="notify-location" type="uint" value="2"/>
|
||||
<property name="theme" type="string" value="Default"/>
|
||||
<property name="expire-timeout" type="int" value="6"/>
|
||||
<property name="initial-opacity" type="double" value="1.000000"/>
|
||||
<property name="applications" type="empty">
|
||||
<property name="known_applications" type="array">
|
||||
<value type="string" value="Electron"/>
|
||||
<value type="string" value="FileZilla"/>
|
||||
<value type="string" value="Firefox"/>
|
||||
<value type="string" value="geary"/>
|
||||
<value type="string" value="hexchat"/>
|
||||
<value type="string" value="nm-applet"/>
|
||||
<value type="string" value="notify-send"/>
|
||||
<value type="string" value="ScudCloud"/>
|
||||
<value type="string" value="Thunderbird"/>
|
||||
<value type="string" value="Xfce4-notifyd settings"/>
|
||||
<value type="string" value="xfce4-power-manager"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="log-level" type="uint" value="0"/>
|
||||
<property name="log-level-apps" type="uint" value="0"/>
|
||||
<property name="primary-monitor" type="uint" value="1"/>
|
||||
<property name="do-fadeout" type="bool" value="false"/>
|
||||
</channel>
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-panel" version="1.0">
|
||||
<property name="configver" type="int" value="2"/>
|
||||
<property name="panels" type="array">
|
||||
<value type="int" value="1"/>
|
||||
<property name="panel-1" type="empty">
|
||||
<property name="position" type="string" value="p=6;x=0;y=0"/>
|
||||
<property name="length" type="uint" value="100"/>
|
||||
<property name="position-locked" type="bool" value="true"/>
|
||||
<property name="size" type="uint" value="24"/>
|
||||
<property name="plugin-ids" type="array">
|
||||
<value type="int" value="11"/>
|
||||
<value type="int" value="4"/>
|
||||
<value type="int" value="3"/>
|
||||
<value type="int" value="15"/>
|
||||
<value type="int" value="7"/>
|
||||
<value type="int" value="8"/>
|
||||
<value type="int" value="1"/>
|
||||
<value type="int" value="9"/>
|
||||
<value type="int" value="10"/>
|
||||
<value type="int" value="5"/>
|
||||
<value type="int" value="6"/>
|
||||
<value type="int" value="2"/>
|
||||
</property>
|
||||
<property name="autohide-behavior" type="uint" value="0"/>
|
||||
<property name="background-alpha" type="uint" value="77"/>
|
||||
<property name="background-style" type="uint" value="0"/>
|
||||
<property name="length-adjust" type="bool" value="false"/>
|
||||
<property name="background-color" type="array">
|
||||
<value type="uint" value="62965"/>
|
||||
<value type="uint" value="63222"/>
|
||||
<value type="uint" value="63479"/>
|
||||
<value type="uint" value="65535"/>
|
||||
</property>
|
||||
<property name="span-monitors" type="bool" value="false"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugins" type="empty">
|
||||
<property name="plugin-2" type="string" value="actions"/>
|
||||
<property name="plugin-3" type="string" value="tasklist"/>
|
||||
<property name="plugin-15" type="string" value="separator">
|
||||
<property name="expand" type="bool" value="true"/>
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-5" type="string" value="clock">
|
||||
<property name="digital-format" type="string" value="%T"/>
|
||||
<property name="mode" type="uint" value="2"/>
|
||||
</property>
|
||||
<property name="plugin-6" type="string" value="systray">
|
||||
<property name="names-visible" type="array">
|
||||
<value type="string" value="skype"/>
|
||||
<value type="string" value="smuxi-frontend-gnome"/>
|
||||
<value type="string" value="nicotine.py"/>
|
||||
<value type="string" value="task manager"/>
|
||||
<value type="string" value="deluge"/>
|
||||
<value type="string" value="steam"/>
|
||||
<value type="string" value="blueberry-tray.py"/>
|
||||
<value type="string" value="foobnix"/>
|
||||
<value type="string" value="google-chrome-beta"/>
|
||||
<value type="string" value="orage"/>
|
||||
<value type="string" value="vlc"/>
|
||||
<value type="string" value="sabnzbd.py"/>
|
||||
<value type="string" value="clementine"/>
|
||||
<value type="string" value="bluetooth"/>
|
||||
<value type="string" value="mumble"/>
|
||||
<value type="string" value="scudcloud slack"/>
|
||||
<value type="string" value="franz"/>
|
||||
<value type="string" value="xfce4-power-manager"/>
|
||||
<value type="string" value="deadbeef"/>
|
||||
<value type="string" value="ramme"/>
|
||||
<value type="string" value="virt-manager"/>
|
||||
<value type="string" value="tomahawk"/>
|
||||
<value type="string" value="scudcloud slack_ssb"/>
|
||||
<value type="string" value="sylpheed"/>
|
||||
<value type="string" value="keybase"/>
|
||||
<value type="string" value="synergy"/>
|
||||
<value type="string" value="slack"/>
|
||||
<value type="string" value="hexchat"/>
|
||||
<value type="string" value="zoom"/>
|
||||
<value type="string" value="networkmanager applet"/>
|
||||
<value type="string" value="blueman-applet"/>
|
||||
<value type="string" value="mailspring"/>
|
||||
<value type="string" value="remmina"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugin-9" type="string" value="cpugraph"/>
|
||||
<property name="plugin-10" type="string" value="netload"/>
|
||||
<property name="plugin-11" type="string" value="whiskermenu"/>
|
||||
<property name="plugin-1" type="string" value="power-manager-plugin"/>
|
||||
<property name="plugin-4" type="string" value="pager">
|
||||
<property name="rows" type="uint" value="1"/>
|
||||
</property>
|
||||
<property name="plugin-7" type="string" value="genmon"/>
|
||||
<property name="plugin-8" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-power-manager" version="1.0">
|
||||
<property name="xfce4-power-manager" type="empty">
|
||||
<property name="brightness-switch-restore-on-exit" type="int" value="0"/>
|
||||
<property name="brightness-switch" type="int" value="0"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-settings-editor" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="676"/>
|
||||
<property name="window-height" type="int" value="390"/>
|
||||
<property name="paned-position" type="int" value="180"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
;;; init.el --- Spacemacs Initialization File
|
||||
;;
|
||||
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
;; Without this comment emacs25 adds (package-initialize) here
|
||||
;; (package-initialize)
|
||||
|
||||
;; Increase gc-cons-threshold, depending on your system you may set it back to a
|
||||
;; lower value in your dotfile (function `dotspacemacs/user-config')
|
||||
(setq gc-cons-threshold 100000000)
|
||||
|
||||
(defconst spacemacs-version "0.200.3" "Spacemacs version.")
|
||||
(defconst spacemacs-emacs-min-version "24.4" "Minimal version of Emacs.")
|
||||
|
||||
(if (not (version<= spacemacs-emacs-min-version emacs-version))
|
||||
(message (concat "Your version of Emacs (%s) is too old. "
|
||||
"Spacemacs requires Emacs version %s or above.")
|
||||
emacs-version spacemacs-emacs-min-version)
|
||||
(load-file (concat (file-name-directory load-file-name)
|
||||
"core/core-load-paths.el"))
|
||||
(require 'core-spacemacs)
|
||||
(spacemacs/init)
|
||||
(spacemacs/maybe-install-dotfile)
|
||||
(configuration-layer/sync)
|
||||
(spacemacs-buffer/display-info-box)
|
||||
(spacemacs/setup-startup-hook)
|
||||
(require 'server)
|
||||
(unless (server-running-p) (server-start)))
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/barak/.config/fontconfig/fonts.conf
|
||||
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
*~
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/barak/.fonts
|
||||
1
.nvim
|
|
@ -1 +0,0 @@
|
|||
.vim
|
||||
1
.nvimrc
|
|
@ -1 +0,0 @@
|
|||
.vimrc
|
||||
41
.tmux.conf
|
|
@ -1,41 +0,0 @@
|
|||
set -g prefix C-a
|
||||
unbind C-b
|
||||
bind-key C-o last-window
|
||||
bind-key C-a select-pane -t :.+
|
||||
bind-key a send-prefix
|
||||
bind-key j select-pane -D
|
||||
bind-key k select-pane -U
|
||||
bind-key h select-pane -L
|
||||
bind-key l select-pane -R
|
||||
bind-key C-n next-window
|
||||
bind-key C-p previous-window
|
||||
set -g set-titles off
|
||||
set -g default-terminal xterm-256color
|
||||
setw -g mode-keys vi
|
||||
new -d
|
||||
|
||||
|
||||
# shift-movement keys will resize panes
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
|
||||
# better mnemonics for splitting panes!
|
||||
bind | split-window -h
|
||||
bind - split-window -v
|
||||
|
||||
# Status Bar
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
set -g status-interval 1
|
||||
set -g status-left '#[fg=green]#H#[default]'
|
||||
set -g status-left-length 20
|
||||
set -g status-right '#[fg=green]#(~/src/tpom/tpom) #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]'
|
||||
|
||||
# Notifying if other windows has activities
|
||||
setw -g monitor-activity on
|
||||
set -g visual-activity on
|
||||
|
||||
# Highlighting the active window in status bar
|
||||
setw -g window-status-current-bg red
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/barak/.vimrc
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
function Send_to_Screen(text)
|
||||
if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
|
||||
call Screen_Vars()
|
||||
end
|
||||
|
||||
echo system("screen -S " . g:screen_sessionname . " -p " . g:screen_windowname . " -X stuff '" . substitute(a:text, "'", "'\\\\''", 'g') . "'")
|
||||
endfunction
|
||||
|
||||
function Screen_Session_Names(A,L,P)
|
||||
return system("screen -ls | awk '/Attached/ {print $1}'")
|
||||
endfunction
|
||||
|
||||
function Screen_Vars()
|
||||
if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
|
||||
let g:screen_sessionname = ""
|
||||
let g:screen_windowname = "0"
|
||||
end
|
||||
|
||||
let g:screen_sessionname = input("session name: ", "", "custom,Screen_Session_Names")
|
||||
let g:screen_windowname = input("window name: ", g:screen_windowname)
|
||||
endfunction
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
vmap <C-c><C-c> "ry :call Send_to_Screen(@r)<CR>
|
||||
nmap <C-c><C-c> vip<C-c><C-c>
|
||||
|
||||
nmap <C-c>v :call Screen_Vars()<CR>
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
.xinitrc
|
||||
|
|
@ -1 +0,0 @@
|
|||
./.zprofile
|
||||
2
bin/appimage/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*.appimage
|
||||
rust-analyzer-linux
|
||||
3
bin/appimage/nvim.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod +x nvim.appimage
|
||||
6
bin/appimage/obsidian.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
wget -q -O - https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest \
|
||||
| grep -i "browser_download_url.*appimage" \
|
||||
| cut -d '"' -f 4 \
|
||||
| wget -O obsidian.appimage -i -
|
||||
|
||||
chmod +x obsidian.appimage
|
||||
3
bin/appimage/rust-analyzer.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
curl -LO https://github.com/rust-analyzer/rust-analyzer/releases/download/nightly/rust-analyzer-linux
|
||||
chmod +x rust-analyzer-linux
|
||||
5
bin/appimage/update_all.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
./rust-analyzer.sh
|
||||
./nvim.sh
|
||||
./obsidian.sh
|
||||
4
bin/bazel-in-bear
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
LIB=lib/x86_64-linux-gnu
|
||||
export LD_PRELOAD=$(eval "echo ${LD_PRELOAD}")
|
||||
bazel --batch "$@" --action_env=LD_PRELOAD=${LD_PRELOAD} --action_env=BEAR_OUTPUT=${BEAR_OUTPUT} --spawn_strategy=local
|
||||
48
bin/capture
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
VAULT_FILE="capture.md"
|
||||
VAULT_PATH="$HOME/notebook"
|
||||
FILE_IN_VIEW=""
|
||||
POSITIONAL=()
|
||||
while [[ $# -gt 0 ]]
|
||||
do
|
||||
key="$1"
|
||||
|
||||
case $key in
|
||||
-f|--file)
|
||||
VAULT_FILE="$2"
|
||||
shift # past argument
|
||||
shift # past value
|
||||
;;
|
||||
--viewing)
|
||||
FILE_IN_VIEW="$2"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*) # unknown option
|
||||
POSITIONAL+=("$1") # save it in an array for later
|
||||
shift # past argument
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
TO_PATH="${VAULT_PATH}/${VAULT_FILE}"
|
||||
|
||||
cd ${VAULT_PATH}
|
||||
git pull -q
|
||||
|
||||
echo "" >> ${TO_PATH}
|
||||
echo "##### `date`" >> ${TO_PATH}
|
||||
if [ -n "${FILE_IN_VIEW}" ]; then
|
||||
echo "In file _${FILE_IN_VIEW}_" >> ${TO_PATH}
|
||||
fi
|
||||
for s in "${POSITIONAL[@]}" # restore positional parameters
|
||||
do
|
||||
echo -n "${s} " >> ${TO_PATH}
|
||||
done
|
||||
echo "" >> TO_PATH
|
||||
|
||||
git add ${TO_PATH}
|
||||
git commit -q -m "capture `date +%FT%T`"
|
||||
git push -q 2>&1 > /dev/null
|
||||
0
bin/ack → bin/executable_ack
Executable file → Normal file
0
bin/average → bin/executable_average
Executable file → Normal file
132
bin/executable_battery
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
#!/bin/sh
|
||||
|
||||
HEART_FULL=♥
|
||||
HEART_EMPTY=♡
|
||||
[ -z "$NUM_HEARTS" ] &&
|
||||
NUM_HEARTS=5
|
||||
|
||||
cutinate()
|
||||
{
|
||||
perc=$1
|
||||
inc=$(( 100 / $NUM_HEARTS))
|
||||
|
||||
|
||||
for i in `seq $NUM_HEARTS`; do
|
||||
if [ $perc -lt 100 ]; then
|
||||
echo $HEART_EMPTY
|
||||
else
|
||||
echo $HEART_FULL
|
||||
fi
|
||||
perc=$(( $perc + $inc ))
|
||||
done
|
||||
}
|
||||
|
||||
linux_get_bat ()
|
||||
{
|
||||
echo $(( $BAT_TOTAL / $BAT_COUNT ))
|
||||
}
|
||||
|
||||
|
||||
openbsd_get_bat ()
|
||||
{
|
||||
bf=$(sysctl -n hw.sensors.acpibat0.amphour0 | cut -d ' ' -f 1)
|
||||
bn=$(sysctl -n hw.sensors.acpibat0.amphour3 | cut -d ' ' -f 1)
|
||||
echo "(($bn * 100) / $bf)" | bc -l | awk -F '.' '{ print $1 }';
|
||||
}
|
||||
|
||||
freebsd_get_bat ()
|
||||
{
|
||||
sysctl -n hw.acpi.battery.life
|
||||
}
|
||||
|
||||
battery_status()
|
||||
{
|
||||
case $(uname -s) in
|
||||
"Linux")
|
||||
BATTERIES=$(ls /sys/class/power_supply | grep BAT)
|
||||
BAT_COUNT=$(ls /sys/class/power_supply | grep BAT | wc -l)
|
||||
[ $BAT_COUNT -eq 0 ] && return
|
||||
for BATTERY in $BATTERIES; do
|
||||
BAT_PATH=/sys/class/power_supply/$BATTERY
|
||||
STATUS=$BAT_PATH/status
|
||||
[ "$1" = `cat $STATUS` ] || [ "$1" = "" ] || return 0
|
||||
if [ -f "$BAT_PATH/energy_full" ]; then
|
||||
naming="energy"
|
||||
elif [ -f "$BAT_PATH/charge_full" ]; then
|
||||
naming="charge"
|
||||
elif [ -f "$BAT_PATH/capacity" ]; then
|
||||
cat "$BAT_PATH/capacity"
|
||||
return 0
|
||||
fi
|
||||
BAT_PERCENT=$(( 100 * $(cat $BAT_PATH/${naming}_now) / $(cat $BAT_PATH/${naming}_full) ))
|
||||
BAT_TOTAL=$(( ${BAT_TOTAL-0} + $BAT_PERCENT ))
|
||||
done
|
||||
linux_get_bat
|
||||
;;
|
||||
"FreeBSD")
|
||||
STATUS=`sysctl -n hw.acpi.battery.state`
|
||||
case $1 in
|
||||
"Discharging")
|
||||
if [ $STATUS -eq 1 ]; then
|
||||
freebsd_get_bat
|
||||
fi
|
||||
;;
|
||||
"Charging")
|
||||
if [ $STATUS -eq 2 ]; then
|
||||
freebsd_get_bat
|
||||
fi
|
||||
;;
|
||||
"")
|
||||
freebsd_get_bat
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"OpenBSD")
|
||||
openbsd_get_bat
|
||||
;;
|
||||
"Darwin")
|
||||
case $1 in
|
||||
"Discharging")
|
||||
ext="No";;
|
||||
"Charging")
|
||||
ext="Yes";;
|
||||
esac
|
||||
|
||||
ioreg -c AppleSmartBattery -w0 | \
|
||||
grep -o '"[^"]*" = [^ ]*' | \
|
||||
sed -e 's/= //g' -e 's/"//g' | \
|
||||
sort | \
|
||||
while read key value; do
|
||||
case $key in
|
||||
"MaxCapacity")
|
||||
export maxcap=$value;;
|
||||
"CurrentCapacity")
|
||||
export curcap=$value;;
|
||||
"ExternalConnected")
|
||||
if [ -n "$ext" ] && [ "$ext" != "$value" ]; then
|
||||
exit
|
||||
fi
|
||||
;;
|
||||
"FullyCharged")
|
||||
if [ "$value" = "Yes" ]; then
|
||||
exit
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if [[ -n "$maxcap" && -n $curcap ]]; then
|
||||
echo $(( 100 * $curcap / $maxcap ))
|
||||
break
|
||||
fi
|
||||
done
|
||||
esac
|
||||
}
|
||||
|
||||
BATTERY_STATUS=`battery_status $1`
|
||||
[ -z "$BATTERY_STATUS" ] && exit
|
||||
|
||||
if [ -n "$CUTE_BATTERY_INDICATOR" ]; then
|
||||
cutinate $BATTERY_STATUS
|
||||
else
|
||||
echo ${BATTERY_STATUS}%
|
||||
fi
|
||||
|
||||
0
bin/callout → bin/executable_callout
Executable file → Normal file
6
bin/contract → bin/executable_contract
Executable file → Normal file
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
import sys
|
||||
|
||||
loadfile = sys.stdin
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
print "No command to run"
|
||||
print("No command to run")
|
||||
sys.exit(1)
|
||||
|
||||
if len(sys.argv) == 3:
|
||||
|
|
@ -26,7 +26,7 @@ def div(x,y):
|
|||
|
||||
lis = []
|
||||
for line in loadfile:
|
||||
if line.strip() <> "":
|
||||
if line.strip() is not "":
|
||||
x = float(line)
|
||||
lis.append(x)
|
||||
|
||||
0
bin/cronic → bin/executable_cronic
Executable file → Normal file
63
bin/executable_gblame
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
import os
|
||||
|
||||
from typing import List, Dict, Any
|
||||
|
||||
DataLine = Dict[Any, Any]
|
||||
|
||||
|
||||
def grab_blame_data() -> List[DataLine]:
|
||||
p = subprocess.check_output(
|
||||
["git", "blame", "--line-porcelain"] + sys.argv[1:],
|
||||
encoding='utf-8',
|
||||
)
|
||||
data = []
|
||||
cur = {}
|
||||
p = str(p)
|
||||
in_segment = False
|
||||
for line in p.splitlines():
|
||||
l = line.rstrip()
|
||||
if len(l) == 0:
|
||||
continue
|
||||
if l[0] == '\t':
|
||||
cur["data"] = l[1:]
|
||||
data.append(cur)
|
||||
cur = {}
|
||||
in_segment = False
|
||||
continue
|
||||
d = l.split()
|
||||
if not in_segment:
|
||||
cur["sha"] = d[0]
|
||||
cur["sha8"] = d[0][:8]
|
||||
in_segment = True
|
||||
else:
|
||||
cur[d[0]] = " ".join(d[1:])
|
||||
|
||||
assert in_segment is False
|
||||
return data
|
||||
|
||||
|
||||
FIELDS = ["sha8", "author", "summary", "data"]
|
||||
|
||||
|
||||
def main() -> None:
|
||||
d = grab_blame_data()
|
||||
lens = {}
|
||||
for f in FIELDS:
|
||||
maxn = 0
|
||||
for x in d:
|
||||
if len(x[f]) > maxn:
|
||||
maxn = len(x[f])
|
||||
lens[f] = maxn
|
||||
for x in d:
|
||||
s = ""
|
||||
for f in FIELDS:
|
||||
s = s + x[f].ljust(lens[f]) + ' '
|
||||
print(s)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
22
bin/executable_gocov.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
POSITIONAL=()
|
||||
while [[ $# -gt 0 ]]
|
||||
do
|
||||
key="$1"
|
||||
|
||||
case $key in
|
||||
*) # unknown option
|
||||
POSITIONAL+=("$1") # save it in an array for later
|
||||
shift # past argument
|
||||
;;
|
||||
esac
|
||||
done
|
||||
set -- "${POSITIONAL[@]}" # restore positional parameters
|
||||
|
||||
FILENAME="${POSITIONAL[0]}"
|
||||
|
||||
go tool cover -html="$FILENAME" -o "$FILENAME.html"
|
||||
elinks "$FILENAME.html"
|
||||
rm "$FILENAME.html"
|
||||
0
bin/golintc → bin/executable_golintc
Executable file → Normal file
0
bin/orly → bin/executable_orly
Executable file → Normal file
61
bin/executable_pk
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
#!/bin/sh
|
||||
search () {
|
||||
shift
|
||||
if command -v pacman &> /dev/null; then
|
||||
pacman -Ss $1 || yay -Ss $1
|
||||
elif command -v dnf &> /dev/null; then
|
||||
dnf search $1
|
||||
elif command -v port &> /dev/null; then
|
||||
port search $1
|
||||
elif command -v portmaster &> /dev/null; then
|
||||
cd /usr/ports
|
||||
make search name=$1 | grep "^\(Port\|Path\|Info\|Moved\|$\)"
|
||||
elif command -v aptitude &> /dev/null; then
|
||||
aptitude search $1
|
||||
elif command -v apt-cache &> /dev/null; then
|
||||
apt-cache search $1
|
||||
fi
|
||||
}
|
||||
|
||||
update () {
|
||||
shift
|
||||
if command -v pacman &> /dev/null; then
|
||||
sudo pacman -Sy
|
||||
elif command -v dnf &> /dev/null; then
|
||||
sudo dnf update
|
||||
elif command -v port &> /dev/null; then
|
||||
sudo port selfupdate
|
||||
elif command -v portsnap &> /dev/null; then
|
||||
sudo portsnap fetch && sudo portsnap upgrade
|
||||
elif command -v apt-get &> /dev/null; then
|
||||
sudo apt-get update
|
||||
fi
|
||||
}
|
||||
|
||||
install () {
|
||||
shift
|
||||
if command -v pacman &> /dev/null; then
|
||||
sudo pacman -S $* || yay -S $*
|
||||
elif command -v dnf &> /dev/null; then
|
||||
sudo dnf install $*
|
||||
elif command -v port &> /dev/null; then
|
||||
sudo port install $*
|
||||
elif command -v portmaster &> /dev/null; then
|
||||
sudo portmaster $*
|
||||
elif command -v apt-get &> /dev/null; then
|
||||
sudo apt-get install $*
|
||||
fi
|
||||
}
|
||||
|
||||
case $1
|
||||
in
|
||||
"i" | "install")
|
||||
install $*;;
|
||||
|
||||
"s" | "search")
|
||||
search $*;;
|
||||
|
||||
"u" | "update")
|
||||
update $*;;
|
||||
esac
|
||||
|
||||
0
bin/theyfightcrime → bin/executable_theyfightcrime
Executable file → Normal file
4
bin/vi → bin/executable_vi
Executable file → Normal file
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
export TERM=xterm-256color
|
||||
if [ -n "`which nvim`" ]; then
|
||||
nvim "$@"
|
||||
exec -a nvim nvim "$@"
|
||||
else
|
||||
vim "$@"
|
||||
exec -a vim vim "$@"
|
||||
fi
|
||||
0
bin/xinput-toggle → bin/executable_xinput-toggle
Executable file → Normal file
BIN
bin/gettermsize
32
bin/move_bazel_rule.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
if [ -z "$1" ]; then
|
||||
cat << EOF
|
||||
Usages:
|
||||
$0 NEW_BAZEL_FILE
|
||||
Search for BUILD targets with these names in the git repo
|
||||
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE
|
||||
Find instances of the BUILD targets in the to-be-fixed-file
|
||||
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE PREFIX
|
||||
Find instances of that BUILD target with an old prefix (eg: '//:')
|
||||
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE PREFIX NEW_PREFIX
|
||||
Apply the NEW_PREFIX (eg, a package move) in place of the PREFIX in the FIXUP file.
|
||||
EOF
|
||||
exit
|
||||
fi
|
||||
INCOMING_SET=$(grep "name" $1 | cut -d '"' -f 2)
|
||||
TO_CHANGE=$2
|
||||
PREVIOUS_PATH=$3
|
||||
NEW_PATH=$4
|
||||
|
||||
for TARGET in $INCOMING_SET; do
|
||||
if [ -n "$TO_CHANGE" ]; then
|
||||
grep ${PREVIOUS_PATH}${TARGET} $TO_CHANGE
|
||||
if [ -n "$NEW_PATH" ]; then
|
||||
sed -i "s^${PREVIOUS_PATH}${TARGET}^${NEW_PATH}${TARGET}^g" $TO_CHANGE
|
||||
fi
|
||||
else
|
||||
git grep ${TARGET}
|
||||
fi
|
||||
|
||||
done
|
||||
55
bin/pk
|
|
@ -1,55 +0,0 @@
|
|||
#!/bin/sh
|
||||
search () {
|
||||
shift
|
||||
if which pacman >/dev/null; then
|
||||
pacman -Ss $1 || yay -Ss $1
|
||||
elif which port >/dev/null; then
|
||||
port search $1
|
||||
elif which portmaster >/dev/null; then
|
||||
cd /usr/ports
|
||||
make search name=$1 | grep "^\(Port\|Path\|Info\|Moved\|$\)"
|
||||
elif which aptitude >/dev/null; then
|
||||
aptitude search $1
|
||||
elif which apt-cache >/dev/null; then
|
||||
apt-cache search $1
|
||||
fi
|
||||
}
|
||||
|
||||
update () {
|
||||
shift
|
||||
if which pacman >/dev/null; then
|
||||
sudo pacman -Sy
|
||||
elif which port >/dev/null; then
|
||||
sudo port selfupdate
|
||||
elif which portmaster >/dev/null; then
|
||||
sudo portsnap fetch && sudo portsnap upgrade
|
||||
elif which apt-get >/dev/null; then
|
||||
sudo apt-get update
|
||||
fi
|
||||
}
|
||||
|
||||
install () {
|
||||
shift
|
||||
if which pacman >/dev/null; then
|
||||
sudo pacman -S $* || yay -S $*
|
||||
elif which port >/dev/null; then
|
||||
sudo port install $*
|
||||
elif which portmaster >/dev/null; then
|
||||
sudo portmaster $*
|
||||
elif which apt-get >/dev/null; then
|
||||
sudo apt-get install $*
|
||||
fi
|
||||
}
|
||||
|
||||
case $1
|
||||
in
|
||||
"i" | "install")
|
||||
install $*;;
|
||||
|
||||
"s" | "search")
|
||||
search $*;;
|
||||
|
||||
"u" | "update")
|
||||
update $*;;
|
||||
esac
|
||||
|
||||
7
bin/rename_git_branch.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
git checkout $1
|
||||
git branch -m $1 $2
|
||||
git fetch
|
||||
git branch --unset-upstream
|
||||
git branch -u origin/$2
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -n "`which firefox`" ]; then
|
||||
firefox
|
||||
elif [ -n "`which iceweasel`" ]; then
|
||||
iceweasel
|
||||
elif [ -n "`which google-chrome`" ]; then
|
||||
google-chrome
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "`which terminator`" ]; then
|
||||
terminator
|
||||
elif [ -n "`which gnome-terminal`" ]; then
|
||||
gnome-terminal
|
||||
elif [ -n "`which urxvt`" ]; then
|
||||
urxvt
|
||||
else
|
||||
xterm
|
||||
fi
|
||||
50
bin/tunnelwrap
Executable file
|
|
@ -0,0 +1,50 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
USAGE="Usage: $0 [-p port] <portforward> <hostconnection> <command>"
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "$USAGE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OPTIND=1
|
||||
PORT=""
|
||||
KEYFILE=""
|
||||
|
||||
while getopts "h?p:i:" opt; do
|
||||
case "$opt" in
|
||||
h|\?)
|
||||
echo "$USAGE"
|
||||
exit 1
|
||||
;;
|
||||
p) PORT=$OPTARG
|
||||
;;
|
||||
i) KEYFILE=$OPTARG
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
shift $((OPTIND-1))
|
||||
|
||||
[ "${1:-}" = "--" ] && shift
|
||||
|
||||
SSH_OPTS=""
|
||||
|
||||
if [ -n "$PORT" ]; then
|
||||
SSH_OPTS="${SSH_OPTS} -p ${PORT}"
|
||||
fi
|
||||
|
||||
if [ -n "$KEYFILE" ]; then
|
||||
SSH_OPTS="${SSH_OPTS} -i ${KEYFILE}"
|
||||
fi
|
||||
|
||||
CONTROLFILE="/tmp/tunnelwrap.$RANDOM"
|
||||
PORTFORWARD="$1"
|
||||
shift
|
||||
HOSTCONNECTION="$1"
|
||||
shift
|
||||
|
||||
ssh -M -S $CONTROLFILE -fnNT -L $PORTFORWARD $SSH_OPTS $HOSTCONNECTION
|
||||
"$@"
|
||||
ssh -S $CONTROLFILE -O exit $HOSTCONNECTION
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/perl
|
||||
#!/usr/bin/perl
|
||||
|
||||
use Getopt::Std;
|
||||
getopts('u');
|
||||
|
|
|
|||
|
|
@ -59,8 +59,9 @@ alias setclip='xclip -selection c'
|
|||
alias getclip='xclip -selection clipboard -o'
|
||||
|
||||
#machines
|
||||
alias lear="ssh -D 7777 -Y barak@lear.barakmich.com"
|
||||
alias puck="ssh -D 7777 -Y barak@puck.barakmich.com"
|
||||
alias hero="ssh -D 7777 -Y barak@hero.barakmich.com"
|
||||
alias hermia="ssh -Y barak@hermia.home.0b100.net"
|
||||
|
||||
#Cosmetic/useful
|
||||
#alias naim="naim --noscreen"
|
||||
|
|
@ -79,6 +80,9 @@ alias saupdate="sa-learn --mbox --spam ~/mail/spam"
|
|||
alias pshosers="ps axeo pcpu,pid,user,command | sort -k 1 -r | head -11 "
|
||||
alias memhosers="ps axeo size,pcpu,pid,user,command | sort -n -r | head -11 "
|
||||
alias psx="ps auxwww | grep $1"
|
||||
alias blaze="bazel"
|
||||
alias pb='curl -F c=@- https://busb.us/'
|
||||
alias pburl='curl -F c=@- https://busb.us/u'
|
||||
|
||||
#work
|
||||
alias totemp="cd `pwd | sed 's/controllers/templates/'`"
|
||||
|
|
@ -100,6 +104,10 @@ dobenchx() {
|
|||
}
|
||||
alias benchx=dobenchx
|
||||
|
||||
do_killgrep() {
|
||||
ps auxwww | grep $1 | awk '{print $2}' | xargs kill
|
||||
}
|
||||
alias killgrep=do_killgrep
|
||||
#function gvim () {
|
||||
#`which gvim` $* &> /dev/null
|
||||
#}
|
||||
10
dot_bash_k8s_aliases
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
k8s-configmap-from-dir () {
|
||||
local name=$1
|
||||
shift
|
||||
local dir=$1
|
||||
shift
|
||||
if
|
||||
kubectl create configmap "$1" --from-file="$2" -o yaml --dry-run "$@"
|
||||
}
|
||||
|
|
@ -20,3 +20,4 @@ fi
|
|||
|
||||
# Added by ~/.emacs.d/install.sh
|
||||
export PATH=$HOME/.cask/bin:$PATH
|
||||
. "$HOME/.cargo/env"
|
||||
|
|
@ -161,3 +161,4 @@ fi
|
|||
if [ -f ~/local/google-cloud-sdk/completion.bash.inc ]; then
|
||||
. ~/local/google-cloud-sdk/completion.bash.inc
|
||||
fi
|
||||
. "$HOME/.cargo/env"
|
||||
2
dot_cargo/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[net]
|
||||
git-fetch-with-cli = true
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
#no-dnd-shadow = true;
|
||||
#no-dock-shadow = true;
|
||||
#clear-shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
|
|
@ -23,12 +23,11 @@ shadow-exclude = [
|
|||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 0.9;
|
||||
#inactive-opacity = 0.9;
|
||||
# active-opacity = 0.8;
|
||||
frame-opacity = 0.7;
|
||||
#inactive-opacity-override = false;
|
||||
alpha-step = 0.06;
|
||||
#alpha-step = 0.06;
|
||||
inactive-dim = 0.12;
|
||||
# inactive-dim-fixed = true;
|
||||
# blur-background = true;
|
||||
|
|
@ -60,9 +59,9 @@ mark-ovredir-focused = true;
|
|||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
vsync = false;
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
#paint-on-overlay = true;
|
||||
# unredir-if-possible-delay = 5000;
|
||||
# unredir-if-possible-exclude = [ ];
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
|
|
@ -76,7 +75,8 @@ invert-color-include = [ ];
|
|||
glx-copy-from-front = false;
|
||||
# glx-use-copysubbuffermesa = true;
|
||||
# glx-no-rebind-pixmap = true;
|
||||
glx-swap-method = "undefined";
|
||||
#glx-swap-method = "undefined";
|
||||
use-damage = true;
|
||||
# glx-use-gpushader4 = true;
|
||||
# xrender-sync = true;
|
||||
# xrender-sync-fence = true;
|
||||
|
|
@ -85,4 +85,8 @@ glx-swap-method = "undefined";
|
|||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||
dock = { shadow = false; }
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 0.9; }
|
||||
dropdown_menu = { opacity = 0.9; }
|
||||
};
|
||||
148
dot_config/alacritty/alacritty.toml.tmpl
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
[bell]
|
||||
color = "#ffffff"
|
||||
duration = 200
|
||||
|
||||
[colors]
|
||||
draw_bold_text_with_bright_colors = false
|
||||
|
||||
[colors.bright]
|
||||
black = "#565656"
|
||||
blue = "#49a4f8"
|
||||
cyan = "#99faf2"
|
||||
green = "#c0e17d"
|
||||
magenta = "#a47de9"
|
||||
red = "#ec5357"
|
||||
white = "#ffffff"
|
||||
yellow = "#f9da6a"
|
||||
|
||||
[colors.normal]
|
||||
black = "#2e2e2e"
|
||||
blue = "#47a0f3"
|
||||
cyan = "#64dbed"
|
||||
green = "#abe047"
|
||||
magenta = "#7b5cb0"
|
||||
red = "#eb4129"
|
||||
white = "#e5e9f0"
|
||||
yellow = "#f6c744"
|
||||
|
||||
[colors.primary]
|
||||
background = "#000000"
|
||||
foreground = "#fffbf6"
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[font]
|
||||
{{if eq .chezmoi.hostname "lysander" -}}
|
||||
size = 15.5
|
||||
{{ else if eq .chezmoi.hostname "mercutio" -}}
|
||||
size = 19.0
|
||||
{{ else if eq .chezmoi.hostname "rosencrantz" -}}
|
||||
size = 15.0
|
||||
{{ else if eq .chezmoi.hostname "altair" -}}
|
||||
size = 22
|
||||
{{ else if eq .chezmoi.hostname "hermia" -}}
|
||||
size = 20.5
|
||||
{{ else -}}
|
||||
size = 19.0
|
||||
{{ end }}
|
||||
|
||||
[font.bold]
|
||||
style = "Semi-Condensed"
|
||||
#style = "Regular"
|
||||
|
||||
[font.bold_italic]
|
||||
style = "Semi-Condensed Oblique"
|
||||
#style = "Italic"
|
||||
|
||||
[font.italic]
|
||||
style = "Light Semi-Condensed Oblique"
|
||||
#style = "Light Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "Iosevka Berkeley"
|
||||
style = "Light Semi-Condensed"
|
||||
#style = "Light"
|
||||
|
||||
[hints]
|
||||
alphabet = "jfkdls;ahgurieowpq"
|
||||
|
||||
[[hints.enabled]]
|
||||
action = "Copy"
|
||||
regex = "[a-f0-9]{7,}"
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "H"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[hints.enabled]]
|
||||
action = "Copy"
|
||||
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "U"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[hints.enabled]]
|
||||
post_processing = true
|
||||
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||
{{if eq .chezmoi.os "darwin" -}}
|
||||
command = "open"
|
||||
{{ else -}}
|
||||
command = "xdg-open"
|
||||
{{ end }}
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "L"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[hints.enabled.mouse]
|
||||
enabled = true
|
||||
mods = "None"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleViMode"
|
||||
key = "Q"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "P"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
{{if eq .chezmoi.hostname "rosencrantz" -}}
|
||||
action = "ToggleFullscreen"
|
||||
{{ else -}}
|
||||
action = "ToggleMaximized"
|
||||
{{ end }}
|
||||
key = "Return"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleSimpleFullscreen"
|
||||
key = "Return"
|
||||
mods = "Command"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B."
|
||||
key = "Period"
|
||||
mods = "Command"
|
||||
|
||||
[scrolling]
|
||||
history = 10000
|
||||
multiplier = 3
|
||||
|
||||
[window]
|
||||
opacity = 0.88
|
||||
startup_mode = "Windowed"
|
||||
option_as_alt = "Both"
|
||||
#decorations = "None"
|
||||
|
||||
[window.dimensions]
|
||||
columns = 106
|
||||
lines = 24
|
||||
|
||||
[window.padding]
|
||||
x = 3
|
||||
y = 3
|
||||
|
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 967 B |
|
Before Width: | Height: | Size: 997 B After Width: | Height: | Size: 997 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |