Added Latex-stuff for moderncv, changed color/fonts in i3 and termite

clean_emacs
TuDatTr 2018-01-02 21:52:58 +01:00
parent 049303bbe8
commit 589d333a61
9 changed files with 93 additions and 64 deletions

View File

@ -12,7 +12,7 @@ floating_modifier $mod
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
font xft:Noto Sans 10 font xft:Noto Sans 12
####################### #######################
### Window Settings ### ### Window Settings ###
@ -21,26 +21,8 @@ font xft:Noto Sans 10
# Configure border style <normal|1pixel|pixel xx|none|pixel> # Configure border style <normal|1pixel|pixel xx|none|pixel>
new_window pixel 1 new_window pixel 1
new_float normal new_float normal
# Hide borders
hide_edge_borders none hide_edge_borders none
# change borders
bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+n border normal
# start a terminal
bindsym $mod+Return exec terminal
# kill focused window
bindsym $mod+Shift+q kill
# start program launcher
bindsym $mod+d exec --no-startup-id dmenu_run
# launch categorized menu
bindsym $mod+z exec --no-startup-id morc_menu
################################################################################################ ################################################################################################
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## ## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
@ -53,6 +35,17 @@ bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
#bindsym $mod+Ctrl+m exec pavucontrol #bindsym $mod+Ctrl+m exec pavucontrol
################################################################################################ ################################################################################################
# start a terminal
bindsym $mod+Return exec terminal
# kill focused window
bindsym $mod+Shift+q kill
# start program launcher
bindsym $mod+d exec --no-startup-id dmenu_run
# launch categorized menu
bindsym $mod+z exec --no-startup-id morc_menu
# Screen brightness controls # Screen brightness controls
bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
@ -75,30 +68,19 @@ bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
focus_follows_mouse no focus_follows_mouse no
# change focus # change focus
bindsym $mod+j focus left bindsym $mod+j focus left
bindsym $mod+k focus down bindsym $mod+k focus down
bindsym $mod+l focus up bindsym $mod+l focus up
bindsym $mod+semicolon focus right bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+j move left bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split orientation # split orientation
bindsym $mod+h split h;exec notify-send 'tile horizontally' bindsym $mod+h split h;exec notify-send 'tile horizontally'
bindsym $mod+v split v;exec notify-send 'tile vertically' bindsym $mod+v split v;exec notify-send 'tile vertically'
@ -136,15 +118,13 @@ bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev bindsym $mod+Ctrl+Left workspace prev
# Workspace names # Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like:
set $ws1 "" set $ws1 ""
set $ws2 "" set $ws2 ""
set $ws3 "" set $ws3 ""
set $ws4 "" set $ws4 ""
set $ws5 "5" set $ws5 "5"
set $ws6 "6" set $ws6 "6"
set $ws7 "" set $ws7 ""
set $ws8 "" set $ws8 ""
# switch to workspace # switch to workspace
@ -179,13 +159,13 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
# Open applications on specific workspaces # Open applications on specific workspaces
assign [class="Firefox"] $ws2 assign [class="Firefox"] $ws2
assign [class="Spotify"] $ws4 assign [class="Spotify"] $ws7
assign [class="Thunderbird"] $ws7 assign [class="Thunderbird"] $ws3
assign [class="Keepassx2"] $ws8 assign [class="Keepassx2"] $ws8
assign [class="Veracrypt"] $ws8 assign [class="Veracrypt"] $ws8
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [title="alsamixer"] floating enable border pixel 1 for_window [title="alsamixer"] flMoating enable border pixel 1
for_window [class="Calamares"] floating enable border normal for_window [class="Calamares"] floating enable border normal
for_window [class="Clipgrab"] floating enable for_window [class="Clipgrab"] floating enable
for_window [title="File Transfer*"] floating enable for_window [title="File Transfer*"] floating enable
@ -296,24 +276,24 @@ exec --no-startup-id ~/.scripts/dotfiles.sh
# to: # to:
# background $term_background # background $term_background
# Same logic applied to everything else. # Same logic applied to everything else.
set_from_resource $term_background background # set_from_resource $term_background background
set_from_resource $term_foreground foreground # set_from_resource $term_foreground foreground
set_from_resource $term_color0 color0 # set_from_resource $term_color0 color0
set_from_resource $term_color1 color1 # set_from_resource $term_color1 color1
set_from_resource $term_color2 color2 # set_from_resource $term_color2 color2
set_from_resource $term_color3 color3 # set_from_resource $term_color3 color3
set_from_resource $term_color4 color4 # set_from_resource $term_color4 color4
set_from_resource $term_color5 color5 # set_from_resource $term_color5 color5
set_from_resource $term_color6 color6 # set_from_resource $term_color6 color6
set_from_resource $term_color7 color7 # set_from_resource $term_color7 color7
set_from_resource $term_color8 color8 # set_from_resource $term_color8 color8
set_from_resource $term_color9 color9 # set_from_resource $term_color9 color9
set_from_resource $term_color10 color10 # set_from_resource $term_color10 color10
set_from_resource $term_color11 color11 # set_from_resource $term_color11 color11
set_from_resource $term_color12 color12 # set_from_resource $term_color12 color12
set_from_resource $term_color13 color13 # set_from_resource $term_color13 color13
set_from_resource $term_color14 color14 # set_from_resource $term_color14 color14
set_from_resource $term_color15 color15 # set_from_resource $term_color15 color15
# Color palette used for i3 # Color palette used for i3
# Variables are set based on the documentation: # Variables are set based on the documentation:

