From c14994e2a4d64c1751c33f84f6466e37c28c230c Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Wed, 20 Oct 2021 14:14:29 +0200 Subject: [PATCH] Fixed rofi-config, added simpleclip to emacs, added workspace 0 for i3 --- config/.config/cava/config | 9 +- config/.config/i3/config | 20 +++- config/.config/ranger/rc.conf | 2 +- config/.config/rofi/config | 129 ++++++++++++++++++++- config/.config/rofi/material.rasi | 132 ++++++++++++++++++++++ config/.config/rofi/sidebar.rasi | 123 -------------------- config/.local/share/ranger/bookmarks | 9 +- config/.ssh/config | 5 + config/.ssh/known_hosts.old | 4 + emacs/.emacs.d/config.org | 18 ++- emacs/.emacs.d/init.el | 2 +- emacs/.emacs.d/snippets/org-mode/reveal | 12 ++ emacs/.emacs.d/snippets/org-mode/template | 5 +- zsh/.zshrc | 4 +- 14 files changed, 327 insertions(+), 147 deletions(-) create mode 100644 config/.config/rofi/material.rasi delete mode 100644 config/.config/rofi/sidebar.rasi create mode 100644 emacs/.emacs.d/snippets/org-mode/reveal diff --git a/config/.config/cava/config b/config/.config/cava/config index 62c63a0..3a35ade 100755 --- a/config/.config/cava/config +++ b/config/.config/cava/config @@ -103,9 +103,14 @@ # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will # not able to restore color definitions on exit, simply restart your terminal to restore colors. gradient = 1 +# GMK Noel +gradient_color_1 = '#FFFFFF' +gradient_color_2 = '#EEB9C1' +gradient_color_3 = '#B3DCE1' +gradient_color_4 = '#66B9D2' # Cool Blues -gradient_color_1 = '#2193b0' -gradient_color_2 = '#6dd5ed' +; gradient_color_1 = '#2193b0' +; gradient_color_2 = '#6dd5ed' # Quepal ; gradient_color_1 = '#11998e' ; gradient_color_2 = '#38ef7d' diff --git a/config/.config/i3/config b/config/.config/i3/config index c7a07e0..2c16ebd 100644 --- a/config/.config/i3/config +++ b/config/.config/i3/config @@ -21,7 +21,7 @@ focus_follows_mouse no # Configure # border style -new_window pixel 1 +new_window pixel 3 new_float normal hide_edge_borders none @@ -39,6 +39,7 @@ set $ws6 6:  set $ws7 7:  set $ws8 8:  set $ws9 9:  +set $ws0 0: 0 # switch to workspace @@ -51,6 +52,7 @@ bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws0 # Move focused container to workspace bindsym $mod+Ctrl+1 move container to workspace $ws1 @@ -62,6 +64,7 @@ bindsym $mod+Ctrl+6 move container to workspace $ws6 bindsym $mod+Ctrl+7 move container to workspace $ws7 bindsym $mod+Ctrl+8 move container to workspace $ws8 bindsym $mod+Ctrl+9 move container to workspace $ws9 +bindsym $mod+Ctrl+0 move container to workspace $ws0 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 @@ -73,6 +76,7 @@ bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0 # Open specific applications in floating mode for_window [class="(?i)virtualbox"] floating enable border normal @@ -96,7 +100,6 @@ for_window [title="^Steam Keyboard$"] floating enable ############################################################################### # exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps; setxkbmap -option grp:lalt_lshift_toggle -exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/* exec --no-startup-id picom exec --no-startup-id nextcloud --background exec --no-startup-id udiskie @@ -106,12 +109,13 @@ exec --no-startup-id dunst exec --no-startup-id ~/.scripts/startup.sh exec --no-startup-id llk exec --no-startup-id emacs --daemon +exec --no-startup-id syncthing ############################################################################### ################################# Keybindings ################################# ############################################################################### # Lock -bindsym $mod+Shift+0 exec python ~/.scripts/i3lock.py +bindsym $mod+Shift+space exec --no-startup-id python ~/.scripts/i3lock.py # shutdown bindsym $mod+Shift+s exec poweroff @@ -124,7 +128,7 @@ bindsym $mod+Return exec termite -e byobu bindsym $mod+Shift+q kill # start program launcher -bindsym $mod+d exec --no-startup-id rofi -X -show run +bindsym $mod+d exec --no-startup-id rofi -show run -config /home/tuan/.config/rofi/config # Screen brightness controls bindsym XF86MonBrightnessUp exec --no-startup-id ~/.scripts/screen.sh up @@ -163,6 +167,12 @@ bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right +# move focused workspace +bindsym $mod+Mod1+h move workspace to output left +bindsym $mod+Mod1+j move workspace to output down +bindsym $mod+Mod1+k move workspace to output up +bindsym $mod+Mod1+l move workspace to output right + # move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down @@ -178,7 +188,7 @@ bindsym $mod+q split toggle bindsym $mod+f fullscreen toggle # toggle tiling / floating -bindsym $mod+Shift+space floating toggle +bindsym $mod+Mod1+space floating toggle # change focus between tiling / floating windows # bindsym $mod+space focus mode_toggle diff --git a/config/.config/ranger/rc.conf b/config/.config/ranger/rc.conf index 595421f..6e9c976 100644 --- a/config/.config/ranger/rc.conf +++ b/config/.config/ranger/rc.conf @@ -7,6 +7,6 @@ map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d); ~/Templates/L map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Elektro_-_Rechnung_$(date +%g-%m)_-Elektro.tex; ~/Templates/LaTeX/Invoice/InvNum.sh map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh -map nu shell touch L_$(basename %f .pdf)\.md +map nu shell touch $(basename %f .pdf)\.org map ntu shell cp ~/Templates/LaTeX/UniversityAssignmets/assignment.tex . map nw shell sed "s/# $/# $(pwd | rev | cut -d/ -f1 | rev)/" ~/.vim/templates/writeup.md > ./writeup.md diff --git a/config/.config/rofi/config b/config/.config/rofi/config index 6400add..9701acd 100644 --- a/config/.config/rofi/config +++ b/config/.config/rofi/config @@ -1,6 +1,123 @@ -rofi.theme: sidebar -#! State 'bg' 'fg' 'bgalt' 'hlbg' 'hlfg' -#rofi.color-normal: #263238,#cfd8dc,#263238,#37474f,#03a9f4 -#rofi.color-urgent: #263238,#cfd8dc,#263238,#37474f,#03a9f4 -#rofi.color-active: #e91e63,#cfd8dc,#e91e63,#37474f,#03a9f4 -rofi.show-icons: true \ No newline at end of file +/******************************************************************************* + * ROFI Color theme + * User: deadguy + * Copyright: deadguy + * Color-Theme: Materia +*******************************************************************************/ + +* { + background-color: #263238; + text-color: #cfd8dc; + selbg: #03a9f4; + actbg: #37474f; + urgbg: #e91e63; + + selected-normal-foreground: @selbg; + normal-foreground: @text-color; + selected-normal-background: @actbg; + normal-background: @background-color; + + selected-urgent-foreground: @background-color; + urgent-foreground: @text-color; + selected-urgent-background: @urgbg; + urgent-background: @background-color; + + selected-active-foreground: @selbg; + active-foreground: @text-color; + selected-active-background: @actbg; + active-background: @selbg; + + margin: 0; + padding: 0; +} + +#window { + location: north; + anchor: north; + height: 22%; + width: 59%; + orientation: vertical; + children: [mainbox]; +} + +#mainbox { + spacing: 0.8em; + children: [ entry,listview ]; +} + +#button { padding: 5px 2px; } + +#button selected { + background-color: @active-background; + text-color: @background-color; +} + +#inputbar { + padding: 5px; + spacing: 5px; +} + +#listview { + spacing: 0.5em; + dynamic: false; + cycle: true; +} + +#element { padding: 10px; } + +#entry { + expand: false; + text-color: @normal-foreground; + vertical-align: 1; + padding: 5px; + +} + +#element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +#element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +#element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; + border: 0 5px solid 0 0; + border-color: @active-background; +} + +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +#element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +#element.alternate.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +#element.alternate.active { + background-color: @active-background; + text-color: @active-foreground; +} + + diff --git a/config/.config/rofi/material.rasi b/config/.config/rofi/material.rasi new file mode 100644 index 0000000..b06ab2e --- /dev/null +++ b/config/.config/rofi/material.rasi @@ -0,0 +1,132 @@ +/* + * ROFI color theme + * + * Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme) + * + * User: Tomaszal + * Copyright: Tomas Zaluckij + */ + +* { + base00: #263238; + base01: #2E3C43; + base02: #314549; + base03: #546E7A; + base04: #B2CCD6; + base05: #EEFFFF; + base06: #EEFFFF; + base07: #FFFFFF; + base08: #F07178; + base09: #F78C6C; + base0A: #FFCB6B; + base0B: #C3E88D; + base0C: #89DDFF; + base0D: #82AAFF; + base0E: #C792EA; + base0F: #FF5370; + + /*base0D: #00BCD4;*/ + + spacing: 0; + background-color: transparent; + + font: "Roboto Mono 13"; +} + +window { + transparency: "real"; + /*fullscreen: true;*/ + background-color: #263238CC; /*base00 + CC (80% opacity)*/ +} + +mainbox { + children: [inputbar, message, mode-switcher, listview]; + spacing: 30px; + /*margin: 20%;*/ + padding: 30px 0; + border: 1px; + border-color: @base0D; +} + +inputbar { + padding: 0 30px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @base0D; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0 1ch 0 0; + text-color: @base0D; +} + +entry { + text-color: @base07; +} + +case-indicator { + text-color: @base0F; +} + +mode-switcher, message { + border: 1px 0; + border-color: @base0D; +} + +button, textbox { + background-color: @base03; + text-color: @base07; + padding: 5px; +} + +button selected { + background-color: @base0D; +} + +listview { + scrollbar: true; + margin: 0 10px 0 30px; +} + +scrollbar { + background-color: @base03; + handle-color: @base0D; + handle-width: 10px; + border: 0 1px; + border-color: @base0D; + margin: 0 0 0 20px; +} + +element { + padding: 5px; + highlight: bold underline; +} + +element normal { + background-color: transparent; +} + +element selected { + background-color: @base0D; +} + +element alternate { + /*background-color: @base03;*/ +} + +element normal normal, element selected normal, element alternate normal { + text-color: @base07; +} + +element normal urgent, element selected urgent, element alternate urgent { + text-color: @base0F; +} + +element normal active, element selected active, element alternate active { + text-color: @base0B; +} + diff --git a/config/.config/rofi/sidebar.rasi b/config/.config/rofi/sidebar.rasi deleted file mode 100644 index 9701acd..0000000 --- a/config/.config/rofi/sidebar.rasi +++ /dev/null @@ -1,123 +0,0 @@ -/******************************************************************************* - * ROFI Color theme - * User: deadguy - * Copyright: deadguy - * Color-Theme: Materia -*******************************************************************************/ - -* { - background-color: #263238; - text-color: #cfd8dc; - selbg: #03a9f4; - actbg: #37474f; - urgbg: #e91e63; - - selected-normal-foreground: @selbg; - normal-foreground: @text-color; - selected-normal-background: @actbg; - normal-background: @background-color; - - selected-urgent-foreground: @background-color; - urgent-foreground: @text-color; - selected-urgent-background: @urgbg; - urgent-background: @background-color; - - selected-active-foreground: @selbg; - active-foreground: @text-color; - selected-active-background: @actbg; - active-background: @selbg; - - margin: 0; - padding: 0; -} - -#window { - location: north; - anchor: north; - height: 22%; - width: 59%; - orientation: vertical; - children: [mainbox]; -} - -#mainbox { - spacing: 0.8em; - children: [ entry,listview ]; -} - -#button { padding: 5px 2px; } - -#button selected { - background-color: @active-background; - text-color: @background-color; -} - -#inputbar { - padding: 5px; - spacing: 5px; -} - -#listview { - spacing: 0.5em; - dynamic: false; - cycle: true; -} - -#element { padding: 10px; } - -#entry { - expand: false; - text-color: @normal-foreground; - vertical-align: 1; - padding: 5px; - -} - -#element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -#element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} - -#element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; - border: 0 5px solid 0 0; - border-color: @active-background; -} - -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} - -#element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} - -#element.alternate.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -#element.alternate.active { - background-color: @active-background; - text-color: @active-foreground; -} - - diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index 02ca8a9..9f2551e 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -1,13 +1,14 @@ -u:/home/tuan/Documents/Uni/Studium/2021 Sommersemester +u:/home/tuan/Documents/Uni/Studium/2021&2022 Wintersemseter p:/home/tuan/Documents/Protokolle/FSE o:/home/tuan/.dotfiles/config m:/run/media -a:/home/tuan/.nextcloud/Documents/Uni/Studium/2020&2021 Wintersemseter/Programmierung in C-C++/Exercise/11/tran_3030462_ex11/task01 +a:/home/tuan/Documents/Arbeit l:/home/tuan/Local c:/home/tuan/Documents/CTF t:/home/tuan/Templates w:/home/tuan/workspace_l/Projects k:/home/tuan/Documents/Uni/Studium/2017&2018 Wintersemester/Rechnerstrukturen und Betriebssysteme [4,0]/Rechnerstrukturen -q:/home/tuan/.nextcloud/Quick Drop -':/home/tuan/.nextcloud/Documents/Uni/Studium/2021 Sommersemester/Embedded Security/Papers/Fuzzing +q:/home/tuan/Quick Drop +':/home/tuan/Documents/Arbeit/BBAW - Testbed/04 - Projekte/03-Server_Setup/p4lab/documentation e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon +s:/home/tuan/Pictures/Screenshots diff --git a/config/.ssh/config b/config/.ssh/config index adac692..9a1660d 100644 --- a/config/.ssh/config +++ b/config/.ssh/config @@ -73,6 +73,11 @@ Host git.uni-due.de User git IdentityFile /mnt/veracrypt1/git +Host sdn + HostName 192.168.56.102 + Port 22 + User sdn + # Homeserver Host proxmox HostName 10.1.10.2 diff --git a/config/.ssh/known_hosts.old b/config/.ssh/known_hosts.old index f352851..ce02b80 100644 --- a/config/.ssh/known_hosts.old +++ b/config/.ssh/known_hosts.old @@ -43,3 +43,7 @@ github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXY 10.1.11.103 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD9Rs2JqhOCaBpFPPM9RwxxV4s+ADqFIwl4sVKX+nFdKwD7Kh+WqWwic3L2uI0wosWzbWTPp/+XKTT1PCYymbUZ6wCmb1tbgNxijJThAMEKc1r3LclwHaCN2npstBvKIIx72QclTJIadY8MyNT0JEIvHHx0Z8n7YXoGFYiCcpuI1kqWcBKHGT7ovXdrO8No5KNP8dWbbmx9R8viejseHW9W0tCUbNa0X3GZZNJIExQiN9Xkr1PvU3lZ5M5/UP1cyFb0cztiRNVvYOO3Z5XKDNb5DTW46/vXNbl1b5sXrB6t0LdVU4abuKZIFzL8qWqEwC+5tUN9U9fIyG/9QRpvKEe1 10.1.11.103 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDw3aVpAEee8v27xOzozu5NzlIaTHBuY6DriRG5lRs9DM47FEzT5s17meHQzIJ/r05HJFWdBHJ/hWaMBGBsME/s= git.uni-due.de ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/f8VVsjeXT82vK2GX1iU61w5JNLoQUQhOwCocA7Ox5 +git.uni-due.de ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/ksWF8VRco/Wh39wEum8U+g9cMcQkEPlZN2kWxtw1EhtOVraCONnX6KPvbiKqDZQDKlV4FE+Cp9cVPj1NODN3fUiTsDSyj050juCVW16kx1nHSMYpFjzRUxhZMGGiKyTA1S24HDUhKVyqK/znss+oN93WUnE6w4rpQM3SUa7H6Kj1474kPlTNJR319dnsqixc5UjHacil0JkMDyksjb6kZwgfv/b0vHmgFqksHW5/7gVM0qjzwL+mElBxM1xyEEaGzw/C4x2wJDFUPryMryxgwa1FfaC5ywLgSFqh1w1mnxXnoAtO6uKWW9FIfMIlYpZ2TiXPCK3+HbbBm67vqrND +git.uni-due.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAgroRZpxHSEmGpyVxJqzQeLi2sCVNON/7zxx5Jd6tzVG8bLvq+AhWpAo1jAqdGGkOmlynH4GoTb9xrnyeg07Mk= +192.168.56.101 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCLHz3QufjBUZ+/eE7i7hpMiClnzQIS5XPeOSl9QWJlUHEPZiUvX1yvognEVvv4qq86VB+vUPlcswyemAorqILAQQv/JmuXHaKJM3/eqgtDJjN9zHkgMXRY42HeZbM9g7RE0eF85Ir7BWUrn/lYe+DQvOIjwDWO/yqY2L5yajxuWL6xZhdyqIAUZy9RvFsRrAhXcUbrsrLXhZBM5IxtImbYNnhfzWsA8u1yLl8G9kUDi0G4BBAWpiFDtgbyP1c9ADTkgrkfIMLI0CC+gs+D7CohzRF53P1qICZCLfihcmJswNLQes1zNURiDysDX4c1q2ZhKTccBgC566WKuaGxmnnx +192.168.56.102 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwtKxqx6/NcuKtjOgSX9KZp8pv9OhZKb5/5EG8OHwiE diff --git a/emacs/.emacs.d/config.org b/emacs/.emacs.d/config.org index 3215cea..a67f9ac 100644 --- a/emacs/.emacs.d/config.org +++ b/emacs/.emacs.d/config.org @@ -100,7 +100,10 @@ :config (setq TeX-parse-self t) (setq-default TeX-master nil) - (setq TeX-PDF-mode t)) + (setq TeX-PDF-mode t) + (add-to-list 'TeX-view-program-list '(("Zathura" "zathura %o"))) + (add-to-list 'TeX-view-program-selection '((output-pdf "Zathura"))) + ) #+end_src *** [[https://github.com/yjwen/org-reveal][ox-reveal]] @@ -203,6 +206,19 @@ #+begin_src emacs-lisp (use-package ein) #+end_src + +*** [[https://github.com/astahlman/ob-async][ob-async]] + #+begin_src emacs-lisp + (use-package ob-async) + #+end_src +*** [[https://github.com/rolandwalker/simpleclip][simpleclip]] + #+begin_src emacs-lisp + (use-package simpleclip + :config + (simpleclip-mode 1)) + #+end_src + + * Appearance This section is for appearance customization. Either via packages or manually. diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 7ba7294..010b735 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -7,7 +7,7 @@ ;; If there is more than one, they won't work right. '(auth-source-save-behavior nil) '(package-selected-packages - '(flycheck-rust ansible yasnippet use-package theme-magic rainbow-mode rainbow-delimiters ox-twbs ox-reveal ox-hugo org-bullets no-littering moe-theme magit ivy-prescient htmlize god-mode go-mode flycheck evil-collection diminish counsel company auctex))) + '(auctex-latexmk flycheck-rust ansible yasnippet use-package theme-magic rainbow-mode rainbow-delimiters ox-twbs ox-reveal ox-hugo org-bullets no-littering moe-theme magit ivy-prescient htmlize god-mode go-mode flycheck evil-collection diminish counsel company auctex))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/emacs/.emacs.d/snippets/org-mode/reveal b/emacs/.emacs.d/snippets/org-mode/reveal new file mode 100644 index 0000000..8b53b21 --- /dev/null +++ b/emacs/.emacs.d/snippets/org-mode/reveal @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: reveal +# key: reveal +# -- +#+TITLE: $1 +#+AUTHOR: Tuan-Dat Tran +#+CREATOR: Tuan-Dat Tran +#+EMAIL: tuan-dat.tran@stud.uni-due.de +#+OPTIONS: ':t *:t -:t <:t \n:nil author:t creator:nil date:nil email:nil f:t num:nil tex:t title:t toc:t +#+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js +#+REVEAL_TITLE_SLIDE:

%t


%s


%a + diff --git a/emacs/.emacs.d/snippets/org-mode/template b/emacs/.emacs.d/snippets/org-mode/template index f530123..66c410f 100644 --- a/emacs/.emacs.d/snippets/org-mode/template +++ b/emacs/.emacs.d/snippets/org-mode/template @@ -2,7 +2,8 @@ # name: template # key: template # -- -#+TITLE: $0 + +#+TITLE: $1 #+SETUPFILE: ~/Templates/Org-Mode/setupfile.org -$1 \ No newline at end of file +$2 \ No newline at end of file diff --git a/zsh/.zshrc b/zsh/.zshrc index d9ed223..c0ec31b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,8 +26,8 @@ alias msfconsole="msfconsole -x \"db_connect metasploit@msf\"" alias nmap="nmap -T5 --min-parallelism 100 -Pn" alias ed="\emacs --daemon" alias e="emacsclient -t" -alias con="source /opt/anaconda/bin/activate root" -alias coff="source /opt/anaconda/bin/deactivate root" +alias df="df -h" +alias picpaste="xclip -selection clipboard -t image/png -o" # Theme ZSH_THEME="agnoster"