Added khal/libinput in i3

This commit is contained in:
dbroqua 2020-07-05 10:36:38 +02:00
parent b890907204
commit c317066f1c
5 changed files with 125 additions and 0 deletions

View file

@ -172,6 +172,7 @@ exec --no-startup-id i3-msg 'exec remmina -i &'
exec --no-startup-id xsettingsd & exec --no-startup-id xsettingsd &
exec --no-startup-id compton --config ~/.compton.conf & exec --no-startup-id compton --config ~/.compton.conf &
exec --no-startup-id setxkbmap -option compose:rctrl & exec --no-startup-id setxkbmap -option compose:rctrl &
exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id i3-msg 'exec /usr/bin/terminator' exec --no-startup-id i3-msg 'exec /usr/bin/terminator'
exec --no-startup-id i3-msg 'exec /usr/bin/firefox' exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify' exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
@ -241,6 +242,9 @@ bindsym $mod+Print exec ~/Bin/slip
# Switch screen layouts # Switch screen layouts
bindsym XF86Display exec ~/Bin/screenlayout.sh bindsym XF86Display exec ~/Bin/screenlayout.sh
# Calendar
bindsym $mod+c exec "rxvt-unicode -e khal interactive"
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# COLORS # COLORS
# #
@ -277,6 +281,7 @@ client.background $nord0
for_window [class="Spotify"], move container to workspace $wksp4 for_window [class="Spotify"], move container to workspace $wksp4
#for_window [class="Firefox"], move container to workspace $wksp1 #for_window [class="Firefox"], move container to workspace $wksp1
#for_window [class="Ristretto"] fullscreen enable #for_window [class="Ristretto"] fullscreen enable
for_window [title="khal"] floating enable border pixel 8 resize set 800 600
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# OTHER STUFF # OTHER STUFF

27
config/khal/config Normal file
View file

@ -0,0 +1,27 @@
[calendars]
[[default]]
path = ~/.calendars/default/
color = dark red
[[birthdays]]
path = ~/.calendars/contact_birthdays
color = yellow
[sqlite]
path = ~/.khal/khal.db
[locale]
local_timezone = Europe/Paris
default_timezone = Europe/Paris
timeformat = %H:%M
dateformat = %d.%m.
longdateformat = %d.%m.%Y
datetimeformat = %d.%m. %H:%M
longdatetimeformat = %d.%m.%Y %H:%M
firstweekday = 0
[default]
default_command = calendar
default_calendar = default
highlight_event_days = True # the default is False

25
config/khard/khard.conf Normal file
View file

@ -0,0 +1,25 @@
[addressbooks]
[[default]]
path = ~/.contacts/default
[general]
default_action = list
editor = vim
merge_editor = vimdiff
[contact table]
display = first_name
group_by_addressbook = no
reverse = no
show_nicknames = no
show_uids = yes
sort = last_name
localize_dates = yes
preferred_phone_number_type = pref, cell, home
preferred_email_address_type = pref, home, work
[vcard]
private_objects =
preferred_version = 3.0
search_in_source_files = no
skip_unparsable = no

View file

@ -0,0 +1,32 @@
# example configuration file for khard version > 0.14.0
# place it under ~/.config/khard/khard.conf
# This file is parsed by the configobj library. The syntax is described at
# https://configobj.readthedocs.io/en/latest/configobj.html#the-config-file-format
[addressbooks]
[[default]]
path = ~/.contacts/default/
[general]
debug = yes
default_action = list
# These are either strings or comma seperated lists
editor = vim, -i, NONE
merge_editor = vimdiff
[contact table]
display = first_name
group_by_addressbook = no
reverse = no
show_nicknames = no
show_uids = yes
sort = last_name
localize_dates = yes
preferred_phone_number_type = pref, cell, home
preferred_email_address_type = pref, work, home
[vcard]
private_objects = Jabber, Skype, Twitter
preferred_version = 3.0
search_in_source_files = no
skip_unparsable = no

36
config/vdirsyncer/config Normal file
View file

@ -0,0 +1,36 @@
[general]
status_path = "~/.vdirsyncer/status/"
# CARDDAV
[pair contacts]
a = "contacts_local"
b = "contacts_remote"
collections = ["from a", "from b"]
metadata = ["displayname"]
[storage contacts_local]
type = "filesystem"
path = "~/.contacts/"
fileext = ".vcf"
[storage contacts_remote]
type = "carddav"
url = "https://cloud.darkou.fr/remote.php/cardav"
[pair calendar]
a = "calendar_local"
b = "calendar_remote"
collections = ["from a", "from b"]
metadata = ["displayname", "color"]
[storage calendar_local]
type = "filesystem"
path = "~/.calendars/"
fileext = ".ics"
[storage calendar_remote]
type = "caldav"
url = "https://cloud.darkou.fr/remote.php/caldav/"