View File

@ -1,9 +1,9 @@
[options] x[options]
#allow_bold = true #allow_bold = true
#audible_bell = false #audible_bell = false
#clickable_url = true #clickable_url = true
#dynamic_title = true #dynamic_title = true
font = Monospace 9 font = Monospace 12
#fullscreen = true #fullscreen = true
#geometry = 640x480 #geometry = 640x480
#icon_name = terminal #icon_name = terminal
@ -55,7 +55,7 @@ background = rgba(63, 63, 63, 0.4)
# Colors from color0 to color254 can be set # Colors from color0 to color254 can be set
color0 = #303462 color0 = #303462
color1 = #705050 color1 = #60b48a
color2 = #60b48a color2 = #60b48a
color3 = #dfaf8f color3 = #dfaf8f
color4 = #5294E2 color4 = #5294E2
@ -63,8 +63,8 @@ color5 = #dc8cc3
color6 = #8cd0d3 color6 = #8cd0d3
color7 = #dcdccc color7 = #dcdccc
color8 = #709080 color8 = #709080
color9 = #dca3a3 color9 = #60b48a
color10 = #c3bf9f color10 = #60b48a
color11 = #f0dfaf color11 = #f0dfaf
color12 = #94bff3 color12 = #94bff3
color13 = #ec93d3 color13 = #ec93d3

View File

@ -2,5 +2,5 @@
# name: moderncv-cvcomputer # name: moderncv-cvcomputer
# key: cvcomp # key: cvcomp
# -- # --
\cvcomputer{${1:category}}{${2:programs}}{${3:category}}{${3:programs}} \cvcomputer{${1:category}}{${2:programs}}{${3:category}}{${4:programs}}
$0 $0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvitem
# key: cvi
# --
\cvitem{${1:item}}{}
$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvitemwithcomment
# key: cviwc
# --
\cvitemwithcomment{${1:item}}{${2:item}}{${3:item}}
$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvskill
# key: cvskill
# --
\cvitemwithcomment{${1:skill}}{\skill{${2:level}}}{${3:comment}}
$0

View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: textit
# key: i
# --
\textit{$1}$0

View File

@ -1,5 +1,5 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: usepackage # name: usepackage
# key: pkg # key: use
# -- # --
\usepackage{$0} \usepackage{$0}

26
Latex-Templates/cv.tex Normal file
View File

@ -0,0 +1,26 @@
\documentclass[12pt,a4paper,sans]{moderncv}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, top=1.5cm, margin=2.5cm]{geometry}
\usepackage{tikz}
\usepackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{blue}{HTML}{3970AB}
\definecolor{gray}{HTML}{B9B9B9}
\definecolor{mint}{HTML}{50B48A}
\newcommand\skill[1]{
\begin{tikzpicture}
\foreach [count=\i] \x/\y in {#1}
{
\draw[fill=gray, gray] (0,\i) rectangle (\y,\i+0.4);
\draw[fill=white,mint](0,\i) rectangle (\x,\i+0.4);
}
\end{tikzpicture}
}
\newcommand{\givenskill}{}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../CV"
%%% End: