Add templating with profiles
- workstation - laptop
This commit is contained in:
@@ -188,8 +188,7 @@ bindsym Ctrl+Shift+2 exec --no-startup-id setxkbmap de
|
||||
new_window 1pixel
|
||||
|
||||
|
||||
{%@@ if exists('/home/mthomas') @@%}
|
||||
# CONFIG FOR WORK
|
||||
{%@@ if profile == "workstation" @@%}
|
||||
# Locking
|
||||
bindsym $mod+Shift+b exec "xlock -mode blank -startCmd /share/bin/isweg -endCmd /share/bin/isda"
|
||||
|
||||
@@ -213,8 +212,7 @@ bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
{%@@ endif @@%}
|
||||
|
||||
{%@@ if exists('/home/marc') @@%}
|
||||
# CONFIG FOR HOME
|
||||
{%@@ if profile == "laptop" @@%}
|
||||
# Locking
|
||||
bindsym $mod+Shift+b exec "xlock -mode matrix"
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ set colorcolumn=80
|
||||
|
||||
" Numbers at the left side
|
||||
set number
|
||||
:highlight LineNr ctermfg=gray "color
|
||||
:highlight LineNr ctermfg=white "color
|
||||
"set relativenumber
|
||||
|
||||
" Parathesis highlighting
|
||||
|
||||
10
dotfiles/xinitrc
Executable file
10
dotfiles/xinitrc
Executable file
@@ -0,0 +1,10 @@
|
||||
export TERM="xterm-256color"
|
||||
|
||||
xrdb -load $HOME/.Xresources
|
||||
|
||||
{%@@ if profile == "workstation" @@%}
|
||||
/share/bin/isda
|
||||
~/bin/.keyboard.scm &
|
||||
xrandr --output DVI-I-1 --auto --right-of VGA-1
|
||||
exec i3
|
||||
{%@@ endif @@%}
|
||||
Reference in New Issue
Block a user