Minor updates

This commit is contained in:
Thomas Dehaeze 2022-05-09 10:08:41 +02:00
parent b57650cced
commit e983b735d7
4 changed files with 12 additions and 7 deletions

View File

@ -137,7 +137,7 @@ reverse = no
# append nicknames to name column: yes / no
show_nicknames = no
# show uid table column: yes / no
show_uids = yes
show_uids = no
# sort by first or last name: first_name / last_name
sort = last_name
# localize dates: yes / no
@ -180,14 +180,14 @@ To share an event by email, the currently best way to proceed is to first find t
#+begin_src bash
if [[ -f $1 ]]; then
resp=$(echo -e "yes\nno" | rofi -i -only-match -dmenu -p "Would you like to add the event:" -mesg "`khal printics $1 | tail -n +2`")
resp=$(echo -e "yes\nno" | rofi -i -only-match -dmenu -p "Would you like to add the event:" -mesg "`khal printics \"$1\" | tail -n +2`")
if [[ "$resp" == "yes" ]]; then
calendar=$(echo "`khal printcalendars`" | rofi -i -only-match -dmenu -p "Save to:")
if [ -z "$calendar" ]; then
exit;
fi
khal import -a "$calendar" --batch $1 && \
khal import -a "$calendar" --batch "$1" && \
notify-send --hint=string:x-dunst-stack-tag:fJeNG8gc "Calendar" "Even added";
fi
fi

8
i3.org
View File

@ -69,18 +69,19 @@ workspace_layout default
#+end_src
#+begin_src conf
focus_follows_mouse yes
focus_follows_mouse no
#+end_src
* Border
#+begin_src conf
default_border pixel 1
default_border pixel 2
#+end_src
* Settings for i3-gaps
#+begin_src conf
gaps inner 10
gaps outer 2
gaps outer 1
smart_gaps on
#+end_src
* Workspace names
@ -137,6 +138,7 @@ for_window [title="ncmpcpp"] floating enable, resize set 800 400, move position
for_window [title="Sensors"] floating enable, resize set 800 400, move position center
for_window [title="nmtui"] floating enable, resize set 800 600, move position center
for_window [title="Xournal"] floating enable, resize set 1100 750, move position center
for_window [title="esrf-phonebook"] floating enable, resize set 1400 400, move position center
#+end_src
* Scratchpad

View File

@ -28,7 +28,6 @@ There are Specific configuration files for:
- *Terminal File Manager*: [[file:ranger.org][Ranger]]
- *Calendar and Contacts*: [[file:calendar-contact.org][Vdirsyncer, Khal and Khard]]
- *Mails*: [[file:mail.org][Mbsync, Msmtp, Mu and Neomutt]]
- *Contacts*: [[file:contacts.org][Khard]]
- *RSS-Reader*: [[file:newsboat.org][Newsboat]]
- *Version Control*: [[file:git.org][Git]]
- *Scripts*: [[file:binaries.org][Scripts]]

View File

@ -878,6 +878,10 @@ It is integrated with =ranger= and =pcmanFM=.
sudo apt install trash-cli
#+end_src
** Nice other programs
- https://github.com/leonwind/cli2cloud
- Gnu Make alternative https://github.com/taskctl/taskctl
* Printer
https://wiki.archlinux.org/index.php/CUPS
Web based administration: http://localhost:631/