new conky, rust routine, no polybar

clean_emacs
Tuan-Dat Tran 2019-04-15 12:43:08 +02:00
parent 1ba7475a9b
commit cee9e8883d
10 changed files with 459 additions and 10 deletions

View File

@ -80,6 +80,7 @@ for_window [class="(?i)virtualbox"] floating enable border normal
for_window [title="KeePassX$"] floating enable border normal for_window [title="KeePassX$"] floating enable border normal
for_window [title="Eddie - Settings"] floating enable border normal for_window [title="Eddie - Settings"] floating enable border normal
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
# for_window [class="^urxvt$"] border pixel style 3
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config # https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
# Steam # Steam
@ -102,9 +103,10 @@ exec --no-startup-id feh --randomize --bg-fill /usr/share/backgrounds/*
exec --no-startup-id compton -b exec --no-startup-id compton -b
exec --no-startup-id nextcloud exec --no-startup-id nextcloud
exec --no-startup-id udiskie exec --no-startup-id udiskie
exec --no-startup-id polybar beep -r exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
exec --no-startup-id polybar boop -r # exec --no-startup-id polybar beep -r
exec --no-startup-id nm-applet # exec --no-startup-id polybar boop -r
# exec --no-startup-id nm-applet
############################################################################### ###############################################################################
################################# Keybindings ################################# ################################# Keybindings #################################
@ -247,11 +249,11 @@ gaps inner 10
gaps outer -4 gaps outer -4
# Smart gaps (gaps used if only more than one container on the workspace) # Smart gaps (gaps used if only more than one container on the workspace)
# smart_gaps on smart_gaps on
# Smart borders (draw borders around container only if it is not the only container on this workspace) # Smart borders (draw borders around container only if it is not the only container on this workspace)
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) # on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
# smart_borders on smart_borders on
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. # Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
set $mode_gaps Gaps: (o) outer, (i) inner set $mode_gaps Gaps: (o) outer, (i) inner

View File

@ -7,4 +7,4 @@ map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d); ~/Templates/L
map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf
map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Elektro_-_Rechnung_$(date +%g-%m)_-Elektro.tex; ~/Templates/LaTeX/Invoice/InvNum.sh map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Elektro_-_Rechnung_$(date +%g-%m)_-Elektro.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
map nu shell touch L_$(basename %f .pdf)\.md; vim L_$(basename %f .pdf)\.md;

View File

@ -0,0 +1,183 @@
--[[
#=====================================================================================
#
# Name : Syclo Conky (Simple System Info & Clock)
# Author : Adhi Pambudi
# https://plus.google.com/+AdhiPambudi
# http://addy-dclxvi.deviantart.com/
# Github : https://github.com/addy-dclxvi
# Version : v3.0.1
# License : Distributed under the terms of GNU GPL version 2 or later
# Note : Using template from Erik Dubois
#
#=====================================================================================
# CONKY
# For commands in conky.config section:
# http://conky.sourceforge.net/config_settings.html
#
# For commands in conky.text section:
# http://conky.sourceforge.net/variables.html
#
#=====================================================================================
]]
conky.config = {
--## Begin Window Settings #####################
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Syclo Conky',
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
-- own_window_argb_visual yes # Options: yes or no
--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
-- own_window_argb_value 50
minimum_width = 420,
minimum_height = 220,
maximum_width = 420,
gap_x = 0,--## left | right
gap_y = 0,--## up | down
alignment = 'bl',
--###################### End Window Settings ###
--## Font Settings #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
--xftfont Liberation Mono:bold:size=9
font = 'Roboto:size=10',
-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,
uppercase = false,
--######################## End Font Settings ###
--## Colour Settings ###########################
draw_shades = false,--yes
default_shade_color = 'black',
draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',
default_color = '#ffffff',-- PureWhite
color0 = '#DC143C',-- crimson
color1 = '#778899',-- LightSlateGray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkycrimson
color7 = '#5F9EA0',-- Cadetcrimson
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
--###################### End Colour Settings ###
--## Borders Section ###########################
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 0,
border_outer_margin = 0,
-- border width
border_width = 0,
-- graph borders
draw_graph_borders = true,--no
--default_graph_size 15 40
--####################### End Borders Secton ###
--## Miscellaneous Section #####################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',
-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size 6144
-- Subtract (file system) buffers from used memory?
no_buffers = true,
-- change GiB to G and MiB to M
short_units = true,
-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,
-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
imlib_cache_size = 0,
-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,
-- Maximum size of user text buffer, i.e. layout below TEXT line in config file
-- (default is 16384 bytes)
-- max_user_text 16384
-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit
--################ End Miscellaneous Section ###
update_interval = 1,
};
conky.text = [[
# You can change bg-bottomleft-75.png to bg-bottomleft-50.png for 50% opacity
# Or bg-bottomleft-25.png for 25% opacity
# Or bg-bottomleft-0.png for fully transparent
${goto 24}${font Roboto:Light:size=72}${color0}\
${time %H}${color}\
\
:\
\
${time %M}${font}${color}
\
${goto 50}${font Roboto:Light:size=20}${voffset 12}${execi 300 LANG=de_DE.utf8 LC_TIME=de_DE.utf8 date +"%A"},${color}\
${color0} ${execi 300 LANG=de_DE.utf8 LC_TIME=de_DE.utf8 date +"%d"}${color}\
${execi 300 LANG=de_DE.utf8 LC_TIME=de_DE.utf8 date +"%B"}${font}${color}
\
${goto 24}\
${font Roboto:Light:pixelsize=12}\
${offset 20}${battery_percent}%\
${offset 45}$mem / $memmax\
${offset 45}${cpu cpu0}%
]];

11
vim/.vim/ftplugin/go.vim Normal file
View File

@ -0,0 +1,11 @@
" Shortcuts
imap ;main package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O
imap { {<Enter>}<Esc>kA
imap ( ()<Esc>i
imap () ()
" Compiling
map <C-c><C-c> <Esc>:!clear; go run %<Enter>
map <C-c><C-b> <Esc>:!clear; go build %; ./%<<Enter>
map <C-c><C-w> <Esc>:!clear; GOOS=windows GOARCH=386 go build -o %<.exe %

View File

@ -4,6 +4,5 @@ setlocal spell spelllang=de_de
" Begin Shortcuts " Begin Shortcuts
" Compilation " Compilation
map <C-c><C-c> <Esc>:RunBackgroundCommand pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf<Enter>:redraw! map <C-c><C-c> <Esc>:RunBackgroundCommand pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf<Enter>
map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del>pdf &"<Enter> map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del>pdf &>/dev/null &"<Enter>

View File

@ -304,3 +304,256 @@ Putzdienstes
Tischmülleimer Tischmülleimer
Fachschafts Fachschafts
Lernraumes Lernraumes
Dechenstraße
Gladbeck
s
DBMS
wegklicken
Personalkarten
Aufderlandwehr
Bittner
Filipp
Dolshanski
Philip
Josie
Frese
Grei
Hetkämper
Hülsmann
Komnick
Lampret
Ploog
Reistorff
Haefs
Smets
Thiemann
Tsafos
Aylin
Wollatz
Frederik
Myriam
Weinz
Röttges
Janzik
Aledia
Security
Andert
Aline
Aslan
Ömer
Athanasiadis
Christos
Phish
NanoEngineering
Bangel
Bathon
Baumert
Bereska
Bernemann
Bestgen
Biebeck
Bojahr
Schagen
ISE
Boscheck
Boßeler
Brökelschen
Bruns
Buddenbohm
Bulavintseva
Burczyk
Bushran
Shashi
Valeriya
Dette
Dewert
Dittler
Thuy
Trang
Erdmann
Ertas
Fanke
Batuhan
Zhou
Han
Zhang
Jessie
Wurzalla
Waasmann
Ullrich
Turman
Triquart
Ostasienwissenschaften
Südholt
Sygulla
Tekaat
Tellbüscher
Tepper
Terdin
Teriete
Tetos
Thom
Todenhöfer
Tonkel
Anil
Vivien
Nikolaos
Darleen
Plewa
Rachul
Rahmatullah
Ashef
Rathofer
Ratnere
Rauls
Riemk
Riesner
Robeck
Sauerbrei
Scheiermann
Scheiler
Schendzielorz
Schlottmann
Schlung
Dorit
Sicking
Ninian
Schmiedtchen
Schönrath
Schuppert
Spyrou
Sterzing
Hartnagel
Heckschen
Henscheid
Herbrich
Heßeling
Hetzel
Heyermann
Hißmann
Högden
Hondar
Jurij
Hülzevoort
Wirtschaftspädagogik
Immel
Isidorovic
Ljubisav
Joey
Janke
Jeske
Jeske
Michèle
Kaczmarek
Karas
Kelm
Kolfenbach
Kontowski
Kretzschmar
Latza
Latza
Lipfert
Löppenberg
Manske
Mettbach
Michen
Mölders
Monsees
Moreno
Murad
Muschalik
Musebrink
Nashed
Necker
Nendrup
Nguyen
Olligs
Olligs
Ortabas
Ostkamp
Elif
Ceyda
Samir
Ingrun
Freundel
Fritsch
Funkenberg
Geurtz
Giebeler
Golenia
Görgens
Grinewitschus
Gritzner
Häckner
Hallekamp
Kaldewey
Jian
To
Pöss
Sever
Buono
Zöller
Kopka
Trampnau
Gremzo
Vorjohann
Gördes
Mrzyk
Beyer
Pytlik
Kara
Pinar
Isabell
Manthey
Buciunes
Adomas
Schlautmann
Heitmann
Kristof
WirtschaftsIng
Banas
Jarno
Sarina
Wronna
Mommertz
Hesselmann
Kalkowsky
SoWi
Scheyon
LaSoWi
Wißmann
Horlemann
Podday
Mikulicz
Tinoco
Zirger
Veseljak
Johannimloh
Heghmanns
Folke
Günes
Miltner
Dogan
Eirich
Lückenjans
Maruan
Salhi
Rößing
MediTech
Burgmann
Ambrosius
Siegmann
Almeida
Pannhausen
Thiele
Wegenaer
Kampmann
Scheychon
Nuevo
Vierheilig
Meilan
Nohman
Bakir
Alanah
WiWi
Voteller

Binary file not shown.

View File

@ -39,6 +39,7 @@ set smartcase
set incsearch set incsearch
set hlsearch set hlsearch
set nofoldenable set nofoldenable
set nospell
" Line Numbers " Line Numbers
"set number "set number
"set relativenumber "set relativenumber

View File

@ -1,6 +1,6 @@
# Paths # Paths
export ZSH="/home/tuan/.oh-my-zsh" export ZSH="/home/tuan/.oh-my-zsh"
export PATH="$PATH:$HOME/.go/bin:$HOME/.local/bin" export PATH="$PATH:$HOME/.go/bin:$HOME/.local/bin:$HOME/.cargo/bin"
export GOPATH="$HOME/.go/" export GOPATH="$HOME/.go/"
# Alias # Alias