Dark mode + new default page

This commit is contained in:
Thomas Dehaeze 2020-11-25 12:22:10 +01:00
parent bfe1d2ba17
commit 2944f653ee

View File

@ -64,6 +64,11 @@
c.downloads.remove_finished = 10000 c.downloads.remove_finished = 10000
#+END_SRC #+END_SRC
* Colors
#+begin_src python
# c.colors.webpage.darkmode.enabled = True
#+end_src
* Fonts * Fonts
#+begin_src python #+begin_src python
c.fonts.default_family = ["Hack Nerd Font Mono", "DejaVu Sans Mono", "Monaco"] c.fonts.default_family = ["Hack Nerd Font Mono", "DejaVu Sans Mono", "Monaco"]
@ -175,6 +180,7 @@
#+begin_src python #+begin_src python
c.url.start_pages = ['https://homer.tdehaeze.xyz/'] c.url.start_pages = ['https://homer.tdehaeze.xyz/']
c.url.default_page = 'https://homer.tdehaeze.xyz/'
#+END_SRC #+END_SRC
* Normal Bindings * Normal Bindings
@ -330,6 +336,8 @@ Org Roam Entry for the current page
:PROPERTIES: :PROPERTIES:
:header-args:bash: :shebang "#!/usr/bin/env bash" :header-args:bash: :shebang "#!/usr/bin/env bash"
:header-args:bash+: :comments both :mkdirp yes :header-args:bash+: :comments both :mkdirp yes
:header-args:python: :shebang "#!/usr/bin/env python3"
:header-args:python+: :comments both :mkdirp yes
:END: :END:
** Create a new password ** Create a new password
@ -350,7 +358,7 @@ Org Roam Entry for the current page
** Download Youtube Video ** Download Youtube Video
#+begin_src bash :tangle ~/.config/qutebrowser/userscripts/yt-download.sh #+begin_src bash :tangle ~/.config/qutebrowser/userscripts/yt-download.sh
cd ~/Documents/to-watch/; cd ~/Documents/to-watch/ || exit;
if [[ "$1" == *"list"* ]]; then if [[ "$1" == *"list"* ]]; then
choice=$(echo -e "Video\nPlaylist" | rofi -dmenu -only-match -i) choice=$(echo -e "Video\nPlaylist" | rofi -dmenu -only-match -i)