Compare commits

...

1312 Commits

Author SHA1 Message Date
phundrak fe9d2ed6ea updated private files 2024-06-08 15:13:44 +02:00
phundrak 18d79b2efe [shell] reorganised my .profile 2024-06-08 15:12:48 +02:00
phundrak 1280086985 [bootstrap] update bootstrap script 2024-06-08 15:12:21 +02:00
phundrak 90063ae6c5 [PKGBUILD] remove emacs PKGBUILD 2024-06-08 15:10:19 +02:00
phundrak cc5a4ebbe6 [profile] Remove podman-specific variable 2024-02-08 05:37:03 +01:00
phundrak 270a89b26a [misc] don’t need this file anymore 2024-01-27 18:43:44 +01:00
phundrak 20efa66147 [mimeapps] add Heroic launcher 2024-01-27 18:34:32 +01:00
phundrak 9d4d6430d3 [misc] update encrypted files 2024-01-27 18:34:27 +01:00
phundrak ff914431e6 [profile] Add environment variable for Docker emulation with podman 2024-01-27 18:33:52 +01:00
phundrak 84ea4de4fd [profile] Better SSH config 2024-01-27 18:33:41 +01:00
phundrak 28d0955175 [PKGBUILD] update eask 2024-01-27 18:33:26 +01:00
phundrak ccaff4902a [PKGBUILD] update eask 2024-01-01 22:44:06 +01:00
phundrak 284cfdae35 [Profile] fix ruby 3 path 2023-12-25 11:39:21 +01:00
phundrak fd4cabeebd Remove url rewrites in git config 2023-12-17 21:39:54 +01:00
phundrak 2df3c35f5c add modrinth to mimeapps 2023-12-17 21:39:54 +01:00
phundrak ae9d929183 misc: remove org files 2023-12-17 21:39:54 +01:00
phundrak 86741cf0dc [Bin] Scripts for VNC remote connection from my tablet 2023-11-13 23:29:26 +01:00
phundrak 4088f199d5 [PKGBUILD] update Eask
continuous-integration/drone/push Build is passing
2023-11-05 22:49:24 +01:00
phundrak 566861ee28 [Emacs] Add fix for TRAMP bug
continuous-integration/drone/push Build is passing
2023-09-18 09:57:59 +02:00
phundrak bff574afd2 [Emacs] fix engrave-faces load order 2023-09-18 09:57:11 +02:00
phundrak 1cb7eba76b [Emacs] Fix all-the-icons loading 2023-09-18 09:52:30 +02:00
phundrak 8ea0f40e88 [Emacs] New org-roam keybindings 2023-09-18 09:50:27 +02:00
phundrak 9a1f111fac [Emacs] Don’t defer engrave-faces
continuous-integration/drone/push Build is passing
2023-09-17 17:52:40 +02:00
phundrak 3cf2870437 [Emacs] Add counsel package 2023-09-17 17:52:24 +02:00
phundrak 3c2a0c0ef9 [Emacs] Add smartparens package 2023-09-17 17:52:06 +02:00
phundrak 640207c305 [Emacs] Remove LanguageTool LSP
The package already installed is more than enough
2023-09-17 17:51:28 +02:00
phundrak 92460b57d4 [Emacs] Better languagetool keybindings 2023-09-17 17:50:49 +02:00
phundrak a463f2ba0a [Emacs] Add extra packages in orgmode’s default LaTeX exports 2023-09-17 17:50:11 +02:00
phundrak 639d4029e5 [Emacs] Use user-defined labels in orgmode’s LaTeX exports 2023-09-17 17:49:37 +02:00
phundrak 6c25f19639 [Emacs] fix ox-gemini configuration 2023-09-17 17:49:06 +02:00
phundrak ebc95e422f [Emacs] fix org-ref keybinding 2023-09-17 17:48:45 +02:00
phundrak 9c00b684d0 [PKGBUILD] Update and rename appwrite PKGBUILD 2023-09-17 17:48:09 +02:00
phundrak e04e874549 [Misc] Update topgrade config (minor)
continuous-integration/drone/push Build is passing
2023-09-10 23:52:37 +02:00
phundrak 1993e13e1c [Misc] Upgrade mimeapps 2023-09-10 23:52:27 +02:00
phundrak 46e92dd821 [Qutebrowser] Update config 2023-09-10 23:50:23 +02:00
phundrak b8bdd37cbc [Misc] Update private files 2023-09-10 23:49:54 +02:00
phundrak 2e5e276b61 [Shell] Revert manpager to less 2023-09-10 23:49:26 +02:00
phundrak 39719850cb [Git] Fix git configuration 2023-09-10 23:48:58 +02:00
phundrak 2641e6af09 [PKGBUILD] Switch to Emacs 29 2023-08-22 14:28:54 +02:00
phundrak e8e9114a90 [PKGBUILD] Update Arch package build 2023-08-22 14:28:35 +02:00
phundrak 3c449f97fe [Misc] update private files
continuous-integration/drone/push Build is passing
2023-07-07 23:31:00 +02:00
phundrak 9daced8c68 [Tmux] add keybind to zoom on pane
continuous-integration/drone/push Build is passing
2023-07-07 22:29:36 +02:00
phundrak 749fda9b83 [Emacs] add org-roam-ui package 2023-07-07 22:29:24 +02:00
phundrak c2e3f1f848 [Misc] update private files 2023-07-07 22:29:04 +02:00
phundrak 92a0d923b4 [Bin] add secure key generator
continuous-integration/drone/push Build is passing
2023-07-03 11:23:06 +02:00
phundrak acc226a21d [Emacs] search through symlinks with ivy-quick-find-files 2023-07-01 23:53:49 +02:00
phundrak fc30673d4b [Fish] fix orgmode property 2023-07-01 23:53:30 +02:00
phundrak a060958a93 wip: org-mode git 2023-06-30 10:51:34 +02:00
phundrak 3d5b029ed9 [Git] update git config 2023-06-30 09:34:49 +02:00
phundrak a52285b412 [Emacs] fix org-caldav config not being tangles 2023-06-30 09:34:18 +02:00
phundrak d794c6e108 [PKGBUILD] add Nextcloud Talk desktop PKGBUILD
continuous-integration/drone/push Build is passing
2023-06-28 14:57:05 +02:00
phundrak f79e499237 [misc] testing Gitea actions
continuous-integration/drone/push Build is passing
2023-06-25 20:38:08 +02:00
phundrak d399669bab [Picom] faster fade in/out for windows
continuous-integration/drone/push Build is passing
2023-06-22 11:34:18 +02:00
phundrak a7340a4fdd [Picom] softer shadows
continuous-integration/drone/push Build is passing
2023-06-22 11:20:11 +02:00
phundrak a99244a97b [Emacs] automatically enable orgroam db sync when org-roam is loaded
continuous-integration/drone/push Build is passing
2023-06-20 11:39:56 +02:00
phundrak c3c5808b07 [Emacs] some more org-roam keybinds and config
continuous-integration/drone/push Build is passing
2023-06-17 14:49:06 +02:00
phundrak de6dd6c789 chore: CI fix
continuous-integration/drone/push Build is passing
2023-06-17 14:05:55 +02:00
phundrak 08c152d1f7 [Emacs] add org-roam configuration
continuous-integration/drone/push Build is failing
2023-06-17 13:59:10 +02:00
phundrak dbe0c491bb [rofi] for some reason, `window' is not a valid value anymore 2023-06-17 13:59:01 +02:00
phundrak c4c80945e8 [bin] format and correct comments
continuous-integration/drone/push Build is failing
2023-06-15 14:23:55 +02:00
phundrak 7b0833252a [Emacs] enable iCalendar integration of mu4e 2023-06-15 14:20:34 +02:00
phundrak 00ee413240 [StumpWM] Move commands, better function for launching WM at work 2023-06-15 14:19:49 +02:00
phundrak 47d63fedb4 [Tmux] add tmux session ressurection, better keybindings 2023-06-15 14:19:10 +02:00
phundrak 17034d3d9d [Bin] rename some headings, and why was color-picker here?
continuous-integration/drone/push Build is passing
2023-06-03 23:14:06 +02:00
phundrak 9ffe84d760 [Bin] remove scripts I don’t use anymore
continuous-integration/drone/push Build is passing
2023-06-03 23:10:08 +02:00
phundrak 05dcd7067b [nsxiv] update nsxiv and its configuration file
continuous-integration/drone/push Build is passing
2023-06-03 13:25:30 +02:00
phundrak a4766fec55 [Emacs] add major mode for Tmux config file
continuous-integration/drone/push Build is passing
2023-06-02 16:54:41 +02:00
phundrak 1e6e2cb09d [Tmux] add Tmux configuration 2023-06-02 16:54:14 +02:00
phundrak 4e2c08c71c [Bin] add kamoji generator
continuous-integration/drone/push Build is passing
2023-05-28 16:34:05 +02:00
phundrak 440ebe4a5d [Bin] add script to open ediff as a diff tool 2023-05-28 16:34:05 +02:00
phundrak 3073990aa2 [StumpWM] Update functions for when I am at work 2023-05-28 16:34:05 +02:00
phundrak 6efe53acad [Emacs] Update shell output of zig LSP server install 2023-05-28 16:34:05 +02:00
phundrak 670fbe1380 [Emacs] Add calendar configuration 2023-05-28 16:34:05 +02:00
phundrak 9dedfe3f5b [Desktop] fix tangling of Elisp files
continuous-integration/drone/push Build is passing
2023-05-25 13:47:20 +02:00
phundrak 2e72a658c8 [Desktop] Switch GTK icon theme to Nordzy
continuous-integration/drone/push Build is passing
2023-05-18 22:47:15 +02:00
phundrak 88972553e6 [Emacs] Workaround for elfeed-org not loading properly
Not a really clean fix, but, eh...
2023-05-18 22:46:46 +02:00
phundrak 1cb1b64f59 [Emacs] Remove org project for my conlanging website
continuous-integration/drone/push Build is passing
I no longer use org-publish to publish conlangs.phundrak.com, so this
config can go.
2023-05-14 13:50:31 +02:00
phundrak cf2b55878a [Emacs] Add documentation for ox-gemini 2023-05-14 13:50:19 +02:00
phundrak f2f5db5cfc [Emacs] Switch to my own fork of ox-gemini
continuous-integration/drone/push Build is passing
2023-05-14 13:18:37 +02:00
phundrak a021fed2d5 [Emacs] Better keybinds for mastodon.el 2023-05-14 13:18:27 +02:00
phundrak bbd13e4072 [Emacs] Widen two elfeed columns 2023-05-14 13:18:13 +02:00
phundrak 0e9cfbde92 [PKGBUILD] Update Eask CLI 2023-05-14 13:17:58 +02:00
phundrak 94a3a274dd [Mimeapps] Add FBReader as default mobi files reader 2023-05-14 13:17:36 +02:00
phundrak 1e09261192 [Emacs] For some reason, I cannot install eask packages anymore
continuous-integration/drone/push Build is passing
2023-04-20 23:01:21 +02:00
phundrak 13e4332af2 [Emacs] Workaround for mu4e 1.10, waiting for evil-collection 2023-04-20 23:00:10 +02:00
phundrak f9401e0b12 [Emacs] Remove mastodon-alt, update and fix some mastodon keybinds 2023-04-20 22:59:28 +02:00
phundrak 89a248a03c [StumpWM] Add convenience commands for when at work 2023-04-19 13:58:52 +02:00
phundrak b3309591dc [Misc] Move code directory out of Documents 2023-04-19 13:58:15 +02:00
phundrak d6b802f059 [Emacs] add :package specification on some keybinds 2023-04-12 15:09:49 +02:00
phundrak 511d0f8f38 [Emacs] Make smartparens a git package 2023-04-12 14:01:29 +02:00
phundrak 45c046ce23 [Emacs] Remove unused aliases, add better less and bat altenative 2023-04-12 14:00:49 +02:00
phundrak 5173238e01 [misc] Add podman compose to PATH 2023-04-12 13:58:40 +02:00
phundrak 627de377b4 [Emacs] update mastodon instance
continuous-integration/drone/push Build is passing
I switched from @phundrak@fosstodon.org to @phundrak@emacs.ch
2023-03-31 09:37:55 +02:00
phundrak 00b00407b6 [fish] Run all commands in work abbr regardless whether they succeed
continuous-integration/drone/push Build is passing
2023-03-29 10:07:29 +02:00
phundrak ac9e161129 [sway,bin] Better swaybar
continuous-integration/drone/push Build is passing
2023-03-27 13:21:42 +02:00
phundrak 494ecac073 [ssh] Add https auth method for Gitea and Github
continuous-integration/drone/push Build is passing
2023-03-27 10:03:17 +02:00
phundrak a3232ccfd9 [Emacs] Load lsp-ltex after lsp-mode 2023-03-27 10:01:37 +02:00
phundrak b4c419d852 [Emacs] Make Magit use authinfo to authenticate through HTTPS 2023-03-27 10:00:52 +02:00
phundrak 20e89e938f [Emacs] fix eshell-banner-config configuration 2023-03-27 10:00:34 +02:00
phundrak 4abe217eed [sway] Nicer font in swaybar 2023-03-27 09:59:04 +02:00
phundrak e201a060e6 [sway] Alignment 2023-03-27 09:58:44 +02:00
phundrak e3289051ef [sway] More sensible screenshot shortcuts 2023-03-27 09:58:15 +02:00
phundrak 2f4f9cb30d [sway] Add keybind for locking screen 2023-03-27 09:57:45 +02:00
phundrak 0c0a2363f6 [sway] In windows mode, immediately return to default mode
Unless entering resize mode
2023-03-27 09:57:11 +02:00
phundrak 46a05e7226 [StumpWM] Don’t force Nemo on a workspace anymore
continuous-integration/drone/push Build is passing
2023-03-22 10:43:11 +01:00
phundrak a500b1eaec [mimeapps] remove unused schema
continuous-integration/drone/push Build is passing
2023-03-20 17:21:18 +01:00
phundrak 29a1990a8d [Sway] Map my tablet to my HDMI screen 2023-03-20 17:20:33 +01:00
phundrak a10f3d0479 [Sway] Harmonize keybindings with my other WMs 2023-03-20 17:20:11 +01:00
phundrak 86101c7cca [Bootstrap] Replace scrot with flameshot 2023-03-20 17:19:48 +01:00
phundrak 97c74e22c0 [Emacs] Add lsp-ltex, add doc for writegood-mode 2023-03-20 17:19:31 +01:00
phundrak 696c7cff3e [Emacs] Simpler self-screenshot function 2023-03-20 17:19:15 +01:00
phundrak 3b301d3bb6 [Fish] Change chill abbrev’s source of music 2023-03-20 17:18:59 +01:00
phundrak a0d774da82 [Fish] Less latency in mpv in webcam abbreviations 2023-03-20 17:18:38 +01:00
phundrak cb35ae2d73 [Fish] Add abbrev for setting up screens at work 2023-03-20 17:18:11 +01:00
phundrak 81cd095d08 [org files] Grammar 2023-03-20 17:17:57 +01:00
phundrak f790423cca [Misc] Change location of local variable in gitconfig
continuous-integration/drone/push Build is passing
2023-03-14 11:44:49 +01:00
phundrak 70f7fae3af [Emacs] Better variable customization in eshell-info-banner config 2023-03-14 11:12:30 +01:00
phundrak 04117fb5a9 [Emacs] Nicer faces for eshell-info-banner with my current theme 2023-03-14 11:02:29 +01:00
phundrak 93c3e1cdae [Bin] Fix plock under X11 2023-03-14 11:02:11 +01:00
phundrak 7e10020cc3 [Sway] Add shortcut to take region screenshot and copy in clipboard
continuous-integration/drone/push Build is passing
2023-03-11 18:57:32 +01:00
phundrak daca7f41ff [Emacs] Fix org-file export for CI
On older org-mode versions, org lists are lists of lists of only one
element, so that

    - a
    - b
    - c

translates as

    (("a") ("b") ("c"))

But in more recent versions, the same list translates as

    ("a" "b" "c")

This commit handles both situations, as my local Emacs version follows
the latter behaviour but the Emacs version available in my CI workflow
follows the former behaviour.
2023-03-11 18:57:32 +01:00
phundrak a55dec76db [Kitty] Change layout order to better fit my needs 2023-03-11 18:32:24 +01:00
phundrak b6ce065c83 [PKGBUILD] Freeze Emacs for Magit bug workaround
continuous-integration/drone/push Build is failing
Due to https://github.com/magit/magit/issues/4720 and
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62093, freeze Emacs
version at commit
https://github.com/emacs-mirror/emacs/commit/0214e9021b4dbbda1b6040e3b692f29d77a3b8cc
2023-03-10 23:31:01 +01:00
phundrak a389169420 [Emacs] Fix code-generating Elisp 2023-03-10 23:30:45 +01:00
phundrak ad6d235132 [Mimeapps] Add teams schema handler 2023-03-10 23:29:51 +01:00
phundrak f6772efd86 [Emacs] Add global keybinds for compile and recompile 2023-03-10 15:34:19 +01:00
phundrak b4d27af37a [Emacs] Remove directory from ivy-quick-find-files lookup places 2023-03-10 15:33:41 +01:00
phundrak 5918d9d756 [Emacs] Remove some prettified symbols 2023-03-10 15:33:20 +01:00
phundrak a1fbe5d2f8 [Emacs] Cleaner elisp-mode configuration 2023-03-10 15:32:55 +01:00
phundrak aeefc83ac6 [Emacs] Add sdlang-mode for Zellij configuration 2023-03-10 15:32:32 +01:00
phundrak a226f325d3 [Emacs] Better dap-mode config, better documentation 2023-03-10 15:32:10 +01:00
phundrak 0e4c6c6c4b [Emacs] Simplify lsp-treemacs config, replace obsolete command 2023-03-10 15:30:17 +01:00
phundrak b810990611 [Emacs] Remove unused package 2023-03-10 15:29:39 +01:00
phundrak d7caf48eb9 [Emacs] Switch from tree-sitter to built-in treesit 2023-03-10 15:28:36 +01:00
phundrak 3d3dcc6123 [Emacs] Add Java configuration 2023-03-10 15:27:50 +01:00
phundrak ff6365ba8c [Emacs] typo 2023-03-10 15:26:51 +01:00
phundrak bc03b083ef [Emacs] Greatly simplify org conlang project
It's now a much simpler process to publish since I use Vuepress.
2023-03-10 15:25:19 +01:00
phundrak d9f20bc035 [Emacs] Remove autosuggestion in Eshell 2023-03-10 15:24:18 +01:00
phundrak 66c6ec5071 [Emacs] Fix compilation buffer colorization 2023-03-10 15:23:39 +01:00
phundrak 46fc2b62d2 [Emacs] PDF preview in Dirvish without opening PDF files 2023-03-10 15:22:55 +01:00
phundrak 07b888da3b [Emacs] Add keybind for magit-log 2023-03-10 15:22:30 +01:00
phundrak f06fab1ec6 [StumpWM] Add keybind `s-o' due to the habit I took in Newm 2023-03-10 15:20:57 +01:00
phundrak 6a0619d159 [Bin] Remove WIP part of the file I never ended up working on 2023-03-10 15:20:29 +01:00
phundrak 8dbb4373be [Bin] Create and adapt utilities for Sway and Wayland
Create screenshot script for Wayland using grim and slurp.

Adapt plock, emoji-rofi so they can also be used by Wayland.

Add Sway launcher script
2023-03-10 15:18:54 +01:00
phundrak 68807c16f3 [Sway] Add config 2023-03-10 15:18:03 +01:00
phundrak 5f41c8e71d [StumpWM, bin] Add docker indicator, nerd font to font list 2023-03-10 15:17:21 +01:00
phundrak 02137f0c4a [Fish] Simplify rsync abbreviation 2023-03-10 15:15:06 +01:00
phundrak 31f33ea658 [Readme] Fix Emacs version in shield 2023-03-10 15:14:35 +01:00
phundrak 724c27724f [PKGBUILD] Bump Emacs version 2023-03-10 15:14:14 +01:00
phundrak 987f8593ba [PKGBUILD] Bump Eask version 2023-03-10 15:13:16 +01:00
phundrak b3312d539e [Newm] New keybinding for connecting to bluetooth devices 2023-03-10 15:12:52 +01:00
phundrak a27ce0ddf0 [Misc] This somehow created issues with Emacsclient 2023-03-10 15:12:18 +01:00
phundrak 843348a096 [Fish] No more fish_greeting 2023-02-22 15:34:56 +01:00
phundrak e47c31d637 [Fish] Add abbreviation for following logs with docker-compose 2023-02-22 15:34:27 +01:00
phundrak 8475732f42 [StumpWM] Restore previous mouse behaviour 2023-02-15 11:13:49 +01:00
phundrak ff0da86024 [Emacs] Alias lsl to exa instead of plain ls 2023-02-15 11:13:28 +01:00
phundrak afc81645ff [Qutebrowser] Fix spawn in mpv keybind
continuous-integration/drone/push Build is passing
2023-02-05 23:07:05 +01:00
phundrak c9c8832054 [Emacs] Replace linguistics mu4e bookmark with internship
I haven’t been a subscriber of some linguistics-related mailinglists
for quite some time since I began reading them through Gnus, so that
bookmark is now useless.

However, I will very soon begin my internship, so I need a bookmark
for it.
2023-02-05 23:05:09 +01:00
phundrak edb534baa1 [Emacs] Remove solidity-mode, no longer needed
continuous-integration/drone/push Build is passing
2023-01-31 15:44:03 +01:00
phundrak 85e212d1f9 [Emacs] Better LSP performances 2023-01-31 15:43:48 +01:00
phundrak 5b31a3fab8 [Emacs] Some more documentation
continuous-integration/drone/push Build is passing
2023-01-23 12:31:43 +01:00
phundrak 5f7166b01e [Emacs] Better name for org project 2023-01-23 12:31:43 +01:00
phundrak 50f5cc94d0 [Emacs] Darken foreground of tab-bar face 2023-01-23 12:31:43 +01:00
phundrak 54d6b097e4 [Emacs] Better keybinds for LSP in major-modes 2023-01-23 12:31:43 +01:00
phundrak 1b24386366 [Emacs] Fix configuration for editorconfig-mode 2023-01-23 12:31:43 +01:00
phundrak 883795148a [Emacs] Ignore elc files in recentf 2023-01-23 12:31:43 +01:00
phundrak ab41c4810b [StumpWM] I’ve gotten used to focus on mouse hover
Also, I’m not using StumpWM all that much anymore, so commits will
come less frequently to this file.
2023-01-23 12:31:43 +01:00
phundrak 0b055fef80 [Newm] Better debugging for rules 2023-01-12 10:03:18 +01:00
phundrak febef82271 [Newm] Switch back to rofi, some visual changes
continuous-integration/drone/push Build is passing
Set explicit refresh rate for primary screen

Set blur and transparency for rofi

Disable animation on focus change
2023-01-10 12:26:17 +01:00
phundrak 9017ccf4ef [Newm] Avoid name collision in config 2023-01-10 12:23:09 +01:00
phundrak 429d050d1e [Misc] Fix Matomo tracking 2023-01-10 12:22:51 +01:00
phundrak 2134e947fd [Emacs] Add keybind to toggle tab-bar-mode, hide new tab button
continuous-integration/drone/push Build is passing
2023-01-08 21:16:38 +01:00
phundrak a509efdecd [Emacs] Remove unnecessary line
continuous-integration/drone/push Build is passing
2023-01-08 16:44:45 +01:00
phundrak 2161f9f3a6 [Emacs] Add customization for tab-bar 2023-01-05 18:56:18 +01:00
phundrak 1ceaaf7f3f [Bootstrap] Remove github remote for yadm dotfiles
continuous-integration/drone/push Build is passing
Gitea now mirrors automatically commits on its repository to Github
2023-01-05 14:19:02 +01:00
phundrak d6c7f2ccdb [PKGBUILD] Update Eask to 0.7.7
continuous-integration/drone/push Build is passing
2023-01-05 14:13:40 +01:00
phundrak e4cd19b77e [Misc] Update Matomo headers 2023-01-05 14:13:25 +01:00
phundrak f7a60d4679 [Emacs] Better keybinds for tabs 2022-12-28 18:13:41 +01:00
phundrak b3011c2825 [PKGBUILD] Add Eask PKGBUILD 2022-12-28 18:13:22 +01:00
phundrak 77231c8a20 [Emacs] Add native Emacs tabs keybinds to global prefix
continuous-integration/drone/push Build is passing
2022-12-18 17:07:37 +01:00
phundrak 06266f2a2e [Emacs] Add back mediawiki frontend
continuous-integration/drone/push Build is passing
2022-12-16 14:44:08 +01:00
phundrak 0130f0fabd [Emacs] Fix variable not correctly set 2022-12-16 14:44:08 +01:00
phundrak 4ab766b657 [Emacs] Switch to Rougier's fork of mastodon.el
The alt timeline is just so much prettier
2022-12-16 14:44:08 +01:00
phundrak 6992442453 [Emacs, Bootstrap] Remove vmd-mode, I never use it
Also remove package nodejs-vmd, since the only reason for me to have
it is vmd-mode
2022-12-16 14:44:08 +01:00
phundrak 24f32a7589 [Emacs] Just write plaintext by default 2022-12-16 14:41:27 +01:00
phundrak 0b6a673a8c [Fish] Add sourcing private data 2022-12-16 14:41:07 +01:00
phundrak 5f5c845dc4 [Emacs] Hook prettier-js into more modes
continuous-integration/drone/push Build is passing
2022-12-07 16:08:05 +01:00
phundrak baf6d0fc26 [Emacs] Add Mastodon client 2022-12-07 16:07:51 +01:00
phundrak 02f2170993 [Emacs] Fix keybinds for Forge in Magit 2022-12-07 16:07:32 +01:00
phundrak 47235d5040 [PKGBUILD] Add Tree-Sitter option in Emacs PKGBUILD 2022-12-07 16:06:30 +01:00
phundrak 90c42309c0 [Newm] Disable network and bluetooth display for now 2022-12-07 16:06:06 +01:00
phundrak 30f9c68aaf [Newm] Make generic function for getting playerctl bus 2022-12-07 16:05:41 +01:00
phundrak 9481df90ea [Newm] Fix energy settings 2022-12-07 16:05:03 +01:00
phundrak 36bfdfc6a8 [Newm] Get wallpaper from cache file 2022-12-07 16:04:41 +01:00
phundrak 1c15014511 [Newm] More multimedia keybinds 2022-12-07 16:04:20 +01:00
phundrak 4258623f54 [Newm] Fix unread email count 2022-12-07 16:04:03 +01:00
phundrak 4b85da9a1e [Bootstrap] Remove obsolete package 2022-12-06 11:50:08 +01:00
phundrak e31224fa62 [Misc] Add PKGBUILD fo Appwrite CLI
continuous-integration/drone/push Build is passing
2022-11-27 01:01:06 +01:00
phundrak ffd96a277d [Newm] Replace ambiguous character
continuous-integration/drone/push Build is passing
2022-11-23 18:04:30 +01:00
phundrak 8ab46ec051 [Emacs] Add timestamps in undo-tree buffer
continuous-integration/drone/push Build is passing
2022-11-23 17:59:21 +01:00
phundrak 54c0f11d80 [Newm] Move everything to the middle, ignore empty results
continuous-integration/drone/push Build is passing
2022-11-23 17:56:23 +01:00
phundrak 6fffa0177b [Newm] New method showing computer’s connectivity 2022-11-23 17:55:55 +01:00
phundrak e5a2527f81 [Newm] New method for displaying currently playing media 2022-11-23 17:55:35 +01:00
phundrak 1214534726 [Newm] Add method for displaying connected bluetooth devices 2022-11-23 17:55:05 +01:00
phundrak af2c327eb7 [Newm] Add method for displaying active docker containers 2022-11-23 17:54:34 +01:00
phundrak d855a29b76 [Newm] Revamp display of some elements 2022-11-23 17:54:04 +01:00
phundrak 4f8d4b19f3 [Newm] Add keybinding for screenshots 2022-11-23 17:52:43 +01:00
phundrak ce95e15824 [Newm] Remove unnecessary lines 2022-11-23 17:52:15 +01:00
phundrak 3363d9eb77 [Newm] Add keybinding for locking the screen
continuous-integration/drone/push Build is passing
2022-11-21 17:20:09 +01:00
phundrak b723c1a591 [Misc] Update private files
continuous-integration/drone/push Build is passing
2022-11-21 11:48:32 +01:00
phundrak d6917c0f49 [Misc] Remove files I no longer use 2022-11-21 11:47:32 +01:00
phundrak 6c030a639a [Fish] Remove unused fish functions
continuous-integration/drone/push Build is passing
2022-11-21 11:45:27 +01:00
phundrak 92eaa4e194 [Emacs] Add keyfreq package
continuous-integration/drone/push Build is passing
2022-11-21 11:39:56 +01:00
phundrak 63d778f84d [Emacs] Remove unused package 2022-11-21 11:36:54 +01:00
phundrak 4a528bf34e [Emacs] Fix incorrect function name 2022-11-21 11:36:38 +01:00
phundrak 51e84faa27 [Newm] Remove unused keybindings 2022-11-21 11:36:14 +01:00
phundrak c7e83b5497 [Newm] Add keybind to change focused screen 2022-11-21 11:35:55 +01:00
phundrak a697a3045e [Newm] Only toggle overview on the current screen 2022-11-21 11:35:33 +01:00
phundrak d590aa219c [Emacs] Fix receipe for two packages
continuous-integration/drone/push Build is passing
2022-11-19 10:03:53 +01:00
phundrak ad6160204d [Git] Use proper tabs in config
continuous-integration/drone/push Build is passing
2022-11-18 03:55:50 +01:00
phundrak 74303bbf02 [PKGBUILD] Bump version 2022-11-18 03:54:13 +01:00
phundrak b518e078d9 [Emacs] Add SQL to ob languages 2022-11-18 03:53:59 +01:00
phundrak 8022fff67e [Emacs] Faster mu4e update if no need to invoke mbsync 2022-11-18 03:53:40 +01:00
phundrak a570ebbc07 [Gnus] Don’t fetch old headers
It takes so much time depending on what needs to be loaded
2022-11-18 03:53:16 +01:00
phundrak f97d6f6bbb [Emacs] Remove personnal account from Gnus
I’ll only use Gnus to read mailing lists and my RSS feeds
2022-11-18 03:52:46 +01:00
phundrak 8eea0cc0d7 [StumpWM] Add missing media keys 2022-11-18 03:52:26 +01:00
phundrak fc3a0db80b [Bin] Replace Hyprland with Qtile 2022-11-18 03:51:17 +01:00
phundrak 5a41ad8355 [MPD] Fix service for mpd-mpris 2022-11-18 03:50:49 +01:00
phundrak 06e1ae50c2 [profile] Add Android SDK’s bin to PATH 2022-11-18 03:50:07 +01:00
phundrak 78c6365f0b [Emacs] Add unread emails and env version to doom-modeline
continuous-integration/drone/push Build is passing
2022-11-11 14:44:14 +01:00
phundrak 2a652f06fd [Emacs] Add Gnus config 2022-11-11 14:44:02 +01:00
phundrak 00edb760ea [PKGBUILD] Bump Emacs version 2022-11-11 14:43:32 +01:00
phundrak 0402c048a3 [Newm] Prettier bar icons 2022-11-11 14:43:14 +01:00
phundrak cdddacbecb [Newm] Don’t float Discord 2022-11-11 14:42:58 +01:00
phundrak d8f6399394 [Newm] Have an easier time enabling/disabling app id logging 2022-11-11 14:42:31 +01:00
phundrak 3c6fdaeff2 [Mimeapps] Add flashpoint handler 2022-11-11 14:41:58 +01:00
phundrak 82de5a00de [Kitty] Only enable some layouts 2022-11-11 14:41:41 +01:00
phundrak 5abc354bc5 [Git] Add some options for LFS 2022-11-11 14:41:24 +01:00
phundrak 590ac77ca0 [Fish] Remove old abbr, pipe out selected images
continuous-integration/drone/push Build is passing
2022-11-09 15:32:04 +01:00
phundrak ece05b7bf3 [Fish] Launch Emacs as GUI, don’t wait for it 2022-11-09 15:31:59 +01:00
phundrak d5cbecbfe0 [Bin] Better launch Wayland 2022-11-09 15:30:16 +01:00
phundrak 39d16eee5f [Drone] Apparently Git was missing 2022-11-09 15:28:28 +01:00
phundrak 248a93b4b6 [Newm] Add newm config to dotfiles
continuous-integration/drone/push Build is passing
Still trying some stuff out, I should convert it to an org file
relatively soon-ish
2022-11-09 15:24:48 +01:00
phundrak 6ce7200739 [Fish, Profile] Move custom paths to .profile 2022-11-03 12:15:55 +01:00
phundrak ffd0a3bbeb [Bin, Fish] Move most of my environment variables to .profile
continuous-integration/drone/push Build is passing
2022-11-03 11:47:00 +01:00
phundrak da8ee0d20a [Emacs] Add support for Less css
continuous-integration/drone/push Build is passing
2022-11-02 16:24:44 +01:00
phundrak cac91b95a7 [Emacs] Remove unneeded keybinds
continuous-integration/drone Build is passing
2022-10-26 13:10:18 +02:00
phundrak 36cb18bff4 [Misc] Set BalenaEtcher as default handler of the etcher protocol 2022-10-26 13:09:54 +02:00
phundrak 430d287e5c [Emacs] Set Emacs’ inferior lisp program to SBCL 2022-10-26 13:09:47 +02:00
phundrak 2e188238a6 [Emacs] Add new inboxes to mu4e bookmarks logic
I recently and finally managed to get my university’s emails with
mbsync. Time to add them to mu4e.
2022-10-26 13:08:27 +02:00
phundrak 2e3be809d9 [StumpWM] Exit interactive keymaps with `q' 2022-10-26 13:07:50 +02:00
phundrak 490db564ce [StumpWM] Beginning to work on Systemd interactivity 2022-10-26 13:07:19 +02:00
phundrak 3c4ba3d898 [PKGBUILD] Bump Emacs version, switch to PGTK
I’m using Wayland more and more often, so PGTK now has its uses
2022-10-26 13:06:51 +02:00
phundrak 65ad09cc64 [Emacs] Make dictionary change possible with flyspell hydra 2022-10-19 15:07:28 +02:00
phundrak 8656b7c982 [Emacs] Add Solidity support 2022-10-19 15:07:14 +02:00
phundrak 738404ac60 [Emacs] Enable prettier-js for SCSS 2022-10-19 15:06:57 +02:00
phundrak dfecd1c5f9 [Emacs] Add treesitter 2022-10-19 15:06:44 +02:00
phundrak a97fb2eb64 [Emacs] Add plantuml to org languages 2022-10-19 15:06:02 +02:00
phundrak 6dedcc140b [Emacs] Add keybinds for Forge 2022-10-19 15:05:47 +02:00
phundrak 6f585993bc [Emacs] Move through visual lines and not absolute lines 2022-10-19 15:04:55 +02:00
phundrak e70ca0f65c [Fish] Remove `node_modules/.bin' from PATH 2022-10-19 15:03:32 +02:00
phundrak 48900cc391 [Picom] Slight changes to window shadows 2022-10-19 15:03:04 +02:00
phundrak 0c838facdf [Bin] Add launchers for wayland compositors 2022-10-17 16:00:13 +02:00
phundrak fa2356f326 [Org] Update the header for unique headers 2022-10-17 15:59:54 +02:00
phundrak 9859cec8b0 [Emacs] Fix incorrect command in keybind 2022-10-04 13:01:31 +02:00
phundrak d87719a476 [Emacs] Switch from XeTeX to Tectonic 2022-10-04 13:01:05 +02:00
phundrak 2ac463bf17 [Emacs] Only load powerline-eshell on my main computer 2022-09-22 12:49:49 +02:00
phundrak f902b6fc92 [Emacs] Switch to Doom Nord Aurora theme 2022-09-19 12:38:34 +02:00
phundrak fdcea0b0b4 [Emacs] Remove file from agenda files 2022-09-19 12:38:22 +02:00
phundrak 40c7a02110 [Emacs] Fix Yadm integration in Tramp 2022-09-19 12:38:07 +02:00
phundrak d68f406ae8 [Emacs] Better iedit configuration 2022-09-19 12:37:57 +02:00
phundrak d378016e10 [Emacs] Silence Emacs compiler, remove unused functions 2022-09-19 12:37:34 +02:00
phundrak 4ff8781b52 [StumpWM] Clearer documentation 2022-09-19 12:36:04 +02:00
phundrak 4868f26dad [Fish] Add abbreviation for launching software with Nvida 2022-09-19 12:35:40 +02:00
phundrak 12d8e434b9 [PKGBUILD] PKGBUILDs update 2022-09-19 12:34:02 +02:00
phundrak 12c9adeb36 [Bin, Autostart] Picom experimental backend flag no longer needed 2022-09-19 12:02:15 +02:00
phundrak 77694e9aa0 [Bin, Systemd] Move pumopm to its own user service 2022-08-31 17:24:57 +02:00
phundrak 0050fc966e [StumpWM] Control media through playerctl rather than mpc directly 2022-08-31 03:46:45 +02:00
phundrak 78d4736863 [Emacs] Add new agenda file, add agenda on dashboard 2022-08-31 01:55:36 +02:00
phundrak d0bd80d0b5 [Emacs] Add keybind for org-colums 2022-08-31 01:55:08 +02:00
phundrak 203c710e14 [Kitty] More accessible keys 2022-08-31 01:54:10 +02:00
phundrak 34db5e9dc3 [Systemd] Add service files for playerctl and mpd-mpris 2022-08-31 01:53:29 +02:00
phundrak 52c23fb47c [Emacs] Simpler hook for org-unique-id
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2022-08-24 20:08:46 +02:00
phundrak 2e20b9594c [Emacs] Don’t defer counsel 2022-08-24 20:08:37 +02:00
phundrak 9a6cdbb370 [Emacs] Remove Github Copilot 2022-08-24 02:38:19 +02:00
phundrak 262119b8e2 [Emacs] Enable LSP for web-mode buffers
continuous-integration/drone/push Build is passing
2022-08-16 13:39:29 +02:00
phundrak d7af354c40 [Emacs] Actually enable prettier-js-mode by default in web-mode
This is how the previously reverted commit was meant to go.
2022-08-16 13:36:03 +02:00
phundrak 78ae3da3b1 Revert "[Emacs] Enable prettier-js and lsp for webmode by default"
This reverts commit 31817f8452.

After this commit, web-mode stopped being enabled by default when
opening Vue files. This might have affected other file types.
2022-08-16 13:26:03 +02:00
phundrak 897499394b [Emacs] Add keybind for dirvish-dispatch, and some doc 2022-08-14 13:14:44 +02:00
phundrak 582178a906 [Emacs] Go back to while loop in csetq
While more elegant, `cl-loop` has a heavier setup which can make it
much slower than a while loop in the long run.
2022-08-14 13:13:17 +02:00
phundrak 31817f8452 [Emacs] Enable prettier-js and lsp for webmode by default 2022-08-12 17:55:59 +02:00
phundrak 8cebd9636e [StumpWM] Fix issue with selecting bluetooth device 2022-08-12 17:55:39 +02:00
phundrak 993cae429d [StumpWM] Fix issue with selecting bluetooth device
continuous-integration/drone/push Build is passing
2022-08-11 23:31:14 +02:00
phundrak f8ff857e3c [Bin] Remove deprecated link
continuous-integration/drone/push Build is passing
2022-08-11 19:45:03 +02:00
phundrak 1be104bf32 [PKGBUILD] Bump Emacs version
continuous-integration/drone/push Build is failing
2022-08-11 17:58:25 +02:00
phundrak ae1667eadd [Emacs] Remove defer on general since it gets loaded anyways 2022-08-11 17:58:03 +02:00
phundrak 23f4925aa3 [StumpWM] Remove net and wifi modules from modeline
continuous-integration/drone/push Build is failing
2022-08-08 20:47:22 +02:00
phundrak 0bdabaf5c0 [Emacs] Add my package mdc-mode
That package is still hugely experimental and far from ready to be
used by anyone, myself included.
2022-08-08 20:37:25 +02:00
phundrak 22b6991241 [Emacs] Add eask-mode 2022-08-08 20:37:12 +02:00
phundrak a58e171913 [Emacs] Documentation 2022-08-08 20:37:03 +02:00
phundrak 98a7327662 [Emacs] Remove unused package 2022-08-08 20:36:48 +02:00
phundrak b96be382a6 [PKGBUILD] Update Emacs PKGBUILD 2022-08-07 12:59:23 +02:00
phundrak d23d0deafb [Emacs] Add prettier-js-mode to typescript-mode 2022-08-07 12:59:23 +02:00
phundrak d7cdb51652 [Emacs] Force tabs in all Makefiles 2022-08-07 12:59:22 +02:00
phundrak 054513273e [Emacs] Remove org-superstar in favor of org-modern 2022-08-07 12:59:22 +02:00
phundrak 9c2f4a5907 [Emacs] Add possibility to run asynchronously org code blocks 2022-08-07 12:59:22 +02:00
phundrak c6a3771ff4 [Emacs] Replace dired with dirvish, optimize TRAMP 2022-08-07 12:59:22 +02:00
phundrak 489074ddf1 [Emacs] Ignore node_modules directory in projectile 2022-08-07 12:55:51 +02:00
phundrak 93a4fcc876 [Emacs] Less transparency by default on Emacs frames 2022-08-07 12:55:00 +02:00
phundrak bf121fec10 [StumpWM, Emacs, Bin] Move randr calls to xinitrc files
Due to a recent bug, StumpWM crashes if the screen layout is
reorganized in its configuration file (maybe not just then, I’ll have
to check).

Thus, this commit removes calls to xrandr and autorandr from my WM
configurations and moves them to their respective xinitrc file. It
also removes the `set-screens` script in my scripts collection as it
became obsolete the moment I began using `autorandr` instead.

It also removes the call to `xsetroot` in my StumpWM config since it
is redundant with its xinitrc file.
2022-08-07 12:51:10 +02:00
phundrak 1e1e40160e [Emacs] More avy! 2022-07-24 11:44:24 +02:00
phundrak e88826f8d4 [Emacs] Better Dired file listing option 2022-07-24 11:41:16 +02:00
phundrak 41c7c1f1a0 [Emacs] Add my Appwrite server SDK
continuous-integration/drone/push Build is passing
2022-07-19 11:24:50 +02:00
phundrak 713cc07687 [StumpWM] Launch autostart even if autorandr fails 2022-07-19 11:24:13 +02:00
phundrak 3b64c8e467 [Emacs] Update TODOs
continuous-integration/drone/push Build is passing
2022-07-12 04:30:50 +02:00
phundrak 0cc2c90262 [Emacs] Replace npm-mode with npm-transient 2022-07-12 04:30:31 +02:00
phundrak ca38157732 [Emacs] Add dotenv-mode package 2022-07-12 04:30:18 +02:00
phundrak b208f19a8f [Kitty] Update theme settings
Also remove unused comments
2022-07-12 04:29:50 +02:00
phundrak efe4db37a3 [Emacs] Enable magit-todos by default, except for yadm
continuous-integration/drone/push Build is passing
2022-07-06 21:05:10 +02:00
phundrak 2afef395a1 [Emacs] Update ignored elcord buffers
continuous-integration/drone/push Build is passing
2022-07-06 12:56:26 +02:00
phundrak ef404d0579 [Emacs] Enable rjsx-mode for jsx files
Duh
2022-07-06 12:56:06 +02:00
phundrak b4be7962fd [Emacs] Fix org-msg loading
Fix https://github.com/jeremy-compostella/org-msg/issues/153 on my
side
2022-07-06 12:55:15 +02:00
phundrak a494188cfa [Emacs] Remove obsolete variable, favor csetq to setq
continuous-integration/drone/push Build is passing
2022-07-05 15:44:23 +02:00
phundrak 4a980af18d [Emacs] Add keybind for counsel-yank-pop
continuous-integration/drone/push Build is passing
2022-07-05 15:31:14 +02:00
phundrak 38837df541 [Emacs] Add Emacsql configuration 2022-07-05 15:30:53 +02:00
phundrak 7e1d96e677 [Emacs] Remove references to minted, default to engraved backend 2022-07-05 15:30:35 +02:00
phundrak 7e41b4cf70 [Emacs] Remove unused variable 2022-07-05 15:30:10 +02:00
phundrak 431750aa12 [Emacs] Round transparency parameter to a nicer value 2022-07-05 15:29:45 +02:00
phundrak c3a8a7cf4a [Bin] Nicer elisp, tables formatting and code output 2022-07-05 15:29:03 +02:00
phundrak ff045fdc3a [Emacs] Fix issue with forge bindins, prefer csetq to setq
continuous-integration/drone Build is passing
2022-07-03 12:26:30 +02:00
phundrak 92e2eaeebc [Emacs] Add multi-vterm package 2022-07-03 12:26:04 +02:00
phundrak 1703b07d91 [Emacs] Simplification and optimisation of org-msg-signature
It’s faster to modify text while it is still in a buffer. The code is
also much simpler and nicer to look at.
2022-07-03 12:24:28 +02:00
phundrak fa2e092f89 [Fish] Add local node_module’s bin to path 2022-07-03 12:24:10 +02:00
phundrak 10e1695b16 [Mimeapps] Change wma player to mpv 2022-07-03 12:23:17 +02:00
phundrak 8e916fad6c [Emacs] Long overdue removal of todo item 2022-06-28 23:41:49 +02:00
phundrak 82e7832806 [Emacs] Fix elisp syntax 2022-06-28 23:41:35 +02:00
phundrak d2a56db780 [Emacs] mu4e workaround
Workaround for https://github.com/djcb/mu/issues/2282
2022-06-28 23:39:56 +02:00
phundrak 570834c65c [Emacs] Remove incompatible code with mu4e 1.8 2022-06-28 23:39:38 +02:00
phundrak 81a3b67f63 [Emacs] Better web-mode config, cleaner prettier-js config
continuous-integration/drone/push Build is passing
2022-06-26 22:24:49 +02:00
phundrak bfef9895d6 [Emacs] Fix hydra doc 2022-06-26 22:24:14 +02:00
phundrak 1c2c33fd8c [Emacs] Better copilot settings 2022-06-26 22:24:03 +02:00
phundrak 3bf05c8141 [Emacs] Better settings for LaTeX export with source code 2022-06-26 22:23:41 +02:00
phundrak 914bfdb3b6 [Bin] update cache of elisp function 2022-06-26 22:19:55 +02:00
phundrak e6ffd2aba2 [Emacs] Evil visual line movement in markdown and org
Markdown and org files can contain long files that span several visual
lines. Moving with `evil-next-line' and `evil-previous-line' is not
exactly comfortable when that’s the case. `evil-next-visual-line' and
`evil-previous-visual-line' come to the rescue!
2022-06-26 22:19:51 +02:00
phundrak 4940ee4fd3 [Emacs] Remove obsolete package, reword documentation
continuous-integration/drone/push Build is passing
2022-06-18 15:47:47 +02:00
phundrak c61bf53945 [Emacs] Add org-roll package 2022-06-18 15:47:28 +02:00
phundrak 3f80d91c86 [Emacs] Fix syntax issues 2022-06-18 15:46:42 +02:00
phundrak 06c444c92a [Emacs] Remove after! macro 2022-06-15 22:36:00 +02:00
phundrak a1c1387df9 [Emacs] Simpler and more effective csetq 2022-06-15 22:25:29 +02:00
phundrak 26e8a61c1b [Emacs] Better customization of doom modeline 2022-06-15 21:52:34 +02:00
phundrak 218307bf8e [Emacs] Add Emacs Package Dev Handbook 2022-06-15 21:50:04 +02:00
phundrak c32ae1347b [Emacs] Add ltex-lsp to Emacs 2022-06-15 21:48:01 +02:00
phundrak c8f8dcdf67 [Emacs] Remove smartparens-latex, replace after! with use-package 2022-06-15 21:42:18 +02:00
phundrak b60afb67d7 [Emacs] Improve Vue development experience 2022-06-15 21:41:17 +02:00
phundrak 1550d6c3e9 [Emacs] Implement setq-like customize-set-variable macro 2022-06-15 21:38:51 +02:00
phundrak 9215d8dd1e [Emacs] Better web dev options
continuous-integration/drone/push Build is passing
Improve keybindings for Emmet

Auto-enable web-mode for Vue files

Prefer single quotes in Javascript and Typescript
2022-06-10 10:43:42 +02:00
phundrak f7af204479 [Emacs] Resize treemacs icons 2022-06-10 10:43:41 +02:00
phundrak 09867381eb [Emacs] Enable ispell only if aspell executable is found 2022-06-10 10:43:41 +02:00
phundrak 179fe277f4 [Emacs] Add Gitlab regex to mu4e bookmarks 2022-06-10 10:43:41 +02:00
phundrak 515eb4ad43 [Emacs] Remove unneeded pieces of code
Also update cache of org babel result
2022-06-10 10:43:18 +02:00
phundrak 77dbd8747f [Emacs] Don’t tangle generating code 2022-06-10 10:35:25 +02:00
phundrak 8b8a5a1a64 Shorten CI time
continuous-integration/drone/push Build is passing
2022-06-07 19:46:43 +02:00
phundrak 73c629afc4 [Misc] Move files to XDG user dirs
continuous-integration/drone/push Build is passing
2022-06-07 19:45:58 +02:00
phundrak 23c9e37dfc [SBCL] Remove duplicate code 2022-06-07 19:45:58 +02:00
phundrak 1dba663994 [PKGBUILD] Bump Emacs version 2022-06-07 19:45:58 +02:00
phundrak c35c79af4d [Misc, export] Better setup for package archives in exporter 2022-06-07 19:45:57 +02:00
phundrak 9c830f69f8 [Emacs] Fix Eshell alias file path 2022-06-07 15:46:42 +02:00
phundrak 211ec0c797 [Misc] Remove Yay config 2022-06-07 15:43:50 +02:00
phundrak 641a3a4aaf [Tmux] Remove Tmux submodule and config
continuous-integration/drone/push Build is passing
2022-06-07 15:42:27 +02:00
phundrak 37406daca9 [Bin] Better autostart
continuous-integration/drone/push Build is passing
2022-05-31 21:08:08 +02:00
phundrak 386fe3962e [StumpWM] Register AltGr key 2022-05-31 21:07:45 +02:00
phundrak 031ef95b5e [StumpWM] Add Emacs group 2022-05-31 21:07:29 +02:00
phundrak 0352d55664 [Fish] Remove dart’s binaries directory from PATH 2022-05-31 21:02:17 +02:00
phundrak 7d4ceee8ac [Emacs] Remove Lua packages 2022-05-31 21:01:47 +02:00
phundrak 411680496e [Emacs] Add Cask mode 2022-05-31 21:00:57 +02:00
phundrak 3a89d7ef3e [Emacs] Fix incorrect parenthesis 2022-05-31 20:59:59 +02:00
phundrak dbafe01b1d [Emacs] Remove mediawiki, too buggy
continuous-integration/drone/push Build is passing
2022-05-22 14:13:32 +02:00
phundrak 342b1ea1df [Fish] rsync abbreviation 2022-05-22 14:12:53 +02:00
phundrak 6feecc1fdc [Bin, Fish] Better handling of unknown executables
Only execute stuff if it is in PATH.
2022-05-22 14:11:58 +02:00
phundrak beaea0bd66 [Emacs] Add sudo and sudoedit TRAMP protocols to ignored recentf
continuous-integration/drone/push Build is passing
2022-05-20 18:18:08 +02:00
phundrak 50c45cbbf4 [Bin] Fix rofi-emoji
continuous-integration/drone/push Build is passing
2022-05-19 18:22:31 +02:00
phundrak 53de06b844 [StumpWM] Fix concurrency issue
continuous-integration/drone/push Build is passing
2022-05-19 18:20:33 +02:00
phundrak 3a80cc13d2 Update sitemap 2022-05-19 18:20:25 +02:00
phundrak 82aee2bf9e [Emacs] Add Reddit option for atomic chromium 2022-05-19 18:19:26 +02:00
phundrak 20e758789e [Emacs] Update package specifications 2022-05-19 18:19:04 +02:00
phundrak c7519cfd9d [Emacs] Simplify background transparency settings
continuous-integration/drone/push Build is passing
2022-05-17 17:26:17 +02:00
phundrak 8971a5b868 [Emacs] Make sure Forge keybinds are integrated with Magit 2022-05-17 17:24:27 +02:00
phundrak 143161387a [StumpWM] Dedicated threads for potentially blocking commands
continuous-integration/drone/push Build is passing
Sometimes StumpWM hangs because of blocking commands. Instead of
making StumpWM completely hang, only its dedicated thread will.
2022-05-15 00:40:55 +02:00
phundrak f92904cdb0 [StumpWM] Simpler initial shell command 2022-05-15 00:40:55 +02:00
phundrak 9f313b42cd [Emacs] Better lisp-mode configuration 2022-05-15 00:40:55 +02:00
phundrak debc346acf [Emacs] Org-mode-like code-block editing for Markdown 2022-05-15 00:40:55 +02:00
phundrak a38e2bede6 [Emacs] Use engrave backend for org-mode PDF exports 2022-05-15 00:40:33 +02:00
phundrak 6344ef7292 [Emacs] Fix python in org-babel 2022-05-15 00:37:24 +02:00
phundrak 25a9a14534 [Emacs] Markdown-mode when editing text for Github 2022-05-15 00:36:44 +02:00
phundrak d99f605d5b [Emacs] Typo and formatting 2022-05-15 00:32:51 +02:00
phundrak 1c911b9821 Revert "[StumpWM, bin] Add weather module to StumpWM..."
This reverts commit d78be92786.
2022-05-08 23:15:26 +02:00
phundrak ee7e82ea03 [StumpWM] Fix name of font family
continuous-integration/drone/push Build is passing
2022-05-06 23:29:24 +02:00
phundrak d78be92786 [StumpWM, bin] Add weather module to StumpWM, convert we to POSIX sh
continuous-integration/drone/push Build is passing
Convert script `we` from fish to POSIX shell

Add two new scripts:
- stump-choose-city
- stump-weather
The former one sets the default city used for weather. The latter
generates the output used by StumpWM’s mode-line.
2022-05-06 23:27:01 +02:00
phundrak 46bae114e3 [Emacs] Ignore files opened through yadm/TRAMP 2022-05-06 23:26:20 +02:00
phundrak a70aac1ba5 [Emacs] Fix eshell clear alias
continuous-integration/drone/push Build is passing
2022-05-06 19:50:10 +02:00
phundrak 446db02df4 [Emacs] Fewer regexes for recentf-exclude
continuous-integration/drone/push Build is passing
2022-05-06 19:48:12 +02:00
phundrak 7d04a5c41a [Emacs] Add maildir keybinds to mu4e
continuous-integration/drone/push Build is passing
2022-05-05 16:08:48 +02:00
phundrak 07744e872a [Misc] Update encrypted files
continuous-integration/drone/push Build is passing
2022-05-02 02:41:37 +02:00
phundrak 81eb9954f8 [Misc] Update encrypted files
continuous-integration/drone/push Build is passing
2022-05-02 02:28:32 +02:00
phundrak 0c971ae5a7 [Bootstrap] Correct font for StumpWM
continuous-integration/drone/push Build is passing
2022-05-02 01:39:52 +02:00
phundrak 9fc9e7daf4 [paru] Add mkdir directive for paru config 2022-05-02 01:39:51 +02:00
phundrak 3a75118e0d [Bootstrap] Remove code for Chaotic AUR
continuous-integration/drone/push Build is passing
They change from time to time, so I can’t keep shell code for
installing Chaotic AUR repository
2022-05-02 01:03:18 +02:00
phundrak 49014b6c4e [StumpWM, SBCL] Add sbclrc, instructions for clx-truetype
continuous-integration/drone/push Build is passing
2022-05-02 00:59:50 +02:00
phundrak e924306b15 [Qutebrowser] Fix symlink
continuous-integration/drone/push Build is passing
2022-05-02 00:32:55 +02:00
phundrak 6ee3af65bd [Fish] Only execute pumo-system-info if found
continuous-integration/drone/push Build is passing
2022-05-01 23:17:34 +02:00
phundrak e832b3cda9 [PKGBUILD] Update nsxiv config.h 2022-05-01 23:17:33 +02:00
phundrak f1df008c43 [Emacs] Clean elcord boring buffers
continuous-integration/drone/push Build is passing
2022-05-01 18:03:12 +02:00
phundrak 77e208d683 [Emacs] Add bibliography for org-cite 2022-05-01 18:02:53 +02:00
phundrak 53ef8cb04b [Emacs] New keybinds 2022-05-01 18:02:28 +02:00
phundrak ff6435594c [Emacs] Update filters for mu4e bookmarks 2022-05-01 18:01:44 +02:00
phundrak c734fea7c4 [PKGBUILD] Remove PGTK option for Emacs 2022-05-01 18:00:29 +02:00
phundrak 8c1e8c9b5b [PKGBUILD] Re-enable xwidget browser in Emacs, version bump
continuous-integration/drone/push Build is passing
The xwidget browser is a lot more stable now! Not perfect yet, but
usable with simple websites.
2022-04-21 14:31:59 +02:00
phundrak 40f211bdd8 [Gitconfig] Add email credentials helper
continuous-integration/drone/push Build is passing
2022-04-21 12:40:26 +02:00
phundrak 5bbfcdfd2b [StumpWM] Make backlight changes more natural 2022-04-21 12:39:28 +02:00
phundrak 525711238f [Emacs] Load org-protocol by default 2022-04-21 12:39:07 +02:00
phundrak bb1dfc15fc [StumpWM] Fix issue with undeclared my/kbd
`my/kbd` appeared as undefined in `bluetooth.lisp` and
`utilities.lisp`. This commit fixes this error.
2022-04-19 15:30:48 +02:00
phundrak 3e476e67a9 [Emacs] Remove unused code with undo-tree config, update doc
continuous-integration/drone/push Build is passing
2022-04-19 14:34:50 +02:00
phundrak 59335cf663 [Emacs] Fix Magit keybinds
With a recent package update, whether by Magit’s or Evil Collection’s
fault, the keybinds for `c` and `t` got replaced with evil movement up
and down instead of respectively staging and tagging in Magit. This
commit fixes this behavior.
2022-04-19 14:31:07 +02:00
phundrak 5bd012e5b9 [StumpWM] Simplify keybinds declaration
continuous-integration/drone/push Build is passing
This commit adds the function `my/kbd` which translates characters
`kbd` does not know into their internal name.

Simplify Elisp noweb code.
2022-04-19 14:10:55 +02:00
phundrak b708275c36 [Topgrade] Add topgrade config to dotfiles 2022-04-19 13:19:41 +02:00
phundrak e7b85d56d4 [Emacs] Add Github Copilot package
continuous-integration/drone/push Build is passing
2022-04-18 21:17:31 +02:00
phundrak f6d7485531 [Emacs] Remove prettified keywords 2022-04-18 21:17:09 +02:00
phundrak 1b224d1aaf [Emacs] Add Condict project packages 2022-04-18 21:16:51 +02:00
phundrak 5639ce1fc8 [Emacs] Fix errors on Emacs startup 2022-04-18 21:16:24 +02:00
phundrak b0ace772ce [Emacs] Change scrolling behavior in Emacs
continuous-integration/drone/push Build is passing
2022-04-11 14:50:29 +02:00
phundrak f29e48ed37 [Bin] Add CPU scaling script 2022-04-11 14:50:05 +02:00
phundrak d41fc9c3ca [Emacs] Update mu4e filters
continuous-integration/drone/push Build is passing
2022-04-06 19:52:42 +02:00
phundrak e2a19dec6e [Emacs] Better LangTool configuration 2022-04-06 19:44:02 +02:00
phundrak 67bbce62d9 [Emacs] add elisp-demo, some more documentation
continuous-integration/drone/push Build is passing
2022-04-06 19:01:41 +02:00
phundrak e1454699ea [Emacs] Some more documentation
continuous-integration/drone/push Build is passing
2022-04-06 18:55:42 +02:00
phundrak aafb677591 [Emacs] improve Dired configuration
continuous-integration/drone/push Build is passing
2022-04-06 18:51:14 +02:00
phundrak 26f1999c02 [Emacs] Better undo-tree configuration 2022-04-06 18:51:01 +02:00
phundrak 8ff0beec06 [Emacs] More documentation 2022-04-06 18:50:46 +02:00
phundrak 4d7f5fe947 [StumpWM] Update ncmpcpp keybind 2022-04-06 18:48:45 +02:00
phundrak d2d00d4442 [StumpWM] Minor markup change 2022-04-05 17:16:19 +02:00
phundrak f5df9b649f [Emacs] Only use xelb when using EXWM 2022-04-05 17:16:19 +02:00
phundrak f22e54691d [Emacs] TRAMP optimisation
Disable all-the-icons-dired for remote repositories
Disable auto-save and backups for files opened with TRAMP
2022-04-05 17:16:19 +02:00
phundrak b13b6f1e64 [Emacs] Update list of ignored files in recentf
Also simplify regex
2022-04-05 17:16:19 +02:00
phundrak 57ad8b2fdc [PKGBUILD] Switch to Emacs 29.0.50
Rebase Emacs PKGBUILD on AUR’s emacs-git
2022-04-05 17:16:19 +02:00
phundrak 0e413d00a3 [StumpWM] Replace scrot with Flameshot 2022-04-02 15:19:39 +02:00
phundrak e5ddea6fd8 [Emacs] Add Gemini and Github-flavored markdown
continuous-integration/drone/push Build is passing
2022-04-02 15:05:35 +02:00
phundrak 3e140e7302 [StumpWM] Fix ncmpcpp keybinds 2022-04-02 15:04:50 +02:00
phundrak f81518ddd2 [Emacs] These prettified symbols are actually quite annoying
continuous-integration/drone/push Build is passing
2022-03-30 20:32:33 +02:00
phundrak 7f2cae36af [Emacs] Add keybind for editing org table formulas 2022-03-30 20:24:18 +02:00
phundrak 420373806a [Rofi] Update theme 2022-03-30 20:23:26 +02:00
phundrak e6387f84c5 [Desktop] Generate nicer Lisp and Elisp output 2022-03-28 02:07:03 +02:00
phundrak d63da4af42 [StumpWM] Update some elisp, more natural keybind declaration
If characters such as `«` or `»` are used, they get replaced by their
complete name. See table `tbl-char-to-name`.
2022-03-28 02:05:39 +02:00
phundrak 4a6fbf3264 [Meta, Org] Update Matomo script to reflect server changes 2022-03-28 02:00:14 +02:00
phundrak 872e508fc7 [StumpWM, Emacs] Change keybind for changing volume 2022-03-28 01:59:32 +02:00
phundrak a90bccca20 [Qutebrowser] Fix broken configuration
Configuration is now purely done through Python files
2022-03-27 22:19:14 +02:00
phundrak d2caf80154 [StumpWM] Better parity between Emacs and StumpWM keybinds 2022-03-27 22:18:16 +02:00
phundrak bc58766587 [Emacs] LSP optimizations 2022-03-27 22:17:55 +02:00
phundrak 44b65c2d72 [Emacs] Update org project on conlanging 2022-03-27 22:17:31 +02:00
phundrak bfe1102c37 [Emacs] Reword some stuff 2022-03-15 18:31:56 +01:00
phundrak 196df4fb44 [Emacs] Fix keybindings in Eshell
continuous-integration/drone/push Build is passing
2022-03-15 18:25:38 +01:00
phundrak 2c7d159e9b [Emacs] Improve EXWM config
Add keybind for `exwm-debug`, fix rofi keybinds

Autostart now executed through my script in bin.org

Correct argument for `:if` in `use-package` directives

Reorganize screens for current correct layout
2022-03-15 18:21:56 +01:00
phundrak 3fa9d52ddc [Emacs] Better bookmarks 2022-03-15 18:19:41 +01:00
phundrak 6230f63a6e [Emacs] Promote heading, remove "Org Functions" heading
continuous-integration/drone/push Build is passing
2022-03-10 22:53:38 +01:00
phundrak ece09caca8 [Emacs] Move custom org functions in org configuration
Move `phundrak/toggle-org-src-window-split' to org configuration

Add org emphasis functions and their keybindings
2022-03-10 22:52:31 +01:00
phundrak d3d5e12222 [Emacs] Let SSH manage the ControlMaster options 2022-03-10 22:27:20 +01:00
phundrak 896b3f6fe9 [Emacs] Ignore email drafts in recentf 2022-03-10 22:27:04 +01:00
phundrak d9299b664d [Emacs] Clarify some text 2022-03-10 22:26:52 +01:00
phundrak 3cd50d88da [Emacs] Remove redundant functions 2022-03-10 22:26:31 +01:00
phundrak de78e16bd9 [StumpWM, Bin] Replace StumpWM’s notification manager with Dunst 2022-03-10 22:25:56 +01:00
phundrak 84e3c91c51 [Emacs] Add function to remove junk files in conlanging org project 2022-03-06 22:16:46 +01:00
phundrak d5cf97d888 [Emacs] Update list of ignored files in recentf 2022-03-06 22:16:15 +01:00
phundrak 1f11d7685e [StumpWM] Wider outer gaps 2022-03-06 21:48:12 +01:00
phundrak 7b4c5a62db [StumpWM] Update sly functions
Rename `start-sly-server` to `sly-start-server`.

Add `stop-sly-server`. It will always try to stop a server running on
port 4005 (default port used by `sly-start-server`)
2022-03-06 21:46:46 +01:00
phundrak ff119ce02c [Emacs] Update path and name of org conlanging project 2022-03-06 21:45:52 +01:00
phundrak 7bdab40832 [Bin] KDEConnect in autostart, proper bash for default audio sink 2022-03-06 21:43:40 +01:00
phundrak 61c123799b [Emacs] Do not run any EXWM code if it is not used
Only run the configuration code for EXWM if the argument `--with-exwm'
is passed to Emacs, otherwise don’t
2022-03-04 15:09:51 +01:00
phundrak 30086fa7ce [Emacs] Keybind to quickly open straight repositories
continuous-integration/drone/push Build is passing
2022-03-04 14:49:01 +01:00
phundrak d4285f76d5 [Emacs] Disable by default valign-mode 2022-03-04 14:29:17 +01:00
phundrak 64d016be84 [Emacs] Update ignored paths in recentf 2022-03-04 14:26:52 +01:00
phundrak 507278d043 [Emacs] Add work in progress Bitwarden package 2022-03-04 14:26:33 +01:00
phundrak 02c54f3709 [StumpWM] Update volume keybinds
continuous-integration/drone/push Build encountered an error
Do not use amixer but pactl
This allows to modify the volume of whichever the default output is
instead of just the main output of the computer.
2022-03-01 20:20:12 +01:00
phundrak 4c42a17fc6 [Bin] Huge simplification of wacom-setup
continuous-integration/drone/push Build encountered an error
It’s not a one-liner yet, but it’s still much shorter and cleaner than
the previous mess.
Also change wacom-setup from a fish script to a sh script
2022-03-01 20:18:41 +01:00
phundrak d379f83cc8 [Bin] Make HDMI1 on the left by default
My setup changed, therefore put HDMI1 on the left of my computer.
2022-03-01 19:50:02 +01:00
phundrak 728cfed605 [Mimeapps] Make nsxiv my default image viewer 2022-02-28 19:52:50 +01:00
phundrak c0f6bbc5a7 [Bin] Fish to bash autostart, fix some bash issues
Autostart is now written in Bash.

Autostart now loads a module to automatically switch devices for
PipeWire/PulseAudio when a new one is connected.

Fix some issues with using "$@" instead of "$*"
See Shellcheck’s SC2148
2022-02-26 15:40:15 +01:00
phundrak e1077bad9a [Emacs] Better tables in org-mode and markdown-mode 2022-02-26 15:39:44 +01:00
phundrak ca0cb65cdb [Emacs] Make elcord ignore more buffers 2022-02-26 15:39:22 +01:00
phundrak 81a6020e83 [Emacs] Add major mode for systemd files 2022-02-26 15:38:54 +01:00
phundrak 4d4f9f92ea [Emacs] Use external converter by default in image-mode 2022-02-26 15:38:16 +01:00
phundrak 3e0065d9d1 [Emacs] Customize a bit Eshell’s prompt 2022-02-26 15:38:02 +01:00
phundrak bcfded9a76 [Emacs] Mu4e bookmarks reorganization 2022-02-26 15:37:42 +01:00
phundrak d982b0f6d5 [Fish] Add XFCE PolKit to PATH, add sxiv abbreviation 2022-02-26 15:37:01 +01:00
phundrak 56317cc09b [Bootstrap] Switched to Pipewire 2022-02-26 15:36:23 +01:00
phundrak 8bc5d228dd [Fish, Bin, Bootstrap] Sxiv to Nsxiv, install custom packages
continuous-integration/drone/push Build is passing
Change all references of sxiv to nsxiv.

In bootstrap, install my custom packages from their PKGBUILD rather
than from repositories.
2022-02-24 17:13:23 +01:00
phundrak 490772669b [Sxiv] Upgrade from sxiv to nsxiv
continuous-integration/drone/push Build is passing
The PKGBUILD file creates a symlink to sxiv in case scripts and
programs still try to refer to it instead of nsxiv
2022-02-18 13:29:01 +01:00
phundrak 7d48b240f8 [Bin, PKGBUILD] Add sxiv keyhandler to bin.org, update sxiv source
continuous-integration/drone/push Build is passing
My sxiv package is now based on bakkeby’s fork of sxiv, since the
original repo is now archived
2022-02-18 00:12:53 +01:00
phundrak 67916b1c9d [Emacs] Automatically enable LSP for sh-mode, register remote client
continuous-integration/drone/push Build is passing
Register remote shellcheck LSP server as a new LSP client
2022-02-17 23:38:01 +01:00
phundrak 27c7bd52a5 [Bootstrap] Packages now held in tables 2022-02-17 23:37:30 +01:00
phundrak fb86be08b7 [Readme] Update and add badges
continuous-integration/drone/push Build is passing
2022-02-14 15:33:07 +01:00
phundrak 51b4b81c2e [Emacs] Fix org-mode keybind 2022-02-14 15:31:45 +01:00
phundrak a8aa2babd1 [StumpWM] Better media keys handling 2022-02-14 10:54:14 +01:00
phundrak 6ef0d313e0 [StumpWM] Add keybind for XF86Mail to open mu4e
continuous-integration/drone/push Build is passing
2022-02-13 19:47:35 +01:00
phundrak c3da7367a8 [Emacs] Add keybinds for indirect buffer cloning 2022-02-13 19:47:12 +01:00
phundrak 1b5f76c050 [Index] Reword some stuff
continuous-integration/drone/push Build is passing
2022-02-12 12:54:43 +01:00
phundrak 6fa1fa5aec [Emacs] Add Info-mode to writeroom major modes
continuous-integration/drone/push Build is passing
2022-02-12 12:51:59 +01:00
phundrak 8d6b7225f5 [Emacs] Add mediawiki front-end 2022-02-12 12:51:59 +01:00
phundrak 3634a96054 [Org files] Fix org-lint issues
Replace deprecated `HEADERS' keyword with `HEADER'

Fix broken links

Better headers in some files

Fix some typos
2022-02-12 12:51:52 +01:00
phundrak cde979c0e4 [StumpWM] Change shortcut from discord-canary to discord 2022-02-12 12:39:58 +01:00
phundrak 6fe83f0cbd [Picom] Minor picom tweaks 2022-02-12 12:39:58 +01:00
phundrak c44ca3da64 [Bin] Add experimental backends flag to picom
The upgrade from picom-git to picom makes it necessary to have this
flag enabled to have kawase-blur and rounded corners active at the
same time
2022-02-12 12:39:57 +01:00
phundrak 9fa2147042 [Bootstrap] Update bootstrap to current config
Set default locale to en_DK to get sane defaults

Update package list:
- Remove mpd-rich-presence-discord-git
- Replace picom-git by picom

When installing packages, skip PKGBUILD review for AUR packages

Update list of org files to be tangled, as well as their needed
directories
- Remove awesome.org
- Add mpd.org
- Add neofetch.org
- Add stumpwm.org

Remove commands related to Spacemacs

Remove commands to symlink files in .etc in commit d1a639adaf

Better configuration for nordvpn

Symlink plock from its actual location. It is not guaranteed `which
plock` can already return something.

Remove installation of packages through pip

Remove Chicken installation

Update Fisher installation
2022-02-12 12:39:57 +01:00
phundrak b5499c4929 [Emacs] Well, it wasn’t gonna work without `shell-command' 2022-02-12 12:39:57 +01:00
phundrak dd4bd72d70 [Emacs] Set font for main server AND new frames 2022-02-12 12:39:57 +01:00
phundrak 6bf56bbce3 [Emacs] Better visual settings for nov.el and markdown-mode
As well as a typo fix
2022-02-12 12:39:57 +01:00
phundrak 7eda6ea9e6 [Picom] Remove deprecated option
continuous-integration/drone Build is passing
2022-02-09 18:26:40 +01:00
phundrak 73c1ae1a69 [Emacs] Set mirror for stardiviner’s deleted repos
continuous-integration/drone/push Build is passing
2022-02-07 12:06:26 +01:00
phundrak bae81921f2 [Emacs] Activate writeroom-mode for text, org, and markdown modes 2022-02-07 12:05:50 +01:00
phundrak ae075d044d [Emacs] Better options when opening a YouTube video
continuous-integration/drone Build is passing
2022-02-05 12:42:33 +01:00
phundrak 5e51cba460 [Emacs] Add warning about noweb syntax
continuous-integration/drone Build is passing
2022-02-05 12:25:35 +01:00
phundrak 4021b8927f [Qutebrowser] Formatting
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-02-04 17:05:14 +01:00
phundrak cb37cb7208 [Qutebrowser] Allow everything from my domains 2022-02-04 17:04:40 +01:00
phundrak 1d91bdf0af [StumpWM] Fix function name 2022-02-04 17:03:30 +01:00
phundrak 90eaa3e1aa [Emacs] Add Enime package 2022-02-04 17:03:16 +01:00
phundrak 50f88473d0 [PKGBUILD] version bump for sxiv and Emacs 2022-02-04 17:02:58 +01:00
phundrak 688080eff6 [Bin] Sanitize bash scripts, some conversion from fish to bash 2022-02-04 17:02:30 +01:00
phundrak 6d6af02910 [Emacs] Add keybinds for flyspell 2022-02-04 17:02:01 +01:00
phundrak 1f51371031 [Emacs] Add syntax highlighting for SSH config files 2022-02-04 17:01:43 +01:00
phundrak 8b68f2db2c [Emacs] Fix error on startup 2022-02-04 17:01:30 +01:00
phundrak 47c4b15a58 [Emacs] Plaintext emails viewed in writeroom-mode
In mu4e, emails in plaintext are viewed in writeroom-mode by default
2022-02-04 17:00:54 +01:00
phundrak 999485e609 [Emacs] Open YouTube videos with mpv in Elfeed 2022-02-04 17:00:36 +01:00
phundrak 06952a677d [Emacs] Some more transparency with the Emacs client 2022-02-04 17:00:20 +01:00
phundrak a18e1f1d48 [Emacs] Move Emacs configuration to XDG_CONFIG_HOME 2022-02-04 16:59:53 +01:00
phundrak 6cf295c5dc [Fish] Add Ruby 3.0 binaries to PATH 2022-01-26 10:06:28 +01:00
phundrak 18658a1556 [Emacs] Add Zig configuration 2022-01-26 10:06:12 +01:00
phundrak 6123dec4e3 [Emacs] Prefer plaintext in mu4e message viewer 2022-01-26 10:05:53 +01:00
phundrak 58cd252d56 [PKGBUILD] Version bump 2022-01-26 10:04:46 +01:00
phundrak e530aeb269 [Bin] Typo 2022-01-26 10:04:37 +01:00
phundrak 8afc189c3d [sxiv] Add JPG conversion keybind 2022-01-26 10:03:57 +01:00
phundrak 366ccd6e57 [Emacs] Add Avy shortcuts 2022-01-07 21:09:04 +01:00
phundrak 4e4897021a [Emacs] Add editorconfig package 2022-01-07 21:08:51 +01:00
phundrak 2be9240de9 [Emacs] Ensure pdf-tools is always properly compiled 2022-01-07 21:08:30 +01:00
phundrak 90c3f2b8ff [Emacs] Add shortcut for package screenshot 2022-01-07 03:37:46 +01:00
phundrak be80e8b838 [Emacs] Add hl-todo configuration 2022-01-07 03:37:34 +01:00
phundrak 243386c9e4 [Emacs] Remove uptime tracker
It causes more issues than it solves really
2022-01-07 03:37:05 +01:00
phundrak 0e76b9f06e [Emacs] Install eshell-info-banner through ssh
continuous-integration/drone/push Build is passing
2022-01-05 14:13:39 +01:00
phundrak f86344561e [Emacs] Remove some prettify symbols in Lisp modes 2022-01-05 14:12:53 +01:00
phundrak 47a11d9473 [Emacs] Install plantuml-mode through straight 2022-01-05 14:12:37 +01:00
phundrak 55a12d8a80 [Emacs] Better straight.el usage
Add username for Github and Gitlab when using straight fork
Change default remote when a package is cloned by straight
Install use-package through straight.el
2022-01-05 14:10:40 +01:00
phundrak cc70db8439 [Emacs] Remove buggy line
continuous-integration/drone/push Build is passing
2022-01-04 20:29:44 +01:00
phundrak 5cd880caf4 [Emacs] Add Solaire Mode
continuous-integration/drone/push Build is passing
2022-01-04 18:31:15 +01:00
phundrak 5ef9aea7ab [StumpWM] Change floating window modifier to super
continuous-integration/drone/push Build is passing
2022-01-04 18:17:10 +01:00
phundrak 73203756e3 [Emacs] Add LaTeX configuration 2022-01-04 18:16:58 +01:00
phundrak 184731f105 [Emacs] Update mu4e bookmarks, simplify code 2022-01-04 18:16:34 +01:00
phundrak b366894391 [Emacs] Update introduction 2022-01-04 18:16:15 +01:00
phundrak 51bdc06b57 Revert "[PKGBUILD] Switch to Emacs 29"
This reverts commit 2a560e4b79.
2021-12-28 13:46:34 +01:00
phundrak 1091aba3a8 [Emacs] Fix moving windows in EXWM
continuous-integration/drone/push Build is passing
2021-12-27 18:56:54 +01:00
phundrak 55b404437d [Emacs] Add org-capture configuration 2021-12-27 18:51:30 +01:00
phundrak ea11f87856 [Emacs] Update mu4e filters and bookmarks 2021-12-27 18:35:08 +01:00
phundrak 2a560e4b79 [PKGBUILD] Switch to Emacs 29
continuous-integration/drone/push Build is passing
Temporarily remove TheVaffel’s patch

Reactivate PDF doc and Xwidgets support
2021-12-27 14:33:27 +01:00
phundrak e918a346fc [Emacs] No need to defer loading recentf
continuous-integration/drone/push Build is passing
Recentf is used as soon as Emacs is created, no need to defer it and
its configuration.
2021-12-27 13:46:27 +01:00
phundrak fe423e421a [Emacs] Fix loading `ob-latex-as-png' 2021-12-27 13:46:27 +01:00
phundrak 290c07d741 [Emacs] Widen inline images in org-mode 2021-12-27 13:46:27 +01:00
phundrak 1f38d7a68c [Emacs] Use DBus calls instead of shell commands 2021-12-27 13:46:27 +01:00
phundrak 91b06ee7b1 [Emacs] Fix commit f5a9608
f5a9608 introduces a bug which prevents the font from being applied if
Emacs is started as a server through systemd, since it does not start
in GUI mode. This commit fixes this behavior by applying the
user-defined font when a new frame is created since the new frame
might be in GUI mode.
2021-12-27 13:46:23 +01:00
phundrak 413ecb2d2b [Emacs] Add Emacs debugging shortcuts
continuous-integration/drone/push Build is passing
2021-12-26 14:51:36 +01:00
phundrak f5a9608420 [Emacs] Better font configuration 2021-12-26 14:51:20 +01:00
phundrak bf9935d309 [Fish, Bootstrap] Remove unneeded fish extensions
Zoxide and Starship now replace z and bobthefish respectively
2021-12-25 21:32:49 +01:00
phundrak 66475c058c [StumpWM] Add keybinding for qutebrowser
continuous-integration/drone/push Build is passing
2021-12-20 15:25:16 +01:00
phundrak 6b1c2afe08 [Emacs] Add counsel keybindings, fix typo 2021-12-20 15:24:57 +01:00
phundrak a5785847f7 [Emacs] Add recentf configuration 2021-12-20 12:03:35 +01:00
phundrak 82bef92274 [Fish, Starship] Lisp module is displayed a bit more nicely
continuous-integration/drone/push Build is passing
2021-12-20 11:37:09 +01:00
phundrak fc85c94a76 [Emacs] Move paragraphs down
It just makes a bit more sense to me.
2021-12-20 11:36:39 +01:00
phundrak 4803c106b0 [Emacs] Create directory if it does not exist
continuous-integration/drone/push Build is passing
2021-12-19 15:24:43 +01:00
phundrak e7b8610387 [Emacs] Replace modern string-join' with mapconcat'
continuous-integration/drone/push Build is passing
2021-12-19 13:00:26 +01:00
phundrak 44c47b9841 [Emacs] Remove deprecated org ELPA
continuous-integration/drone/push Build is passing
2021-12-19 11:12:59 +01:00
phundrak 725233bd4b [StumpWM] Change direction powerline in mode-line, update screenshot
continuous-integration/drone/push Build is passing
2021-12-18 14:26:29 +01:00
phundrak 7195f92017 [Fish] Switch to starship shell prompt
continuous-integration/drone/push Build is passing
2021-12-18 11:54:32 +01:00
phundrak c5d1c964cf [Fish] Delete mostly broken code, replace with custom utility
continuous-integration/drone/push Build is passing
2021-12-17 18:41:03 +01:00
phundrak 2dfabd7d56 [StumpWM] Move xinitrc files to their respective .org file
continuous-integration/drone/push Build is passing
Move .xinitrc.emacs to emacs.org
Move .xinitrc.stumpwm to stumpwm.org
Move .xinitrc.awesome to Deprecated/awesome.org
2021-12-17 17:08:28 +01:00
phundrak 0e86789285 [Emacs] Better LSP setup, restore lua-mode 2021-12-17 16:56:17 +01:00
phundrak ac04636e54 [Emacs] Better bépo support with Evil 2021-12-17 16:42:14 +01:00
phundrak 294411d73b [Emacs] Remove useless lines of code 2021-12-17 16:30:44 +01:00
phundrak 87ce209298 [Emacs] Add csv-mode 2021-12-17 16:30:29 +01:00
phundrak 4753dc9f66 [Emacs] Fix keybinds 2021-12-17 16:30:16 +01:00
phundrak 03136e7f11 [Emacs] Add documentation, remove slim-mode
Add documentation for Python, webdev, modeline, theme, rainbow
delimiters, and keycast.
2021-12-17 16:30:03 +01:00
phundrak 246cfdf19a [Emacs, StumpWM] Add Sly configuration 2021-12-17 16:27:09 +01:00
phundrak b8c0445d9c Appropriately rename my PKGBUILD directory 2021-12-17 16:24:41 +01:00
phundrak 78fba911e7 [StumpWM] Less groups, only one automatic window placement
continuous-integration/drone/push Build is passing
2021-12-12 15:06:42 +01:00
phundrak 69a12a3d4a [Emacs] Fix automatic mode for Rustic 2021-12-12 15:06:00 +01:00
phundrak b8ef56942e [Emacs] Update keybinds
`SPC e' is now dedicated to flyspell and errors-related functions.

Email keybinds move from `SPC e' to `SPC a e', and elfeed moves from
`SPC a e' to `SPC a E'
2021-12-12 15:04:35 +01:00
phundrak 5a5725fec9 [Emacs] Update hydra-media appearance 2021-12-12 15:03:36 +01:00
phundrak 153d7bc9a9 [Emacs] Add workaround for tecosaur/screenshot/issues/11 2021-12-12 15:02:34 +01:00
phundrak be17ca1690 [Emacs] Add image I forgot to stage
continuous-integration/drone/push Build is passing
2021-12-07 20:08:00 +01:00
phundrak b31562078d [Emacs] Add typescript keybinds, fix auto-mode-alist addition 2021-12-07 10:14:41 +01:00
phundrak 3d71fb43af [Emacs] Remove accidental leftover code 2021-12-07 10:14:12 +01:00
phundrak 4c926eb911 [Emacs] Fix keybinds for which-key 2021-12-07 10:13:43 +01:00
phundrak 6ad3203a8e [Emacs] Better mu4e keybinds 2021-12-06 17:07:52 +01:00
phundrak 126385f1f2 [Emacs] Prettify my buffers 2021-12-06 17:07:30 +01:00
phundrak e55b1bba30 [StumpWM] Change colors of modeline 2021-12-04 19:24:08 +01:00
phundrak 653e117c8f [Emacs] Fix line wrapping in mu4e
continuous-integration/drone/push Build is passing
2021-12-04 14:18:01 +01:00
phundrak 1301eaf0a9 [Drone] Change Docker image to pure alpine image
continuous-integration/drone Build is passing
2021-12-01 16:49:45 +01:00
phundrak 24f1fe375c [Emacs] Add EXWM buffers to ignored elcord buffers 2021-12-01 16:35:29 +01:00
phundrak d19c3da130 [Emacs] Automatic desktop-environment-mode when using EXWM
Also update results of elisp code
2021-12-01 16:34:29 +01:00
phundrak 5a16398c33 [Emacs] Remove unused line 2021-12-01 16:34:06 +01:00
phundrak 2756d34ab3 [Emacs] Fix mu4e keybinds 2021-11-30 02:18:13 +01:00
phundrak a6a1b3e7b6 [Emacs] Add fd for file search in EMMS, better variables
continuous-integration/drone/push Build is passing
2021-11-28 23:02:35 +01:00
phundrak d5628bd9fe [Emacs] document org-msg, force evil-collection-mu4e-setup 2021-11-28 23:01:48 +01:00
phundrak bb5699d650 [Emacs] Better org tangling 2021-11-28 22:59:02 +01:00
phundrak 2f2a7aa674 [Emacs] Fix multi-monitor EXWM
Also change some buffer renaming for X windows

Fix original repo of xelp, indicate fork used
2021-11-28 22:56:59 +01:00
phundrak 7252623ada [Emacs] Better keybinds definition
Also some noweb improvements
2021-11-28 22:51:48 +01:00
phundrak 35ef17c7d0 [Misc] Exporter no longer generates backup files 2021-11-28 22:48:28 +01:00
phundrak 2713daceda [Emacs] Remove s-I in EXWM, replaced by s-<escape>
continuous-integration/drone/push Build is passing
2021-11-28 12:41:36 +01:00
phundrak 99fad403f0 [Emacs] Add some EXWM documentation
continuous-integration/drone/push Build is passing
Add also some literate config
2021-11-28 02:43:24 +01:00
phundrak bd12a71a92 [Emacs] Better graphviz configuration
continuous-integration/drone/push Build is passing
2021-11-27 19:30:09 +01:00
phundrak 84bd24efe5 [Emacs] Add EMMS shortcut to stop MPD 2021-11-27 19:29:55 +01:00
phundrak 36e229def7 [Emacs] Add EXWM preliminary configuration 2021-11-27 19:29:26 +01:00
phundrak 81c9cdab7e [PKGBUILD] Switch from md5 to sha512 checksum, code cleanup
continuous-integration/drone/push Build is passing
Remove comment out line of code

Replace tabs with spaces (yes I’m this kind of guy)
Fix indentation
2021-11-25 01:00:06 +01:00
phundrak afa83c5e05 [Emacs] Deactivate xwidgets webkit browser keybinds 2021-11-25 00:53:04 +01:00
phundrak 6b17646d10 [PKGBUILD] Change compiler, enable HTML docs, disable XWIDGETS
continuous-integration/drone/push Build is passing
Change from clang to GCC + gold

Xwidgets browser seems to crash with the Cairo transparency patch,
this commit disables it

Bump Emacs version
2021-11-25 00:48:34 +01:00
phundrak 5faa617215 [Emacs] Fix some package loading errors
continuous-integration/drone/push Build is passing
2021-11-24 23:43:28 +01:00
phundrak a28bd018bf [PKGBUILD] Bump Emacs version
continuous-integration/drone/push Build is passing
2021-11-24 22:38:26 +01:00
phundrak 18db59d9f7 [StumpWM] Fix issue of `mpd-connect' being undefined on startup 2021-11-23 23:58:06 +01:00
phundrak c3d53388ab [StumpWM] Add bluetooth keybinds 2021-11-23 23:37:17 +01:00
phundrak b0a356a5fe [StumpWM] Better autostart 2021-11-23 23:36:59 +01:00
phundrak d2cbdc3289 [Emacs] Add ox-hugo, remove ox-gfm
continuous-integration/drone/push Build is passing
2021-11-23 15:02:02 +01:00
phundrak a1138a9ff9 [Emacs] Make image lazy-load 2021-11-23 15:01:23 +01:00
phundrak aa290484dd [Bin] Fix incorrect shebang 2021-11-23 15:01:06 +01:00
phundrak d42fc15e64 [StumpWM] Some more subchapters for the mode-line 2021-11-23 15:00:47 +01:00
phundrak 27fdcac542 [StumpWM] Better mode-line formatting handling 2021-11-23 14:56:16 +01:00
phundrak fa9767ec19 [StumpWM] Wording, subchapter sectioning 2021-11-23 14:54:56 +01:00
phundrak a028c0284a [StumpWM] Precisions on why Stumptray doesn’t work 2021-11-23 14:53:22 +01:00
phundrak a04de69b10 [Export, Drone] Update export.el and .drone.yml
continuous-integration/drone/push Build is passing
export.el:
Now export all org files in specified directories
Code a bit cleaner

.drone.yml:
Send all the content of org/config to the remote server
2021-11-22 17:57:14 +01:00
phundrak d776dae8fb [Awesome] Deprecate Awesome configuration 2021-11-22 17:57:14 +01:00
phundrak 61cf48910f [Emacs] Add documentation on screenshot code
continuous-integration/drone/push Build is passing
2021-11-22 16:55:30 +01:00
phundrak d1c129f5f8 [Emacs] Update frame name, remove redundant mu4e option
continuous-integration/drone/push Build is passing
2021-11-22 16:53:04 +01:00
phundrak f12921f372 [Emacs] Wording 2021-11-22 16:52:55 +01:00
phundrak 0d24b4a056 [Emacs] Add code for taking screenshots of Emacs 2021-11-22 16:52:15 +01:00
phundrak e004e7d0c0 [Emacs] Make unfinished section noexport 2021-11-22 16:51:56 +01:00
phundrak 40c32fee57 [Emacs, StumpWM] Add Emacs screenshots, update StumpWM screenshot
continuous-integration/drone/push Build is passing
2021-11-22 14:32:43 +01:00
phundrak 424d305932 [StumpWM, bin] better screenshot handling
continuous-integration/drone/push Build is passing
2021-11-22 12:46:06 +01:00
phundrak 07dd65abf1 [Emacs] Fix some flyspell config 2021-11-22 11:20:52 +01:00
phundrak d6db34736d [Emacs] Automatic StumpWM mode for lisp-mode 2021-11-22 11:20:36 +01:00
phundrak 9c70c0c172 [Emacs] Better graphviz-dot mode configuration
graphviz-dot-mode is now the default dot-mode and org-babel
understands it as an equivalent of dot-mode
2021-11-22 11:20:36 +01:00
phundrak b48b2703fe [Emac] Better keybinds 2021-11-22 11:20:36 +01:00
phundrak 107840e6db [Emacs] Automatically disable smartparens when parinfer is enabled 2021-11-22 11:20:36 +01:00
phundrak 667ebc8db3 [StumpWM] Add bluetooth utility code 2021-11-22 11:17:15 +01:00
phundrak 0b9e9d2655 [StumpWM] Formatting 2021-11-21 23:45:43 +01:00
phundrak 5138643c54 [StumpWM] Fix syntax 2021-11-21 23:45:23 +01:00
phundrak 31cfb2fcde [StumpWM] Add reference to StumpWM PR 2021-11-21 23:44:36 +01:00
phundrak 5452fc0d40 [PKGBUILD] Bump version, sole maintainer of my PKGBUILD script
continuous-integration/drone/push Build is passing
2021-11-20 23:12:12 +01:00
phundrak 07513fd714 [Emacs] Modify conflicting keybind for tetris with treemacs 2021-11-20 23:11:49 +01:00
phundrak 94d204055f [Emacs] Add TypeScript config, update Javascript config
Also move around CSS heading
2021-11-20 23:11:22 +01:00
phundrak 3b94156e7c [Emacs] Add treemacs keybinds 2021-11-20 23:11:01 +01:00
phundrak 8b8fb70adb [Emacs] Add flyspell and langtool configuration 2021-11-20 23:10:37 +01:00
phundrak b8b72864f7 [Emacs] Add parinfer-rust-mode keybinds 2021-11-20 23:10:00 +01:00
phundrak a309a95094 [Emacs] Move declaration of ivy-yasnippet keybind 2021-11-20 23:09:42 +01:00
phundrak 122da77b4a [Emacs] Update description for eshell-info-banner 2021-11-20 23:09:06 +01:00
phundrak 231b0d16f3 [Emacs] Wording, typos 2021-11-20 23:08:38 +01:00
phundrak 0ff4b065ed [StumpWM] Add entry on pinentry module and little rant about it 2021-11-20 23:07:18 +01:00
phundrak b603044d8b [StumpWM] NetworkManager integration 2021-11-20 23:06:43 +01:00
phundrak 3e995e60bc [StumpWM] Wording 2021-11-20 23:06:20 +01:00
phundrak c282e91c25 [StumpWM] Update modeline
This commit adds the net module at the fourth position on the right
side.

It also modifies the CPU module prefix to a Siji icon representing a
CPU.

`mu-unread' also outputs a Siji icon as its prefix instead of `Mail:'
2021-11-20 23:04:32 +01:00
phundrak 4131c70a1c [Qutebrowser] Fix conflicting keybinds 2021-11-20 23:03:43 +01:00
phundrak df161b7fde [StumpWM] Add new utilities, update StumpWM colors
Make StumpWM’s colors more Nord-ish

Use new variables from my StumpWM fork

Add code for
- Easy SSHing in remote machines
- Control my mouse through keybinds with Binwarp
- Notifications support
2021-11-19 17:33:53 +01:00
phundrak a79b921915 [Emacs] Automatically enable background transparency for new frames 2021-11-18 20:16:30 +01:00
phundrak a800a292e2 [Fish] Automatically launch the Gnome Keyring when logging in 2021-11-18 20:13:24 +01:00
phundrak 36ec6d3dd2 [Kitty] Keybinds update
Switch `kitty_mod' back to its default `ctrl+alt' value, however
some keybinds still use `alt' as their prefix.

Some keybinds changed to respect better the bépo layout
2021-11-18 20:12:15 +01:00
phundrak c8bf67dd6d [PKGBUILD] Add md5sum for Emacs transparency patch 2021-11-18 20:11:29 +01:00
phundrak 5e31726f1a [Emacs] Add packages for better Javascript support 2021-11-18 20:11:01 +01:00
phundrak b3f3051ec9 [Emacs, Org] Move heading around 2021-11-18 20:10:40 +01:00
phundrak 10c9564ea9 [Emacs] evil-org issue #93 finally solved
Issue https://github.com/Somelauw/evil-org-mode/issues/93 finally got
solved by PR https://github.com/Somelauw/evil-org-mode/pull/96,
workaround code can now be removed
2021-11-18 20:08:32 +01:00
phundrak 9d66c2a22c [Emacs] Set eshell/clear as eshell/clear-scrollback
I cannot understand the reason why this is not the default behaviour.
2021-11-18 20:07:27 +01:00
phundrak ae412d9525 [Emacs] Set default cloning directory for Magit 2021-11-18 20:07:12 +01:00
phundrak ed44a67fdd [Emacs] Remove unused keybinds in Elfeed 2021-11-18 20:06:54 +01:00
phundrak f93f87c1f8 Add Qutebrowser configuration file 2021-11-18 20:05:58 +01:00
phundrak 787fc1e456 [Emacs] Add pkgbuild-mode to Emacs
continuous-integration/drone/push Build is passing
2021-11-09 17:21:53 +01:00
phundrak 403da6b3bb [PKGBUILD] Add PKGBUILD for Wonderdraft 2021-11-09 17:21:48 +01:00
phundrak 6585cd6788 [Ncmpcpp] Remove unused file
continuous-integration/drone/push Build is passing
2021-11-09 13:58:52 +01:00
phundrak e9d63a6d22 [Spacemacs] Forgot to remove my dotspacemacs file
continuous-integration/drone/push Build is passing
2021-11-09 13:44:46 +01:00
phundrak a45f101d9c [Sitemap] Update sitemap
continuous-integration/drone/push Build is passing
2021-11-09 13:43:08 +01:00
phundrak c3f70f3e6d [Emacs] Better keybinds, Emacs no longer clears MPD playlist 2021-11-09 13:40:32 +01:00
phundrak adc84818b1 [Bin] Update anchor link for `ytplay' 2021-11-09 13:40:32 +01:00
phundrak 3e3510d6ed [desktop, Org] Add desktop.org, remove .desktop files 2021-11-09 13:40:32 +01:00
phundrak 4f9979e67d [Emacs] Delete unused keybinds
continuous-integration/drone/push Build is passing
2021-11-08 15:10:51 +01:00
phundrak 7bd6cdad76 [Emacs] Better addition of languages to `org-babel-load-languages' 2021-11-08 15:10:20 +01:00
phundrak 4da47a0a7b [Org files] Fix headers path for CD export
continuous-integration/drone/push Build is passing
2021-11-08 15:02:25 +01:00
phundrak 6d799ecb43 [PKGBUILD] Remove unused PKGBUILD for org-mode
continuous-integration/drone/push Build is passing
2021-11-08 14:32:38 +01:00
phundrak dee0441336 [Emacs] Add background transparency 2021-11-08 14:32:38 +01:00
phundrak 207411ce19 [Emacs] Add package-lint package
continuous-integration/drone/push Build is passing
2021-11-08 14:27:10 +01:00
phundrak 3791c43901 [Emacs] Add new keybinds for mu4e, checkdock, elfeed, stumpwm.org 2021-11-08 14:26:40 +01:00
phundrak 3a593225d6 [Emacs] Fix obsolete variables and unused code 2021-11-08 14:25:17 +01:00
phundrak 6e8ec734c4 [PKGBUILD] Apply TheVaffel’s patch for Emacs transparent background
This commit adds a patch applied to Emacs’ source code so Emacs can
get a transparent background and not make the whole frame transparent.
This means images and text are no longer transparent, only the
background!
2021-11-08 14:22:15 +01:00
phundrak 835954f30d [Emacs] Quickfix for evil-org-mode
continuous-integration/drone/push Build is passing
2021-11-07 18:16:47 +01:00
phundrak 0126affe5c Remove Spacemacs and Chemacs submodules
My vanilla emacs config is now the only config I have.
2021-11-07 18:16:40 +01:00
phundrak f6709bbb39 [Emacs] Better mu4e-view-mode behavior
continuous-integration/drone/push Build is passing
2021-11-07 17:52:04 +01:00
phundrak 5f7473d475 Remove DoomEmacs submodule 2021-11-07 17:51:37 +01:00
phundrak b801bcef27 [Emacs] Better define keybinds
Leader keys now override by default other keymaps

Better autoloaded keymaps’ support
2021-11-07 15:54:20 +01:00
phundrak 2f81df2042 [PKGBUILD] Bump version, add conflicting packages
continuous-integration/drone/push Build is passing
2021-11-07 02:41:27 +01:00
phundrak 1bce6d902d [StumpWM] Add MPD interactivity 2021-11-07 02:30:23 +01:00
phundrak af4fbf625b [Emacs] Rename header 2021-11-07 02:28:47 +01:00
phundrak d50adeac9c [Emacs] Use C-u C-d in ivy buffers, add keycast keybinds. 2021-11-07 02:28:29 +01:00
phundrak 1bf40fe587 [Emacs] Change keybindings declaration with general definers
Now major-mode keybinds are available through M-m and general keybinds
are available through C-SPC in insert-mode.
2021-11-07 02:27:04 +01:00
phundrak 07dc09ff7d [StumpWM] Shorten windows title, replace htop with bottom
In workspace `[SYS]', replace htop with bottom among automatic windows
2021-10-31 14:54:36 +01:00
phundrak c9e1bca2b8 [Picom] Slightly more transparency for inactive windows 2021-10-31 14:54:16 +01:00
phundrak a1cb97438e [Emacs] Add PlantUML support 2021-10-31 14:54:00 +01:00
phundrak 27edf38cdc [Emacs] Better Reveal.JS support for org-mode 2021-10-31 14:53:37 +01:00
phundrak a40df02284 [Emacs] Hopefully a fix for org-ref
For some reason, Emacs stopped picking up org-ref at some point,
giving me the error
Symbol's value as variable is void: org-ref

This commit hopefully fixes that.
2021-10-29 17:08:20 +02:00
phundrak f49266cc3b [PKGBUILD] Switch Emacs to emacs-28 branch 2021-10-29 17:03:33 +02:00
phundrak d1c1493945 [Emacs] Better media control keybinds and `shell-command-and-echo'
`shell-command-and-echo' now takes an additional argument that will
prefix the output of its ECHO argument.
Also add documentation for the function

This commit removes keybind `SPC m P' in favor of only `SPC m p' which
toggles the state of MPD between play and pause.
2021-10-29 17:03:33 +02:00
phundrak 47f6e0e1a2 [StumpWM] Make StumpWM keybinds more consistent with Emacs config
Also make it more intuitive
2021-10-29 17:03:33 +02:00
phundrak c12a89d4f4 [StumpWM] Remove Lightcord and replace by Discord Canary
Lightcord is no longer maintained and its repository has been
archived. Good night, sweet prince...
2021-10-29 17:03:33 +02:00
phundrak 9144c17239 [Misc] Update Encrypted Files
continuous-integration/drone/push Build is passing
2021-10-26 16:20:02 +02:00
phundrak 8907e55bc4 [Emacs] Add help bindings
continuous-integration/drone/push Build is passing
2021-10-25 18:34:18 +02:00
phundrak b95ed6af54 [Emacs] Remove unused commented out code 2021-10-25 18:32:23 +02:00
phundrak 05d05719d9 [Emacs] Add Atomic Chrome package
continuous-integration/drone/push Build is passing
2021-10-25 17:00:16 +02:00
phundrak e65653dbe0 [Emacs] Fix issue with markdown-mode configuration
Double configuration for markdown-mode
2021-10-25 16:59:07 +02:00
phundrak 7e8a6866e3 [Emacs] Fix default bound comma and space keys in Info-mode 2021-10-25 16:58:19 +02:00
phundrak 248100e013 [Emacs] Fix issue with unknown function and swapped icons 2021-10-25 16:56:58 +02:00
phundrak 03f1d9bef1 [StumpWM] Add shortcut for `select-pape' (see bin.org) 2021-10-25 16:56:16 +02:00
phundrak d1a639adaf [Misc] Remove unused files and moules 2021-10-25 16:56:05 +02:00
phundrak 3de1070850 [Misc] Add build badge to REAMDE
continuous-integration/drone/push Build is passing
2021-10-24 15:01:29 +02:00
phundrak fd5019335d [Misc] Fix drone CI
continuous-integration/drone/push Build is passing
2021-10-23 21:05:17 +02:00
phundrak 6a73bdb74e [Bin] Remove Elisp dependencies in code generation
Remove dependency on dash.el and s.el in code generation
2021-10-23 20:25:21 +02:00
phundrak f94adbfc35 [Emacs] Add Markdown configuration
continuous-integration/drone Build is failing
2021-10-23 13:24:04 +02:00
phundrak 13e9e9d3b6 [Emacs] Better code for switching to messages buffer 2021-10-22 12:14:30 +02:00
phundrak 8d247d4733 [Emacs] Add hydra for controlling MPD from Emacs 2021-10-22 12:14:30 +02:00
phundrak ab3ec171e5 [Emacs] Add mu4e.desktop to Emacs’ org file 2021-10-20 19:08:42 +02:00
phundrak a155947b5e [Emacs] Add org-present configuration 2021-10-20 16:23:09 +02:00
phundrak 94ecdab2fd [Emacs] Better keybinds for Elfeed 2021-10-20 16:22:51 +02:00
phundrak 3134667967 [Emacs] Add startup time and uptime logging for Emacs 2021-10-20 16:03:31 +02:00
phundrak 4c7b7f9580 [Sitemap] Sitemap update 2021-10-20 14:42:22 +02:00
phundrak a95afb5611 [Index] Update information given in index, automatic file list
Use sitemap for generating the list of webpages in the index
2021-10-20 14:03:41 +02:00
phundrak 52f5086714 [Deprecated org] Center deprecation warning message 2021-10-20 14:02:29 +02:00
phundrak 28f5b8b4d0 [Bootstrap] Remove mpd rich presence package for Discord 2021-10-20 14:00:18 +02:00
phundrak 87b0343990 [Emacs] Add EMMS config 2021-10-20 14:00:01 +02:00
phundrak 7dab702f48 [Emacs] Add font ligatures config, move modeline config down 2021-10-20 13:59:26 +02:00
phundrak b5bc6f2f02 [Emacs] Update config and comments for Elfeed and pdf-tools 2021-10-20 13:58:56 +02:00
phundrak 83df228404 [Spacemacs] Deprecate Spacemacs configuration 2021-10-20 13:57:46 +02:00
phundrak bdcd3dbb48 [MPD] Switch to literate config 2021-10-20 13:57:15 +02:00
phundrak 911e8f48ce [Emacs] Fix some issues with package building with straight 2021-10-19 21:42:28 +02:00
phundrak 3a7a865058 [Emacs] Add variable configuration in corresponding `use-package' 2021-10-19 21:41:47 +02:00
phundrak e30ca77fbe [Emacs] Cleaner init file export, fix some elisp code
However, I currently have the issue of the packages `org' having two
straight recipies and I cannot find the dependency that’s causing
this.
2021-10-19 19:20:15 +02:00
phundrak 644f96305b [Emacs] Add iedit 2021-10-18 17:50:58 +02:00
phundrak 9e88499af6 [Emacs] Add consult-lsp to configuration 2021-10-18 17:50:58 +02:00
phundrak e90accda8a [Emacs] Switch to git version of org-mode 2021-10-18 17:50:58 +02:00
phundrak 656f480790 [Emacs] Add eww configuration 2021-10-18 17:50:58 +02:00
phundrak 6e1831b836 [Emacs] Better Elfeed configuration 2021-10-18 17:50:58 +02:00
phundrak a0de3ae72d [Emacs] Better keybinds 2021-10-18 17:29:15 +02:00
phundrak 8d80e42ba7 [Spacemacs] Update submodule 2021-10-18 16:28:53 +02:00
phundrak 6b5f825d0e [PKGBUILD] Remove PDF doc, version bump 2021-10-18 16:28:33 +02:00
phundrak 355e3ef249 [Emacs] Add compilation-mode config 2021-10-18 16:28:09 +02:00
phundrak f46c0c709b [Emacs] Remove useless code bits 2021-10-18 16:27:50 +02:00
phundrak b4b742cf14 [StumpWM] Simpler modeline generation 2021-10-15 14:30:41 +02:00
phundrak 836441b97f [StumpWM] Update screenshot 2021-10-14 20:14:05 +02:00
phundrak a3d73d02b6 [Emacs] Add Elfeed packages 2021-10-14 20:08:53 +02:00
phundrak 6c225d5ce0 [StumpWM] Add screenshot 2021-10-14 20:08:53 +02:00
phundrak c82ff2d55d [StumpWM] Finer outer gaps 2021-10-14 20:08:52 +02:00
phundrak 501c8040eb [StumpWM, Bin] Rework modeline appearance, make it Powerlined!
Also create script `mu-unread' in order to get the amount of unread
emails I have in my maildir.
2021-10-14 20:08:52 +02:00
phundrak 52705bf2a0 [Picom] Reduce transparency for inactive windows 2021-10-14 19:55:15 +02:00
phundrak 07f0a427a5 [headers] Absolute paths for CSS and JS/Dart 2021-10-14 19:54:50 +02:00
phundrak 4c933327cf [Misc] Change reference function for potential PDFs 2021-10-14 19:54:02 +02:00
phundrak ee54ebae35 [StumpWM] Add WiFi to modeline, change format of modules 2021-10-14 09:25:35 +02:00
phundrak b774f7e83d [Encrypted] Add an encrypted file, update encrypted files 2021-10-14 09:24:33 +02:00
phundrak 865e55f2da [Emacs] Fix case on dashboard, complete package update button 2021-10-12 19:38:19 +02:00
phundrak 35b0d321c0 [Emacs] Config update for org-ref 3 2021-10-12 19:37:52 +02:00
phundrak 045dffdb37 [Emacs] Better bookmarks code, remove redundant keybinds 2021-10-12 17:01:34 +02:00
phundrak d6267d0330 [Emacs] Add and modify bookmarks in mu4e, better filters
Filters for the inbox and other bookmarks will now work better.

A new bookmark for my association, Supran, is now added.

The `eshell-info-banner' bookmark is now replaced by the `Github'
bookmark which will be the place where I can see all emails sent by
Github related to new comments or actions on issues and PRs.
2021-10-12 15:46:16 +02:00
phundrak d4f11b612d [Org, Emacs] Do not add spaces in front of code in src blocks
By default, org-mode will add two spaces before code lines in the org
file itself. This does not change how code is edited when editing a
code block through `org-edit-special' but when copy/pasting code or
editing it directly from the org file, it can be troublesome.
Setting `org-src-preserve-indentation' to `t' prevents org from adding
these two spaces.
2021-10-12 12:19:46 +02:00
phundrak c12164d9bb [Emacs] Remove EXWM 2021-10-12 11:30:24 +02:00
phundrak 5136217664 [Emacs] Add comments on docker-related packages 2021-10-12 11:30:00 +02:00
phundrak 111651af13 [Emacs] Remove meaningless org src results 2021-10-12 11:28:05 +02:00
phundrak 06ad777feb [Emacs] Change project’s protocol from rsync to ssh
For some reason, I cannot properly publish some projects through the
rsync protocol, but there is no problem publishing through the ssh
protocol.
2021-10-12 11:26:30 +02:00
phundrak fe718ed5b6 [Emacs] Cleaner code and headers for src blocks 2021-10-12 11:25:39 +02:00
phundrak 8e3ba15e45 [PKGBUILD] Emacs version bump 2021-10-12 10:52:15 +02:00
phundrak 0fce224715 [AUR] Emacs version bump, 28.0 to 29.0 2021-10-07 18:33:01 +02:00
phundrak a6a4c4950f [Emacs] Add graphviz/dot mode 2021-10-07 18:32:36 +02:00
phundrak 4763c03d9f [Emacs] Orgmode improvements
Better `org-macro' face to make it more visible.

For some reason, Emacs doesn’t like copying files over the `rsync'
protocol anymore, but the `ssh' protocol is fine ¯\_(ツ)_/¯

Loading org-mode will now also load org-ref by default.
2021-10-07 18:30:29 +02:00
phundrak 1647f49c2c [StumpWM] Add some new XF86 media keys 2021-10-07 18:29:41 +02:00
phundrak cb1c697f66 [StumpWM] Add ncmpcpp keybinds 2021-10-02 14:21:31 +02:00
phundrak 4fe28fb965 [AwesomeWM] whitespace 2021-10-02 14:20:21 +02:00
phundrak dc52aa597f [StumpWM] Add convenience keybindings 2021-10-02 13:05:15 +02:00
phundrak 7a353ad6ec [StumpWM] Add automatic windows for SYS
When no windows are present on the SYS group, open by default two
terminals and an HTOP window.
2021-10-02 13:04:28 +02:00
phundrak b5334f9893 [StumpWM] Add group, change group order, SYS now dynamic group
Add a new group dedicated to gaming, making it the 8th group.

DEV and SYS were swapped, and now SYS is a dynimacally tiling group.

Groups can now be defined as a `Dynamic' or `Floating' group. Any
other value in the corresponding column will be considered to be a
manually tiling group.
2021-10-02 13:01:28 +02:00
phundrak 17835bfe93 [StumpWM] Replace explicit calls to terminal by command
In order to make my dotfiles more maintainable in case I change my
terminal emulator, explicit calls to the terminal have been replaced
by calls to the function `term' which itself will call explicitely the
terminal emulator.
2021-10-02 12:50:17 +02:00
phundrak 58d6018199 [StumpWM] Remove unneeded headers for Elisp blocks 2021-09-18 19:04:22 +02:00
phundrak 9bcac70ef4 [StumpWM] New keybinds, heading renamed
Keybinds related to the number row can now be automatically generated.
Related to this, keybinds to move windows between groups, following
them or not, and merge groups into the current one are added with this
commit.

The application keymap is now moved to the root map in order to keep
some consistency with my Emacs keybinds.
2021-09-18 19:04:22 +02:00
phundrak 66d81280a6 [StumpWM] typo 2021-09-18 15:51:16 +02:00
phundrak 9060067b59 [Emacs] Add $HOME to ignored projects in projectile
Projectile will now stop considering $HOME as a project. This is due
to my dotfiles and the way they are managed my dotfiles manager, yadm.
2021-09-18 15:50:07 +02:00
phundrak d1dbae1915 [Emacs] Fix mu4e keybinds, handle screen width better, and stop spam
For some reason, some keybinds in mu4e weren’t getting undefined
anymore, this is now fixed.

Add automatic vertical split if the screen is considered wide
enough (120 characters for the headers mode and 80 characters for the
message view mode). If the screen or the headers mode window are not
wide enough, the window will split horizontally instead of vertically.

This commit also adds a function to quickly insert a response to
spammers to get them trapped in an infinite loop of emails. See the
new links in this commit.
2021-09-18 15:45:53 +02:00
phundrak ac3ece02f0 [AUR] Bump Emacs version, go back to master branch 2021-09-18 15:44:56 +02:00
phundrak 90608c53e3 [Spacemacs] Move org capture templates out of main config
Use org capture templates out of my main config so they can be shared
between my Spacemacs config and my vanilla config
2021-09-01 22:10:11 +02:00
phundrak 3bc7860010 [Emacs] Some better keybinds
Add global keybind that opens my init.el file

Better org table keybinds
2021-09-01 22:10:11 +02:00
phundrak 62479ff343 [Emacs] Add Dart and Python configuration 2021-09-01 22:10:11 +02:00
phundrak 6585252a51 [Misc] Stop f*cking up my org tables! 2021-09-01 22:10:11 +02:00
phundrak fc2214f459 [Index] Update deprecated information 2021-09-01 22:10:11 +02:00
phundrak 5453bd0253 [Sitemap] Add StumpWM to the sitemap 2021-09-01 21:34:27 +02:00
phundrak 22bbd61ed1 [StumpWM] Reorganize some code, better keybinds and modeline
Some modules loaded in init.lisp are instead loaded in modeline.lisp,
as it makes more sense.

Update modeline’s format.

Update groups’ number and name, they now have an actual name and
visible purpose. Their definition is also made at the same time as the
definition of the windows linked to these groups, generated by
different Elisp code blocks but from the same table.

Used fonts are also updated, loading more than one doesn’t seem to
have an effect. This commit also adds a comment on OTF fonts.

More keybinds and keymaps are now defined through tables to make them
more readable and easier to maintain.

Some keybinds are removed to make more sense between my Emacs keybinds
and keychords and StumpWM’s. Some move from window keychords to buffer
keychords.

Some Elisp functions are hidden in a dedicated noexport heading.
2021-09-01 21:34:02 +02:00
phundrak b47dcbca37 [Index, signature] Remove outdated info from my email signature 2021-09-01 21:17:27 +02:00
phundrak b43fc760b3 [AUR] Change Emacs optimisation, change to pgtk branch
Avoid potential bugs and errors with Emacs by changing the
optimisation level to O2 instead of O3

Switch to pgtk branch in case I want to try a wayland compositor

Bump version
2021-09-01 21:15:26 +02:00
phundrak 44aa14bad3 [Other] Moved two applications to ~/.local/opt
These applications used to live in my home directory, this commit
reflects their directory change with their .desktop file
2021-09-01 21:13:18 +02:00
phundrak 00a93963fa [StumpWM] Remove commented code 2021-08-24 11:58:15 +02:00
phundrak e05d4bc77d [Encrypted] Updated encrypted files 2021-08-23 17:28:31 +02:00
phundrak d00901a40e [Emacs] Add StumpWM mode
This mode allows evaluating common-lisp code for StumpWM
2021-08-02 14:27:50 +02:00
phundrak b3383980f6 [Emacs] Add some default options for minted 2021-08-02 14:27:20 +02:00
phundrak 54b0174781 [Emacs] Fix keybind with mouse-{2,3} 2021-08-01 19:03:20 +02:00
phundrak 76ffd76c2a [StumpWM] Fix keybinds 2021-07-30 19:17:17 +02:00
phundrak ef6a0f4b89 [Emacs] Better filter for mu4e-alert, remove evil-surround 2021-07-30 19:11:30 +02:00
phundrak 6781d8831f [Emacs] Better org-mode config, add org-ref
Better exporters, better support of org-babel

Exporters added:
- ox-ssh
- ox-epub
- ox-gfm

Better HTML and LaTeX export

org live HTML preview

Add org-ref
2021-07-30 19:10:31 +02:00
phundrak 34ae56fd24 [Emacs] Better Info-mode 2021-07-30 19:07:29 +02:00
phundrak fc16384b1f [Emacs] Add Eshell packages
Eshell autosuggest (fish-like)

Eshell implementation of z

Eshell syntax highlighting (fish-like)

WIP powerline-eshell theme
2021-07-30 19:06:25 +02:00
phundrak ff624ab8da [Emacs] Add packages, reorganize headings
Add LSP mode and LSP-related packages

Add CMake-related packages

Add C/C++ configuration

Add Common Lisp configuration

Remove smartparens-mode for EmacsLisp

Add Lua configuration

Add Rust configuration

Add Web programming config, including:
- Javascript
- web-mode
- Css
- Scss
2021-07-30 19:01:29 +02:00
phundrak de3f34e988 [Emacs] Undefine mouse-2' and mouse-3' 2021-07-30 18:52:29 +02:00
phundrak b31d203334 [Emacs] Add new packages
- org-tree-slide    : presentation mode for org-mode
- git-gutter-fringe : show edited zones in files since last commit
- archwki           : navigate local archwiki pages with Emacs
- keycast           : show which keys are pressed
- sicp              : read the sicp in Emacs
- ytplay            : read YouTube videos from Emacs in mpv
- toml-mode
- better info-colors
2021-07-30 18:50:10 +02:00
phundrak f83e2d5808 [Emacs] Keep modeline with writeroom-mode 2021-07-30 18:47:29 +02:00
phundrak f88ee5535d [Emacs] Add Magit-Gitflow, Ripgrep interface, Smartparens 2021-07-30 18:46:04 +02:00
phundrak 380258c819 [Emacs] Reorganize some headings, add insert-pair bindings 2021-07-30 18:44:15 +02:00
phundrak 00c00f42ef [Emacs] Better config for PDF reader
Improved keybinds, freed the use of local leader `,'
2021-07-30 18:26:07 +02:00
phundrak 8604abc87d [Emacs] Better mu4e, nov-mode config
Better formatting for `eshell-info-banner' bookmark

Unbind some keys for some keymaps

Better face for replied to emails

Remove useless `progn'

Go from `:general' to `general-define-key'. For some reason, the
former seems to not perform correctly.
2021-07-30 18:23:36 +02:00
phundrak 59362050d1 [Emacs] Fix keybinds in window resizing hydra 2021-07-30 18:15:56 +02:00
phundrak f04293d664 [Emacs] Better keybind generation with noweb 2021-07-30 18:03:30 +02:00
phundrak 848162b3c7 [Awesome] Update scrot usage, bette Emacs invocation
Scrot will get its output file moved to a dedicated directory

Emacs’ default profile has been vanilla for quite some time now, no
need to explicitely call it with this profile
2021-07-30 18:01:10 +02:00
phundrak c0691580ce [Bootstrap] Better default locale 2021-07-30 18:00:47 +02:00
phundrak 53e5d6d333 [Fish] Set `$XMODIFIERS' as an empty variable
This helps with Emacs, otherwise some keybindings with the bépo layout
won’t work. Weird...
2021-07-30 18:00:01 +02:00
phundrak 0e3fc4ae68 [Neofetch] Remove disks info from neofetch 2021-07-30 17:59:46 +02:00
phundrak c3a81ae45d [Org, LaTeX] Add headers for LaTeX export
Just in case
2021-07-30 17:59:24 +02:00
phundrak deb3e03877 [Org Files] Better readable Elisp code 2021-07-30 17:58:52 +02:00
phundrak 124644ff3c [Org Files] Remove unneeded header, add .dir-locals.el
`.dir-locals.el' file will automatically activate writeroom-mode for
all org files and set `org-confirm-babel-evaluate' to nil.
2021-07-30 17:56:43 +02:00
phundrak db353b0194 [AUR] Bump Emacs version 2021-07-30 17:54:23 +02:00
phundrak 2e5cb38d2d [Doom, Spacemacs] Update subprojects 2021-07-30 17:53:55 +02:00
phundrak 94d994f1c7 [Rofi] Fix warning message 2021-07-30 17:47:57 +02:00
phundrak 5a7cdf0402 [ncmpcpp] Commend out deprecated options 2021-07-30 17:47:34 +02:00
phundrak 8a83262148 Add StumpWM config 2021-07-30 17:47:03 +02:00
phundrak 249619f7cd [AUR] Bump version, switch to Github source, use Clang 2021-07-12 19:52:14 +02:00
phundrak e11c2701fb More readable Elisp code 2021-07-12 12:52:40 +02:00
phundrak ff42cda756 [Awesome] Add default tag for Signal 2021-07-10 00:16:54 +02:00
phundrak c4312b0870 [AUR] Emacs: back on master branch, bump version 2021-07-10 00:15:42 +02:00
phundrak 0799ca04b9 [GPG] Add MIT’s keyserver 2021-07-10 00:15:21 +02:00
phundrak c73931526e [Emacs] Add helpful keybinds 2021-06-22 16:45:13 +02:00
phundrak 18684bbb2b [Emacs] Remove unused text 2021-06-22 16:32:14 +02:00
phundrak 3a13382c54 [Emacs] Move Magit keybinds to package configuration 2021-06-22 16:31:41 +02:00
phundrak 605fb06ab2 [Emacs] Add doc for Nov, better keybinds and config
Text width should now be more compatible with writeroom-mode
2021-06-22 16:30:35 +02:00
phundrak 77379a14c5 [Emacs] Better hydras, add hydra for managing windows 2021-06-18 18:01:41 +02:00
phundrak 44a78c0ec9 [Emacs] Move project management header 2021-06-18 11:11:48 +02:00
phundrak 7f44483099 [Emacs] Remove unnecessary code 2021-06-18 10:27:17 +02:00
phundrak f1173f76e8 [Emacs] Beter doc, better writeroom config 2021-06-18 10:26:28 +02:00
phundrak 45c7e1c4eb [Emacs] Whitespace 2021-06-18 10:26:11 +02:00
phundrak 5310bc5af1 [Git] Make Delta my default git diff viewer 2021-06-18 10:25:38 +02:00
phundrak d852bf8fda [Emacs] Add org export backends for SSH config, Epub and Markdown 2021-06-16 15:05:17 +02:00
phundrak f88e771e80 [Emacs] Prettify org-mode 2021-06-16 14:37:16 +02:00
phundrak ab4fcdf169 [Emacs] Change default writeroom width 2021-06-16 14:37:16 +02:00
phundrak ce75641a10 [Emacs] Switch to built-in org-mode
Also add keybinding for reloading org-mode if needed
2021-06-16 14:36:48 +02:00
phundrak 93ba4d692a [Emacs] EXWM loads only with argument --with-exwm passed to Emacs 2021-06-16 14:35:59 +02:00
phundrak bf615d4e81 [Emacs, org file] Add custom IDs to headers 2021-06-16 14:35:59 +02:00
phundrak 43b902a1fe [Emacs] Add package for unique IDs for org headers 2021-06-16 14:35:58 +02:00
phundrak 6901ee23f6 [Emacs] Apparently straight doesn’t like building avy 2021-06-16 14:35:58 +02:00
phundrak 4e7f4db4f0 [Emacs] Better noweb formatting 2021-06-14 16:08:07 +02:00
phundrak bd10041fb8 [Emacs] Better options for dired 2021-06-14 16:04:45 +02:00
phundrak 1ff1cb34f4 [Emacs] Org keybindings now defined with tables, add documentation 2021-06-14 16:04:09 +02:00
phundrak 5701aae9a9 [Emacs] Fix elisp code blocks headers, fix elisp generating code 2021-06-14 14:39:20 +02:00
phundrak 44031ae713 [Emacs] Auto-revert buffers, better formatting and documentation
Reformat some Elisp code

Activate auto-revert-mode so buffers are reloaded on external file
change

gnus-dired-mode activated by default in dired

Remove `C-x m' keybining for mu4e-compose-new
2021-06-14 14:37:30 +02:00
phundrak f1f0dd2d8e [Emacs] Add EPUB reader 2021-06-11 18:34:08 +02:00
phundrak 430d96679c [Emacs] Better shortcuts for the webkit browser 2021-06-11 18:33:47 +02:00
phundrak dc70babfc3 [Emacs] mu4e-alert documentation and better config 2021-06-11 18:33:19 +02:00
phundrak ed62dae4fb [AUR] Emacs version bump 2021-06-11 17:41:46 +02:00
phundrak ac01ba4eaf [Emacs] Mu4e documentation, litterate programming ftw 2021-06-11 16:28:25 +02:00
phundrak 39d9f0e74b [Emacs] Default to vanilla configuration
Spacemacs is no longer my default configuration, my vanilla
configuration now is.
2021-06-09 17:42:45 +02:00
phundrak 14415f6299 [mpv] Add keybinding for rotating videos 2021-06-09 17:42:45 +02:00
phundrak 21d20a085a [AUR] Use pgtk branch for Emacs, compress .el files 2021-06-09 17:42:45 +02:00
phundrak d27a689c4b [Emacs, org] Update references to Spacemacs, pages title
Update some references to Emacs as references to Spacemacs

Update title of Spacemacs configuration
2021-06-09 17:42:45 +02:00
phundrak 217819d4bb [Emacs] Remove eldoc-box, it’s annoying 2021-06-09 17:42:45 +02:00
phundrak 3b95999636 [Emacs] Use fish in vterm 2021-06-09 17:42:45 +02:00
phundrak 753cbe878a [Emacs] Better code for evil configuration, better EDITOR variable 2021-06-09 17:42:45 +02:00
phundrak 853b6a7c9f [Emacs] Mostly whitespace, some new keybindings
Also make which-key wait more before showing keybindings
2021-06-09 17:42:12 +02:00
phundrak 30ddb3067c [Emacs] Add doc, config, reorganize code, update org-mode sources
There no longer is a big code block at the beginning of the basic
configuration paragraph. It is now all documented.

Dired is also much more customized, with its configuration fully
documented.

Parinfer and Evil-surround were also added to the list

Custom PATH was removed since it caused some serious issues with Emacs
not finding required binaries. It seems this was only needed at a
certain point in my Spacemacs config, and it is no longer needed in
either Spacemacs nor my current config.

Some preliminary work with EXWM has been done, though I am still not
sure if I’ll ever use it as my main WM (I’m currently also taking a
look at StumpWM).

Bufler was added to my packages for managing my buffers.

Org-mode moved `org-plus-contrib' out of the main repo, and it is now
a separate package, `org-contrib'. I now also follow the git version
of org-mode (it is no longer managed by my system’s package manager).
2021-06-09 17:42:11 +02:00
phundrak 415328f6f8 [AUR] Update PKGBUILD versions 2021-05-27 13:43:41 +02:00
phundrak 45eb75ca38 Remove unused symlink 2021-05-26 14:43:29 +02:00
phundrak 17b3f02cf0 [Emacs] Revert commit ac0e5b38ff, update gitmodules
Change gitmodules’ url, add missing information on Spacemacs git module
2021-05-26 14:38:26 +02:00
phundrak e8b059bf89 [Emacs] Add Spacemacs as submodule, update DoomEmacs 2021-05-26 14:25:17 +02:00
phundrak ac0e5b38ff [Emacs] Move emacs directory to $XDG_CONFIG_HOME directory 2021-05-26 14:20:14 +02:00
phundrak 4234be1849 [Emacs] Add org and elisp packages, add documentation
Add documentation for eldoc, elisp keybindings

Add package eldoc-box for childframe elisp documentation

Add org-sticky-header package
2021-05-24 02:18:14 +02:00
phundrak b5d04427a5 [Emacs] Add documentation, set new ivy value 2021-05-24 01:51:34 +02:00
phundrak 0aa8ad8572 [Emacs] whitespace 2021-05-24 01:51:03 +02:00
phundrak 30bf89a0ab [Emacs] Add new org and magit packages, new keybindinigs
Add toc-org, magit-todos, and bufler, replace buffer-listing functions
with functinos from bufler
2021-05-24 01:25:37 +02:00
phundrak 98b995f985 [Emacs] Reorganize packages, add some
Add shell-pop package, TRAMP method for Yadm, some DSL languages, and
define more keybindings
2021-05-24 01:18:51 +02:00
phundrak 31845a0d69 [Emacs] Avoid issues when I’m testing my config on other OSes 2021-05-24 01:16:48 +02:00
phundrak bdfdb7159f [Picom] Make QEMU windows non-transparent 2021-05-22 02:15:56 +02:00
phundrak 4027662d88 [Emacs] Better keybinding management 2021-05-22 01:52:15 +02:00
phundrak f1aa8f4dc2 [Emacs] Add package for shell pop-up, and org inline LaTeX 2021-05-22 01:51:45 +02:00
phundrak 8d798ea8ad [Emacs] Simplify recipe for `org-contrib' 2021-05-22 01:51:18 +02:00
phundrak 7cf1fd9d0f [Emacs] Enable automatically prettify-symbols-mode for Elisp 2021-05-22 01:50:52 +02:00
phundrak 1147c993ee [Emacs, AUR] Update and add Emacs PKGBUILD, upgrade org-mode
This commit rebases my Emacs PKGBUILD on the one used by
`emacs-git'. By default, my compiler will now use the gold linker,
native-compilation, and ahead of time elisp native compilation. It
stills include PDF documentation and xwidgets browser, but removes the
HTML docs.

Recently, the `contrib/' directory of org moved to a different
repository. This broke the previous `emacs-org-mode-git' package. This
commit adds a new PKGBUILD for `emacs-org-mode-git' and adds a
configuration snippet for `org-contrib' in my vanilla Emacs
configuration.
2021-05-21 20:37:01 +02:00
phundrak f2502b016a [Emacs] Remove evil-magit
evil-magit is deprecated and should be removed
2021-05-21 14:41:05 +02:00
phundrak 8dac0ff794 [org] Sitemap update 2021-05-21 14:41:05 +02:00
phundrak a040bfceb7 [org] Whitespace
Tabs to spaces, and tables realigned
2021-05-21 14:41:05 +02:00
phundrak 6d3220e78c [org] Update custom variables in org file 2021-05-21 14:40:50 +02:00
phundrak 50317fb020 [git] Tabs to spaces 2021-05-21 14:10:15 +02:00
phundrak 0afda115ee [AUR] bump Emacs version 2021-05-21 14:09:38 +02:00
phundrak bd3bb8d40a [Awesome] New Emacs keybindings, better tags 2021-05-21 14:03:34 +02:00
phundrak 5390cbf474 [org] Update HTML headers
Change the keyword used from `html_head_extra' to `html_head', since
they are both strictly equivalent to one another.

Update Matomo script in order to better respect RGPD requirements and
related French laws.
2021-05-21 14:01:40 +02:00
phundrak a2d0d579d9 [Spacemacs] Remove EXWM layer, add PHP layer 2021-05-21 14:01:15 +02:00
phundrak 435adfbb46 Add vanilla Emacs configuration file
This commit stops tracking my init.el and early-init.el files and
instead begins tracking my literate org config file for vanilla Emacs.
2021-05-21 13:59:48 +02:00
phundrak 2937e848ff update Chemacs, fix org config for Spacemacs
This commit updates the version of Chemacs used. It also adds a new
profile for testing Spacemacs in a clean way.

My dotspacemacs also went for the wrong org configuration file, this
is now fixed.
2021-05-21 13:57:06 +02:00
phundrak 81b1871990 [Awesome] Replace Discord Canary with lightcord
Also fix Mattermost’s default tag
2021-05-01 15:11:01 +02:00
phundrak d46c79add3 [Spacemacs, Bootstrap] Rename files
Rename `installation.org' to `bootstrap.org' since it better describes
what it is for.

Rename `emacs.org' to `spacemacs.org', preparing for the new
`emacs.org' dedicated to my vanilla config.
2021-04-29 09:24:47 +02:00
phundrak b511031560 [Symlinks, Emacs] Better symlinks, moved eshell aliases 2021-04-29 09:24:02 +02:00
phundrak f48334d78d [Emacs] Add yasnippets and templates 2021-04-28 16:41:20 +02:00
phundrak c1195ed6b4 [Emacs] Enable hs-minor-mode for folding code more easily 2021-04-28 16:41:06 +02:00
phundrak 3c89952219 [Emacs] Better package defering 2021-04-28 16:40:22 +02:00
phundrak 7207632c56 [Org] Add auto-tangling to simple org files 2021-04-28 16:39:30 +02:00
phundrak 2d20be5b60 [Awesome] Swap minimize and maximize buttons 2021-04-26 16:51:58 +02:00
phundrak 3698c96a6f [Spacemacs] Remove commented out code 2021-04-26 16:50:23 +02:00
phundrak f7de2e83e9 [Emacs] Add new shortcuts for org-mode, and dired-jump 2021-04-26 16:49:56 +02:00
phundrak bc7787d0ef [Emacs] Add Docker and YAML support 2021-04-26 16:49:49 +02:00
phundrak 5144dcb279 [Spacemacs, index] Whitespace 2021-04-26 16:48:23 +02:00
phundrak dd22ca398c [PKGBUILD, index] Emacs’ native-comp branch merged into master
I will now track the master branch of Emacs instead of native-comp,
thank you so much to Eli for creating this feature and to all the
maintainers who helped merging this branch into master!
2021-04-26 10:14:27 +02:00
phundrak c23066cad2 [Emacs] Reorganize some packages, add two, better ivy
Ivy now appears as a floating frame, and some better defaults

Packages related to one another are now better grouped

Add code auto-completion with company

Add eldoc and support for company

Add shortcuts specific to emacs-lisp, org-src-mode

Add pdf-tools, pdf-view-midnight-minor-mode enabled by default
2021-04-25 11:25:53 +02:00
phundrak 8e66f73d30 [Emacs] Fix erroneous function 2021-04-25 11:21:35 +02:00
phundrak f04c48a8a2 [Misc] Update private files 2021-04-25 11:21:17 +02:00
phundrak fd4582f7fe [Fish] Remove devour' from mpv' abbreviation 2021-04-25 11:20:48 +02:00
phundrak df0dcf6b92 [Emacs] Still working on my vanilla config
I should make Emacs use spaces for indentation in at least EmacsLisp.

Also org-appear doesn’t seem to work yet.

Main additions in this commit are mu4e (lots of code taken from
DoomEmacs) and some org-mode configuration.
I also fixed some keybindings with evil and the bépo layout.

BUILD EVERYTHING!!!

Literate config has yet to come.
2021-04-22 22:33:46 +02:00
phundrak e366559d0f [PKGBUILD] Bump Emacs version, change compiler
Apparently, compilation with clang is broken so I have to switch to gcc
2021-04-22 22:32:29 +02:00
phundrak fda6d53bc6 [Spacemacs] Better documentation format 2021-04-21 22:53:45 +02:00
phundrak a2db890524 [Spacemacs] Switch from ido to ivy 2021-04-21 22:53:45 +02:00
phundrak 6572861960 [Spacemacs] Modify editing style 2021-04-21 22:53:45 +02:00
phundrak 0510eaa0f5 [Emacs] Switching to Chemacs2, added vanilla and Doom
Chemacs2 is a utility for Emacs to switch between various profiles and
configurations of Emacs without a hassle.

It thus helps me run my fully configured Spacemacss alongside my new
attempt at configuring some vanilla Emacs after years of using
Spacemacs.
I also added Doom-Emacs for reference.
2021-04-21 22:52:58 +02:00
phundrak c90d876f9a [Picom] Remove outdated comments 2021-04-19 01:11:06 +02:00
phundrak 023c847a81 [Emacs] Add TODO for Eshell banner 2021-04-17 13:00:29 +02:00
phundrak b598891ad7 [Git] Add Email credentials, change default editor, remove autocrlf 2021-04-17 12:56:45 +02:00
phundrak 0b2ba3eaa0 [Emacs] Automatic, Nord-themed dark mode for PDFs 2021-04-17 12:56:44 +02:00
phundrak e6ea1aecbb [Emacs] Better shortcut for terminals, remove reduntant ones
Shortcut `SPC o '' now launches `eshell-new' instead of just plain
`eshell', a new shortcut invokes `vterm', and the shortcut for
`helm-man-woman' is removed in favor of the default one in Spacemacs
2021-04-17 12:56:37 +02:00
phundrak e53e019306 [Bin] Reorganize and re-enable some scripts
Due to EXWM being disabled for the time being and switching back to
AwesomeWM, some scripts are re-enabled. The execution order is also
modified.
2021-04-17 12:56:25 +02:00
phundrak 98720ace22 [Emacs] Add ignored directories and files to recentf 2021-04-17 12:56:23 +02:00
phundrak 8c640f4118 [Emacs] Add TODO to Eshell banner 2021-04-17 12:56:23 +02:00
phundrak a7d14158dc [Emacs] Whitespace, move header up 2021-04-17 12:56:23 +02:00
phundrak 1bc386e012 [Emacs] Disable EXWM for now 2021-04-17 12:56:17 +02:00
phundrak 8eaa12e619 [Emacs] Apparently this is buggy
EXWM does not work properly if this is used, instead of different
workspaces EXWM will create various frames on top of each other.
2021-04-17 12:56:17 +02:00
phundrak 43bb79e708 [Emacs] Better settings for EXWM 2021-04-11 16:09:18 +02:00
phundrak 7f05c46ebc [Emacs] Remove unused layers 2021-04-11 16:09:18 +02:00
phundrak 65e5eb022a [Emacs] Fix some broken settings for Emacs after Spacemacs update 2021-04-11 16:09:14 +02:00
phundrak 1ad328df7f [Emacs] Update autostart for EXWM 2021-04-11 16:09:09 +02:00
phundrak 02d1d71b62 [PKGBUILD] Bump emacs version 2021-04-11 16:09:02 +02:00
phundrak a1b234fa43 [Emacs] Fix issue with path in Eshell prompt
This commit fixes an issue with the macro `phundrak-var-or-if-nil' by
removing it entirely. For some reason, it was broken in a previous
commit, and the path did not show up in the prompt unless in a git
repository.

Now, `phundrak-var-or-if-nil' is removed entirely.
2021-04-06 10:35:58 +02:00
phundrak 5819f1a6e8 [Emacs] Beginning to use EXWM
This commit also swaps two headers
2021-04-06 09:46:24 +02:00
phundrak a21fae33c8 [Emacs] Move `require's to user-load Spacemacs function 2021-04-06 09:44:46 +02:00
phundrak 3689587800 [Emacs] Config now correctly tangles without errors
Previously, some code relied on dash.el to generate some code when
tangling my Emacs config, but if Emacs was to be launched without an
up to date tangled configuration, it would attempt to automatically
tangle it. However, due to dash.el not being loaded, it could not find
some of the required functions.

This commit replaces these functions with handmade functions that can
be loaded at tangle-time, and tangling always works.
2021-04-06 09:40:36 +02:00
phundrak 5b8ac32b15 [Fish] Stop searching packages automatically on wrong command 2021-04-04 12:10:48 +02:00
phundrak 03438f6e91 [Fish] remove unused abbreviations 2021-04-04 12:10:32 +02:00
phundrak 8d11177158 [Bin] add xrdb merge to autostart
Apparently my computer stopped doing that automatically
2021-04-04 12:09:10 +02:00
phundrak bc67344ba6 [Emacs] Add restclient to the list of languages usable from org 2021-04-02 19:36:01 +02:00
phundrak 3a72387e3e [Emacs] Changing naming convention of custom functions and variables
Forward slashes in my persoranl variables and functions have been
replaced by dashes.
2021-04-02 19:36:01 +02:00
phundrak be07d87e06 [Emacs] Hide code-generating code 2021-04-02 19:32:01 +02:00
phundrak 6f8e85c65f [sxiv] Add shotcut to copy a single image
The first image marked in sxiv will be the only one copied
2021-04-02 19:30:25 +02:00
phundrak 3de5254050 [Bootstrap] Rework installed LaTeX packages
texlive installation should be lighter now
2021-04-01 23:15:15 +02:00
phundrak 5c1041241f [Emacs] Fix order of appearance of elements in org code example 2021-04-01 23:15:15 +02:00
phundrak c8dea557eb [Emacs] Add and reorganize ignored paths by recentf-mode 2021-04-01 23:15:15 +02:00
phundrak 00d847bf09 [Emacs] Enable flycheck by default for emacs-lisp buffers 2021-04-01 23:15:15 +02:00
phundrak 386cade963 [Emacs] Reorganize some headers, add phundrak/zip() 2021-04-01 23:15:15 +02:00
phundrak c6329ba8d8 [Emacs] Better settings for `lsp' layer, switch LSP server for Rust
`lsp-ui' and `lsp-lens' now enabled by default

Rust will now use as its LSP server rust-analyser rather than rls.
2021-04-01 23:15:15 +02:00
phundrak 78efbc027a [AUR] Bump Emacs verion, SPEEEEEEEEEEEEEED 2021-04-01 23:15:15 +02:00
phundrak ab7988f1b6 [Fish] update `remove' abbreviation 2021-04-01 23:15:15 +02:00
phundrak 8597280d17 [Bootstrap] Remove ly, update tangled script 2021-03-31 16:22:39 +02:00
phundrak 8851cee936 Add custom PKGBUILDs 2021-03-27 22:01:05 +01:00
phundrak 902b6d3f67 [Emacs] Reorganize custom functions and variables, update docstrings
Function terminal-here-default-terminal-command removed
2021-03-26 14:27:30 +01:00
phundrak d866f0be65 [Misc] Update sitemap 2021-03-26 14:11:39 +01:00
phundrak 562657cc19 [Emacs] Remove function phundrak/add-all-to-list 2021-03-26 14:10:43 +01:00
phundrak 8173bfcb20 [yadm] update private files 2021-03-26 13:52:55 +01:00
phundrak 81ecf5ce0a [Awesome, Bin] formatting 2021-03-26 13:52:08 +01:00
phundrak dcf42a9340 [Bin] emacs' is now designed as a fallback for emacsclient' 2021-03-26 13:51:22 +01:00
phundrak 5088871487 [Emacs] Remove unused column 2021-03-26 13:51:02 +01:00
phundrak 126f265281 [Emacs] Remove indent-guide-mode
It slows Emacs too much and isn’t all that useful actually
2021-03-26 13:50:25 +01:00
phundrak 8995aeb881 [Emacs] Formatting 2021-03-26 13:50:10 +01:00
phundrak 841f6b7f85 [Emacs] Give mu4e the ability to export mails to PDF again! 2021-03-26 13:49:22 +01:00
phundrak 4f7927a5f7 [Emacs] New keybindings for image-mode, change eshell keybinding
The eshell keybinding changes from SPC o a ' to SPC o '

It is now possible to open an image from image-mode in GIMP directly
as well as rotate it.
2021-03-26 13:47:53 +01:00
phundrak ffacd7d71a [Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
phundrak d4aaecab9b [Emacs] Better org-mode visuals
Now inline source blocks should be fontified

We should also have better LaTeX handling as well as markers
2021-03-26 13:46:17 +01:00
phundrak 43b8263702 [Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
phundrak 3909031ae2 [Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
phundrak 774f69589a [Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
phundrak 220b43aaf2 [bat] Add bat config 2021-03-10 13:19:39 +01:00
phundrak fe66b43fbc [sxiv] Add key handler for sxiv 2021-03-10 13:14:01 +01:00
phundrak dd9d7476e3 [Git] default branches are now named main 2021-03-10 13:12:43 +01:00
phundrak 5fbde0a564 [Emacs] update dotspacemacs 2021-03-10 13:12:27 +01:00
phundrak ff83e3d226 [Bin] Move set-screen 2021-03-10 13:09:45 +01:00
phundrak 7abf902e1d [Bin] friendship with xidlehook ended xss-lock is my new best friend 2021-03-10 13:07:53 +01:00
phundrak 1a97dc0884 [Fish] make man pages fancier
Add syntax highlight to man pages through bat
2021-03-10 13:07:00 +01:00
phundrak fe5535b590 [Emacs] Change some mu4e settings, change org font
Mu4e:
- Set a better date format for mu4e than the American format
- Remove mu4e relying on w3m

Org:
- change the size of fixed font
- change variable-pitch font
2021-03-10 13:05:21 +01:00
phundrak ce00baf6f6 [Emacs] Foud the culprit of Emacs not starting as a daemon
For some reason, roam support prevents Emacs to start as a daemon, so
I’ll remove it for now.
2021-03-10 13:03:31 +01:00
phundrak f9a3bb7c13 Update private files 2021-03-01 12:08:00 +01:00
phundrak 436d5759af move neofetch out of wip 2021-02-10 21:01:14 +01:00
phundrak ab051c8b35 [Emacs] Add email view with Xwidget webkit browser 2021-02-10 21:00:56 +01:00
phundrak 87af1db5af Revert "[Bin] Begin to fix wacom-setup, still bugged, see TODO"
This reverts commit 84de2cce7e.

Attempt to fix everything
2021-02-10 20:59:52 +01:00
phundrak ea9a5a4d24 Revert "[Bin] Fix wacom-setup script, touchpad configs dropped"
This reverts commit 05a68817ea.
2021-02-10 20:39:16 +01:00
phundrak 55eb0dfb09 [St] remove st configuration 2021-02-09 17:00:51 +01:00
phundrak 8e26087d33 [Kitty] Add Kitty configuration 2021-02-09 16:59:34 +01:00
phundrak 78a3f5f6ee [Awesome, Bootstrap] Change default terminal emulator
Switch from st to kitty
2021-02-09 16:58:48 +01:00
phundrak fcd76a9bbe [Emacs] Change font used in org-mode 2021-02-09 16:54:30 +01:00
phundrak 63353caa48 [Neofetch] Move neofetch config out of WIP, add image backend 2021-02-09 16:54:03 +01:00
phundrak 05a68817ea [Bin] Fix wacom-setup script, touchpad configs dropped
For some reason, I don’t see anymore my tablet’s touchpad in the
xinput list, so this commit drops modifications to the touchpad’s
configuration.
2021-02-06 00:55:04 +01:00
phundrak 95a16788e7 [Emacs] Add function `phundrak/file-to-string', remove shell command
Add function `phundrak/file-to-string' which reads the content of a
file to a string.

Eshell banner makes one less shell command and makes it a bit more
distro-agnostic, although still very Linux-centered.
2021-02-04 14:44:07 +01:00
phundrak 527380e5ff [Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
phundrak 58b5b82531 [Mimeapps] Update mimeapps 2021-02-04 09:50:46 +01:00
phundrak 812f252de1 [Fish] Remove, add, update some abbreviations
Abbreviations removed: `p', `surge', `ls', and `feh'
Abbreviations added: `suser', `egui',

Add `devour' to abbreviations `egui', `mpv', `sxiv', `webcam'
2021-02-04 09:50:46 +01:00
phundrak 95119f7bad [Fish] Emacs launched in terminal mode when launched from terminal 2021-02-04 09:22:54 +01:00
phundrak f3d5b229bd [Emacs] Remove magit-gitflow, add ox-ssh and org-appear
TODO: Shortcuts should be added to ox-ssh as they do not appear in
org-export-dispatch

TODO: Fix org-appear, it has currently no effect
2021-02-04 09:21:24 +01:00
phundrak 2538786be8 [Emacs] Replace Swift layer with Java layer 2021-02-04 09:20:52 +01:00
phundrak 6787e6452a [Picom] Upgrade from Ibhagwan’s fork to main fork
This made me lose access to rounded corners for now, as they are only
available for legacy backends and the dual_kawase blur is not one of
them.
2021-02-04 09:18:24 +01:00
phundrak 9062092b1d [Fish, Emacs, Bootstrap] Replace yay with paru 2021-02-04 09:17:32 +01:00
phundrak 2ea6cd5ecf [Fish] Set prompt theme to Nord 2021-02-04 09:14:52 +01:00
phundrak 84de2cce7e [Bin] Begin to fix wacom-setup, still bugged, see TODO 2021-02-04 09:14:14 +01:00
phundrak 051a4a05de [Awesome] Finer control of screen brightness 2021-02-04 09:13:37 +01:00
phundrak 503aec3302 [Paru, Bin, Index] Reorganize headers, add dired script, paru conf 2021-01-27 19:03:11 +01:00
phundrak ffd4621060 [Emacs] Turn native async compilation warnings off early 2021-01-27 16:41:32 +01:00
phundrak 3c22c77226 [st] Increase transparency of st to match Firefox and Awesome
Also whitespace with picom.org
2021-01-27 16:40:49 +01:00
phundrak 10978904f8 [Emacs] Update maildirs in mu4e bookmarks, sign emails
Turns out isync didn’t sync my /Junk directory in which were a lot of
emails I would have liked to read. Now bookmarks referring to /Inbox
also display content from /Junk

Also, emails are automatically signed with PGP/MIME now.
2021-01-27 16:37:35 +01:00
phundrak 026b005cd0 [Emacs] Better faces for diff-mode 2021-01-21 14:36:16 +01:00
phundrak eff1d942a8 [Emacs] Update paths for `phundrak/find-org-files' 2021-01-21 14:35:57 +01:00
phundrak 2c3f43dbbf [Emacs] Remove unused shortcut and function 2021-01-21 14:35:48 +01:00
phundrak a8557c2274 [Awesome] Add GIMP shortcut 2021-01-21 14:34:30 +01:00
phundrak 2364a4aa8c [Submodule] Update firefox theme, move repo 2021-01-21 14:33:25 +01:00
phundrak b191f32bca [Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
phundrak e9fb7e4622 [Mimeapps] SVG images open in Emacs by default 2021-01-13 17:16:52 +01:00
phundrak a1d29e6bd7 [Emacs] Fix fixed-pitch faces, add svg of org-mode screenshot 2021-01-13 17:13:45 +01:00
phundrak e2a5bd3c60 Remove unneeded code, fix org faces 2021-01-13 16:40:49 +01:00
phundrak 3c5cec5df7 [Emacs] Fix fixed-pitch faces 2021-01-10 15:37:06 +01:00
phundrak bc7f7e3182 [Bin] Set default soundcard in autostart 2021-01-09 19:16:08 +01:00
phundrak a7db109206 [Emacs] Fix org-block background color, fix mu4e face
org-block background color was too light and had too little contrast
with the selection face. Similarly, `mu4e-highlight-face' was empty.
This commit fixes that by giving org-block a darker background and
`mu4e-highlight-face' a background and foreground color.
2021-01-09 14:36:19 +01:00
phundrak a04064848d [Emacs] Prevent unrequired connections to host Tilo
Having a project located in a remote host in
`projectile-ignored-projects' made Emacs often connect to Tilo for no
apparent reasons. This commit should fix it.
2021-01-08 22:38:48 +01:00
phundrak 2919c7b286 [Emacs] Change theme to official nord theme, fix faces
I use now the official nord theme found on Articices Studio’s Github.

Faces broke partly due to two different calls to
`custom-theme-set-faces'. This can be fixed by putting all faces
editions together. However, this commit also removes custom faces for
mu4e since colors are no longer broken.

The code for faces is now generated from the org tables in the
related subheadings.
2021-01-08 03:43:33 +01:00
phundrak 1b5fb4144d [Emacs] Better which-key description for shortcut 2021-01-07 19:14:45 +01:00
phundrak 13943e5775 [Bootstrap] Add tldr to list of installed packages 2021-01-07 19:14:22 +01:00
phundrak 26053b0e8b [Bin] Fix issue downloading videos with ytdl
When downloading a whole channel, ytdl used to download everything
including playlists displayed on the user’s main page. Now, a check
is performed in order to verify if the URL passed is a channel, and
if it is only download the videos listed on their uploads page.
2021-01-06 16:10:39 +01:00
phundrak 7a676a1f88 [Emacs] Go back to horizontal separation in mu4e 2021-01-05 23:53:44 +01:00
phundrak a40d7472a1 [Emacs] Fix find-org-files when in TRAMP connection 2021-01-05 16:50:36 +01:00
phundrak dcb27e32d2 [Emacs] Don’t byte-compile user configuration in dotspacemacs
Byte-compiling my configuration actually doesn’t make configuration
loading time any shorter and increases Emacs startup time due to the
time spent byte-compiling it. This is now removed.
2021-01-05 16:44:09 +01:00
phundrak e8121b452f [Emacs] Add shortcut to spawn new Eshell buffer 2021-01-05 16:43:45 +01:00
phundrak 3ff58ad913 [Zathura] reorganize keybindings 2021-01-04 16:16:01 +01:00
phundrak a5dd8be4a7 [Zathura] Images are now displayed properly 2021-01-04 16:15:45 +01:00
phundrak 371b653ffe [Emacs] Add shortcut for sorting lines 2021-01-04 16:15:27 +01:00
phundrak 0166ec0a02 [Bin] add utility to unify how a wallpaper is set 2021-01-04 15:00:40 +01:00
phundrak 6cfc0326f6 [Encrypted files] update files 2021-01-04 14:18:14 +01:00
phundrak d977b1a88b [Emacs] Add again eshell syntax highlight 2021-01-04 14:17:09 +01:00
phundrak fcc16e8f98 [Emacs] Fix org faces
Between Emacs 28.0.50.145785 and Emacs 28.0.50.146000, a commit broke my
face config, and inheriting from `fixed-pitch' no longer made my faces
fixed-pitched. This commit therefore sets directly the font of the faces
than need to be fixed-pitched instead of relying on the `fixed-pitch'
face.
2021-01-04 14:17:09 +01:00
phundrak b027b2b03b [Bin] reorganize order of autostart 2021-01-04 14:10:32 +01:00
phundrak 552c91b473 [Bin] set-pape now supports subdirectories, fix select-pape
`set-pape' now find all files in $PAPESDIR, including subdirectories.
The way the wallpaper is randomly selected is also simplified, and the
script is now written in bash rather than in fish.

`select-pape' now writes to $HOME/.cache/wallpaper only when a wallpaper
is selected. Otherwise, nothing is done.
2021-01-04 14:10:15 +01:00
phundrak fc497a5fd9 yadm upgrade path of encrypted file 2021-01-04 14:03:17 +01:00
phundrak 8c52c44931 [Emacs] Fix heading in captured files 2021-01-02 15:36:26 +01:00
phundrak a56d24eb5a [Bin] Fix autostart and select-pape
Autostart did not detect properly if some processes were actually
running or not. This commit fixes it and only launches programs marked
to run only once only when they are not already running.

select-pape did not set its cache file in the correct location, this is
now fixed
2021-01-02 14:13:13 +01:00
phundrak 805bc608fc [Bin] Reorganize bin.org, add select-pape script
Now wallpaper-related scripts use xwallpaper instead of nitrogen

select-pape gives the user the ability to choose their wallpaper throguh
sxiv and xwallpaper
2021-01-02 13:52:47 +01:00
phundrak 1d7cbe8915 [Awesome, Bin, Bootstrap] Replace nitrogen with xwallpaper 2021-01-02 13:52:18 +01:00
phundrak 90028f1efa [Rofi] Customize list of modi 2021-01-02 13:27:10 +01:00
phundrak c965df6b65 [Awesome] Remove unused keybindings 2021-01-02 13:26:53 +01:00
phundrak a0b258581a [Bin] Fix issue with awiki
This commit fixes an issue with awiki where selecting a page which title
contains whitespace would not open the page in the browser due to
remaining whitespace. This commit fixes it by replacing whitespace with
underscores.
2021-01-02 13:26:30 +01:00
phundrak 182a8e62db [Bin] ytplay now plays audio too 2021-01-02 00:59:07 +01:00
phundrak 3ef805e07b [Emacs] For some reason, this made Emacs break 2021-01-02 00:58:31 +01:00
phundrak 6c6320d1f8 [yay] Avoid sudo timeout 2020-12-30 00:12:38 +01:00
phundrak ec1169b3b7 [Emacs] Add leader key for evil-lisp-state 2020-12-30 00:12:14 +01:00
phundrak 842c1253fd [Emacs] Fix broken Wttr.in package 2020-12-30 00:11:53 +01:00
phundrak ac9c34dcf1 [Emacs] Update and fix org capture 2020-12-30 00:11:22 +01:00
phundrak 6519fa6793 [Bin, Awesome] Add script to read YouTube videos in mpv
New script to read YouTube videos in mpv, with possibility to choose
the video resolution

Also add shortcut in Awesome to invoke this script
2020-12-28 21:06:18 +01:00
phundrak b9d4d6b180 [Emacs] Add swift to org-babel languages, neater noweb code 2020-12-27 19:00:30 +01:00
phundrak 4ccab5440a [Emacs] Run bibtex when exporting org to latex 2020-12-27 17:02:18 +01:00
phundrak 7692337dc0 [Emacs] Reorganize some chapters 2020-12-27 17:01:50 +01:00
phundrak fc84352da4 [Emacs, Submodule] Update conlanging layer 2020-12-27 17:01:14 +01:00
phundrak e57da4e348 [Emacs] Make orgmode dates fixed-width 2020-12-27 17:00:46 +01:00
phundrak 5ee319212d [Emacs] Wider images in org-mode 2020-12-24 22:19:20 +01:00
phundrak 734745a8e9 [Emacs] Add doc to two vars and a function, update emacs.org
Two of my variables declared at the beginning of my dotspacemacs are now
documented, as well as the function `phundrak/update-config-files-p'
2020-12-24 22:17:40 +01:00
phundrak 09d9ba6446 [Emacs] Better org configuration, better handling of emacs startup
When Emacs starts up, it verifies twice the state of its .el and .elc
configuration files that come from emacs.org. If any of the .el file is
older than emacs.org, the latter is tangled again.
Then, if it detects any of the .elc file is older than its .el
counterpart, it will byte-compile the latter.
Tangling now happens within the launched Emacs instance and not in a
separate instance.

Nom all the orgmode configuration is done using noweb, and only one
block is tangled.
Some parts of the org configuration were reorganised to make the TOC
a bit lighter.
2020-12-24 12:51:28 +01:00
phundrak 9c775aa613 [Emacs] Fix leading whitespace in org capture templates 2020-12-23 04:52:53 +01:00
phundrak 7e717ac2aa [Org] Fix header, move images, remove screenshots from index
The screenshots on the index page are better off on the i3 page

Setupfiles were not found for org files in subdirectories, this is fixed

Images are now correctly placed
2020-12-23 04:39:21 +01:00
phundrak 00d31c4597 [Emacs] setq to defvar, lexical binding, rename and move headers
All exported `.el' files now have a lexical-binding header. This should
make parsing these files faster.

Custom variables such as the Nord colors are now declared with `defvar'
rather than with `setq' directly to avoid using free variables.

The package `info-colors' is now added, making info pages much more
pleasing to the eye.

Some headers in the Org chapter are renamed and organized alphabetically

Additional org variables to make it more usable

Variable `phundrak//eshell-banner--max-length' is renamed to
`phundrak//eshell-banner--max-length-part' in order to make its usage
more obvious from its name.
2020-12-23 04:26:27 +01:00
phundrak 9710304da7 [Emacs] Add part on how this litterate config works 2020-12-23 02:13:45 +01:00
phundrak b1f2be0016 [Emacs] Remove w3m layer, compile configuration files when exported
The w3m layer is now removed as I did not use it at all.

The conlanging layer is moved to ~/fromGIT/emacs-packages and now a
symlink points to its new location. This is done in order to prevent
Emacs from compiling its .el files when recompiling its configuration
files.

Configuration files are now compiled when emacs.org is tangled by Emacs
itself or if the .el files are newer than the .elc files.

TODO: find a way to natively compile and load these files instead of
just byte-compile them if native compilation is available
2020-12-23 01:54:07 +01:00
phundrak bcd9ec58b5 [Emacs] Use rsync protocol instead of ssh for org projects 2020-12-21 20:45:30 +01:00
phundrak 7228d91979 [Meta] Update website image header 2020-12-21 20:45:11 +01:00
phundrak 4cfea387a3 [Emacs] Fix issue when automatically tangling Emacs config
Also simpler call to shell process
2020-12-21 18:19:58 +01:00
phundrak 82ae905195 [Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
phundrak a33fa55ab7 [Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00
phundrak a4643fd8c1 [Org] Move deprecated and wip files in dedicated directories
Also update a bit some parts of my environment description.
2020-12-21 15:00:35 +01:00
phundrak 2f80220f88 [Emacs] Banner fix, better mu4e display, neater code
Banner broke with memory filled by only a couple hundreds megabytes of
memory, the amount displayed was too large for what was reserved. More
space is now dedicated to displaying such numbers, and the ramp is thus
a bit shorter.

Mu4e header is now only 80 chars wide by default, regardless on the
width of the current frame.

Some code is now also better aligned, some whitespace was left from
earlier configuration that did not make it into the git repository
2020-12-19 17:31:20 +01:00
phundrak 013eca17d3 [Emacs] Better description 2020-12-19 17:24:47 +01:00
phundrak 79ded07aeb [Emacs] Simpler code, uninstall unused packages 2020-12-19 17:24:17 +01:00
phundrak 0bd5b42b79 [Emacs] dotspacemacs update 2020-12-19 17:23:51 +01:00
phundrak a2ef908528 [Emacs] Simpler path in dotspacemacs 2020-12-19 17:23:31 +01:00
phundrak ef985c59a9 [Mimeapps] Add association for CSV to LibreOffice Calc 2020-12-19 17:22:40 +01:00
phundrak 639e86b719 [Rofi] Add transparency to rofi’s background 2020-12-11 18:40:43 +01:00
phundrak 860e7c9d8b [Awesome] Change chapter name 2020-12-10 10:34:34 +01:00
phundrak dc41032190 [Emacs] Yet better face for replied to and forwarded emails in mu4e 2020-12-10 10:34:02 +01:00
phundrak a47a471321 [Bootstrap] Add basic backage for installation 2020-12-10 10:20:54 +01:00
phundrak 6665074db0 [Org files] Formatting 2020-12-10 10:20:21 +01:00
phundrak 54e9e00078 [Fish] Better handling of user-defined paths 2020-12-10 10:06:46 +01:00
phundrak 38843d8a4e [Fish] Org file formatting 2020-12-10 10:06:32 +01:00
phundrak e6775cefbd [Emacs] Subdivide Mu4e configuration, fix Emacs filtering
This commit divides the Mu4e configuration into three subchapters.

Filtering for the Emacs mailinglists is also fixed.
2020-12-10 09:33:41 +01:00
phundrak 1cd4f60338 [Emacs] Fix indistinguishable mu4e faces
This commit makes font face for replied to emails and unread emails more
distinguishable. The difference between the two were just the text being
bold or not, now replied to emails have a Nord15 foreground text color.
2020-12-10 09:10:52 +01:00
phundrak 7e91539f5e [Emacs] Better mu4e inboxes
Mailing lists are now separated from my main inbox. Linguistics and
Emacs now both have their own inbox.
2020-12-10 09:09:08 +01:00
phundrak 0a54b4d67f [Emacs] Fix Eshell banner
Fix reference to undefined variable

Fix incorrect calculation of usage percentage of memory
2020-12-10 09:08:22 +01:00
phundrak 880a0e14df [Emacs] Remove helm dependency for `find-org-files'
This function is also renamed from `find-org-file' to `find-org-files`
and it became much, much faster.
2020-12-10 09:07:34 +01:00
phundrak 5f129d953a [Emacs] Make Elisp source codes use lexical binding in org file 2020-12-07 18:34:48 +01:00
phundrak 12c92fefbc [Emacs] Add Eshell screenshot 2020-12-07 17:42:51 +01:00
phundrak eee5575a2d [Emacs] Move back code from custom layer to config for Dired 2020-12-07 17:39:33 +01:00
phundrak 77bd751c05 [Emacs] Add function for taking SVG screenshots of Emacs 2020-12-07 16:24:44 +01:00
phundrak 9d0dea47a4 [Emacs] Add code for beautiful Eshell banner 2020-12-07 15:00:00 +01:00
phundrak 423a1c91cb [Emacs] Remove Eshell syntax highlight package
This package often caused my configuration to break due to Emacs not
finding `eshell-syntax-highlight-global-mode' despite the package being
installed. More troublesome than it’s worth, I’m uninstalling it.
2020-12-07 14:59:07 +01:00
phundrak af1ea985d8 [Emacs] dotspacemacs update 2020-12-06 11:31:30 +01:00
phundrak dd60197fec [Emacs] Add shortcut for publishing my blog 2020-12-06 11:30:44 +01:00
phundrak ff12dbe2c9 [Emacs] Make `phundrak/blog-publish' interactive 2020-12-06 01:34:08 +01:00
phundrak 541577f933 [Emacs] Add blog publishing function, reorganize order of headers 2020-12-06 00:55:33 +01:00
phundrak 83d1dad6d5 [Emacs] Add Plantuml layer 2020-12-05 16:10:25 +01:00
phundrak c46fcd3db7 [Emacs] Move Eshell functions to aliases
Many Eshell functions do not need to be declared as such and can do just
fine as Eshell aliases. This commit moves all these functions to the
'eshell-alias' file
2020-12-02 17:33:00 +01:00
phundrak bdc4e543cf [Emacs] Add shortcut to eshell 2020-12-02 17:29:37 +01:00
phundrak 312a7ebf2d [Emacs] Fix issue with path abbreviation in Eshell 2020-12-02 17:29:14 +01:00
phundrak 888e237ab8 [Fish] Further theme appearance modification 2020-12-02 17:28:08 +01:00
phundrak 9004bb84e6 [Fish] Update theme appearance of fish shell 2020-12-02 16:12:49 +01:00
phundrak a4e83f1954 [Awesome] Fix behavior of scroll on tags 2020-12-02 14:20:24 +01:00
phundrak 150c3e0b33 [Emacs] Better org-mode theme 2020-12-02 11:45:12 +01:00
phundrak 516ff67996 [Emacs] Fix text in mu4e configuration 2020-12-02 11:38:49 +01:00
phundrak fe13ebd0cc [Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
phundrak 5d1bd2c45f [Bootstrap] Remove bookworm, new defaults for djvu and epub
zathura is now the default reader for djvu books

Emacs is now the default reader for epub books
2020-12-01 21:48:19 +01:00
phundrak 4584aa8f6b [Bin] Fix org headers and page description 2020-12-01 16:16:59 +01:00
phundrak 88c83ba51f [Bin] add ytdl (youtube-dl wrapper) and rofi menu for it 2020-11-29 23:43:37 +01:00
phundrak ec14b1c5a7 [Bin] Format update 2020-11-29 23:43:20 +01:00
phundrak 06082195a0 [Zathura] shorter config line 2020-11-29 13:47:47 +01:00
phundrak 20affaec43 [Fish] remove ytdl abbr 2020-11-29 13:47:28 +01:00
phundrak 32d9f690e9 [Awesome] Add shortcut to rofi-ytdl, fix category of other command 2020-11-29 13:46:19 +01:00
phundrak 2f0b3d1068 [Rofi] Nicer theme in my opinion 2020-11-29 13:28:13 +01:00
phundrak 05ba577b2f [Emacs] Better Emacs visual customization 2020-11-28 18:14:52 +01:00
phundrak 4ee2023364 [Emacs] Add workaround for smartparens issue 2020-11-28 18:14:52 +01:00
phundrak fcb10ceccb [Awesome] Update and add rofi shortcuts 2020-11-28 18:14:52 +01:00
phundrak e803c9cd6f [Bootstrap] Add hugo to list of installed packages 2020-11-28 18:14:41 +01:00
phundrak 7dac01a401 [Rofi] Change theme to nord theme 2020-11-28 18:14:31 +01:00
phundrak 7a9c3075e1 [Bootstrap] Update page’s name 2020-11-27 16:48:03 +01:00
phundrak 1d5bf5a275 [Emacs] Add custom packages path 2020-11-27 16:48:03 +01:00
phundrak 9dabe4c67b [Emacs] Add shortcut for tetris, update org-mode faces 2020-11-27 16:48:03 +01:00
phundrak 0c3211a046 [Awesome] Update name of script, slightly larger titlebars 2020-11-27 16:47:52 +01:00
phundrak 6ddf6df989 [Emacs] Add evil keybindings for tetris 2020-11-19 11:29:13 +01:00
phundrak c715ae59d9 [Emacs] Fix weird LaTeX output with tabs in source blocks 2020-11-19 11:28:41 +01:00
phundrak 2da110c745 [Emacs] Fix reference in org file 2020-11-19 11:28:20 +01:00
phundrak 078756c7d5 [Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
phundrak 653ac27a8a [Emacs] Some more beautiful Org-mode 2020-11-14 02:21:45 +01:00
phundrak d66d66290b [Emacs] remove indentation of properties drawers 2020-11-14 02:21:26 +01:00
phundrak 3a1015b9e7 [Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00
phundrak e3880c48b1 [Picom] Add exception to background blur 2020-11-13 00:40:27 +01:00
phundrak b4a6904989 [Emacs] Conlanging layer updated 2020-11-13 00:39:55 +01:00
phundrak 77883c75bd [Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
phundrak e514ed5e33 [Emacs] Prettify Org-mode 2020-11-13 00:38:04 +01:00
phundrak 49894ec6e2 [Emacs] Remove duplicate code in dotspacemacs 2020-11-06 14:48:36 +01:00
phundrak 55cdad04ca [Awesome] Add Mattermost to the tag 0 by default 2020-11-06 14:45:52 +01:00
phundrak 6e9ac2b490 [Bin] Better script for toggling touchpad 2020-11-06 14:45:17 +01:00
phundrak caba458431 [Emacs] Eshell prompt update
This commit removes the banner displayed on Eshell launch. I will
maybe do something with it one day similar to my fish_greeting
function for the fish shell.

The git prompt now also separates the current path in half if we are
in a git repository: the path up to the repository, the git prompt,
and then the relative path to the repo is are shown in that order.
To achieve that, `phundrak/is-dir-a-git-repo' has been modified to
return either the path to the git repo or `nil'.
2020-11-06 14:41:29 +01:00
phundrak d40de0fdec [Bootstrap] Symlink plock' to /usr/bin'
This is needed for xss-lock to work properly
2020-10-29 16:55:20 +01:00
phundrak 118eadb58a [Emacs] Add rsync alias to eshell 2020-10-29 16:55:20 +01:00
phundrak 0b5519e058 [Emacs] Add Swift layer with ob-swift, keybinding to woman
This commit adds to my configuration the Swift layer from Spacemacs, as
well as ob-swift for evaluating Swift code in org-mode –because
apparently it is not part of the layer itself.

The keybinding to `wttrin' is also modified to `SPC o a W', with its
original keybinding `SPC o a w' set to `helm-man-woman', a helm
interface to Emacs’ `woman'.
2020-10-29 16:55:19 +01:00
phundrak b2f31ed88f [Bin] rename lock utility from lock' to plock' 2020-10-29 16:55:19 +01:00
phundrak d8ee8fd95c [Zathura] new configuration file for Zathura
This configuration file for Zathura adapts its keybindings to the bépo
layout, with some tweaks on my part to make it more consistent.
2020-10-29 16:47:28 +01:00
phundrak 45a5db0f0d [Emacs] Update eshell aliases
continuous-integration/drone/push Build is failing
Update eshell aliases

I should replace this file later with some Elisp code in the user init
to read aliases from Fish abbreviations.

Something good would be to try to write some Elisp code to emulate Fish
abbreviations, but I have to find what hook or function is called when a
new character is entered in the shell that triggers autocompletion. Code
in this package might help:
https://github.com/szermatt/emacs-bash-completion
2020-10-25 11:26:42 +01:00
phundrak 7b3fe54d8e [Git] Go back to default branch name 2020-10-25 11:26:21 +01:00
phundrak 2795f44e2f [Emacs] Update shell prompt regex 2020-10-25 11:26:04 +01:00
phundrak 86de78bedb [Emacs] Remove some Eshell-specific functions 2020-10-25 11:25:13 +01:00
phundrak 24beba2616 [Emacs] Better slug generator for custom IDs, update some CUSTOM_IDs 2020-10-25 11:24:04 +01:00
phundrak 72edabc4f1 [Emacs] Better code style, replace macro with function
`if's that had one branch are replaced with `when', and `if's which only
actual branch is the else branch are replaced by `unless'.

`phundrak/eshell-git-status' no longer verifies whether its `$path'
argument points to a git repository, that is now the role of the callee.

`phundrak/eshell-prompt' now makes use of more variables to make the
code more readable.

Some documentation is now formatted correctly
2020-10-25 11:17:15 +01:00
phundrak e8b206ef94 [Emacs] Change the default mode for the scratch buffer to Elisp 2020-10-22 19:27:23 +02:00
phundrak ae94dd23ff [Emacs] Fix "function definition is void: abbr-pwd" error
continuous-integration/drone/push Build is passing
2020-10-22 15:48:22 +02:00
phundrak 7d39ccd8a6 [Emacs] Update Eshell prompt regex
continuous-integration/drone/push Build is passing
2020-10-22 13:56:04 +02:00
phundrak 5096b4f9a6 [Emacs] Update slug regex for CUSTOM_ID, update some CUSTOM_ID
This commit fixes the removal of the `~' character (it needed to be
escaped), add commas and backslashes to the list of characters to be
removed, and updates some `CUSTOM_ID' heading properties accordingly
2020-10-22 13:52:14 +02:00
phundrak 3b865970e4 [Emacs] Yet some more documentation
This commit adds documentation for `phundrak/abbr-pwd', renamed to
`phundrak/abbr-path'
2020-10-22 13:51:50 +02:00
phundrak 72496186f5 [Emacs] Rename eshell/my-prompt', simplify phundrak/abbr-pwd'
This commit renames `eshell/my-prompt' to `phundrak/eshell-prompt'.

`phundrak/abbr-pwd' is now simplified, and it is no longer responsible
for fetching the current path which must now be passed as its first
argument. It will also reject any argument which is neither a string
(should be the only type to be passed for public use) nor a list (for
internal usage).
2020-10-22 13:36:29 +02:00
phundrak a405eb602a [Emacs] Add documentation to undocumented functions 2020-10-22 13:35:04 +02:00
phundrak 9cfa1c1ac4 [Emacs] Code style, prompt fix for Eshell
continuous-integration/drone/push Build is passing
A bug was introduced in b97bbf8 with the fix for Eshell, where the
abbreviated path was not used anymore. This commit fixes it.

This commit also introduces the new macro `phundrak/var-or-if-nil'
which is documented in the code. It has replaced some code already.

The coding style of some recent functions have been updated too,
arguments names now begin with a dollar `$' sign. This is just stylistic
and it has no influence on the code whatsoever.

Finally, some nested `if's in `phundrak/abbr-pwd' were converted in a
single `cond', which led to renaming two variables in order to avoid a
collision between the variable and the function `push' – `pull' has been
renamed accordingly.
2020-10-22 12:50:05 +02:00
phundrak e6bb054b7a [Emacs] Fix references to phundrak/nord* variables
continuous-integration/drone/push Build is passing
2020-10-22 08:45:35 +02:00
phundrak b97bbf8206 [Emacs] Fix git prompt in Eshell
continuous-integration/drone/push Build is passing
2020-10-22 02:03:30 +02:00
phundrak 070b61ef00 [Emacs] Eshell can now abbreviate the path in its prompt
continuous-integration/drone/push Build is passing
The `SPC o t S' keybinding is now also associated with toggling this
option.
2020-10-22 01:57:13 +02:00
phundrak 833a6e1d75 [Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
phundrak 585695f085 [Emacs] Clarify documentation
continuous-integration/drone/push Build is passing
2020-10-21 23:56:57 +02:00
phundrak 8178eefc14 [Emacs] Additional tweaks for Eshell prompt 2020-10-21 23:56:30 +02:00
phundrak d51b59a963 [Emacs] Enhance powerline theme of Eshell
continuous-integration/drone/push Build is passing
2020-10-21 23:40:37 +02:00
phundrak 5211c24410 [Emacs] Rework Eshell prompt
continuous-integration/drone/push Build is passing
The Eshell prompt is now git-aware with some powerline associated to it.
2020-10-21 23:21:10 +02:00
phundrak 31eb64c2ba [Emacs] add Docker Tramp method, move yadm Tramp method
continuous-integration/drone/push Build is passing
This commit adds the connection method for Docker containers through
Tramp and stores it under the newly created Tramp heading under which
the implementation of the Yadm connection method is implemented.
2020-10-21 17:55:22 +02:00
phundrak 58f895743e [Emacs] Simplified python layer 2020-10-21 17:54:57 +02:00
phundrak 97c0c4c744 [Emacs] Simplify Elisp configuration code, more literate programming
continuous-integration/drone/push Build is passing
The list of languages supported with org-babel is now presented as an
org table.

Common variable values in org projects are now shared through one
variable each instead of having the value repeated.
2020-10-21 17:52:10 +02:00
phundrak 209d835def [Emacs] Update mu4e shortcuts
continuous-integration/drone/push Build is passing
Now all bookmarks hide deleted messages except the one dedicated to that
2020-10-20 13:52:59 +02:00
phundrak b09de32f9b [Bin] Update autostart script 2020-10-20 13:52:53 +02:00
phundrak 942738cbb7 [Bootstrap] Remove unused package, add python poetry 2020-10-20 13:50:28 +02:00
phundrak e46a5f3e4c [Emacs] Remove helm-icons
continuous-integration/drone/push Build is passing
2020-10-14 18:44:24 +02:00
phundrak 2b913fa2a7 [Emacs] Remove ESS layer and odf-mode, add org-roam support 2020-10-14 18:42:24 +02:00
phundrak 522f17e440 [Emacs] whitespace 2020-10-14 18:42:04 +02:00
phundrak f9c45fe286 [Encrypted files, symlink] Move encrypted file and symlink target
Since I am moving away from $HOME/.emacs.d, the last remaining file in
this directory has been moved to the equivalent $HOME/.config/emacs.

The $HOME/.emacs.d symlink also now points to a relative path, making it
username-agnostic.
2020-10-14 18:39:48 +02:00
phundrak 12491a827b [Emacs] Update Spacemacs init chapter
This commit syncs the Spacemacs init chapter with Spacemacs’
dotspacemacs template
2020-10-14 18:38:22 +02:00
phundrak 6b92c8bc4c [Bin, Awesome] Add touchpad tapping toggling
XF86ToggleTouchpad is now bound to the new script `tttouchpad'
2020-10-14 18:34:30 +02:00
phundrak 742b3009a8 [Bin, autostart] Remove mpd_discord_richpresence, add xss-lock
It seems `mpd_discord_richpresence' has been removed from the AUR, and as
such I cannot install it back for now.

On the other hand, it seems `xss-lock' has been forgotten in the
autostart until now. This is now fixed.
2020-10-14 18:32:44 +02:00
phundrak 4fa4a12f90 [Fish] add support for NVMe SSDs in `fish_greeter' 2020-10-14 18:31:02 +02:00
phundrak 5f5d991de1 [Bootstrap] Add missing packages in base install 2020-10-14 18:30:36 +02:00
phundrak 3e3d197d44 [Emacs] Remove common-lisp layer, add Swift layer
This commit removes the common-lisp layer, as I do not use it anymore.

However, due to college, I need to be able to edit Swift code, hence its
addition.
2020-10-09 18:11:03 +02:00
phundrak 80a3a944f3 [Emacs] Remove unused code
This commit removes code that had no effect.
2020-10-09 18:10:31 +02:00
phundrak fb0263a3b7 [Emacs] Move out function definition for `phundrak/find-org-files'
This commit promotes a lambda to an actual function and moves it to the
custom functions part.
2020-10-09 18:08:58 +02:00
phundrak ae0b14d962 [bin] Add pumopm to startup, new sshbind, deprecate polybar-launch
This commit adds PumoPM back to the autostart script. Its transition to a
systemd unit isn’t complete yet.

`sshbind' has been added as a shorthand for an `ssh' command.

Since I do not use polybar anymore, `polybar-launch' has been deprecated.
2020-10-09 18:06:52 +02:00
phundrak 51474c0054 [Awesome] Add keybinding for changing screen focus
continuous-integration/drone/push Build is passing
Modkey+o now changes screen focus

Changing a client from screen to screen is now mapped to
Modkey+Shift+o
2020-10-03 20:22:03 +02:00
phundrak 81ae88c905 [Bootstrap] Add Python LSP packages
continuous-integration/drone/push Build is passing
2020-10-01 18:27:22 +02:00
phundrak 712fb54c2f [Emacs] Forgot to rename my org file in my dotspacemacs
continuous-integration/drone/push Build is passing
2020-10-01 18:22:32 +02:00
phundrak d6fa32a202 [Bootstrap] Remove yapf package, add pyls-black python package
`pyls-black' is a new requirement for a proper LSP Python server, and
it is incompatible with `yapf', hence its removal.
2020-10-01 18:21:30 +02:00
phundrak 05c85ed9dd [Mimeapps] Zathura is now the default PDF viewer 2020-10-01 18:19:09 +02:00
phundrak b85e9fb922 [Emacs submodule] Update `conlanging' Spacemacs layer 2020-10-01 09:58:02 +02:00
phundrak ec4a9538e8 [Emacs] Change title format of frame 2020-10-01 09:55:57 +02:00
phundrak c66e4329bd [Bootstrap] Revamped bootstrap
continuous-integration/drone/push Build is passing
Rewrite some parts that were not true anymore about my configuration,
add some interactivity for some settings some users would not
necessarily want.

Some parts that are no longer needed are also removed, such as yay
installation (done with archfi), nano, and go packages.

Some list of packages were made into org tables, and the command is
rewritten in litterate programming from these tables.
2020-09-28 18:22:38 +02:00
phundrak 76abb602a2 [Sitemap] Reorganize sitemap 2020-09-28 18:22:38 +02:00
phundrak 3ae554c976 [Bin, autostart] Remove PumoPM from autostart
PumoPM will soon get a systemd service file, which means it will no
longer be necessary to manually launch it.
2020-09-28 18:22:38 +02:00
phundrak 7b2c7d8145 [Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
phundrak e13ea9224e [Encrypted files] update encrypted files 2020-09-28 15:22:28 +02:00
phundrak 6a41fe96dd [Emacs] Change default download directory for mu4e
continuous-integration/drone/push Build is passing
2020-09-23 16:28:00 +02:00
phundrak 48dcac5479 [Emacs] Added languagetool layer, added ligature support, new font
This commit adds the `languagetool' layer to my Emacs configuration.

Since Emacs 27.1, fonts ligatures are supported with Cairo. The
`unicode-fonts' adds support for such feature using `ligatures.el'.

Due to the modification above, I changed my default font to Cascadia
Code.
2020-09-23 16:24:57 +02:00
phundrak 9e20e165b0 [Mimeapps] Made nomacs default software for svg images 2020-09-23 16:24:10 +02:00
phundrak 414eabf1a6 [Emacs] Add shortcut for `helm-locate'
continuous-integration/drone/push Build is passing
2020-09-17 13:13:48 +02:00
phundrak d7c01752cc [Emacs] Change HTML metadata, fix mu4e filter
continuous-integration/drone/push Build is passing
The Mu4e filter for my university emails wasn’t working properly, so I
fixed it.
2020-09-17 12:30:30 +02:00
phundrak d5c5d2cc02 [Desktop files] Change optirun to prime-run, add OWM desktop file 2020-09-17 12:29:44 +02:00
phundrak 790d83aef1 [Mimeapps] Changed all Emacs entries with Emacsclient 2020-09-17 12:28:56 +02:00
phundrak c3eeb62e7f [Index] Bumped Emacs version
continuous-integration/drone/push Build is passing
2020-09-14 14:02:41 +02:00
phundrak ac7d1f7c31 [Emacs] Renamed spacemacs.org to emacs.org
continuous-integration/drone/push Build is passing
While the documentation of this commit gets deployed, redirects on my
server should be up
2020-09-13 18:15:21 +02:00
phundrak 77b133c4ca [St, Emacs] Change default transparency
continuous-integration/drone/push Build is passing
2020-09-13 18:08:04 +02:00
phundrak f0f07a6cc0 [Emacs] Unified my shortcuts for opening files
Since all my files that were opened with a `SPC o f' prefixed shortcut
all opened some org file located in precise directories, I unified
them all with a helm menu and only a couple of directories to specify
(I even added some).
2020-09-13 18:07:54 +02:00
phundrak 1a90975a88 [Firefox] updated theme submodule
continuous-integration/drone/push Build is passing
2020-09-12 12:24:40 +02:00
phundrak 9c9fae66d9 [Emacs] Updated configuration for C and C++ layer
continuous-integration/drone/push Build is passing
2020-09-12 00:48:35 +02:00
phundrak 71a292b0f4 [Other] Update encrypted files
continuous-integration/drone/push Build is passing
2020-09-12 00:47:03 +02:00
phundrak 1ef2ccc436 [Bootstrap] Removed now unnecessary line
continuous-integration/drone/push Build is passing
This commit removes a line that sets all files in `~/.local/bin' as
executables. It was aimed at scripts exported from `bin.org' but it is
no longer required since the executability of these tangled files is
enforced by the shebang header argument added in commit 8f35b85ef1
2020-09-12 00:42:47 +02:00
phundrak 62e4b6f52f [Bootstrap, Org files] Removed tangling of deprecated configurations
continuous-integration/drone/push Build is passing
This commit removes tangling of deprecated configurations in the
bootstrap script.

It also removes a dunst mention in the spacemacs.org file.
2020-09-12 00:38:11 +02:00
phundrak 7785198f64 [Emacs, mu4e] Change unread bookmark, add uni and emacs bookmark
The unread bookmark is changed to `bU', reserving the lowercase `u' for
the university emails bookmark.

This commit also adds a bookmark for my Emacs mailing list (the first
indicated list is now obsolete, but I keep it to still be able to see
old messages sent there).
2020-09-12 00:34:36 +02:00
phundrak 175948c3d9 [Emacs] Added minimal width for headers view in mu4e
continuous-integration/drone/push Build is passing
2020-09-05 19:07:46 +02:00
phundrak d509d8a825 [Polybar] Fixed issue with code generation 2020-09-05 19:07:18 +02:00
phundrak 820f23326f [Emacs] Issue fixed upstream
continuous-integration/drone/push Build is passing
2020-09-04 12:16:08 +02:00
phundrak eb8a3c6db8 [Emacs] Renamed Spacemacs configuration page to Emacs
continuous-integration/drone/push Build is passing
2020-09-04 12:11:21 +02:00
phundrak d50f38db49 [Emacs] Mu4e react to window width rather than frame width
Referring to the previous commit, it is actually better if the mu4e
headers view sets its own width _when a message is opened_ and not
when the headers view itself is opened. This commit also makes it so
that the width is evaluated based on the width of the window of the
headers view’s window rather than the width of the frame since the
message will be opened in a new window that will spawn in the headers
view's window.
2020-09-04 12:10:54 +02:00
phundrak 988596a904 [Emacs] Fix evaluation issue of `mu4e-headers-visible-columns' eval
continuous-integration/drone/push Build is passing
This commit fixes a bug introduced in 8c6e622a7c and 69dc8c7d7c where
the mu4e-headers view’s width was set to a dynamic, frame-dependant
value that could not be computed with Emacs launched as a headless
server.

This commit makes this value evaluate when the `mu4e-headers' mode is
activated, and hence it should get the correct width of the current
frame.
2020-09-04 11:24:46 +02:00
phundrak 3164af60cc [README] Add build badge
continuous-integration/drone/push Build is passing
2020-09-03 13:20:58 +02:00
phundrak 7b6744d464 [CI] Limit builds to master branch
continuous-integration/drone/push Build is passing
2020-09-03 13:19:06 +02:00
phundrak 1dd406fa78 test badge readme
continuous-integration/drone/push Build was killed
2020-09-03 13:18:14 +02:00
phundrak a1370089ab [CI] Remove some debug commands
continuous-integration/drone/push Build is passing
2020-09-03 13:10:29 +02:00
phundrak 0927a9911b [CI] Use lighter Emacs image, remove validation links in HTML
continuous-integration/drone/push Build is passing
The docker image used is now Emacs on Alpine, which should be lighter
than the previous one.

The validation link is also now disabled in HTML exports.
2020-09-03 12:52:27 +02:00
phundrak 24f5df77bb Merge branch 'test-ci' into master
continuous-integration/drone/push Build is passing
2020-09-03 12:42:40 +02:00
phundrak a81b314a9e [CI] Add CI script, add export script
Drone script calls new `export.el' script written in Emacs Lisp to
export all org files to HTML files.

HTML files should then be uploaded to a remote server with SCP
2020-09-03 12:41:07 +02:00
phundrak b50b403f41 [Org files] remove python code for tangling, updated shebang
This commit removes all python source blocks that were previously used
to generate code. Consequently, the commands for tangling my org files
in the bootstrap script were updated.

[Bootstrap] A shebang header has been added to the org file, removing
the necessity of the shebang code block and manually setting
permissions for the script each time it is tangled.
2020-09-03 12:21:47 +02:00
phundrak d34d4b0550 [Email Signature] updated email signature 2020-09-03 10:36:38 +02:00
phundrak f6dffb96c0 [Sitemap] Updated sitemap 2020-09-02 16:43:07 +02:00
phundrak 2187348425 [Fish] Change the order of the $PATH variable
Custom and local executables will now have the priority over system
executables.
For instance, an `ls' executable located in `$HOME/.local/bin/ls' will
have the priority over `/bin/ls'
2020-09-02 13:43:03 +02:00
phundrak 69dc8c7d7c [Emacs] Change font to DejaVu Sans Mono, better mu4e visual config
This commit changes the font of Emacs from Fantasque Sans Mono to
DejaVu Sans Mono. The latter has a better support for the
International Phonetic Alphabet (IPA) than the former. Font size is
also adjusted.

In the mu4e header view, the width of the header view when a message
is opened is now better handled since it will be calculated
accordingly to the frame and not the window. In Emacs, the frame is
actually what we commonly call a window, and a window is the area in
which buffers are displayed (damn this pre-GUI terminology in Emacs).
There is a bug with Emacs launched as a server though: since it is
launched as a headless service at first, the edited code cannot know
what the size of the frame will be, so the user will have to
re-evaluate this code snippet once the first frame is created, or when
the frame is resized and the user wishes to see this value updated.

A possible fix for this could be to hook this evaluation to when a
message is opened instead of when Emacs spins up.
2020-09-02 13:35:04 +02:00
phundrak 35556d9d3a [Emacs] Add s.el library
This commit adds the s.el string library for Emacs Lisp to the list of
installed packages
2020-09-02 13:34:18 +02:00
phundrak c290305a26 [Awesome, Bin.org] Change the way my programs autostart
Autostarting my programs are now done through a shell script, which
Awesome calls.
2020-09-02 13:28:14 +02:00
phundrak 84aba5216f [Emacs] Yasnippet snippets are now tangled from spacemacs.org
Since all my snippets are now contained in my spacemacs.org file, this
commit removes all my snippets files from this repository.
2020-09-02 13:26:50 +02:00
phundrak ff274510e5 [Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
phundrak 7388fccc27 [Emacs] Make GPG in Emacs more secure
GPG buffers will now be closed after a minute of idling
2020-08-30 18:45:59 +02:00
phundrak 1eb3833ad9 [Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
phundrak 8c6e622a7c [Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
phundrak 39fab94f8c [Org files] Removed org header 2020-08-29 00:53:07 +02:00
phundrak 5236b27839 [Index] Unmark neofetch config as WIP 2020-08-29 00:38:20 +02:00
phundrak c9d0de36e0 [README] Update links 2020-08-29 00:37:10 +02:00
phundrak 7d8fcb1de6 [Nano, Dunst] Remove config for Dunst, remove submodule for Nano
Dunst is no longer needed on my system, this commit removes its
configuration file.

Since I deprecated my Nano config, this commit removes its syntax
submodule.
2020-08-29 00:31:18 +02:00
phundrak 7177981ec5 [Neofetch] Remove manual config of neofetch, replace it with orgmode
My neofetch config will now be written in pure orgmode with
neofetch.org. The previous config.conf file for Neofetch is no longer
needed in this repo.
2020-08-29 00:27:24 +02:00
phundrak 18612dd257 [Web headers] Update link to CSS file for HTML exports
Since commit e710c594f1 in
https://labs.phundrak.com/phundrak/org-website-backend, the main CSS
file to load is `main.css' and not `style.css'. This commit fixes that
2020-08-29 00:25:12 +02:00
phundrak 727f07b2e5 [Index, Nano] Update index, deprecate Nano config
The index page now immediately lists all the pages that can be found
on my website.

This commit also deprecates my Nano config.
2020-08-28 16:37:12 +02:00
phundrak 5b4409725c [Emacs] Remove unused code, reorganize file, add configuration
Removed the head variable for `org-confirm-babel-evaluate' since I set
it to `nil' anyway.

Add `:mkdir yes' to all `:tangle' header arguments so no issues arise
when trying to tangle.

Added three new packages:
- helm-icons for integrating all-the-icons in Helm
- org-tree-slide for orgmode powered presentations
- wrap-region for wrapping selections with other chars than
  parenthesis

Renamed variables in my custom Elisp functions so they stand out more
as user-defined variables.

Renamed `shortcuts' to `keybindings'

Added keybindings for `org-tree-slide'

Updated dotspacemacs file
2020-08-28 16:15:46 +02:00
phundrak 329d419b41 [Xresources, St] Fix st alpha
This commit fixes a typo in St’s alpha channel declaration.
2020-08-28 15:45:33 +02:00
phundrak 8f35b85ef1 [Bin] Remove shebang from source, add it as header argument
This commit cleans up the source blocks of bin.org by removing the
shebangs from the actual source blocks. They are now passed as header
arguments, making the exported files automatically executable. This
removes the need for the two functions that were in the Introduction
header making tangled files executable or not.
2020-08-28 15:43:17 +02:00
phundrak 802384a98c [Fish] Fix tangling, add some abbreviations, reorganize them
This commit fixes some file tangling that was broken due to some
`:tangle' headers that were left empty.

The environment variable `$VISUAL' is added an is an equivalent of
`$EDITOR'

Abbreviations are reorganized in a more intuitive way.

The displayed uptime was broken, this commit fixes it.
2020-08-28 15:39:39 +02:00
phundrak 78aa7cb9fc [Emacs] Spacemacs suffixes for mode-bound shortcuts fixed
This commit fixes the wrong declaration of prefixes for specific modes
which I did not understand until now what their declaration should
actually have been.
2020-08-25 07:11:20 +02:00
phundrak d0a683ec23 [General] Changed default view when opening org configuration files
Org files will now open showing only the top-level headings. Tables
will be aligned, images will not be inlined, and code blocks will be
closed by default.
2020-08-25 06:23:05 +02:00
phundrak 342eba117c [Emacs] Update Emacs configuration
New variables were introduced to the template dotspacemacs file. This
commit adds them in my spacemacs.org configuration file.

The dotspacemacs file was modified. This commit updates it.
2020-08-25 06:16:28 +02:00
phundrak c3b1c4b249 [Org] Add header snippet 2020-08-25 06:00:19 +02:00
phundrak d3e504666f [Bootstrap] Remove and add some basic packages
This commit removes from the basic packages packages that I have no
use for in my current config. They are mainly related to my i3 config
which I recently deprecated. The following packages were removed:
- dmenu-lpass
- dunst
- i3-gaps-rounded-git
- j4-dmenu-desktop
- less (is installed as a dependency of other packages)
- polybar
- python-pywal

The following packages were added:
- inter-font
- nordic-theme-git
2020-08-24 14:45:58 +02:00
phundrak a715318736 [GTK] Update GTK2 and GTK3 config
GTK2 finally gets its gtkrc file, and both file now use the Nord theme
2020-08-24 14:44:35 +02:00
phundrak 2a19478995 [Emacs] Add new Rust snippets, common-lisp layer
This commit adds two new snippets for Rust, one for an easier way to
write a `println' macro than the default one, and another one for
writing more easily new `new' functions for Rust structs.

It also adds the `common-lisp' layer in Emacs so I can test StumpWM.
2020-08-24 14:41:09 +02:00
phundrak 7345a3deae Add some required packages, remove some unused 2020-08-22 17:00:44 +02:00
phundrak 166f2094df Better sed' command and fixed set-screens'
`set-screens' used to automatically restart i3. Since I do not use i3
and Awesome needs no restart after invoking this command, I removed
the call to `i3-msg'.
2020-08-22 16:52:32 +02:00
phundrak a6fa766771 Switched from Emacs native-comp brach to Emacs 27 2020-08-22 16:52:13 +02:00
phundrak a958ee8a60 Remove unused parts, updated my theme
== ALL FILES ==
The org TOCs were unused on export, and Spacemacs makes it useless.
This commits removes them. The startup header of org files is moved to
the header file.

== AWESOME ==
In the Awesome file, this commit removes everything about custom theme
creation as this part is not yet used. I also remade and reorganized
the windows titlebars.
Theme files for Awesome shall be added soon. The wallpaper functions
were updated accordingly.

In the autostart part, I updated some commands (picom will not launch
if another instance is already running, same for the XFCE polkit), and
I added PumoPM to the autolaunched software (power management). Due to
some issues, I also let Awesome one second before launching
`set-screens'.

== AWESOME AND CUSTOM SCRIPTS ==
This commit also removes any usage of pywal. My Awesome configuration
and my custom scripts were updated accordingly.

== CUSTOM SCRIPTS ==
In bin.org, the script `pape-restore' has been removed since it can
now be replaced with the command `nitrogen --restore'. `pape-update'
has also been updated so it doesn’t depend on `pape-restore' and gets
a random wallpaper for nitrogen to set without the help of pywal.

== XRESOURCES / ST AND PICOM ==
St’s transparency was tweaked to match my windows’ titlebar
transparency. It also got the Nord theme mentionned above. Some custom
Picom rule about St’s transparency has been removed.

== PICOM ==
I made it clearer in the index and on Picom’s page Picom is the new
Compton.

== FIREFOX ==
A new git submodule (blurredfox-nord) has been added, which adds some
transparency to Firefox as well as some Nord colors.

== I3 AND POLYBAR ==
My i3 and Polybar config have been deprecated since I do not use them
anymore.

== SPACEMACS ==
Changed shortcuts for config files
2020-08-22 16:46:33 +02:00
phundrak 8a4feff7bf Fixed launcher for Flowscape, I use optirun, not prime-run 2020-08-22 16:07:22 +02:00
phundrak 423f52d0d7 Changed default branch name for Git 2020-08-22 16:07:04 +02:00
phundrak 75410a7330 Updated conlanging layer 2020-08-22 16:05:06 +02:00
phundrak 180a7f9c54 Better presentation of Picom config 2020-08-15 18:20:39 +02:00
phundrak 42d32d31fe Add Emacs PKGBUILD with native-comp branch, update spacemacs conf
I will now try to use Emacs on the native-comp branch, after using it
for a bit it seems a lot faster than your usual Emacs.

Also update Emacs config, with some fixes provided and some overall
improvement.
2020-08-13 14:23:24 +02:00
phundrak 589b31632e Update git pull behavior 2020-07-26 10:21:54 +02:00
phundrak 21cbd9d368 Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
phundrak fc9cfd3a3c Remove unused code, overhaul of file opening shortcuts section
Remove adding myself as a Bcc to emails, I don’t need that with mu4e

Shortcuts for opening files are now generated from org tables.
2020-07-23 13:53:24 +02:00
phundrak 0f7c20e8c9 Added custom Projectile config, revised elisp and Org Capture
Added some blacklisted directories to Projectile

Wrote a function to make my code clearer with `add-to-list'

Updated Org Capture shortcuts, in particular the text displayed in the
user interface while entering the shortcuts.
2020-07-20 16:02:27 +02:00
phundrak 540b47dc3c Changed Xorg config of keyboard
Several layouts changed with the Menu key was too much of a pain in
the back, so the only default layout now is the bépo layout
2020-07-17 16:56:41 +02:00
phundrak 0678d9fd43 Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
phundrak c691847ce6 Updated org-capture organization 2020-07-17 15:26:48 +02:00
phundrak 44b747cbf8 Fixed HTML export 2020-07-17 15:26:08 +02:00
phundrak b01bd780be updated mimeapps 2020-07-17 11:15:36 +02:00
phundrak 15052ea5c1 Better Emacs shortcuts for opening files 2020-07-16 15:05:02 +02:00
phundrak f5ee3b5c03 Reorganized and renamed some elements in org capture settings 2020-07-16 14:29:58 +02:00
phundrak f1b242faca Remove comments from tangled files in Emacs config 2020-07-16 14:26:04 +02:00
phundrak 6bd0452e06 Use setupfile instead of include in org files 2020-07-16 14:25:18 +02:00
phundrak 8fa6dc2ccc removed unused fontawesome link, better keywords 2020-07-16 14:24:40 +02:00
phundrak 8b5df0d40b Overhaul of the org capture section, way more readable 2020-07-16 13:20:54 +02:00
phundrak 1b06e3dbd2 Added Matomo tracking code 2020-07-16 13:20:06 +02:00
phundrak c43cc10f06 Added automatic screens config 2020-07-16 13:19:36 +02:00
phundrak db79ad2080 MPD now auto-updates on songs added in the ~/Music dir 2020-07-11 18:32:09 +02:00
phundrak bd5922e7d7 Removed unused shortcuts 2020-07-11 18:31:52 +02:00
phundrak e04333b237 Bumped Wonderdraft’s version 2020-07-11 18:22:01 +02:00
phundrak b851b6144c Added git alias cl1 2020-07-11 18:21:35 +02:00
phundrak b7d437507d Updated Emacs packages, removed unused line 2020-07-11 18:21:15 +02:00
phundrak 9fa6082dab Updated Awesome shortcuts 2020-07-11 18:20:56 +02:00
phundrak c803be2505 Updated keyboard configuration, removed related Awesome autostart 2020-07-11 18:20:44 +02:00
phundrak d3d7f118e1 Updated windows organization, added autostart command 2020-07-11 18:16:51 +02:00
phundrak d1ce2653e9 Fixed awiki script 2020-07-11 18:15:46 +02:00
phundrak 75de6a568b Updated st transparency 2020-07-11 18:15:24 +02:00
phundrak 38ccd3362d Better uptime format, added variable for Dart development 2020-07-11 18:14:49 +02:00
phundrak 1c7173764d Removed ccls package from bootstrap script 2020-07-11 18:12:08 +02:00
phundrak 0f9975a7bf Better regex for generating custom org IDs 2020-07-11 18:06:35 +02:00
phundrak 2885e1da34 Remove package, update layers, remove custom mu, Rust update
The `meson-mode` package is removed from my custom package list with
the addition of the `meson` layer in Spacemacs.

The `org` layer’s support for Trello is also removed from my
configuration while the support for Hugo is added.

The `c-c++` layer now uses `clangd` as its LSP backend instead of ccls

The `haskell` layer is removed from my configuration

Since it is now broken, instructions for installing a custom `mu`
package on Arch Linux that still enables it has been removed. I will
now use the default `mu` package from the AUR.

The Rust configuration has been updated with some additional
instructions on the reason why some elements are set, and how to
install these. The Rust LSP backend will now use the command `cargo
clippy` instead of `cargo check` to catch errors and warnings.
2020-07-11 18:00:09 +02:00
phundrak 3e033d7529 updated mimeapps 2020-07-01 14:58:37 +02:00
phundrak 034090ffb1 Sorted scripts alphabetically 2020-06-14 20:58:07 +02:00
phundrak c19d4b0d96 Removed unused Lua function in Awesome config 2020-06-14 20:57:47 +02:00
phundrak fa3faba5a2 Better wallpaper handling in Awesome with new tools from bin.org 2020-06-14 20:53:27 +02:00
phundrak 6843dfbdbc This breaks my code tangling 2020-06-14 20:51:56 +02:00
phundrak ab489600c1 Fixed links broken with previous commit 2020-06-07 19:07:02 +02:00
158 changed files with 5194 additions and 23623 deletions
+2
View File
@@ -0,0 +1,2 @@
--theme="Nord"
--map-syntax='.spacemacs*:Lisp'
-415
View File
@@ -1,415 +0,0 @@
# -*- mode: conf-windows -*-
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = keyboard
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "300x50-10+42"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = no
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 50
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 75
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120
### Text ###
font = Source Code Pro for Powerline 10
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b><i>%a</i></b>\n<i>%s</i>\n\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /home/phundrak/.icons/Flat-Remix/:/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/rofi -dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = true
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 10
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines action of mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default,
# invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
mouse_left_click = do_current
mouse_middle_click = close_all
mouse_right_click = close_current
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1". Make sure this key actually exists on your keyboard layout,
# e.g. check output of 'xmodmap -pke'
history = ctrl+percent
# Context menu.
context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# timeout
# urgency
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg
+56
View File
@@ -0,0 +1,56 @@
alias s systemctl $*
alias nmcli nmcli -p -c auto $*
alias chgrp chgrp --preserve-root $*
alias chmod chmod --preserve-root $*
alias chown chown --preserve-root $*
alias df df -H $*
alias du du -ch $*
alias grep grep --color=auto $*
alias lsl exa -halg@ --group-directories-first --git $*
alias lns ln -si $*
alias mkdir mkdir -p $*
alias rm rm -I $*
alias rmd rm --preserve-root -Ir $*
alias rmdf rm --preserve-root -Irf $*
alias rmf rm --preserve-root -If $*
alias cdebug cmake -DCMAKE_BUILD_TYPE=Debug $*
alias crelease cmake -DCMAKE_BUILD_TYPE=Release $*
alias g++ g++ -Wall -std=c++17 $*
alias gcc gcc -Wall -std=c11 $*
alias clang++ clang++ -Wall -std=c++17 $*
alias clang clang -Wall -std=c11 $*
alias dcd docker-compose down
alias dcu docker-compose up
alias dcud docker-compose up -d
alias dcp docker-compose pull
alias flac youtube-dl -x --audio-format flac --audio-quality 0 $*
alias mp3 youtube-dl -x --audio-format flac --audio-quality 0 $*
alias wget wget -c $*
alias rsync rsync -ruvtEhl --progress $*
alias remove sudo pacman -Rsc $*
alias gpumeminfo grep -i --color memory /var/log/Xorg.0.log
alias diskspace sudo df -h | grep -E "sd|lv|Size" | sort
alias meminfo free -m -l -t
alias cpuinfo lscpu
alias pscpu ps auxf | sort -nr -k 3
alias pscpu10 ps auxf | sort -nr -k 3 | head -10
alias psmem ps auxf | sort -nr -k 4
alias psmem10 ps auxf | sort -nr -k 4 | head -10
alias q exit
alias exti exit
alias exi exit
alias clean clear
alias less view-file $1
alias bat view-file $1
-24
View File
@@ -1,24 +0,0 @@
alias S sudo systemctl $*
alias cdebug cmake -DCMAKE_BUILD_TYPE=Debug $*
alias chgrp chgrp --preserve-root $*
alias chmod chmod --preserve-root $*
alias chown chown --preserve-root $*
alias clang clang -Wall $*
alias clang++ clang++ -Wall $*
alias crelease cmake -DCMAKE_BUILD_TYPE=Release $*
alias du du -ch
alias flac youtube-dl -x --audio-format flac --audio-quality 0
alias g++ g++ -Wall -std=c++17 $*
alias gcc gcc -Wall -std=c11 $*
alias grep grep --color=auto $*
alias lns ln -si $*
alias mp3 youtube-dl -x --audio-format flac --audio-quality 0 $*
alias nmcli nmcli -p -c auto $*
alias rm rm -I $*
alias rmd rm --preserve-root -Ir $*
alias rmdf rm --preserve-root -Irf $*
alias rmf rm --preserve-root -If $*
alias search pacman -Ss $*
alias untar tar -xvzf $*
alias update sudo pacman -Syu
alias wget wget -c $*
@@ -1,5 +0,0 @@
# -*- mode: snippet -*-
# name: ATTR HTML
# key: <ah
# --
#+ATTR_HTML: $0
@@ -1,5 +0,0 @@
# -*- mode: snippet -*-
# name: ATTR LATEX
# key: <al
# --
#+ATTR_LATEX: $0
@@ -1,5 +0,0 @@
# -*- mode: snippet -*-
# name: caption
# key: <ca
# --
#+CAPTION: $0
@@ -1,7 +0,0 @@
# -*- mode: snippet -*-
# name: comment block
# key: <co
# --
#+BEGIN_COMMENT
$0
#+END_COMMENT
@@ -1,7 +0,0 @@
# -*- mode: snippet -*-
# name: emacs-lisp block
# key: <el
# --
#+BEGIN_SRC emacs-lisp
$0
#+END_SRC
@@ -1,5 +0,0 @@
# -*- mode: snippet -*-
# name: name
# key: <na
# --
#+NAME: $0
@@ -1,6 +0,0 @@
# -*- mode: snippet -*-
# name: nyqy
# key: <ny
# --
\{\{\{nyqy($1)\}\}\}$0
@@ -1,5 +0,0 @@
# -*- mode: snippet -*-
# name: phon
# key: <ph
# --
\{\{\{phon($1)\}\}\}$0
@@ -1,8 +0,0 @@
# -*- mode: snippet -*-
# name: python block
# key: <py
# --
#+NAME: $1
#+BEGIN_SRC python
$0
#+END_SRC
@@ -1,7 +0,0 @@
# -*- mode: snippet -*-
# name: source block
# key: <s
# --
#+BEGIN_SRC $0
#+END_SRC
-31
View File
@@ -1,31 +0,0 @@
function cnew -d "Create new C11 project"
if count $argv > /dev/null
set projname ""
for item in $argv
switch "$item"
case -h --help
man ~/dev/fishfunctions/cnew.man
return 0
case '*'
set projname $item
end
end
if [ "$projname" = "" ]
echo "Missing argument: PROJECT"
return -1
end
cp -r ~/dotfiles/dev/templateC $argv[1]
cd $argv[1]
sed -i "s/PROJECTNAME/$argv[1]/g" CMakeLists.txt
sed -i "s/PROJECTNAME/$argv[1]/g" README.org
sed -i "s/CPROJECTNAME/$argv[1]/g" doc/Doxyfile
git init
git add .
git commit -m "initial commit"
cd ..
else
echo "Missing argument: PROJECT"
return -1
end
end
complete -c cppnew -s h -l help -d 'Print Help'
-49
View File
@@ -1,49 +0,0 @@
function cppnew -d "Create new C++17 project" --argument-names 'projectname'
if count $argv > /dev/null
set conanproj "false"
set projname ""
set conanprojname ""
for item in $argv
switch "$item"
case -c --conan
set conanproj "true"
set conanprojname $value
case -h --help
man ~/dev/fishfunctions/cppnew.man
return 0
case '*'
set projname $item
end
end
if [ "$projname" = "" ]
if [ "$conanprojname" = "" ]
echo "Missing argument: PROJECT"
return -1
end
end
if [ "$projname" = "" ]
set projname $conanprojname
end
if [ "$conanproj" = "true" ]
cp -r ~/dotfiles/dev/conan-project $projname
else
cp -r ~/dotfiles/dev/templateC++ $projname
end
cd $projname
sed -i "s/PROJECTNAME/$projname/g" README.org
sed -i "s/PROJECTNAME/$projname/g" CMakeLists.txt
if [ "$conanproj" = "true" ]
sed -i "s/PROJECTNAME/$projname/g" conanfile.py
end
sed -i "s/CPPPROJECTNAME/$projname/g" doc/Doxyfile
git init
git add .
git commit -m "initial commit"
cd ..
else
echo "Missing argument: PROJECT"
return -1
end
end
complete -c cppnew -s c -l conan -d 'Conan Project'
complete -c cppnew -s h -l help -d 'Print Help'
-4
View File
@@ -1,4 +0,0 @@
function mkcd -d "Create directory and cd to it"
mkdir -p $argv[1]
cd $argv[1]
end
-22
View File
@@ -1,22 +0,0 @@
function rainymood
set volume 50
getopts $argv | while read -l key option
switch $key
case v
set volume $option
case volume
set volume $option
end
end
if [ "$volume" != "" ]
set FILE (math (random) % 4)
set URL "https://rainymood.com/audio1112/$FILE.ogg"
mpv $URL --force-window=no --volume=$volume; and rainymood
else
echo "Missing value after -v/--volume option."
echo "Usage example:"
printf "\trainymood -v50\n\trainymood --volume 50\n"
return 1
end
end
complete -c rainymood -s v -l volume -d 'Volume of the rain (0-100)'
+94 -52
View File
@@ -1,90 +1,132 @@
# -*- indent-tabs-mode: t; -*-
[user] [user]
email = lucien@phundrak.com email = lucien@phundrak.com
name = Lucien Cartier-Tilet name = Lucien Cartier-Tilet
signingkey = BD7789E705CB8DCA signingkey = BD7789E705CB8DCA
[core] [core]
# editor = vim editor = emacsclient -c -a emacs
whitespace = fix,-indent-with-non-tab,trailing-space whitespace = fix,-indent-with-non-tab,trailing-space
excludesfile = /home/phundrak/dotfiles/.gitignore_global excludesfile = /home/phundrak/.gitignore_global
autocrlf = false
[web] [pull]
browser = firefox rebase = true
[init]
defaultBranch = main
[color] [color]
ui = auto ui = auto
[web]
browser = firefox
[alias] [alias]
a = add --all a = add --all
#### aca = !git add --all && git commit --amend
acan = !git add --all && git commit --amend --no-edit
b = branch b = branch
#### bd = branch -d
bdd = branch -D
c = commit -S c = commit -S
ca = commit -a ca = commit -Sa
cm = commit -m can = commit -Sa --no-edit
cam = commit -am cm = commit -Sm
#### cam = commit -Sam
co = checkout co = checkout
cob = checkout -b cob = checkout -b
#### cod = checkout develop
cl = clone cl = clone
#### cl1 = clone --depth 1
d = diff -w f = fetch
#### fp = fetch --prune
l = log --oneline --graph --decorate
####
ps = push ps = push
psf = push -f psf = push --force-with-lease
pso = push origin pso = push origin
psfo = push -f origin psfo = push --force-with-lease origin
psom = push origin master pushall = !git remote | xargs -L1 git push
psfom = push -f origin master psl = !git remote | xargs -L1 git push
#### pullall = !git remote | xargs -L1 git pull
pll = !git remote | xargs -L1 git pull
pl = pull pl = pull
pb = pull --rebase pb = pull --rebase
#### r = rebase
re = reset ra = rebase --abort
reh = reset --hard rc = rebase --continue
rehh = reset --hard HEAD rd = rebase develop
#### ri = rebase -i
r = remote
ra = remote add
rr = remote rm
###
rmf = rm -f rmf = rm -f
rmrf = rm -r -f rmd = rm -r
#### rmdf = rm -rf
s = status
sm = submodule sm = submodule
sms = submodule status sms = submodule status
sma = submodule add sma = submodule add
smu = submodule update smu = submodule update
smui = submodule update --init smui = submodule update --init
smuir = submodule update --init --recursive smuir = submodule update --init --recursive
#### st = stash
staged = diff --cached stc = stash clear
#### stp = stash pop
sc = stash clear stw = stash show
sp = stash pop
sw = stash show
####
pushall = !git remote | xargs -L1 git push
psl = !git remote | xargs -L1 git push
pullall = !git remote | xargs -L1 git pull
pll = !git remote | xargs -L1 git pull
####
u = reset -- u = reset --
unstage = reset -- unstage = reset --
d = diff -w
l = log --oneline --graph --decorate
s = status
staged = diff --cached
upstream = !git push -u origin HEAD
[sendemail]
smtpserver = mail.phundrak.com
smtpuser = lucien@phundrak.com
smtpencryption = tls
smtpserverport = 587
[credentials "smtp://lucien@phundrak.com@mail.phundrak.com:587"]
helper = "secret-tool lookup password email_lucien-phundrak-com"
[magithub] [magithub]
online = true online = true
[magithub "status"] [magithub "status"]
includeStatusHeader = true includeStatusHeader = true
includePullRequestsSection = true includePullRequestsSection = true
includeIssuesSection = true includeIssuesSection = true
[gpg] [gpg]
program = gpg2 program = gpg2
[mergetool.ediff]
cmd = emacs --eval \" (progn (defun ediff-write-merge-buffer () (let ((file ediff-merge-store-file)) (set-buffer ediff-buffer-C) (write-region (point-min) (point-max) file) (message \\\"Merge buffer saved in: %s\\\" file) (set-buffer-modified-p nil) (sit-for 1))) (setq ediff-quit-hook 'kill-emacs ediff-quit-merge-hook 'ediff-write-merge-buffer) (ediff-merge-files-with-ancestor \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$BASE\\\" nil \\\"$MERGED\\\"))\"
[merge]
tool = ediff
[github]
user = phundrak
[commit] [commit]
gpgsign = true gpgsign = true
[merge]
tool = ediff
[mergetool.ediff]
cmd = emacs --eval \" (progn (defun ediff-write-merge-buffer () (let ((file ediff-merge-store-file)) (set-buffer ediff-buffer-C) (write-region (point-min) (point-max) file) (message \\\"Merge buffer saved in: %s\\\" file) (set-buffer-modified-p nil) (sit-for 1))) (setq ediff-quit-hook 'kill-emacs ediff-quit-merge-hook 'ediff-write-merge-buffer) (ediff-merge-files-with-ancestor \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$BASE\\\" nil \\\"$MERGED\\\"))\"
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only
[github]
user = phundrak
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
+50
View File
@@ -0,0 +1,50 @@
# vim:ft=kitty
## name: Nord
## author: Connor Holyday
## license: MIT
## upstream: https://raw.githubusercontent.com/connorholyday/nord-kitty/master/nord.conf
## blurb: An arctic, north-bluish clean and elegant Kitty theme.
# Nord Colorscheme for Kitty
# Based on:
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
# - https://github.com/arcticicestudio/nord-hyper
foreground #D8DEE9
background #2E3440
selection_foreground #000000
selection_background #FFFACD
url_color #0087BD
cursor #81A1C1
# black
color0 #3B4252
color8 #4C566A
# red
color1 #BF616A
color9 #BF616A
# green
color2 #A3BE8C
color10 #A3BE8C
# yellow
color3 #EBCB8B
color11 #EBCB8B
# blue
color4 #81A1C1
color12 #81A1C1
# magenta
color5 #B48EAD
color13 #B48EAD
# cyan
color6 #88C0D0
color14 #8FBCBB
# white
color7 #E5E9F0
color15 #ECEFF4
File diff suppressed because it is too large Load Diff
+50 -46
View File
@@ -1,8 +1,7 @@
[Added Associations] [Added Associations]
application/epub+zip=com.github.babluboy.bookworm.desktop;firefox.desktop; application/epub+zip=emacsclient.desktop;firefox.desktop;
application/octet-stream=emacs.desktop;Wonderdraft.desktop; application/octet-stream=emacsclient.desktop;
application/pdf=xreader.desktop; application/pdf=org.pwmt.zathura.desktop;xreader.desktop;
application/vnd.kde.kxmlguirc=emacs.desktop;
application/vnd.rar=org.gnome.FileRoller.desktop; application/vnd.rar=org.gnome.FileRoller.desktop;
application/x-7z-compressed=org.gnome.FileRoller.desktop; application/x-7z-compressed=org.gnome.FileRoller.desktop;
application/x-alpm-package=org.gnome.FileRoller.desktop; application/x-alpm-package=org.gnome.FileRoller.desktop;
@@ -12,36 +11,34 @@ application/x-cd-image=org.gnome.FileRoller.desktop;
application/x-compressed-tar=org.gnome.FileRoller.desktop; application/x-compressed-tar=org.gnome.FileRoller.desktop;
application/x-java-archive=javaws.desktop;org.gnome.FileRoller.desktop; application/x-java-archive=javaws.desktop;org.gnome.FileRoller.desktop;
application/x-java-jnlp-file=javaws.desktop; application/x-java-jnlp-file=javaws.desktop;
application/x-mobi8-ebook=com.github.babluboy.bookworm.desktop; application/x-shellscript=emacsclient.desktop;
application/x-mobipocket-ebook=com.github.babluboy.bookworm.desktop; application/x-wine-extension-ini=emacsclient.desktop;
application/x-shellscript=emacs.desktop;
application/x-wine-extension-ini=emacs.desktop;
application/x-xz-compressed-tar=org.gnome.FileRoller.desktop; application/x-xz-compressed-tar=org.gnome.FileRoller.desktop;
application/xhtml+xml=firefox.desktop; application/xhtml+xml=firefox.desktop;
application/zip=org.gnome.FileRoller.desktop; application/zip=org.gnome.FileRoller.desktop;
audio/mpeg=mpv.desktop; audio/mpeg=mpv.desktop;
audio/x-mod=mpv.desktop; audio/x-mod=mpv.desktop;
audio/x-wav=mpv.desktop; audio/x-wav=mpv.desktop;
image/bmp=sxiv.desktop;nomacs.desktop; image/bmp=nsxiv.desktop;nomacs.desktop;
image/gif=sxiv.desktop;nomacs.desktop; image/gif=nsxiv.desktop;nomacs.desktop;
image/jpeg=sxiv.desktop;nomacs.desktop; image/jpeg=nsxiv.desktop;nomacs.desktop;com.github.weclaw1.ImageRoll.desktop;
image/png=sxiv.desktop;nomacs.desktop; image/png=nsxiv.desktop;nomacs.desktop;com.github.weclaw1.ImageRoll.desktop;
image/svg+xml=inkscape.desktop;nomacs.desktop; image/svg+xml=nsxiv.desktop;emacsclient.desktop;nomacs.desktop;org.nomacs.ImageLounge.desktop;org.inkscape.Inkscape.desktop;
image/vnd.djvu+multipage=com.github.babluboy.bookworm.desktop; image/vnd.djvu+multipage=org.pwmt.zathura.desktop;
image/webp=sxiv.desktop;nomacs.desktop; image/webp=nsxiv.desktop;nomacs.desktop;
image/x-canon-cr2=nomacs.desktop; image/x-canon-cr2=nomacs.desktop;
inode/directory=nemo.desktop; inode/directory=nemo.desktop;
text/csv=emacs.desktop; text/csv=libreoffice-calc.desktop;emacsclient.desktop;
text/html=emacs.desktop;firefox.desktop; text/html=emacsclient.desktop;firefox.desktop;
text/markdown=emacs.desktop; text/markdown=emacsclient.desktop;
text/mml=firefox.desktop; text/mml=firefox.desktop;
text/plain=emacs.desktop;sent.desktop; text/plain=emacsclient.desktop;sent.desktop;
text/troff=emacs.desktop; text/troff=emacsclient.desktop;
text/vtt=emacs.desktop; text/vtt=emacsclient.desktop;
text/x-csrc=emacs.desktop; text/x-csrc=emacsclient.desktop;
text/x-java=emacs.desktop; text/x-java=emacsclient.desktop;
text/x-matlab=emacs.desktop; text/x-matlab=emacsclient.desktop;
text/x-python=emacs.desktop; text/x-python=emacsclient.desktop;
text/xml=firefox.desktop; text/xml=firefox.desktop;
video/3gpp=mpv.desktop; video/3gpp=mpv.desktop;
video/mp4=mpv.desktop; video/mp4=mpv.desktop;
@@ -52,34 +49,33 @@ video/x-ms-wmv=mpv.desktop;
video/x-msvideo=mpv.desktop; video/x-msvideo=mpv.desktop;
x-scheme-handler/https=firefox.desktop; x-scheme-handler/https=firefox.desktop;
x-scheme-handler/mailto=mu4e.desktop x-scheme-handler/mailto=mu4e.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
audio/x-ms-wma=mpv.desktop;
application/x-mobipocket-ebook=FBReader.desktop;
application/json=emacsclient.desktop;
[Default Applications] [Default Applications]
application/epub+zip=com.github.babluboy.bookworm.desktop application/epub+zip=emacsclient.desktop
application/lrf=com.github.babluboy.bookworm.desktop application/octet-stream=emacsclient.desktop
application/octet-stream=emacs.desktop application/pdf=org.pwmt.zathura.desktop
application/pdf=xreader.desktop application/x-wine-extension-ini=emacsclient.desktop
application/ppdf=FoxitReader.desktop
application/x-cd-image=org.gnome.FileRoller.desktop
application/x-mobipocket-ebook=com.github.babluboy.bookworm.desktop
application/x-wine-extension-ini=emacs.desktop
application/xhtml+xml=firefox.desktop application/xhtml+xml=firefox.desktop
application/xml=emacs.desktop application/xml=emacsclient.desktop
audio/mpeg=mpv.desktop audio/mpeg=mpv.desktop
audio/x-mod=mpv.desktop audio/x-mod=mpv.desktop
audio/x-wav=mpv.desktop audio/x-wav=mpv.desktop
image/bmp=sxiv.desktop image/bmp=com.github.weclaw1.ImageRoll.desktop
image/gif=sxiv.desktop image/gif=com.github.weclaw1.ImageRoll.desktop
image/jpeg=sxiv.desktop image/jpeg=com.github.weclaw1.ImageRoll.desktop
image/png=sxiv.desktop image/png=com.github.weclaw1.ImageRoll.desktop
image/png=sxiv.desktop image/svg+xml=com.github.weclaw1.ImageRoll.desktop
image/svg+xml=nomacs.desktop image/vnd.djvu+multipage=org.pwmt.zathura.desktop
image/vnd.djvu+multipage=com.github.babluboy.bookworm.desktop image/webp=com.github.weclaw1.ImageRoll.desktop
image/webp=sxiv.desktop image/x-canon-cr2=com.github.weclaw1.ImageRoll.desktop
image/x-canon-cr2=sxiv.desktop
inode/directory=nemo.desktop inode/directory=nemo.desktop
text/csv=emacs.desktop text/csv=emacsclient.desktop
text/html=firefox.desktop text/html=firefox.desktop
text/markdown=emacs.desktop text/markdown=emacsclient.desktop
text/mml=firefox.desktop text/mml=firefox.desktop
text/plain=sent.desktop text/plain=sent.desktop
text/xml=firefox.desktop text/xml=firefox.desktop
@@ -89,7 +85,6 @@ video/webm=mpv.desktop
video/x-matroska=mpv.desktop video/x-matroska=mpv.desktop
video/x-msvideo=mpv.desktop video/x-msvideo=mpv.desktop
x-scheme-handler/about=firefox.desktop x-scheme-handler/about=firefox.desktop
x-scheme-handler/discord-472164236332630018=discord-472164236332630018.desktop
x-scheme-handler/discord-474605546457137157=discord-474605546457137157.desktop x-scheme-handler/discord-474605546457137157=discord-474605546457137157.desktop
x-scheme-handler/http=firefox.desktop x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop x-scheme-handler/https=firefox.desktop
@@ -97,3 +92,12 @@ x-scheme-handler/lbry=lbry.desktop
x-scheme-handler/magnet=qBittorrent.desktop x-scheme-handler/magnet=qBittorrent.desktop
x-scheme-handler/mailto=mu4e.desktop x-scheme-handler/mailto=mu4e.desktop
x-scheme-handler/unknown=firefox.desktop x-scheme-handler/unknown=firefox.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
x-scheme-handler/discord-693493612754763907=discord-693493612754763907.desktop
audio/x-ms-wma=mpv.desktop
x-scheme-handler/flashpoint=flashpoint-launcher.desktop
x-scheme-handler/msteams=teams.desktop
application/x-mobipocket-ebook=FBReader.desktop
application/json=emacsclient.desktop
modrinth=modrinth-app-handler.desktop
x-scheme-handler/heroic=heroic.desktop
-25
View File
@@ -1,25 +0,0 @@
# Requested files
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
#Optional files
music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
bind_to_address "localhost"
max_output_buffer_size "16304"
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
audio_output {
type "pulse"
name "pulse audio"
}
+2
View File
@@ -180,3 +180,5 @@ m cycle mute
# ? stop # stop playback (quit or enter idle mode) # ? stop # stop playback (quit or enter idle mode)
I vf toggle format=yuv420p,vapoursynth=~~/motioninterpolation.vpy:4:4 I vf toggle format=yuv420p,vapoursynth=~~/motioninterpolation.vpy:4:4
M vf toggle hflip M vf toggle hflip
Ctrl+r cycle_values video-rotate "90" "180" "270" "0"
-543
View File
@@ -1,543 +0,0 @@
##############################################################
## This is the example bindings file. Copy it to ##
## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ##
## and set up your preferences ##
##############################################################
##
##### General rules #####
##
## 1) Because each action has runtime checks whether it's
## ok to run it, a few actions can be bound to one key.
## Actions will be bound in order given in configuration
## file. When a key is pressed, first action in order
## will test itself whether it's possible to run it. If
## test succeeds, action is executed and other actions
## bound to this key are ignored. If it doesn't, next
## action in order tests itself etc.
##
## 2) It's possible to bind more that one action at once
## to a key. It can be done using the following syntax:
##
## def_key "key"
## action1
## action2
## ...
##
## This creates a chain of actions. When such chain is
## executed, each action in chain is run until the end of
## chain is reached or one of its actions fails to execute
## due to its requirements not being met. If multiple actions
## and/or chains are bound to the same key, they will be
## consecutively run until one of them gets fully executed.
##
## 3) When ncmpcpp starts, bindings configuration file is
## parsed and then ncmpcpp provides "missing pieces"
## of default keybindings. If you want to disable some
## bindings, there is a special action called 'dummy'
## for that purpose. Eg. if you want to disable ability
## to crop playlists, you need to put the following
## into configuration file:
##
## def_key "C"
## dummy
##
## After that ncmpcpp will not bind any default action
## to this key.
##
## 4) To let you write simple macros, the following special
## actions are provided:
##
## - push_character "character" - pushes given special
## character into input queue, so it will be immediately
## picked by ncmpcpp upon next call to readKey function.
## Accepted values: mouse, up, down, page_up, page_down,
## home, end, space, enter, insert, delete, left, right,
## tab, ctrl-a, ctrl-b, ..., ctrl-z, ctrl-[, ctrl-\\,
## ctrl-], ctrl-^, ctrl-_, f1, f2, ..., f12, backspace.
## In addition, most of these names can be prefixed with
## alt-/ctrl-/shift- to be recognized with the appropriate
## modifier key(s).
##
## - push_characters "string" - pushes given string into
## input queue.
##
## - require_runnable "action" - checks whether given action
## is runnable and fails if it isn't. This is especially
## useful when mixed with previous two functions. Consider
## the following macro definition:
##
## def_key "key"
## push_characters "custom_filter"
## apply_filter
##
## If apply_filter can't be currently run, we end up with
## sequence of characters in input queue which will be
## treated just as we typed them. This may lead to unexpected
## results (in this case 'c' will most likely clear current
## playlist, 'u' will trigger database update, 's' will stop
## playback etc.). To prevent such thing from happening, we
## need to change above definition to this one:
##
## def_key "key"
## require_runnable "apply_filter"
## push_characters "custom_filter"
## apply_filter
##
## Here, first we test whether apply_filter can be actually run
## before we stuff characters into input queue, so if condition
## is not met, whole chain is aborted and we're fine.
##
## - require_screen "screen" - checks whether given screen is
## currently active. accepted values: browser, clock, help,
## media_library, outputs, playlist, playlist_editor,
## search_engine, tag_editor, visualizer, last_fm, lyrics,
## selected_items_adder, server_info, song_info,
## sort_playlist_dialog, tiny_tag_editor.
##
## - run_external_command "command" - runs given command using
## system() function.
##
## 5) In addition to binding to a key, you can also bind actions
## or chains of actions to a command. If it comes to commands,
## syntax is very similar to defining keys. Here goes example
## definition of a command:
##
## def_command "quit" [deferred]
## stop
## quit
##
## If you execute the above command (which can be done by
## invoking action execute_command, typing 'quit' and pressing
## enter), ncmpcpp will stop the player and then quit. Note the
## presence of word 'deferred' enclosed in square brackets. It
## tells ncmpcpp to wait for confirmation (ie. pressing enter)
## after you typed quit. Instead of 'deferred', 'immediate'
## could be used. Then ncmpcpp will not wait for confirmation
## (enter) and will execute the command the moment it sees it.
##
## Note: while command chains are executed, internal environment
## update (which includes current window refresh and mpd status
## update) is not performed for performance reasons. However, it
## may be desirable to do so in some situration. Therefore it's
## possible to invoke by hand by performing 'update enviroment'
## action.
##
## Note: There is a difference between:
##
## def_key "key"
## action1
##
## def_key "key"
## action2
##
## and
##
## def_key "key"
## action1
## action2
##
## First one binds two single actions to the same key whilst
## second one defines a chain of actions. The behavior of
## these two is different and is described in (1) and (2).
##
## Note: Function def_key accepts non-ascii characters.
##
##### List of unbound actions #####
##
## The following actions are not bound to any key/command:
##
## - set_volume
##
#
#def_key "mouse"
# mouse_event
#
#def_key "up"
# scroll_up
#
#def_key "shift-up"
# select_item
# scroll_up
#
#def_key "down"
# scroll_down
#
#def_key "shift-down"
# select_item
# scroll_down
#
#def_key "["
# scroll_up_album
#
#def_key "]"
# scroll_down_album
#
#def_key "{"
# scroll_up_artist
#
#def_key "}"
# scroll_down_artist
#
#def_key "page_up"
# page_up
#
#def_key "page_down"
# page_down
#
#def_key "home"
# move_home
#
#def_key "end"
# move_end
#
#def_key "insert"
# select_item
#
#def_key "enter"
# enter_directory
#
#def_key "enter"
# toggle_output
#
#def_key "enter"
# run_action
#
#def_key "enter"
# play_item
#
#def_key "space"
# add_item_to_playlist
#
#def_key "space"
# toggle_lyrics_update_on_song_change
#
#def_key "space"
# toggle_visualization_type
#
#def_key "delete"
# delete_playlist_items
#
#def_key "delete"
# delete_browser_items
#
#def_key "delete"
# delete_stored_playlist
#
#def_key "right"
# next_column
#
#def_key "right"
# slave_screen
#
#def_key "right"
# volume_up
#
#def_key "+"
# volume_up
#
#def_key "left"
# previous_column
#
#def_key "left"
# master_screen
#
#def_key "left"
# volume_down
#
#def_key "-"
# volume_down
#
#def_key ":"
# execute_command
#
#def_key "tab"
# next_screen
#
#def_key "shift-tab"
# previous_screen
#
#def_key "f1"
# show_help
#
#def_key "1"
# show_playlist
#
#def_key "2"
# show_browser
#
#def_key "2"
# change_browse_mode
#
#def_key "3"
# show_search_engine
#
#def_key "3"
# reset_search_engine
#
#def_key "4"
# show_media_library
#
#def_key "4"
# toggle_media_library_columns_mode
#
#def_key "5"
# show_playlist_editor
#
#def_key "6"
# show_tag_editor
#
#def_key "7"
# show_outputs
#
#def_key "8"
# show_visualizer
#
#def_key "="
# show_clock
#
#def_key "@"
# show_server_info
#
#def_key "s"
# stop
#
#def_key "p"
# pause
#
#def_key ">"
# next
#
#def_key "<"
# previous
#
#def_key "ctrl-h"
# jump_to_parent_directory
#
#def_key "ctrl-h"
# replay_song
#
#def_key "backspace"
# jump_to_parent_directory
#
#def_key "backspace"
# replay_song
#
#def_key "f"
# seek_forward
#
#def_key "b"
# seek_backward
#
#def_key "r"
# toggle_repeat
#
#def_key "z"
# toggle_random
#
#def_key "y"
# save_tag_changes
#
#def_key "y"
# start_searching
#
#def_key "y"
# toggle_single
#
#def_key "R"
# toggle_consume
#
#def_key "Y"
# toggle_replay_gain_mode
#
#def_key "T"
# toggle_add_mode
#
#def_key "|"
# toggle_mouse
#
#def_key "#"
# toggle_bitrate_visibility
#
#def_key "Z"
# shuffle
#
#def_key "x"
# toggle_crossfade
#
#def_key "X"
# set_crossfade
#
#def_key "u"
# update_database
#
#def_key "ctrl-s"
# sort_playlist
#
#def_key "ctrl-s"
# toggle_browser_sort_mode
#
#def_key "ctrl-s"
# toggle_media_library_sort_mode
#
#def_key "ctrl-r"
# reverse_playlist
#
#def_key "ctrl-f"
# apply_filter
#
#def_key "ctrl-_"
# select_found_items
#
#def_key "/"
# find
#
#def_key "/"
# find_item_forward
#
#def_key "?"
# find
#
#def_key "?"
# find_item_backward
#
#def_key "."
# next_found_item
#
#def_key ","
# previous_found_item
#
#def_key "w"
# toggle_find_mode
#
#def_key "e"
# edit_song
#
#def_key "e"
# edit_library_tag
#
#def_key "e"
# edit_library_album
#
#def_key "e"
# edit_directory_name
#
#def_key "e"
# edit_playlist_name
#
#def_key "e"
# edit_lyrics
#
#def_key "i"
# show_song_info
#
#def_key "I"
# show_artist_info
#
#def_key "g"
# jump_to_position_in_song
#
#def_key "l"
# show_lyrics
#
#def_key "ctrl-v"
# select_range
#
#def_key "v"
# reverse_selection
#
#def_key "V"
# remove_selection
#
#def_key "B"
# select_album
#
#def_key "a"
# add_selected_items
#
#def_key "c"
# clear_playlist
#
#def_key "c"
# clear_main_playlist
#
#def_key "C"
# crop_playlist
#
#def_key "C"
# crop_main_playlist
#
#def_key "m"
# move_sort_order_up
#
#def_key "m"
# move_selected_items_up
#
#def_key "n"
# move_sort_order_down
#
#def_key "n"
# move_selected_items_down
#
#def_key "M"
# move_selected_items_to
#
#def_key "A"
# add
#
#def_key "S"
# save_playlist
#
#def_key "o"
# jump_to_playing_song
#
#def_key "G"
# jump_to_browser
#
#def_key "G"
# jump_to_playlist_editor
#
#def_key "~"
# jump_to_media_library
#
#def_key "E"
# jump_to_tag_editor
#
#def_key "U"
# toggle_playing_song_centering
#
#def_key "P"
# toggle_display_mode
#
#def_key "\\"
# toggle_interface
#
#def_key "!"
# toggle_separators_between_albums
#
#def_key "L"
# toggle_lyrics_fetcher
#
#def_key "F"
# fetch_lyrics_in_background
#
#def_key "alt-l"
# toggle_fetching_lyrics_in_background
#
#def_key "ctrl-l"
# toggle_screen_lock
#
#def_key "`"
# toggle_library_tag_type
#
#def_key "`"
# refetch_lyrics
#
#def_key "`"
# add_random_items
#
#def_key "ctrl-p"
# set_selected_items_priority
#
#def_key "q"
# quit
#
+2 -2
View File
@@ -16,10 +16,10 @@ mpd_connection_timeout = 5
mpd_crossfade_time = 0 mpd_crossfade_time = 0
##### music visualizer ##### ##### music visualizer #####
visualizer_fifo_path = /tmp/mpd.fifo # visualizer_fifo_path = /tmp/mpd.fifo
visualizer_output_name = "my_fifo" visualizer_output_name = "my_fifo"
visualizer_in_stereo = yes visualizer_in_stereo = yes
visualizer_sync_interval = 30 # visualizer_sync_interval = 10
visualizer_type = "spectrum" ## Available values: spectrum, wave, wave_filled, ellipse. visualizer_type = "spectrum" ## Available values: spectrum, wave, wave_filled, ellipse.
visualizer_look = "+|" visualizer_look = "+|"
visualizer_color = blue, cyan, green, yellow, magenta, red visualizer_color = blue, cyan, green, yellow, magenta, red
-663
View File
@@ -1,663 +0,0 @@
# -*- mode: sh -*-
# Neofetch config file
# https://github.com/dylanaraps/neofetch
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info line_break
info title
info line_break
info cols
info line_break
info "OS" distro
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "DE" de
info "WM" wm
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
}
# Kernel
# Shorten the output of the kernel function.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --kernel_shorthand
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
#
# Example:
# on: '4.8.9-1-ARCH'
# off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="off"
# Distro
# Shorten the output of the distro function
#
# Default: 'off'
# Values: 'on', 'off', 'tiny'
# Flag: --distro_shorthand
# Supports: Everything except Windows and Haiku
distro_shorthand="off"
# Show/Hide OS Architecture.
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --os_arch
#
# Example:
# on: 'Arch Linux x86_64'
# off: 'Arch Linux'
os_arch="off"
# Uptime
# Shorten the output of the uptime function
#
# Default: 'on'
# Values: 'on', 'off', 'tiny'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# off: '2 days, 10 hours, 3 minutes'
# tiny: '2d 10h 3m'
uptime_shorthand="on"
# Shell
# Show the path to $SHELL
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --shell_path
#
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
# Show $SHELL version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --shell_version
#
# Example:
# on: 'bash 4.4.5'
# off: 'bash'
shell_version="off"
# CPU
# CPU speed type
#
# Default: 'bios_limit'
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
# Flag: --speed_type
# Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
speed_type="bios_limit"
# CPU speed shorthand
#
# Default: 'off'
# Values: 'on', 'off'.
# Flag: --speed_shorthand.
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
#
# Example:
# on: 'i7-6500U (4) @ 3.1GHz'
# off: 'i7-6500U (4) @ 3.100GHz'
speed_shorthand="on"
# Enable/Disable CPU brand in output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_brand
#
# Example:
# on: 'Intel i7-6500U'
# off: 'i7-6500U (4)'
cpu_brand="off"
# CPU Speed
# Hide/Show CPU speed.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_speed
#
# Example:
# on: 'Intel i7-6500U (4) @ 3.1GHz'
# off: 'Intel i7-6500U (4)'
cpu_speed="off"
# CPU Cores
# Display CPU cores in output
#
# Default: 'logical'
# Values: 'logical', 'physical', 'off'
# Flag: --cpu_cores
# Support: 'physical' doesn't work on BSD.
#
# Example:
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
# off: 'Intel i7-6500U @ 3.1GHz'
cpu_cores="off"
# CPU Temperature
# Hide/Show CPU temperature.
# Note the temperature is added to the regular CPU function.
#
# Default: 'off'
# Values: 'C', 'F', 'off'
# Flag: --cpu_temp
# Supports: Linux, BSD
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
# coretemp kernel module. This only supports newer Intel processors.
#
# Example:
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
# GPU
# Enable/Disable GPU Brand
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gpu_brand
#
# Example:
# on: 'AMD HD 7950'
# off: 'HD 7950'
gpu_brand="off"
# Which GPU to display
#
# Default: 'all'
# Values: 'all', 'dedicated', 'integrated'
# Flag: --gpu_type
# Supports: Linux
#
# Example:
# all:
# GPU1: AMD HD 7950
# GPU2: Intel Integrated Graphics
#
# dedicated:
# GPU1: AMD HD 7950
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
# Resolution
# Display refresh rate next to each monitor
# Default: 'off'
# Values: 'on', 'off'
# Flag: --refresh_rate
# Supports: Doesn't work on Windows.
#
# Example:
# on: '1920x1080 @ 60Hz'
# off: '1920x1080'
refresh_rate="off"
# Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --gtk_shorthand
#
# Example:
# on: 'Numix, Adwaita'
# off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="on"
# Enable/Disable gtk2 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk2
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Adwaita [GTK3]'
gtk2="off"
# Enable/Disable gtk3 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk3
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Numix [GTK2]'
gtk3="off"
# IP Address
# Website to ping for the public IP
#
# Default: 'http://ident.me'
# Values: 'url'
# Flag: --ip_host
public_ip_host="http://ident.me"
# Disk
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'.
#
# Default: '/'
# Values: '/', '/dev/sdXX', '/path/to/drive'.
# Flag: --disk_show
#
# Example:
# disk_show=('/' '/dev/sdb1'):
# 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
#
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
disk_show=('/', '/home/')
# Disk subtitle.
# What to append to the Disk subtitle.
#
# Default: 'mount'
# Values: 'mount', 'name', 'dir'
# Flag: --disk_subtitle
#
# Example:
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
#
# mount: 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
#
# dir: 'Disk (/): 74G / 118G (66%)'
# 'Disk (Local Disk): 74G / 118G (66%)'
# 'Disk (Videos): 74G / 118G (66%)'
disk_subtitle="mount"
# Song
# Print the Artist and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Chelsea Dagger'
song_shorthand="on"
# Install Date
# Whether to show the time in the output
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --install_time
#
# Example:
# on: 'Thu 14 Apr 2016 11:50 PM'
# off: 'Thu 14 Apr 2016'
install_time="off"
# Set time format in the output
#
# Default: '24h'
# Values: '12h', '24h'
# Flag: --install_time_format
#
# Example:
# 12h: 'Thu 14 Apr 2016 11:50 PM'
# 24h: 'Thu 14 Apr 2016 23:50'
install_time_format="24h"
# Text Colors
# Text Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --colors
#
# Each number represents a different part of the text in
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
#
# Example:
# colors=(distro) - Text is colored based on Distro colors.
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
colors=(distro)
# Text Options
# Toggle bold text
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bold
bold="on"
# Enable/Disable Underline
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --underline
underline_enabled="on"
# Underline character
#
# Default: '-'
# Values: 'string'
# Flag: --underline_char
underline_char="="
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '7'
# Values: 'num'
# Flag: --block_range
#
# Example:
#
# Display colors 0-7 in the blocks. (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 15)
# Toggle color blocks
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --color_blocks
color_blocks="on"
# Color block width in spaces
#
# Default: '3'
# Values: 'num'
# Flag: --block_width
block_width=3
# Color block height in lines
#
# Default: '1'
# Values: 'num'
# Flag: --block_height
block_height=1
# Progress Bars
# Bar characters
#
# Default: '-', '='
# Values: 'string', 'string'
# Flag: --bar_char
#
# Example:
# neofetch --bar_char 'elapsed' 'total'
# neofetch --bar_char '-' '='
bar_char_elapsed="="
bar_char_total="-"
# Toggle Bar border
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bar_border
bar_border="on"
# Progress bar length in spaces
# Number of chars long to make the progress bars.
#
# Default: '15'
# Values: 'num'
# Flag: --bar_length
bar_length=15
# Progress bar colors
# When set to distro, uses your distro's logo colors.
#
# Default: 'distro', 'distro'
# Values: 'distro', 'num'
# Flag: --bar_colors
#
# Example:
# neofetch --bar_colors 3 4
# neofetch --bar_colors distro 5
bar_color_elapsed="distro"
bar_color_total="distro"
# Info display
# Display a bar with the info.
#
# Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display
# --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
# Flag: --backend
image_backend="w3m"
# Image Source
#
# Which image or ascii file to display.
#
# Default: 'auto'
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
# Flag: --source
#
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
image_source="auto"
# Ascii Options
# Ascii distro
# Which distro's ascii art to display.
#
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
#
# NOTE: Arch and Ubuntu have 'old' logo variants.
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
# NOTE: Arch, Crux and Gentoo have a smaller logo variant.
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
ascii_distro="auto"
# Ascii Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --ascii_colors
#
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Bold ascii logo
# Whether or not to bold the ascii logo.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --ascii_bold
ascii_bold="on"
# Image Options
# Image loop
# Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --loop
image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# Crop mode
#
# Default: 'normal'
# Values: 'normal', 'fit', 'fill'
# Flag: --crop_mode
#
# See this wiki page to learn about the fit and fill options.
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
crop_mode="fit"
# Crop offset
# Note: Only affects 'normal' crop mode.
#
# Default: 'center'
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
# 'east', 'southwest', 'south', 'southeast'
# Flag: --crop_offset
crop_offset="center"
# Image size
# The image is half the terminal width by default.
#
# Default: 'auto'
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="auto"
# Ggap between image and text
#
# Default: '3'
# Values: 'num', '-num'
# Flag: --gap
gap=3
# Image offsets
# Only works with the w3m backend.
#
# Default: '0'
# Values: 'px'
# Flags: --xoffset
# --yoffset
yoffset=0
xoffset=0
# Image background color
# Only works with the w3m backend.
#
# Default: ''
# Values: 'color', 'blue'
# Flag: --bg_color
background_color=
# Scrot Options
# Whether or not to always take a screenshot
# You can manually take a screenshot with "--scrot" or "-s"
#
# Default: 'off'
# Values: 'on', 'off'
# Flags: --scrot
# -s
scrot="on"
# Screenshot Program
# Neofetch will automatically use whatever screenshot tool
# is installed on your system.
#
# If 'neofetch -v' says that it couldn't find a screenshot
# tool or you're using a custom tool then you can change
# the option below to a custom command.
#
# Default: 'auto'
# Values: 'auto' 'cmd -flags'
# Flag: --scrot_cmd
scrot_cmd="auto"
# Screenshot Filename
# What to name the screenshots
#
# Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
# Values: 'string'
# Flag: --scrot_name
scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# Image upload host
# Where to upload the image.
#
# Default: 'teknik'
# Values: 'imgur', 'teknik'
# Flag: --image_host
#
# NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github.
image_host="imgur"
# Misc Options
# Config version.
#
# NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility.
config_version="3.2.1-git"
+423
View File
@@ -0,0 +1,423 @@
from __future__ import annotations
from typing import Callable, Any
import os
import time
import logging
import psutil
import subprocess
import dbus
import docker
docker_client = docker.from_env()
from newm.layout import Layout
from newm.helper import BacklightManager, WobRunner, PaCtl
logger = logging.getLogger(__name__)
debug_windows = False
def run_shell(command: str):
"""Run a shell command asynchronously
If the shell command doesn't already end with "&", add it.
"""
if not command.endswith("&"):
command = command + " &"
os.system(command)
def command_is_running(command: str):
for proc in psutil.process_iter():
try:
cmdline = proc.cmdline()
except psutil.NoSuchProcess:
continue
if command in cmdline[0]:
return True
return False
def on_reconfigure():
run_shell('notify-send newm "Reloaded config"')
def on_startup():
run_shell("mpc stop")
run_shell("dunst")
run_shell("pactl load-module module-switch-on-connect")
run_shell("xfce-polkit")
run_shell("kdeconnectd")
os.system(
"systemctl --user import-environment DISPLAY \
WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
)
os.system(
"dbus-update-activation-environment && \
dbus-update-activation-environment --systemd DISPLAY \
WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
)
with open("{}/.cache/wallpaper".format(os.environ["HOME"])) as wp_cache:
background = {
"path": wp_cache.read().strip(),
"anim": True,
}
pywm = {
"xkb_layout": "fr",
"xkb_variant": "bepo_afnor",
"xkb_options": "caps:ctrl_modifier",
"enable_xwayland": True,
"natural_scroll": False,
"focus_follows_mouse": True,
"encourage_csd": False,
}
outputs = [
{"name": "eDP-1", "mHz": 120_000},
{
"name": "HDMI-A-1",
"pos_x": -2560,
"pos_y": 0,
"width": 2560,
"height": 1080,
},
]
wob_runner = WobRunner("wob -a bottom -M 100")
backlight_manager = BacklightManager(anim_time=1.0, bar_display=wob_runner)
kbdlight_manager = BacklightManager(
args="--device='*::kbd_backlight'", anim_time=1.0, bar_display=wob_runner
)
def synchronous_update() -> None:
backlight_manager.update()
kbdlight_manager.update()
def rules(m_view):
blur_apps = ("kitty", "wofi", "rofi", "emacsclient", "emacs")
float_apps = ("Rofi", "xfce-polkit")
nonfloat_apps = ("discord", "Discord")
m_rules = {}
if m_view.app_id in blur_apps:
m_rules.update({"blur": {"radius": 6, "passes": 2}})
if m_view.app_id in float_apps:
m_rules.update({"float": True})
if m_view.app_id in nonfloat_apps:
m_rules.update({"float": False})
if debug_windows:
with open("/tmp/newm_windows.txt", "a", encoding="utf-8") as file:
file.write(f"{str(m_view.app_id)}\t{m_rules}\n")
return m_rules
pactl = PaCtl(0, wob_runner)
focus = {
"animate_on_change": False,
"distance": 6,
"width": 2,
"color": "#5E81ACDD",
"anim_time": 0.1,
}
view = {
"corner_radius": 8,
"padding": 20,
"rules": rules,
"floating_min_size": False,
}
leader: str = "L-Spc "
def key_bindings(layout: Layout) -> list[tuple[str, Callable[[], Any]]]:
return [
("L-Return", lambda: os.system("kitty &")),
(leader + "a r b", lambda: run_shell("bluetooth-connect")),
(
leader + "a r r",
lambda: run_shell("rofi -combi-modi drun,window -show combi"),
),
(leader + "a b", lambda: run_shell("firefox")),
(leader + "a d", lambda: run_shell("discord")),
(leader + "a e", lambda: run_shell("emacsclient -c")),
(leader + "l", layout.ensure_locked),
(leader + "w f", layout.toggle_fullscreen),
(leader + "w v", layout.toggle_focused_view_floating),
(leader + "w +", lambda: layout.basic_scale(1)),
(leader + "w -", lambda: layout.basic_scale(-1)),
("L-o", layout.move_workspace),
("L-O", layout.move_workspace),
(leader + "w c", lambda: layout.move(-1, 0)),
(leader + "w t", lambda: layout.move(0, 1)),
(leader + "w s", lambda: layout.move(0, -1)),
(leader + "w r", lambda: layout.move(1, 0)),
(leader + "w n", lambda: layout.move_in_stack(1)),
("L-Tab", lambda: layout.move_in_stack(1)),
(leader + "w p", lambda: layout.move_in_stack(-1)),
(leader + "w C", lambda: layout.move_focused_view(-1, 0)),
(leader + "w T", lambda: layout.move_focused_view(0, 1)),
(leader + "w S", lambda: layout.move_focused_view(0, -1)),
(leader + "w R", lambda: layout.move_focused_view(1, 0)),
(leader + "b d", layout.close_focused_view),
(leader + "q l", lambda: layout.ensure_locked(dim=False)),
(leader + "q q", layout.terminate),
(leader + "u", layout.update_config),
("L-c", lambda: layout.move(-1, 0)),
("L-t", lambda: layout.move(0, 1)),
("L-s", lambda: layout.move(0, -1)),
("L-r", lambda: layout.move(1, 0)),
("L-plus", lambda: layout.basic_scale(-1)),
("L-minus", lambda: layout.basic_scale(1)),
("L-C", lambda: layout.move_focused_view(-1, 0)),
("L-T", lambda: layout.move_focused_view(0, 1)),
("L-S", lambda: layout.move_focused_view(0, -1)),
("L-R", lambda: layout.move_focused_view(1, 0)),
(leader + "w r c", lambda: layout.resize_focused_view(-1, 0)),
(leader + "w r t", lambda: layout.resize_focused_view(0, 1)),
(leader + "w r s", lambda: layout.resize_focused_view(0, -1)),
(leader + "w r r", lambda: layout.resize_focused_view(1, 0)),
("L-", lambda: layout.toggle_overview(only_active_workspace=True)),
(
"XF86MonBrightnessUp",
lambda: backlight_manager.set(backlight_manager.get() + 0.1),
),
(
"XF86MonBrightnessDown",
lambda: backlight_manager.set(backlight_manager.get() - 0.1),
),
(
"XF86KbdBrightnessUp",
lambda: kbdlight_manager.set(kbdlight_manager.get() + 0.1),
),
(
"XF86KbdBrightnessDown",
lambda: kbdlight_manager.set(kbdlight_manager.get() - 0.1),
),
("XF86AudioPlay", lambda: run_shell("playerctl play-pause")),
("XF86AudioPause", lambda: run_shell("playerctl pause")),
("XF86AudioStop", lambda: run_shell("playerctl stop")),
("XF86AudioPrev", lambda: run_shell("playerctl previous")),
("XF86AudioNext", lambda: run_shell("playerctl next")),
("XF86AudioForward", lambda: run_shell("playerctl position +1")),
("XF86AudioRewind", lambda: run_shell("playerctl position -1")),
("XF86AudioRaiseVolume", lambda: pactl.volume_adj(5)),
("XF86AudioLowerVolume", lambda: pactl.volume_adj(-5)),
("XF86AudioMute", pactl.mute),
("Print", lambda: run_shell("env XDG_CURRENT_DESKTOP=Sway flameshot gui")),
]
battery_icons = {
100: {True: "", False: ""},
90: {True: "", False: ""},
80: {True: "", False: ""},
70: {True: "", False: ""},
60: {True: "", False: ""},
50: {True: "", False: ""},
40: {True: "", False: ""},
30: {True: "", False: ""},
20: {True: "", False: ""},
10: {True: "", False: ""},
0: {True: "", False: ""},
}
def battery_status() -> str:
battery = psutil.sensors_battery()
percent = format(battery.percent, ".1f")
minutes = battery.secsleft // 60
remaining = "{0:0>2}:{1:0>2}".format(minutes // 60, minutes % 60)
icon = battery_icons[(int(float(percent)) // 10) * 10][battery.power_plugged]
return f"{icon} {percent}% ({remaining})"
def unread_emails() -> str:
unread = subprocess.run(
["mu", "find", "flag:unread AND (maildir:/Inbox OR maildir:/Junk)"],
capture_output=True,
text=True,
check=True,
).stdout
nbr_unread: int = len(str(unread).strip().split("\n"))
return f"{nbr_unread}"
def cpu_usage() -> str:
cpu: str = format(psutil.cpu_percent(interval=1), ".1f")
return f"{cpu}%"
def mem_usage() -> str:
mem: str = format(psutil.virtual_memory().percent, ".1f")
return f"{mem}%"
def get_bluetooth_devices() -> str:
import xml.etree.ElementTree as ET
bus = dbus.SystemBus()
service_name = "org.bluez"
# Verify if bluetooth is turned on
proxy = bus.get_object(service_name, "/org/bluez/hci0")
props = dbus.Interface(proxy, "org.freedesktop.DBus.Properties")
if not props.Get("org.bluez.Adapter1", "Powered"):
return ""
# Grab all known devices
bt_intro_iface = dbus.Interface(proxy, "org.freedesktop.DBus.Introspectable")
bt_intro = str(bt_intro_iface.Introspect())
root_node = ET.fromstring(bt_intro)
known_devices = [n.get("name") for n in root_node.findall("node")]
# Check if all devices are connected
counter = 0
for device in known_devices:
object_path = f"/org/bluez/hci0/{device}"
proxy = bus.get_object(service_name, object_path)
props = dbus.Interface(proxy, "org.freedesktop.DBus.Properties")
if props.Get("org.bluez.Device1", "Connected"):
counter = counter + 1
return f"{counter}"
def get_wifi_name(iface) -> str:
bus = dbus.SystemBus()
service_name = "org.freedesktop.NetworkManager"
proxy = bus.get_object(service_name, "/org/freedesktop/NetworkManager/Settings")
# Get the device object path based on interface name
proxy = bus.get_object(service_name, "/org/freedesktop/NetworkManager")
nm = dbus.Interface(proxy, "org.freedesktop.NetworkManager")
devpath = nm.GetDeviceByIpIface(iface)
# Get a proxy to the wifi device and get the active access point's object path
proxy = bus.get_object(service_name, devpath)
props = dbus.Interface(proxy, "org.freedesktop.DBus.Properties")
active_ap_path = props.Get(
"org.freedesktop.NetworkManager.Device.Wireless", "ActiveAccessPoint"
)
if active_ap_path == "/":
return ""
# Get the active access point's SSID and BSSID
ap_proxy = bus.get_object(service_name, active_ap_path)
ap_props = dbus.Interface(ap_proxy, "org.freedesktop.DBus.Properties")
raw_ssid = ap_props.Get("org.freedesktop.NetworkManager.AccessPoint", "Ssid")
ssid = b"".join([bytes([v]) for v in raw_ssid]).decode("utf-8")
return ssid
def get_local_address(wifi_iface, eth_iface) -> str:
if_addrs = psutil.net_if_addrs()
wifi = if_addrs.get(wifi_iface)
eth = if_addrs.get(eth_iface)
wifi_addr = wifi[0].address if wifi else ""
eth_addr = eth[0].address if eth else ""
wifi_addr = wifi_addr if not ":" in wifi_addr else ""
eth_addr = eth_addr if not ":" in eth_addr else ""
return wifi_addr or eth_addr
def get_network() -> str:
wifi_interface = "wlp8s0"
eth_interface = "enp9s0f1"
network_name = get_wifi_name(wifi_interface)
network_name = f"{network_name}" if network_name else " eth"
addr = get_local_address(wifi_interface, eth_interface)
return f"{network_name} ({addr})" if addr else "睊 disconnected"
def get_playerctl_bus():
bus = dbus.SessionBus()
service_name = "org.mpris.MediaPlayer2.playerctld"
service_props = "org.mpris.MediaPlayer2.Player"
proxy = bus.get_object(service_name, "/org/mpris/MediaPlayer2")
return (service_props, proxy)
def get_currently_playing():
(service_props, proxy) = get_playerctl_bus()
props = dbus.Interface(proxy, "org.freedesktop.DBus.Properties")
metadata = props.Get(service_props, "Metadata")
status = str(props.Get(service_props, "PlaybackStatus"))
if status != "Playing":
return ""
artist = ", ".join(metadata.get("xesam:artist"))
title = metadata.get("xesam:title")
return f"{artist}{title}"
def display_docker() -> str:
containers = docker_client.containers.list(sparse=True)
return f"{len(containers)}"
def get_time() -> str:
return time.strftime("%a %Y-%m-%d %X")
def bar_text() -> str:
return " | ".join(
[
f
for f in [
get_currently_playing(),
# get_network(),
display_docker(),
# get_bluetooth_devices(),
unread_emails(),
cpu_usage(),
mem_usage(),
get_time(),
battery_status(),
]
if f
]
)
def max_width(strings: list[str]) -> int:
r_max_width: int = 0
for s in strings:
if len(s) > r_max_width:
r_max_width = len(s)
return r_max_width
panels = {
"lock": {
"cmd": "kitty -e newm-panel-basic lock",
},
"launcher": {"cmd": "kitty -e newm-panel-basic launcher"},
"top_bar": {
"native": {
"font": "JetBrainsMono Nerd Font",
"enabled": True,
"texts": lambda: [
bar_text(),
],
},
},
"bottom_bar": {
"native": {
"enabled": False,
"texts": lambda: ["newm", "powered by pywm"],
"color": (0.5, 0.5, 0.5, 0.1),
}
},
}
energy = {
"idle_callback": backlight_manager.callback,
"idle_times": [5 * 60, 30 * 60, 24 * 60 * 60],
}
+96
View File
@@ -0,0 +1,96 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Number of commands to save in the command history. 0: no history / -1:
# unlimited
# Type: Int
c.completion.cmd_history_max_items = 200
# Delay (in milliseconds) before updating completions after typing a
# character.
# Type: Int
c.completion.delay = 150
# Default filesystem autocomplete suggestions for :open. The elements of
# this list show up in the completion window under the Filesystem
# category when the command line contains `:open` but no argument.
# Type: List of String
c.completion.favorite_paths = []
# Height (in pixels or as percentage of the window) of the completion.
# Type: PercOrInt
c.completion.height = '33%'
# Minimum amount of characters needed to update completions.
# Type: Int
c.completion.min_chars = 2
# Which categories to show (in which order) in the :open completion.
# Type: FlagList
# Valid values:
# - searchengines
# - quickmarks
# - bookmarks
# - history
# - filesystem
c.completion.open_categories = [
'searchengines',
'quickmarks',
'bookmarks',
'history',
'filesystem'
]
# Move on to the next part when there's only one possible completion
# left.
# Type: Bool
c.completion.quick = True
# Padding (in pixels) of the scrollbar handle in the completion window.
# Type: Int
c.completion.scrollbar.padding = 1
# Width (in pixels) of the scrollbar in the completion window.
# Type: Int
c.completion.scrollbar.width = 5
# When to show the autocompletion window.
# Type: String
# Valid values:
# - always: Whenever a completion is available.
# - auto: Whenever a completion is requested.
# - never: Never.
c.completion.show = 'always'
# Shrink the completion to be smaller than the configured size if there
# are no scrollbars.
# Type: Bool
c.completion.shrink = True
# Format of timestamps (e.g. for the history completion). See
# https://sqlite.org/lang_datefunc.html and
# https://docs.python.org/3/library/datetime.html#strftime-strptime-
# behavior for allowed substitutions, qutebrowser uses both sqlite and
# Python to format its timestamps.
# Type: String
c.completion.timestamp_format = '%Y-%m-%d %H:%M'
# Execute the best-matching command on a partial match.
# Type: Bool
c.completion.use_best_match = True
# A list of patterns which should not be shown in the history. This only
# affects the completion. Matching URLs are still saved in the history
# (and visible on the `:history` page), but hidden in the completion.
# Changing this setting will cause the completion history to be
# regenerated on the next start, which will take a short while.
# Type: List of UrlPattern
c.completion.web_history.exclude = []
# Number of URLs to show in the web history. 0: no history / -1:
# unlimited
# Type: Int
c.completion.web_history.max_items = -1
+45
View File
@@ -0,0 +1,45 @@
# pylint: disable=C0111
# This is here so configs done via the GUI are still loaded.
# Remove it to not load settings done via the GUI.
config.load_autoconfig(False)
# Aliases for commands. The keys of the given dictionary are the
# aliases, while the values are the commands they map to.
# Type: Dict
c.aliases = {
'w': 'session-save',
'q': 'close',
'qa': 'quit',
'wq': 'quit --save',
'wqa': 'quit --save'
}
# Time interval (in milliseconds) between auto-saves of
# config/cookies/etc.
# Type: Int
c.auto_save.interval = 15000
# Enable smooth scrolling for web pages. Note smooth scrolling does not
# work with the `:scroll-px` command.
# Type: Bool
c.scrolling.smooth = True
c.spellcheck.languages = [
'en-US',
'fr-FR',
]
config.source('completion.py')
config.source('content.py')
config.source('downloads.py')
config.source('editor.py')
config.source('keybinds.py')
config.source('fileselect.py')
config.source('hints.py')
config.source('input.py')
config.source('statusbar.py')
config.source('tabs.py')
config.source('url.py')
config.source('window.py')
config.source('nord.py')
+488
View File
@@ -0,0 +1,488 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Automatically start playing `<video>` elements.
# Type: Bool
c.content.autoplay = False
# List of URLs to ABP-style adblocking rulesets. Only used when Brave's
# ABP-style adblocker is used (see `content.blocking.method`). You can
# find an overview of available lists here:
# https://adblockplus.org/en/subscriptions - note that the special
# `subscribe.adblockplus.org` links aren't handled by qutebrowser, you
# will instead need to find the link to the raw `.txt` file (e.g. by
# extracting it from the `location` parameter of the subscribe URL and
# URL-decoding it).
# Type: List of Url
c.content.blocking.adblock.lists = [
# AdBlock sources
"https://easylist.to/easylist/easylist.txt",
"https://easylist.to/easylist/easyprivacy.txt"
# uBlock sources
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/annoyances.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badlists.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters-2020.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters-2021.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/lan-block.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt",
]
# Enable the ad/host blocker
# Type: Bool
c.content.blocking.enabled = True
# Block subdomains of blocked hosts. Note: If only a single subdomain is
# blocked but should be allowed, consider using
# `content.blocking.whitelist` instead.
# Type: Bool
c.content.blocking.hosts.block_subdomains = True
# List of URLs to host blocklists for the host blocker. Only used when
# the simple host-blocker is used (see `content.blocking.method`). The
# file can be in one of the following formats: - An `/etc/hosts`-like
# file - One host per line - A zip-file of any of the above, with either
# only one file, or a file named `hosts` (with any extension). It's
# also possible to add a local file or directory via a `file://` URL. In
# case of a directory, all files in the directory are read as adblock
# lists. The file `~/.config/qutebrowser/blocked-hosts` is always read
# if it exists.
# Type: List of Url
c.content.blocking.hosts.lists = [
"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
]
# Which method of blocking ads should be used. Support for Adblock Plus
# (ABP) syntax blocklists using Brave's Rust library requires the
# `adblock` Python package to be installed, which is an optional
# dependency of qutebrowser. It is required when either `adblock` or
# `both` are selected.
# Type: String
# Valid values:
# - auto: Use Brave's ABP-style adblocker if available, host blocking otherwise
# - adblock: Use Brave's ABP-style adblocker
# - hosts: Use hosts blocking
# - both: Use both hosts blocking and Brave's ABP-style adblocker
c.content.blocking.method = "auto"
# A list of patterns that should always be loaded, despite being blocked
# by the ad-/host-blocker. Local domains are always exempt from
# adblocking. Note this whitelists otherwise blocked requests, not
# first-party URLs. As an example, if `example.org` loads an ad from
# `ads.example.org`, the whitelist entry could be
# `https://ads.example.org/*`. If you want to disable the adblocker on a
# given page, use the `content.blocking.enabled` setting with a URL
# pattern instead.
# Type: List of UrlPattern
c.content.blocking.whitelist = [
"https://*.phundrak.com/*",
]
# Enable support for the HTML 5 web application cache feature. An
# application cache acts like an HTTP cache in some sense. For documents
# that use the application cache via JavaScript, the loader engine will
# first ask the application cache for the contents, before hitting the
# network.
# Type: Bool
c.content.cache.appcache = True
# Maximum number of pages to hold in the global memory page cache. The
# page cache allows for a nicer user experience when navigating forth or
# back to pages in the forward/back history, by pausing and resuming up
# to _n_ pages. For more information about the feature, please refer to:
# https://webkit.org/blog/427/webkit-page-cache-i-the-basics/
# Type: Int
c.content.cache.maximum_pages = 0
# Size (in bytes) of the HTTP network cache. Null to use the default
# value. With QtWebEngine, the maximum supported value is 2147483647 (~2
# GB).
# Type: Int
c.content.cache.size = None
# Allow websites to read canvas elements. Note this is needed for some
# websites to work properly.
# Type: Bool
c.content.canvas_reading = True
# Which cookies to accept. With QtWebEngine, this setting also controls
# other features with tracking capabilities similar to those of cookies;
# including IndexedDB, DOM storage, filesystem API, service workers, and
# AppCache. Note that with QtWebKit, only `all` and `never` are
# supported as per-domain values. Setting `no-3rdparty` or `no-
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
# `all`. If this setting is used with URL patterns, the pattern gets
# applied to the origin/first party URL of the page making the request,
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
# from URLs, so URL patterns using paths will not match. With
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
# you will typically need to set this setting for `example.com` when the
# cookie is set on `somesubdomain.example.com` for it to work properly.
# To debug issues with this setting, start qutebrowser with `--debug
# --logfilter network --debug-flag log-cookies` which will show all
# cookies being set.
# Type: String
# Valid values:
# - all: Accept all cookies.
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
# - never: Don't accept cookies at all.
c.content.cookies.accept = "all"
# Store cookies.
# Type: Bool
c.content.cookies.store = True
# Default encoding to use for websites. The encoding must be a string
# describing an encoding such as _utf-8_, _iso-8859-1_, etc.
# Type: String
c.content.default_encoding = "utf-8"
# Allow websites to share screen content.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.desktop_capture = "ask"
# Try to pre-fetch DNS entries to speed up browsing.
# Type: Bool
c.content.dns_prefetch = True
# Expand each subframe to its contents. This will flatten all the frames
# to become one scrollable page.
# Type: Bool
c.content.frame_flattening = False
# Set fullscreen notification overlay timeout in milliseconds. If set to
# 0, no overlay will be displayed.
# Type: Int
c.content.fullscreen.overlay_timeout = 3000
# Limit fullscreen to the browser window (does not expand to fill the
# screen).
# Type: Bool
c.content.fullscreen.window = True
# Allow websites to request geolocations.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.geolocation = "ask"
# Value to send in the `Accept-Language` header. Note that the value
# read from JavaScript is always the global value.
# Type: String
c.content.headers.accept_language = (
"en-US,en-UK,en-GB,en;q=0.9, fr-Fr,fr;q=0.8, ja,es;q=0.5, *;q=0.2"
)
# Custom headers for qutebrowser HTTP requests.
# Type: Dict
c.content.headers.custom = {}
# Value to send in the `DNT` header. When this is set to true,
# qutebrowser asks websites to not track your identity. If set to null,
# the DNT header is not sent at all.
# Type: Bool
c.content.headers.do_not_track = True
# When to send the Referer header. The Referer header tells websites
# from which website you were coming from when visiting them. Note that
# with QtWebEngine, websites can override this preference by setting the
# `Referrer-Policy:` header, so that any websites visited from them get
# the full referer. No restart is needed with QtWebKit.
# Type: String
# Valid values:
# - always: Always send the Referer.
# - never: Never send the Referer. This is not recommended, as some sites may break.
# - same-domain: Only send the Referer for the same domain. This will still protect your privacy, but shouldn't break any sites. With QtWebEngine, the referer will still be sent for other domains, but with stripped path information.
c.content.headers.referer = "same-domain"
# User agent to send. The following placeholders are defined: *
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
# The underlying WebKit version (set to a fixed value with
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
# running qutebrowser version. The default value is equal to the
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
# read from JavaScript is always the global value. With QtWebEngine
# between 5.12 and 5.14 (inclusive), changing the value exposed to
# JavaScript requires a restart.
# Type: FormatString
c.content.headers.user_agent = "Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version} {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}"
# Enable hyperlink auditing (`<a ping>`).
# Type: Bool
c.content.hyperlink_auditing = False
# Load images automatically in web pages.
# Type: Bool
c.content.images = True
# Show javascript alerts.
# Type: Bool
c.content.javascript.alert = True
# Allow JavaScript to close tabs.
# Type: Bool
c.content.javascript.can_close_tabs = False
# Allow JavaScript to open new tabs without user interaction.
# Type: Bool
c.content.javascript.can_open_tabs_automatically = False
# Enable JavaScript.
# Type: Bool
c.content.javascript.enabled = True
# Log levels to use for JavaScript console logging messages. When a
# JavaScript message with the level given in the dictionary key is
# logged, the corresponding dictionary value selects the qutebrowser
# logger to use. On QtWebKit, the "unknown" setting is always used. The
# following levels are valid: `none`, `debug`, `info`, `warning`,
# `error`.
# Type: Dict
c.content.javascript.log = {
"unknown": "debug",
"info": "debug",
"warning": "debug",
"error": "debug",
}
# Use the standard JavaScript modal dialog for `alert()` and
# `confirm()`.
# Type: Bool
c.content.javascript.modal_dialog = False
# Show javascript prompts.
# Type: Bool
c.content.javascript.prompt = True
# Allow locally loaded documents to access other local URLs.
# Type: Bool
c.content.local_content_can_access_file_urls = True
# Allow locally loaded documents to access remote URLs.
# Type: Bool
c.content.local_content_can_access_remote_urls = False
# Enable support for HTML 5 local storage and Web SQL.
# Type: Bool
c.content.local_storage = True
# Allow websites to record audio.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.media.audio_capture = "ask"
# Allow websites to record audio and video.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.media.audio_video_capture = "ask"
# Allow websites to record video.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.media.video_capture = "ask"
# Allow websites to lock your mouse pointer.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.mouse_lock = "ask"
# Automatically mute tabs. Note that if the `:tab-mute` command is used,
# the mute status for the affected tab is now controlled manually, and
# this setting doesn't have any effect.
# Type: Bool
c.content.mute = False
# Netrc-file for HTTP authentication. If unset, `~/.netrc` is used.
# Type: File
c.content.netrc_file = None
# Allow websites to show notifications.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.notifications.enabled = "ask"
# What notification presenter to use for web notifications. Note that
# not all implementations support all features of notifications: - With
# PyQt 5.14, any setting other than `qt` does not support the `click`
# and `close` events, as well as the `tag` option to replace existing
# notifications. - The `qt` and `systray` options only support showing
# one notification at the time and ignore the `tag` option to replace
# existing notifications. - The `herbe` option only supports showing one
# notification at the time and doesn't show icons. - The `messages`
# option doesn't show icons and doesn't support the `click` and
# `close` events.
# Type: String
# Valid values:
# - auto: Tries `libnotify`, `systray` and `messages`, uses the first one available without showing error messages.
# - qt: Use Qt's native notification presenter, based on a system tray icon. Switching from or to this value requires a restart of qutebrowser. Recommended over `systray` on PyQt 5.14.
# - libnotify: Shows messages via DBus in a libnotify-compatible way. If DBus isn't available, falls back to `systray` or `messages`, but shows an error message.
# - systray: Use a notification presenter based on a systray icon. Falls back to `libnotify` or `messages` if not systray is available. This is a reimplementation of the `qt` setting value, but with the possibility to switch to it at runtime.
# - messages: Show notifications as qutebrowser messages. Most notification features aren't available.
# - herbe: (experimental!) Show notifications using herbe (github.com/dudik/herbe). Most notification features aren't available.
c.content.notifications.presenter = "auto"
# Whether to show the origin URL for notifications. Note that URL
# patterns with this setting only get matched against the origin part of
# the URL, so e.g. paths in patterns will never match. Note that with
# the `qt` presenter, origins are never shown.
# Type: Bool
c.content.notifications.show_origin = True
# Allow pdf.js to view PDF files in the browser. Note that the files can
# still be downloaded by clicking the download button in the pdf.js
# viewer.
# Type: Bool
c.content.pdfjs = True
# Allow websites to request persistent storage quota via
# `navigator.webkitPersistentStorage.requestQuota`.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.persistent_storage = "ask"
# Enable plugins in Web pages.
# Type: Bool
c.content.plugins = False
# Request websites to minimize non-essentials animations and motion.
# This results in the `prefers-reduced-motion` CSS media query to
# evaluate to `reduce` (rather than `no-preference`). On Windows, if
# this setting is set to False, the system-wide animation setting is
# considered.
# Type: Bool
c.content.prefers_reduced_motion = False
# Draw the background color and images also when the page is printed.
# Type: Bool
c.content.print_element_backgrounds = True
# Open new windows in private browsing mode which does not record
# visited pages.
# Type: Bool
c.content.private_browsing = False
# Proxy to use. In addition to the listed values, you can use a
# `socks://...` or `http://...` URL. Note that with QtWebEngine, it will
# take a couple of seconds until the change is applied, if this value is
# changed at runtime. Authentication for SOCKS proxies isn't supported
# due to Chromium limitations.
# Type: Proxy
# Valid values:
# - system: Use the system wide proxy.
# - none: Don't use any proxy
c.content.proxy = "system"
# Send DNS requests over the configured proxy.
# Type: Bool
c.content.proxy_dns_requests = True
# Allow websites to register protocol handlers via
# `navigator.registerProtocolHandler`.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.register_protocol_handler = "ask"
# Enable quirks (such as faked user agent headers) needed to get
# specific sites to work properly.
# Type: Bool
c.content.site_specific_quirks.enabled = True
# Disable a list of named quirks. The js-string-replaceall quirk is
# needed for Nextcloud Calendar < 2.2.0 with QtWebEngine < 5.15.3.
# However, the workaround is not fully compliant to the ECMAScript spec
# and might cause issues on other websites, so it's disabled by default.
# Type: FlagList
# Valid values:
# - ua-whatsapp
# - ua-google
# - ua-slack
# - ua-googledocs
# - js-whatsapp-web
# - js-discord
# - js-string-replaceall
# - js-globalthis
# - js-object-fromentries
# - misc-krunker
# - misc-mathml-darkmode
c.content.site_specific_quirks.skip = ["js-string-replaceall"]
# How to proceed on TLS certificate errors.
# Type: String
# Valid values:
# - ask: Ask how to proceed for every certificate error (unless non-overridable due to HSTS).
# - ask-block-thirdparty: Ask how to proceed for normal page loads, but silently block resource loads.
# - block: Automatically block loading on certificate errors.
# - load-insecurely: Force loading pages despite certificate errors. This is *insecure* and should be avoided. Instead of using this, consider fixing the underlying issue or importing a self-signed certificate via `certutil` (or Chromium) instead.
c.content.tls.certificate_errors = "ask"
# How navigation requests to URLs with unknown schemes are handled.
# Type: String
# Valid values:
# - disallow: Disallows all navigation requests to URLs with unknown schemes.
# - allow-from-user-interaction: Allows navigation requests to URLs with unknown schemes that are issued from user-interaction (like a mouse-click), whereas other navigation requests (for example from JavaScript) are suppressed.
# - allow-all: Allows all navigation requests to URLs with unknown schemes.
c.content.unknown_url_scheme_policy = "allow-from-user-interaction"
# List of user stylesheet filenames to use.
# Type: List of File, or File
c.content.user_stylesheets = []
# Enable WebGL.
# Type: Bool
c.content.webgl = True
# Which interfaces to expose via WebRTC.
# Type: String
# Valid values:
# - all-interfaces: WebRTC has the right to enumerate all interfaces and bind them to discover public interfaces.
# - default-public-and-private-interfaces: WebRTC should only use the default route used by http. This also exposes the associated default private address. Default route is the route chosen by the OS on a multi-homed endpoint.
# - default-public-interface-only: WebRTC should only use the default route used by http. This doesn't expose any local addresses.
# - disable-non-proxied-udp: WebRTC should only use TCP to contact peers or servers unless the proxy server supports UDP. This doesn't expose any local addresses either.
c.content.webrtc_ip_handling_policy = "all-interfaces"
# Monitor load requests for cross-site scripting attempts. Suspicious
# scripts will be blocked and reported in the devtools JavaScript
# console. Note that bypasses for the XSS auditor are widely known and
# it can be abused for cross-site info leaks in some scenarios, see:
# https://www.chromium.org/developers/design-documents/xss-auditor
# Type: Bool
c.content.xss_auditing = False
+52
View File
@@ -0,0 +1,52 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Directory to save downloads to. If unset, a sensible OS-specific
# default is used.
# Type: Directory
c.downloads.location.directory = None
# Prompt the user for the download location. If set to false,
# `downloads.location.directory` will be used.
# Type: Bool
c.downloads.location.prompt = True
# Remember the last used download directory.
# Type: Bool
c.downloads.location.remember = True
# What to display in the download filename input.
# Type: String
# Valid values:
# - path: Show only the download path.
# - filename: Show only download filename.
# - both: Show download path and filename.
c.downloads.location.suggestion = 'path'
# Default program used to open downloads. If null, the default internal
# handler is used. Any `{}` in the string will be expanded to the
# filename, else the filename will be appended.
# Type: String
c.downloads.open_dispatcher = None
# Where to show the downloaded files.
# Type: VerticalPosition
# Valid values:
# - top
# - bottom
c.downloads.position = 'bottom'
# Automatically abort insecure (HTTP) downloads originating from secure
# (HTTPS) pages. For per-domain settings, the relevant URL is the URL
# initiating the download, not the URL the download itself is coming
# from. It's not recommended to set this setting to false globally.
# Type: Bool
c.downloads.prevent_mixed_content = True
# Duration (in milliseconds) to wait before removing finished downloads.
# If set to -1, downloads are never removed.
# Type: Int
c.downloads.remove_finished = 30000
+18
View File
@@ -0,0 +1,18 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Editor (and arguments) to use for the `edit-*` commands. The following
# placeholders are defined: * `{file}`: Filename of the file to be
# edited. * `{line}`: Line in which the caret is found in the text. *
# `{column}`: Column in which the caret is found in the text. *
# `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`:
# Same as `{column}`, but starting from index 0.
# Type: ShellCommand
c.editor.command = ['emacsclient', '-c', '+{line}:{column0}', '{file}']
# Encoding to use for the editor.
# Type: Encoding
c.editor.encoding = 'utf-8'
+42
View File
@@ -0,0 +1,42 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
terminal = 'kitty'
# Command (and arguments) to use for selecting a single folder in forms.
# The command should write the selected folder path to the specified
# file or stdout. The following placeholders are defined: * `{}`:
# Filename of the file to be written to. If not contained in any
# argument, the standard output of the command is read instead.
# Type: ShellCommand
c.fileselect.folder.command = [terminal, '-e', 'ranger', '--choosedir={}']
# Handler for selecting file(s) in forms. If `external`, then the
# commands specified by `fileselect.single_file.command` and
# `fileselect.multiple_files.command` are used to select one or multiple
# files respectively.
# Type: String
# Valid values:
# - default: Use the default file selector.
# - external: Use an external command.
c.fileselect.handler = 'default'
# Command (and arguments) to use for selecting multiple files in forms.
# The command should write the selected file paths to the specified file
# or to stdout, separated by newlines. The following placeholders are
# defined: * `{}`: Filename of the file to be written to. If not
# contained in any argument, the standard output of the command is
# read instead.
# Type: ShellCommand
c.fileselect.multiple_files.command = ['xterm', '-e', 'ranger', '--choosefiles={}']
# Command (and arguments) to use for selecting a single file in forms.
# The command should write the selected file path to the specified file
# or stdout. The following placeholders are defined: * `{}`: Filename of
# the file to be written to. If not contained in any argument, the
# standard output of the command is read instead.
# Type: ShellCommand
c.fileselect.single_file.command = ['xterm', '-e', 'ranger', '--choosefile={}']
+165
View File
@@ -0,0 +1,165 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# When a hint can be automatically followed without pressing Enter.
# Type: String
# Valid values:
# - always: Auto-follow whenever there is only a single hint on a page.
# - unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode).
# - full-match: Follow the hint when the user typed the whole hint (letter, word or number mode) or the element's text (only in number mode).
# - never: The user will always need to press Enter to follow a hint.
c.hints.auto_follow = 'unique-match'
# Duration (in milliseconds) to ignore normal-mode key bindings after a
# successful auto-follow.
# Type: Int
c.hints.auto_follow_timeout = 0
# CSS border value for hints.
# Type: String
c.hints.border = '1px solid #ebcb8b'
# Characters used for hint strings.
# Type: UniqueCharString
c.hints.chars = 'auie,ctsr'
# Dictionary file to be used by the word hints.
# Type: File
c.hints.dictionary = '/usr/share/dict/words'
# Which implementation to use to find elements to hint.
# Type: String
# Valid values:
# - javascript: Better but slower
# - python: Slightly worse but faster
c.hints.find_implementation = 'python'
# Hide unmatched hints in rapid mode.
# Type: Bool
c.hints.hide_unmatched_rapid_hints = True
# Leave hint mode when starting a new page load.
# Type: Bool
c.hints.leave_on_load = False
# Minimum number of characters used for hint strings.
# Type: Int
c.hints.min_chars = 2
# Mode to use for hints.
# Type: String
# Valid values:
# - number: Use numeric hints. (In this mode you can also type letters from the hinted element to filter and reduce the number of elements that are hinted.)
# - letter: Use the characters in the `hints.chars` setting.
# - word: Use hints words based on the html elements and the extra words.
c.hints.mode = 'letter'
# Comma-separated list of regular expressions to use for 'next' links.
# Type: List of Regex
c.hints.next_regexes = [
'\\bnext\\b',
'\\bmore\\b',
'\\bnewer\\b',
'\\b[>→≫]\\b',
'\\b(>>|»)\\b',
'\\bcontinue\\b'
]
# Padding (in pixels) for hints.
# Type: Padding
c.hints.padding = {
'top': 0,
'bottom': 0,
'left': 3,
'right': 3
}
# Comma-separated list of regular expressions to use for 'prev' links.
# Type: List of Regex
c.hints.prev_regexes = [
'\\bprev(ious)?\\b',
'\\bback\\b',
'\\bolder\\b',
'\\b[<←≪]\\b',
'\\b(<<|«)\\b'
]
# Rounding radius (in pixels) for the edges of hints.
# Type: Int
c.hints.radius = 3
# Scatter hint key chains (like Vimium) or not (like dwb). Ignored for
# number hints.
# Type: Bool
c.hints.scatter = True
# CSS selectors used to determine which elements on a page should have
# hints.
# Type: Dict
c.hints.selectors = {
'all': [
'a',
'area',
'textarea',
'select',
'input:not([type="hidden"])',
'button',
'frame',
'iframe',
'img',
'link',
'summary',
'[contenteditable]:not([contenteditable="false"])',
'[onclick]',
'[onmousedown]',
'[role="link"]',
'[role="option"]',
'[role="button"]',
'[ng-click]',
'[ngClick]',
'[data-ng-click]',
'[x-ng-click]',
'[tabindex]'
],
'links': [
'a[href]',
'area[href]',
'link[href]',
'[role="link"][href]'
],
'images': [
'img'
],
'media': [
'audio',
'img',
'video'
],
'url': [
'[src]',
'[href]'
],
'inputs': [
'input[type="text"]',
'input[type="date"]',
'input[type="datetime-local"]',
'input[type="email"]',
'input[type="month"]',
'input[type="number"]',
'input[type="password"]',
'input[type="search"]',
'input[type="tel"]',
'input[type="time"]',
'input[type="url"]',
'input[type="week"]',
'input:not([type])',
'[contenteditable]:not([contenteditable="false"])',
'textarea'
]}
# Make characters in hint strings uppercase.
# Type: Bool
c.hints.uppercase = False
+70
View File
@@ -0,0 +1,70 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Which unbound keys to forward to the webview in normal mode.
# Type: String
# Valid values:
# - all: Forward all unbound keys.
# - auto: Forward unbound non-alphanumeric keys.
# - none: Don't forward any keys.
c.input.forward_unbound_keys = 'auto'
# Enter insert mode if an editable element is clicked.
# Type: Bool
c.input.insert_mode.auto_enter = True
# Leave insert mode if a non-editable element is clicked.
# Type: Bool
c.input.insert_mode.auto_leave = True
# Automatically enter insert mode if an editable element is focused
# after loading the page.
# Type: Bool
c.input.insert_mode.auto_load = False
# Leave insert mode when starting a new page load. Patterns may be
# unreliable on this setting, and they may match the url you are
# navigating to, or the URL you are navigating from.
# Type: Bool
c.input.insert_mode.leave_on_load = True
# Switch to insert mode when clicking flash and other plugins.
# Type: Bool
c.input.insert_mode.plugins = True
# Include hyperlinks in the keyboard focus chain when tabbing.
# Type: Bool
c.input.links_included_in_focus_chain = True
# Whether the underlying Chromium should handle media keys. On Linux,
# disabling this also disables Chromium's MPRIS integration.
# Type: Bool
c.input.media_keys = True
# Enable back and forward buttons on the mouse.
# Type: Bool
c.input.mouse.back_forward_buttons = True
# Enable Opera-like mouse rocker gestures. This disables the context
# menu.
# Type: Bool
c.input.mouse.rocker_gestures = False
# Timeout (in milliseconds) for partially typed key bindings. If the
# current input forms only partial matches, the keystring will be
# cleared after this time. If set to 0, partially typed bindings are
# never cleared.
# Type: Int
c.input.partial_timeout = 0
# Enable spatial navigation. Spatial navigation consists in the ability
# to navigate between focusable elements in a Web page, such as
# hyperlinks and form controls, by using Left, Right, Up and Down arrow
# keys. For example, if the user presses the Right key, heuristics
# determine whether there is an element he might be trying to reach
# towards the right and which element he probably wants.
# Type: Bool
c.input.spatial_navigation = False
+393
View File
@@ -0,0 +1,393 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# config.bind(',v', 'spawn mpv {url}')
# config.bind(',d', 'spawn ytdl {url}')
# bookmarks
config.bind(",ba", "bookmark-add")
config.bind(",bb", "cmd-set-text -s :bookmark-load")
config.bind(",bl", "bookmark-list")
config.bind(",bj", "bookmark-list --jump")
config.bind(",bt", "cmd-set-text -s :bookmark-load -t")
config.bind(",bw", "cmd-set-text -s :bookmark-load -w")
config.bind(",bql", "cmd-set-text -s :quickmark-load")
config.bind(",bqL", "cmd-set-text -s :quickmark-load -t")
config.bind(",bqs", "quickmark-save")
config.bind(",bqw", "cmd-set-text -s :quickmark-load -w")
# config cycle
config.bind(
",cCH",
"config-cycle -p -u *://*.{url:host}/* content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(
",cCh",
"config-cycle -p -u *://{url:host}/* content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(
",cCu",
"config-cycle -p -u {url} content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(",cIH", "config-cycle -p -u *://*.{url:host}/* content.images ;; reload")
config.bind(",cIh", "config-cycle -p -u *://{url:host}/* content.images ;; reload")
config.bind(",cIu", "config-cycle -p -u {url} content.images ;; reload")
config.bind(",cPH", "config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload")
config.bind(",cPh", "config-cycle -p -u *://{url:host}/* content.plugins ;; reload")
config.bind(",cPu", "config-cycle -p -u {url} content.plugins ;; reload")
config.bind(
",cSH", "config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload"
)
config.bind(
",cSh", "config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload"
)
config.bind(",cSu", "config-cycle -p -u {url} content.javascript.enabled ;; reload")
config.bind(
",ccH",
"config-cycle -p -t -u *://*.{url:host}/* content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(
",cch",
"config-cycle -p -t -u *://{url:host}/* content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(
",ccu",
"config-cycle -p -t -u {url} content.cookies.accept all no-3rdparty never ;; reload",
)
config.bind(",ch", "back -t")
config.bind(",ciH", "config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload")
config.bind(",cih", "config-cycle -p -t -u *://{url:host}/* content.images ;; reload")
config.bind(",ciu", "config-cycle -p -t -u {url} content.images ;; reload")
config.bind(",cl", "forward -t")
config.bind(
",cpH", "config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload"
)
config.bind(",cph", "config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload")
config.bind(",cpu", "config-cycle -p -t -u {url} content.plugins ;; reload")
config.bind(
",csH",
"config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload",
)
config.bind(
",csh",
"config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload",
)
config.bind(",csu", "config-cycle -p -t -u {url} content.javascript.enabled ;; reload")
# downloads
config.bind(",da", "download-cancel")
config.bind(",dd", "download")
config.bind(",dc", "download-clear")
config.bind(",dy", "spawn ytdl {url}")
# dev tools
config.bind(",Dd", "devtools")
config.bind(",Df", "devtools-focus")
config.bind(",Dc", "devtools left")
config.bind(",Dt", "devtools bottom")
config.bind(",Ds", "devtools top")
config.bind(",Dr", "devtools right")
config.bind(",Dw", "devtools window")
# save
config.bind("fs", "save")
# hints
config.bind(",hd", "hint links download")
config.bind(",hh", "hint")
config.bind(",hH", "hint all hover")
config.bind(",hii", "hint images")
config.bind(",hiI", "hint images tab")
config.bind(",hIi", "hint inputs")
config.bind(",hIf", "hint inputs --first")
config.bind(",hO", "hint links fill :open -t -r {hint-url}")
config.bind(",ho", "hint links fill :open {hint-url}")
config.bind(",hR", "hint --rapid links window")
config.bind(",hr", "hint --rapid links tab-bg")
config.bind(",htb", "hint all tab-bg")
config.bind(",htf", "hint all tab-fg")
config.bind(",htt", "hint all tab")
config.bind(",hw", "hint all window")
config.bind(",hy", "hint links yank")
config.bind(",hY", "hint links yank-primary")
# Bindings for hint mode
config.bind("<Ctrl-B>", "hint all tab-bg", mode="hint")
config.bind("<Ctrl-F>", "hint links", mode="hint")
config.bind("<Ctrl-R>", "hint --rapid links tab-bg", mode="hint")
config.bind("<Escape>", "mode-leave", mode="hint")
config.bind("<Return>", "hint-follow", mode="hint")
# Move
config.bind("<Ctrl-PgDown>", "tab-next")
config.bind("<Ctrl-C>", "back -w")
config.bind("<Ctrl-R>", "forward -w")
config.bind("<Ctrl-h>", "home")
config.bind("T", "tab-next")
config.bind("S", "tab-prev")
config.bind("C", "back")
config.bind("R", "forward")
# cmd
config.bind(",sb", "cmd-set-text -s :bind")
config.bind(",st", "cmd-set-text -s :set -t")
config.bind(",ss", "set")
config.bind(",sS", "cmd-set-text -s :set")
# open
config.bind("<Ctrl-N>", "open -w")
config.bind("<Ctrl-Shift-N>", "open -p")
config.bind("<Ctrl-T>", "open -t")
config.bind(",ob", "cmd-set-text -s :open -b")
config.bind(",oB", "cmd-set-text :open -b -r {url:pretty}")
config.bind(",oP", "cmd-set-text :open -t -r {url:pretty}")
config.bind(",ott", "open -t")
config.bind(",otT", "cmd-set-text -s :open -t")
config.bind(",ow", "cmd-set-text -s :open -w")
config.bind(",oW", "cmd-set-text :open -w {url:pretty}")
config.bind(",occ", "open -- {clipboard}")
config.bind(",ocC", "open -t -- {clipboard}")
config.bind(",ocp", "open -- {primary}")
config.bind(",ocP", "open -t -- {primary}")
config.bind(",ocw", "open -w -- {clipboard}")
config.bind(",ocW", "open -w -- {primary}")
config.bind("o", "cmd-set-text -s :open")
config.bind("O", "cmd-set-text :open {url:pretty}")
# tabs
config.bind("<Alt-1>", "tab-focus 1")
config.bind("<Alt-2>", "tab-focus 2")
config.bind("<Alt-3>", "tab-focus 3")
config.bind("<Alt-4>", "tab-focus 4")
config.bind("<Alt-5>", "tab-focus 5")
config.bind("<Alt-6>", "tab-focus 6")
config.bind("<Alt-7>", "tab-focus 7")
config.bind("<Alt-8>", "tab-focus 8")
config.bind("<Alt-9>", "tab-focus -1")
config.bind("<Alt-m>", "tab-mute")
config.bind("<Ctrl-Tab>", "tab-focus last")
config.bind("<Ctrl-W>", "tab-close")
config.bind(",tT", "tab-move +")
config.bind(",tS", "tab-move -")
config.bind(",tn", "tab-next")
config.bind(",tp", "tab-prev")
config.bind(",t«", "tab-focus -1")
config.bind(",t»", "tab-focus 1")
config.bind(",tC", "tab-clone")
config.bind(",tD", "tab-only")
config.bind(",td", "tab-close")
config.bind(",tf", "cmd-set-text -sr :tab-focus")
config.bind(",tg", "tab-give")
config.bind(",tl", "tab-focus last")
config.bind(",tm", "tab-move")
config.bind(",tP", "tab-pin")
config.bind(",ts", "cmd-set-text -s :tab-select")
# scoll
config.bind("G", "scroll-to-perc")
config.bind("gg", "scroll-to-perc 0")
config.bind("c", "scroll left")
config.bind("t", "scroll down")
config.bind("s", "scroll up")
config.bind("r", "scroll right")
config.bind("<Ctrl-F>", "scroll-page 0 1")
config.bind("<Ctrl-B>", "scroll-page 0 -1")
config.bind("<Ctrl-D>", "scroll-page 0 0.5")
config.bind("<Ctrl-U>", "scroll-page 0 -0.5")
# navigate
config.bind(",nd", "navigate decrement")
config.bind(",ni", "navigate increment")
config.bind(",nn", "navigate prev")
config.bind(",nN", "navigate next -t")
config.bind(",np", "navigate next")
config.bind(",nP", "navigate prev -t")
config.bind(",nu", "navigate up")
config.bind(",nU", "navigate up -t")
# search
config.bind("n", "search-next")
config.bind("N", "search-prev")
# print
config.bind("<Ctrl-Alt-p>", "print")
config.bind(",qq", "quit")
config.bind(",qs", "quit --save")
config.bind(",qw", "close")
config.bind("<Ctrl-Q>", "quit")
# reload
config.bind(",rr", "reload")
config.bind(",rR", "reload -f")
config.bind("<F5>", "reload")
config.bind("<Ctrl-F5>", "reload -f")
# view
config.bind(",vh", "history")
config.bind(",vs", "view-source")
config.bind(",vm", "spawn mpv {url}")
# yank
config.bind("yd", "yank domain")
config.bind("yD", "yank domain -s")
config.bind("yi", "yank inline [{title}]({url})")
config.bind("yI", "yank inline [{title}]({url}) -s")
config.bind("yp", "yank pretty-url")
config.bind("yP", "yank pretty-url -s")
config.bind("yt", "yank title")
config.bind("yT", "yank title -s")
config.bind("yy", "yank")
config.bind("yY", "yank -s")
config.bind("<Escape>", "clear-keychain ;; search ;; fullscreen --leave")
config.bind("+", "zoom-in")
config.bind("-", "zoom-out")
config.bind("=", "zoom")
config.bind("?", "cmd-set-text ?")
config.bind("/", "cmd-set-text /")
config.bind(":", "cmd-set-text :")
config.bind(".", "repeat-command")
config.bind("<Ctrl-Shift-Tab>", "nop")
config.bind("<Ctrl-s>", "stop")
config.bind("<F11>", "fullscreen")
config.bind("<Return>", "selection-follow")
config.bind("<Ctrl-Return>", "selection-follow -t")
config.bind("<back>", "back")
config.bind("<forward>", "forward")
config.bind("<Ctrl-V>", "mode-enter passthrough")
config.bind("'", "mode-enter jump_mark")
config.bind("v", "mode-enter caret")
config.bind("V", "mode-enter caret ;; selection-toggle --line")
config.bind("`", "mode-enter set_mark")
config.bind("i", "mode-enter insert")
config.bind("q", "macro-record")
config.bind("@", "macro-run")
config.bind("U", "undo -w")
config.bind("<Ctrl-Shift-T>", "undo")
config.bind("u", "undo")
# Bindings for caret mode
config.bind("C", "scroll left", mode="caret")
config.bind("T", "scroll down", mode="caret")
config.bind("S", "scroll up", mode="caret")
config.bind("R", "scroll right", mode="caret")
config.bind("c", "move-to-prev-char", mode="caret")
config.bind("t", "move-to-next-line", mode="caret")
config.bind("s", "move-to-prev-line", mode="caret")
config.bind("r", "move-to-next-char", mode="caret")
config.bind("$", "move-to-end-of-line", mode="caret")
config.bind("0", "move-to-start-of-line", mode="caret")
config.bind("<Ctrl-Space>", "selection-drop", mode="caret")
config.bind("<Escape>", "mode-leave", mode="caret")
config.bind("<Return>", "yank selection", mode="caret")
config.bind("<Space>", "selection-toggle", mode="caret")
config.bind("v", "selection-toggle", mode="caret")
config.bind("V", "selection-toggle --line", mode="caret")
config.bind("y", "yank selection", mode="caret")
config.bind("Y", "yank selection -s", mode="caret")
config.bind("[", "move-to-start-of-prev-block", mode="caret")
config.bind("]", "move-to-start-of-next-block", mode="caret")
config.bind("{", "move-to-end-of-prev-block", mode="caret")
config.bind("}", "move-to-end-of-next-block", mode="caret")
config.bind("b", "move-to-prev-word", mode="caret")
config.bind("e", "move-to-end-of-word", mode="caret")
config.bind("gg", "move-to-start-of-document", mode="caret")
config.bind("G", "move-to-end-of-document", mode="caret")
config.bind("n", "mode-enter normal", mode="caret")
config.bind("o", "selection-reverse", mode="caret")
config.bind("w", "move-to-next-word", mode="caret")
# Bindings for command mode
config.bind("<Alt-B>", "rl-backward-word", mode="command")
config.bind("<Alt-Backspace>", "rl-backward-kill-word", mode="command")
config.bind("<Alt-D>", "rl-kill-word", mode="command")
config.bind("<Alt-F>", "rl-forward-word", mode="command")
config.bind("<Ctrl-?>", "rl-delete-char", mode="command")
config.bind("<Ctrl-A>", "rl-beginning-of-line", mode="command")
config.bind("<Ctrl-B>", "rl-backward-char", mode="command")
config.bind("<Ctrl-C>", "completion-item-yank", mode="command")
config.bind("<Ctrl-D>", "completion-item-del", mode="command")
config.bind("<Ctrl-E>", "rl-end-of-line", mode="command")
config.bind("<Ctrl-F>", "rl-forward-char", mode="command")
config.bind("<Ctrl-H>", "rl-backward-delete-char", mode="command")
config.bind("<Ctrl-K>", "rl-kill-line", mode="command")
config.bind("<Ctrl-N>", "command-history-next", mode="command")
config.bind("<Ctrl-P>", "command-history-prev", mode="command")
config.bind("<Ctrl-Return>", "command-accept --rapid", mode="command")
config.bind("<Ctrl-Shift-C>", "completion-item-yank --sel", mode="command")
config.bind("<Ctrl-Shift-Tab>", "completion-item-focus prev-category", mode="command")
config.bind("<Ctrl-Tab>", "completion-item-focus next-category", mode="command")
config.bind("<Ctrl-U>", "rl-unix-line-discard", mode="command")
config.bind("<Ctrl-W>", "rl-unix-word-rubout", mode="command")
config.bind("<Ctrl-Y>", "rl-yank", mode="command")
config.bind("<Down>", "completion-item-focus --history next", mode="command")
config.bind("<Escape>", "mode-leave", mode="command")
config.bind("<PgDown>", "completion-item-focus next-page", mode="command")
config.bind("<PgUp>", "completion-item-focus prev-page", mode="command")
config.bind("<Return>", "command-accept", mode="command")
config.bind("<Shift-Delete>", "completion-item-del", mode="command")
config.bind("<Shift-Tab>", "completion-item-focus prev", mode="command")
config.bind("<Tab>", "completion-item-focus next", mode="command")
config.bind("<Up>", "completion-item-focus --history prev", mode="command")
# Bindings for insert mode
config.bind("<Ctrl-E>", "edit-text", mode="insert")
config.bind("<Escape>", "mode-leave", mode="insert")
config.bind("<Shift-Escape>", "fake-key <Escape>", mode="insert")
config.bind("<Shift-Ins>", "insert-text -- {primary}", mode="insert")
# Bindings for passthrough mode
config.bind("<Shift-Escape>", "mode-leave", mode="passthrough")
# Bindings for prompt mode
config.bind("<Alt-B>", "rl-backward-word", mode="prompt")
config.bind("<Alt-Backspace>", "rl-backward-kill-word", mode="prompt")
config.bind("<Alt-D>", "rl-kill-word", mode="prompt")
config.bind("<Alt-F>", "rl-forward-word", mode="prompt")
config.bind("<Alt-Shift-Y>", "prompt-yank --sel", mode="prompt")
config.bind("<Alt-Y>", "prompt-yank", mode="prompt")
config.bind("<Ctrl-?>", "rl-delete-char", mode="prompt")
config.bind("<Ctrl-A>", "rl-beginning-of-line", mode="prompt")
config.bind("<Ctrl-B>", "rl-backward-char", mode="prompt")
config.bind("<Ctrl-E>", "rl-end-of-line", mode="prompt")
config.bind("<Ctrl-F>", "rl-forward-char", mode="prompt")
config.bind("<Ctrl-H>", "rl-backward-delete-char", mode="prompt")
config.bind("<Ctrl-K>", "rl-kill-line", mode="prompt")
config.bind("<Ctrl-P>", "prompt-open-download --pdfjs", mode="prompt")
config.bind("<Ctrl-U>", "rl-unix-line-discard", mode="prompt")
config.bind("<Ctrl-W>", "rl-unix-word-rubout", mode="prompt")
config.bind("<Ctrl-X>", "prompt-open-download", mode="prompt")
config.bind("<Ctrl-Y>", "rl-yank", mode="prompt")
config.bind("<Down>", "prompt-item-focus next", mode="prompt")
config.bind("<Escape>", "mode-leave", mode="prompt")
config.bind("<Return>", "prompt-accept", mode="prompt")
config.bind("<Shift-Tab>", "prompt-item-focus prev", mode="prompt")
config.bind("<Tab>", "prompt-item-focus next", mode="prompt")
config.bind("<Up>", "prompt-item-focus prev", mode="prompt")
# Bindings for register mode
config.bind("<Escape>", "mode-leave", mode="register")
# Bindings for yesno mode
config.bind("<Alt-Shift-Y>", "prompt-yank --sel", mode="yesno")
config.bind("<Alt-Y>", "prompt-yank", mode="yesno")
config.bind("<Escape>", "mode-leave", mode="yesno")
config.bind("<Return>", "prompt-accept", mode="yesno")
config.bind("N", "prompt-accept --save no", mode="yesno")
config.bind("Y", "prompt-accept --save yes", mode="yesno")
config.bind("n", "prompt-accept no", mode="yesno")
config.bind("y", "prompt-accept yes", mode="yesno")
+1
View File
@@ -0,0 +1 @@
../../fromGIT/qutebrowser-nord/nord-qutebrowser.py
+44
View File
@@ -0,0 +1,44 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Padding (in pixels) for the statusbar.
# Type: Padding
c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}
# Position of the status bar.
# Type: VerticalPosition
# Valid values:
# - top
# - bottom
c.statusbar.position = 'bottom'
# When to show the statusbar.
# Type: String
# Valid values:
# - always: Always show the statusbar.
# - never: Always hide the statusbar.
# - in-mode: Show the statusbar when in modes other than normal mode.
c.statusbar.show = 'in-mode'
# List of widgets displayed in the statusbar.
# Type: List of StatusbarWidget
# Valid values:
# - url: Current page URL.
# - scroll: Percentage of the current page position like `10%`.
# - scroll_raw: Raw percentage of the current page position like `10`.
# - history: Display an arrow when possible to go back/forward in history.
# - tabs: Current active tab, e.g. `2`.
# - keypress: Display pressed keys when composing a vi command.
# - progress: Progress bar for the current page loading.
# - text:foo: Display the static text after the colon, `foo` in the example.
c.statusbar.widgets = [
'keypress',
'url',
'scroll',
'history',
'progress',
'tabs',
]
+212
View File
@@ -0,0 +1,212 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Open new tabs (middleclick/ctrl+click) in the background.
# Type: Bool
c.tabs.background = True
# Mouse button with which to close tabs.
# Type: String
# Valid values:
# - right: Close tabs on right-click.
# - middle: Close tabs on middle-click.
# - none: Don't close tabs using the mouse.
c.tabs.close_mouse_button = 'middle'
# How to behave when the close mouse button is pressed on the tab bar.
# Type: String
# Valid values:
# - new-tab: Open a new tab.
# - close-current: Close the current tab.
# - close-last: Close the last tab.
# - ignore: Don't do anything.
c.tabs.close_mouse_button_on_bar = 'new-tab'
# Scaling factor for favicons in the tab bar. The tab size is unchanged,
# so big favicons also require extra `tabs.padding`.
# Type: Float
c.tabs.favicons.scale = 1.0
# When to show favicons in the tab bar. When switching this from never
# to always/pinned, note that favicons might not be loaded yet, thus
# tabs might require a reload to display them.
# Type: String
# Valid values:
# - always: Always show favicons.
# - never: Always hide favicons.
# - pinned: Show favicons only on pinned tabs.
c.tabs.favicons.show = 'pinned'
# Maximum stack size to remember for tab switches (-1 for no maximum).
# Type: Int
c.tabs.focus_stack_size = 10
# Padding (in pixels) for tab indicators.
# Type: Padding
c.tabs.indicator.padding = {'top': 2, 'bottom': 2, 'left': 0, 'right': 4}
# Width (in pixels) of the progress indicator (0 to disable).
# Type: Int
c.tabs.indicator.width = 3
# How to behave when the last tab is closed. If the
# `tabs.tabs_are_windows` setting is set, this is ignored and the
# behavior is always identical to the `close` value.
# Type: String
# Valid values:
# - ignore: Don't do anything.
# - blank: Load a blank page.
# - startpage: Load the start page.
# - default-page: Load the default page.
# - close: Close the window.
c.tabs.last_close = 'blank'
# Maximum width (in pixels) of tabs (-1 for no maximum). This setting
# only applies when tabs are horizontal. This setting does not apply to
# pinned tabs, unless `tabs.pinned.shrink` is False. This setting may
# not apply properly if max_width is smaller than the minimum size of
# tab contents, or smaller than tabs.min_width.
# Type: Int
c.tabs.max_width = -1
# Minimum width (in pixels) of tabs (-1 for the default minimum size
# behavior). This setting only applies when tabs are horizontal. This
# setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is
# False.
# Type: Int
c.tabs.min_width = -1
# When switching tabs, what input mode is applied.
# Type: String
# Valid values:
# - persist: Retain the current mode.
# - restore: Restore previously saved mode.
# - normal: Always revert to normal mode.
c.tabs.mode_on_change = 'normal'
# Switch between tabs using the mouse wheel.
# Type: Bool
c.tabs.mousewheel_switching = False
# Position of new tabs opened from another tab. See
# `tabs.new_position.stacking` for controlling stacking behavior.
# Type: NewTabPosition
# Valid values:
# - prev: Before the current tab.
# - next: After the current tab.
# - first: At the beginning.
# - last: At the end.
c.tabs.new_position.related = 'next'
# Stack related tabs on top of each other when opened consecutively.
# Only applies for `next` and `prev` values of
# `tabs.new_position.related` and `tabs.new_position.unrelated`.
# Type: Bool
c.tabs.new_position.stacking = True
# Position of new tabs which are not opened from another tab. See
# `tabs.new_position.stacking` for controlling stacking behavior.
# Type: NewTabPosition
# Valid values:
# - prev: Before the current tab.
# - next: After the current tab.
# - first: At the beginning.
# - last: At the end.
c.tabs.new_position.unrelated = 'last'
# Padding (in pixels) around text for tabs.
# Type: Padding
c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}
# Force pinned tabs to stay at fixed URL.
# Type: Bool
c.tabs.pinned.frozen = True
# Shrink pinned tabs down to their contents.
# Type: Bool
c.tabs.pinned.shrink = True
# Position of the tab bar.
# Type: Position
# Valid values:
# - top
# - bottom
# - left
# - right
c.tabs.position = 'bottom'
# Which tab to select when the focused tab is removed.
# Type: SelectOnRemove
# Valid values:
# - prev: Select the tab which came before the closed one (left in horizontal, above in vertical).
# - next: Select the tab which came after the closed one (right in horizontal, below in vertical).
# - last-used: Select the previously selected tab.
c.tabs.select_on_remove = 'next'
# When to show the tab bar.
# Type: String
# Valid values:
# - always: Always show the tab bar.
# - never: Always hide the tab bar.
# - multiple: Hide the tab bar if only one tab is open.
# - switching: Show the tab bar when switching tabs.
c.tabs.show = 'multiple'
# Duration (in milliseconds) to show the tab bar before hiding it when
# tabs.show is set to 'switching'.
# Type: Int
c.tabs.show_switching_delay = 800
# Open a new window for every tab.
# Type: Bool
c.tabs.tabs_are_windows = False
# Alignment of the text inside of tabs.
# Type: TextAlignment
# Valid values:
# - left
# - right
# - center
c.tabs.title.alignment = 'center'
# Format to use for the tab title. The following placeholders are
# defined: * `{perc}`: Percentage as a string like `[10%]`. *
# `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of
# the current web page. * `{title_sep}`: The string `" - "` if a title
# is set, empty otherwise. * `{index}`: Index of this tab. *
# `{aligned_index}`: Index of this tab padded with spaces to have the
# same width. * `{id}`: Internal tab ID of this tab. * `{scroll_pos}`:
# Page scroll position. * `{host}`: Host of the current web page. *
# `{backend}`: Either `webkit` or `webengine` * `{private}`: Indicates
# when private mode is enabled. * `{current_url}`: URL of the current
# web page. * `{protocol}`: Protocol (http/https/...) of the current web
# page. * `{audio}`: Indicator for audio/mute status.
# Type: FormatString
c.tabs.title.format = '{audio}{index}: {current_title}'
# Format to use for the tab title for pinned tabs. The same placeholders
# like for `tabs.title.format` are defined.
# Type: FormatString
c.tabs.title.format_pinned = '{index}'
# Show tooltips on tabs. Note this setting only affects windows opened
# after it has been set.
# Type: Bool
c.tabs.tooltips = True
# Number of closed tabs (per window) and closed windows to remember for
# :undo (-1 for no maximum).
# Type: Int
c.tabs.undo_stack_size = 100
# Width (in pixels or as percentage of the window) of the tab bar if
# it's vertical.
# Type: PercOrInt
c.tabs.width = '15%'
# Wrap when changing tabs.
# Type: Bool
c.tabs.wrap = True
+80
View File
@@ -0,0 +1,80 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# What search to start when something else than a URL is entered.
# Type: String
# Valid values:
# - naive: Use simple/naive check.
# - dns: Use DNS requests (might be slow!).
# - never: Never search automatically.
# - schemeless: Always search automatically unless URL explicitly contains a scheme.
c.url.auto_search = 'naive'
# Page to open if :open -t/-b/-w is used without URL. Use `about:blank`
# for a blank page.
# Type: FuzzyUrl
c.url.default_page = 'about:blank'
# URL segments where `:navigate increment/decrement` will search for a
# number.
# Type: FlagList
# Valid values:
# - host
# - port
# - path
# - query
# - anchor
c.url.incdec_segments = ['path', 'query']
# Open base URL of the searchengine if a searchengine shortcut is
# invoked without parameters.
# Type: Bool
c.url.open_base_url = False
# Search engines which can be used via the address bar. Maps a search
# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
# placeholder. The placeholder will be replaced by the search term, use
# `{{` and `}}` for literal `{`/`}` braces. The following further
# placeholds are defined to configure how special characters in the
# search terms are replaced by safe characters (called 'quoting'): *
# `{}` and `{semiquoted}` quote everything except slashes; this is the
# most sensible choice for almost all search engines (for the search
# term `slash/and&amp` this placeholder expands to `slash/and%26amp`).
# * `{quoted}` quotes all characters (for `slash/and&amp` this
# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes
# nothing (for `slash/and&amp` this placeholder expands to
# `slash/and&amp`). * `{0}` means the same as `{}`, but can be used
# multiple times. The search engine named `DEFAULT` is used when
# `url.auto_search` is turned on and something else than a URL was
# entered to be opened. Other search engines can be used by prepending
# the search engine name to the search term, e.g. `:open google
# qutebrowser`.
# Type: Dict
c.url.searchengines = {
'DEFAULT': 'https://duckduckgo.com/?q={}',
'afr': 'https://www.amazon.fr/s?k={}',
'aw': 'https://wiki.archlinux.org/index.php?title=Special%3ASearch&search={}',
'ddg': 'https://duckduckgo.com/?q={}',
'g': 'https://www.google.com/search?hl=en&q={}',
'yt': 'https://www.youtube.com/results?search_query={}',
}
# Page(s) to open at the start.
# Type: List of FuzzyUrl, or FuzzyUrl
c.url.start_pages = [
'https://labs.phundrak.com'
]
# URL parameters to strip with `:yank url`.
# Type: List of String
c.url.yank_ignored_parameters = [
'ref',
'utm_source',
'utm_medium',
'utm_campaign',
'utm_term',
'utm_content'
]
+24
View File
@@ -0,0 +1,24 @@
# pylint: disable=C0111
from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103
c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103
# Hide the window decoration. This setting requires a restart on
# Wayland.
# Type: Bool
c.window.hide_decoration = True
# Format to use for the window title. The same placeholders like for
# `tabs.title.format` are defined.
# Type: FormatString
c.window.title_format = '{current_title}{title_sep}qutebrowser'
# Set the main window background to transparent. This allows having a
# transparent tab- or statusbar (might require a compositor such as
# picom). However, it breaks some functionality such as dmenu embedding
# via its `-w` option. On some systems, it was additionally reported
# that main window transparency negatively affects performance. Note
# this setting only affects windows opened after setting it.
# Type: Bool
c.window.transparent = True
+6 -148
View File
@@ -1,150 +1,8 @@
/* -*- mode: css; -*- */ /* -*- mode: scss -*- */
configuration { configuration {
/* columns: 4; */ show-icons: true;
combi-modi: [window,drun,ssh]; sidebar-mode: false;
location: 0; modi: "ssh,drun,combi";
/* modi: [window,drun,ssh,combi]; */
lines: 20;
parse-hosts: false;
parse-known-hosts: false;
terminal: "st";
/* theme: "~/.cache/wal/colors-rofi-dark.rasi"; */
/* width: 50; */
/* auto-select: false;*/
/* bw: 1; */
/* cache-dir: ;*/
/* case-sensitive: false;*/
/* click-to-exit: true;*/
/* color-active: ;*/
/* color-normal: ;*/
/* color-urgent: ;*/
/* color-window: ;*/
/* combi-hide-mode-prefix: false;*/
/* combi-modi: "window,drun,ssh,combi"; */
/* cycle: true;*/
/* disable-history: false; */
/* display-combi: ;*/
/* display-drun: ;*/
/* display-keys: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-window: ;*/
/* display-windowcd: ;*/
/* dpi: -1;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; */
/* drun-match-fields: "name,generic,exec,categories"; */
/* drun-show-actions: false;*/
/* eh: 1;*/
/* fake-background: "screenshot";*/
/* fake-transparency: false;*/
/* filter: ;*/
/* fixed-num-lines: true;*/
/* font: "mono 12";*/
/* fullscreen: false;*/
/* hide-scrollbar: false;*/
/* icon-theme: ""; */
/* ignored-prefixes: "";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-clear-line: "Control+w";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-move-end: "Control+e";*/
/* kb-move-front: "Control+a";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-page-next: "Page_Down";*/
/* kb-page-prev: "Page_Up";*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-select: "Control+space";*/
/* kb-row-tab: "Tab";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-screenshot: "Alt+S";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-select-10: "Super+0";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* line-margin: 2;*/
/* line-padding: 1;*/
/* m: "-5";*/
/* matching-negate-char: '-' /* unsupported */;*/
/* matching: "normal";*/
/* max-history-size: 25;*/
/* me-accept-custom: "Control+MouseDPrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-select-entry: "MousePrimary";*/
/* ml-row-down: "ScrollDown";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* padding: 5; */
/* pid: "/run/user/1000/rofi.pid";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* scroll-method: 0;*/
/* scrollbar-width: 8;*/
/* separator-style: "dash";*/
/* show-icons: true; */
/* show-match: true;*/
/* show: combi; */
/* sidebar-mode: true; */
/* sort: true; */
/* sorting-method: ;*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* threads: 0;*/
/* tokenize: true;*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-format: "{w} {c} {t}";*/
/* window-match-fields: "all";*/
/* xoffset: 0; */
/* yoffset: 0; */
} }
@import "flamingo" @theme "nord"
@theme "~/.cache/wal/colors-rofi-dark.rasi"
+142
View File
@@ -0,0 +1,142 @@
/* -*- mode: css -*- */
/**
* Nordic rofi theme
* Adapted by undiabler <undiabler@gmail.com>
*
* Nord Color palette imported from https://www.nordtheme.com/
*
*/
configuration {
font: "Envy Code R 10";
width: 30;
line-margin: 10;
lines: 6;
columns: 2;
display-ssh: "";
display-run: "";
display-drun: "";
display-window: "";
display-combi: "";
show-icons: true;
}
* {
nord0: #2e3440;
nord1: #3b4252;
nord2: #434c5e;
nord3: #4c566a;
nord4: #d8dee9;
nord5: #e5e9f0;
nord6: #eceff4;
nord7: #8fbcbb;
nord8: #88c0d0;
nord9: #81a1c1;
nord10: #5e81ac;
nord11: #bf616a;
nord12: #d08770;
nord13: #ebcb8b;
nord14: #a3be8c;
nord15: #b48ead;
foreground: @nord9;
backlight: #ccffeedd;
background-color: transparent;
highlight: underline bold #eceff4;
transparent: rgba(46,52,64,0);
}
window {
location: center;
anchor: center;
transparency: "screenshot";
border: 0px;
border-radius: 6px;
background-color: @transparent;
spacing: 0;
children: [mainbox];
orientation: horizontal;
}
mainbox {
spacing: 0;
children: [ inputbar, message, listview ];
}
message {
color: @nord0;
padding: 5;
border-color: @foreground;
border: 0px 2px 2px 2px;
background-color: @nord7;
}
inputbar {
color: @nord6;
padding: 11px;
background-color: #3b4252;
border: 1px;
border-radius: 6px 6px 0px 0px;
border-color: @nord10;
}
entry, prompt, case-indicator {
text-font: inherit;
text-color:inherit;
}
prompt {
margin: 0px 0.3em 0em 0em ;
}
listview {
padding: 8px;
border-radius: 0px 0px 6px 6px;
border-color: @nord10;
border: 0px 1px 1px 1px;
background-color: rgba(46,52,64,0.9);
dynamic: false;
}
element {
padding: 3px;
vertical-align: 0.5;
border-radius: 4px;
background-color: transparent;
color: @foreground;
text-color: rgb(216, 222, 233);
}
element selected.normal {
background-color: @nord7;
text-color: #2e3440;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
button {
padding: 6px;
color: @foreground;
horizontal-align: 0.5;
border: 2px 0px 2px 2px;
border-radius: 4px 0px 0px 4px;
border-color: @foreground;
}
button selected normal {
border: 2px 0px 2px 2px;
border-color: @foreground;
}
+303
View File
@@ -0,0 +1,303 @@
set $nord0 #2E3440
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
set $bg $nord3
set $fg $nord5
set $mod Mod4
set $left c
set $down t
set $up s
set $right r
set $term kitty
set $menu "rofi -combi-modi drun -show combi"
output eDP-1 {
mode 1920x1080@120Hz
position 2560,0
bg /home/phundrak/Pictures/Wallpapers/nord/spacemars.jpg fill
}
output HDMI-A-1 {
mode 2560x1080@60Hz
position 0,0
bg /home/phundrak/Pictures/Wallpapers/nord/spacemars.jpg fill
}
exec swayidle -w \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 601 'plock' \
before-sleep 'playerctl pause' \
before-sleep 'plock'
input "2:14:ETPS/2_Elantech_Touchpad" {
dwt enabled
tap enabled
natural_scroll disabled
middle_emulation enabled
}
input "1267:12642:ELAN0412:00_04F3:3162_Touchpad" {
dwt enabled
tap enabled
natural_scroll disabled
middle_emulation enabled
}
input "1386:792:Wacom_USB_Bamboo_PAD_Finger" {
dwt enabled
tap enabled
middle_emulation enabled
}
input "1386:792:Wacom_USB_Bamboo_PAD_Pen" {
map_to_output HDMI-A-1
}
input * {
xkb_layout "fr"
xkb_variant "bepo_afnor"
xkb_options "caps:ctrl_modifier"
}
input type:keyboard xkb_numlock enabled
mode "resize" {
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
mode "buffers" {
bindsym d kill; mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
mode "rofi" {
bindsym a exec awiki; mode "default"
bindsym b exec bluetooth-connect; mode "default"
bindsym e exec rofi-emoji; mode "default"
bindsym r exec $menu; mode "default"
bindsym s exec rofi -show ssh; mode "default"
bindsym y exec ytplay; mode "default"
bindsym Shift+y exec rofi-ytdl; mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
mode "apps" {
bindsym b exec firefox; mode "default"
bindsym Shift+b exec qutebrowser; mode "default"
bindsym d exec discord; mode "default"
bindsym e exec emacsclient -c; mode "default"
bindsym g exec gimp; mode "default"
bindsym n exec nemo; mode "default"
bindsym r mode "rofi"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
mode "windows" {
bindsym period mode "resize"
bindsym $left focus left; mode "default"
bindsym $right focus right; mode "default"
bindsym $up focus up; mode "default"
bindsym $down focus down; mode "default"
bindsym Shift+$left move left; mode "default"
bindsym Shift+$right move right; mode "default"
bindsym Shift+$up move up; mode "default"
bindsym Shift+$down move down; mode "default"
bindsym Ctrl+$left move workspace to output left; mode "default"
bindsym Ctrl+$right move workspace to output right; mode "default"
bindsym Ctrl+$up move workspace to output up; mode "default"
bindsym Ctrl+$down move workspace to output down; mode "default"
bindsym slash splith; mode "default"
bindsym minus splitv; mode "default"
bindsym a focus parent; mode "default"
bindsym d kill; mode "default"
bindsym f fullscreen; mode "default"
bindsym Shift+f floating toggle; mode "default"
bindsym Space focus mode_toggle; mode "default"
bindsym e layout toggle split; mode "default"
bindsym i layout tabbed; mode "default"
bindsym u layout stacking; mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
mode "sway" {
bindsym r reload
bindsym q exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
}
mode "leader" {
bindsym minus move scratchpad; mode "default"
bindsym plus scratchpad show; mode "default"
bindsym a mode "apps"
bindsym b mode "buffers"
bindsym l exec "plock"; mode "default"
bindsym q mode "sway"
bindsym w mode "windows"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
}
bindsym $mod+$left focus left
bindsym $mod+$right focus right
bindsym $mod+$up focus up
bindsym $mod+$down focus down
bindgesture swipe:3:left focus left
bindgesture swipe:3:right focus right
bindgesture swipe:3:up focus up
bindgesture swipe:3:down focus down
bindsym Shift+$mod+$left move left
bindsym Shift+$mod+$right move right
bindsym Shift+$mod+$up move up
bindsym Shift+$mod+$down move down
bindgesture swipe:4:left move left
bindgesture swipe:4:right move right
bindgesture swipe:4:up move up
bindgesture swipe:4:down move down
mode "screenshot" {
bindsym Print exec "screenshot"; mode "default"
bindsym c exec "screenshot -c"; mode "default"
bindsym s exec "screenshot -s"; mode "default"
bindsym g exec "screenshot -g"; mode "default"
bindsym d exec "screenshot -d 3"; mode "default"
bindsym Shift+s exec "screenshot -sc"; mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+g mode "default"
bindsym q mode "default"
}
bindsym $mod+Space mode "leader"
bindsym $mod+Return exec $term
bindsym $mod+d exec $menu
bindsym Print mode "screenshot"
bindsym $mod+Print exec "screenshot -c"
bindsym $mod+quotedbl workspace number 1
bindsym $mod+guillemotleft workspace number 2
bindsym $mod+guillemotright workspace number 3
bindsym $mod+parenleft workspace number 4
bindsym $mod+parenright workspace number 5
bindsym $mod+at workspace number 6
bindsym $mod+plus workspace number 7
bindsym $mod+minus workspace number 8
bindsym $mod+slash workspace number 9
bindsym $mod+asterisk workspace number 0
bindsym $mod+Shift+quotedbl move container to workspace number 1
bindsym $mod+Shift+guillemotleft move container to workspace number 2
bindsym $mod+Shift+guillemotright move container to workspace number 3
bindsym $mod+Shift+parenleft move container to workspace number 4
bindsym $mod+Shift+parenright move container to workspace number 5
bindsym $mod+Shift+at move container to workspace number 6
bindsym $mod+Shift+plus move container to workspace number 7
bindsym $mod+Shift+minus move container to workspace number 8
bindsym $mod+Shift+slash move container to workspace number 9
bindsym $mod+Shift+asterisk move container to workspace number 0
bindsym --locked XF86AudioPlay exec playerctl play-pause
bindsym --locked XF86AudioPause exec playerctl pause
bindsym --locked XF86AudioStop exec playerctl stop
bindsym --locked XF86AudioPrev exec playerctl previous
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioForward exec playerctl position +1
bindsym --locked XF86AudioRewind exec playerctl position -1
bindsym --locked XF86AudioRaiseVolume exec pamixer -i 2
bindsym --locked XF86AudioLowerVolume exec pamixer -d 2
bindsym XF86MonBrightnessUp exec xbacklight -perceived -inc 2
bindsym XF86MonBrightnessDown exec xbacklight -perceived -dec 2
bindsym XF86KbdBrightnessUp exec xbacklight -perceived -inc 2
bindsym XF86KbdBrightnessDown exec xbacklight -perceived -dec 2
floating_modifier $mod normal
gaps outer 15px
gaps inner 20px
default_border pixel 2
smart_borders on
# class border background text indicator child_border
client.urgent $nord11 $nord11 $nord6 $nord11 $nord1
client.focused $nord3 $nord3 $nord5 $nord3 $nord3
client.focused_inactive $nord2 $nord2 $nord5 $nord2 $nord2
client.unfocused $nord0 $nord0 $nord4 $nord0 $nord0
client.placeholder $nord7 $nord7 $nord6 $nord7 nord7
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
height 20
status_command while swaybar-cmd; do sleep 1; done
font FantasqueSansMono Nerd Font Mono 10
colors {
statusline $nord5
background $nord3
# border bg text
focused_workspace $nord10 $nord10 $nord5
active_workspace $nord9 $nord9 $nord5
inactive_workspace $nord7 $nord7 $nord5
urgent_workspace $nord11 $nord11 $nord6
binding_mode $nord14 $nord14 $nord6
}
}
include /etc/sway/config.d/*
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=MPRIS implementation for MPD
Requires=mpd.service
After=mpd.service
[Service]
Type=simple
ExecStart=/usr/bin/mpd-mpris
[Install]
WantedBy=default.target
@@ -0,0 +1,12 @@
[Unit]
Description=PipeWire Input Filter Chain
After=pipewire.service
BindsTo=pipewire.service
[Service]
ExecStart=/usr/bin/pipewire -c /usr/share/pipewire/filter-chain/source-rnnoise.conf
Type=simple
Restart=on-failure
[Install]
WantedBy=pipewire.service
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Keep track of media player activity
[Service]
Type=dbus
ExecStart=/usr/bin/playerctld daemon
BusName=org.mpris.MediaPlayer2.playerctld
[Install]
WantedBy=default.target
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Lightweight and dead simple power manager
[Service]
Type=simple
ExecStart=/usr/bin/pumopm
[Install]
WantedBy=default.target
Submodule .config/tmux deleted from f4fc2730cf
+84
View File
@@ -0,0 +1,84 @@
[misc]
# Don't ask for confirmations
#assume_yes = true
# Disable specific steps - same options as the command line flag
disable = ["emacs", "flutter", "deno", "shell"]
# Ignore failures for these steps
ignore_failures = ["system"]
# Run specific steps - same options as the command line flag
#only = ["system", "emacs"]
# Do not ask to retry failed steps (default: false)
#no_retry = true
# Run inside tmux
#run_in_tmux = true
# List of remote machines with Topgrade installed on them
#remote_topgrades = ["toothless", "pi", "parnas"]
# Arguments to pass SSH when upgrading remote systems
#ssh_arguments = "-o ConnectTimeout=2"
# Path to Topgrade executable on remote machines
#remote_topgrade_path = ".cargo/bin/topgrade"
# Arguments to pass tmux when pulling Repositories
#tmux_arguments = "-S /var/tmux.sock"
# Do not set the terminal title
#set_title = false
# Cleanup temporary or old files
#cleanup = true
[git]
# max_concurrency = 5
# Additional git repositories to pull
repos = [
# "~/fromGIT/emacs-packages/*",
"~/.config/emacs/straight/repos/*",
"~/fromGIT/stumpwm/*",
"~/fromGIT/tectonics",
"~/fromGIT/reveal.js/"
]
# Don't pull the predefined git repos
#predefined_repos = false
# Arguments to pass Git when pulling Repositories
arguments = "--rebase --autostash"
#[composer]
#self_update = true
# Commands to run before anything
#[pre_commands]
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
# Custom commands
#[commands]
#"Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter"
#[brew]
#greedy_cask = true
[linux]
# Arguments to pass yay when updating packages
yay_arguments = "--nodevel"
#trizen_arguments = "--devel"
#enable_tlmgr = true
#emerge_sync_flags = "-q"
#emerge_update_flags = "-uDNa --with-bdeps=y world"
#[windows]
# Manually select Windows updates
#accept_all_updates = false
# Causes Topgrade to rename itself during the run to allow package managers
# to upgrade it. Use this only if you installed Topgrade by using a package
# manager such as Scoop to Cargo
#self_rename = true
+249 -197
View File
@@ -1,43 +1,50 @@
#!/usr/bin/fish #!/usr/bin/fish
# -*- mode: fish -*- if test "$USER" = 'phundrak'
yadm decrypt
yadm decrypt else
whiptail --yesno "Decrypt private files?" 8 40 && yadm decrypt
end
set keyboardconf \ set keyboardconf \
'Section "InputClass" 'Section "InputClass"
Identifier "system-keyboard" Identifier "system-keyboard"
MatchIsKeyboard "on" MatchIsKeyboard "on"
Option "XkbLayout" "fr,fr,us" Option "XkbLayout" "fr"
Option "XkbModel" "pc104" Option "XkbModel" "pc104"
Option "XkbVariant" "bepo_afnor,," Option "XkbVariant" "bepo_afnor"
Option "XkbOptions" "grp:menu_toggle" Option "XkbOptions" "caps:ctrl_modifier"
EndSection' EndSection'
printf "\n# Set keyboard layout #########################################################\n\n" printf "\n# Set keyboard layout #########################################################\n\n"
echo $keyboardconf | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf whiptail --yesno "Would you like to set your keyboard layout to the bépo layout?" 8 55
if test $status -eq 0
echo $keyboardconf | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf
end
set mylocales "en_US.UTF-8 UTF-8" "fr_FR.UTF-8 UTF-8" "ja_JP.UTF-8 UTF-8" set mylocales "en_US.UTF-8 UTF-8" "fr_FR.UTF-8 UTF-8" "ja_JP.UTF-8 UTF-8"
printf "\n# Set locale ##################################################################\n\n" printf "\n# Set locale ##################################################################\n\n"
for item in $mylocales for item in $mylocales
if test (grep -e "#$item" /etc/locale.gen) whiptail --yesno "Set the \"$item\" locale?" 8 40
if test $status -eq 0 -a (grep -e "#$item" /etc/locale.gen)
sudo sed -i "/$item/s/^#//g" /etc/locale.gen sudo sed -i "/$item/s/^#//g" /etc/locale.gen
end end
end end
set localeconf "LANG=en_US.UTF-8 set localeconf "LANG=en_DK.UTF-8
LC_COLLATE=C LC_COLLATE=C
LC_NAME=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8" LC_MEASUREMENT=fr_FR.UTF-8"
echo $localeconf | sudo tee /etc/locale.conf whiptail --yesno "Do you agree to have the following locale set?\n\n $localeconf" 20 43
if test $status -eq 0
echo $localeconf | sudo tee /etc/locale.conf
end
printf "\n# Generate locale #############################################################\n\n" printf "\n# Generate locale #############################################################\n\n"
sudo locale-gen sudo locale-gen
@@ -46,171 +53,268 @@ printf "\n# Create directories for mounting ####################################
sudo mkdir -p /mnt/{USB,CD,Android} sudo mkdir -p /mnt/{USB,CD,Android}
sudo chown $USER:(id -g $USER) /mnt/{USB,CD,Android} sudo chown $USER:(id -g $USER) /mnt/{USB,CD,Android}
mkdir -p $HOME/.cache/nano/backups
printf "\n# Set fish as the default shell ###############################################\n\n" printf "\n# Set fish as the default shell ###############################################\n\n"
if not test "$SHELL" = "/usr/bin/fish" whiptail --yesno "Set the current users default shell to fish?" 8 50
if test $status -eq 0 -a ! "$SHELL" = '/usr/bin/fish'
chsh -s /usr/bin/fish chsh -s /usr/bin/fish
end end
if ! test (which yay) set SYSTEMPKG acpi \
printf "\n# Installing yay ##############################################################\n\n" acpilight \
cd bluez-firmware \
mkdir -p ~/fromGIT bluez-utils \
cd ~/fromGIT bzip2 \
git clone https://aur.archlinux.org/yay.git cpupower \
cd yay exfat-utils \
makepkg -si --noconfirm ffmpegthumbnailer \
else freeglut \
printf "\n# yay already installed #######################################################\n\n" gcc-libs \
gdb \
gnome-disk-utility \
gnome-epub-thumbnailer \
i3lock-color \
corrupter-git \
inetutils \
jfsutils \
jmtpfs \
kitty \
logrotate \
man-pages \
man-db \
netctl \
network-manager-applet \
networkmanager-openvpn \
nm-connection-editor \
ntfs-3g \
openssh \
pavucontrol \
wireplumber \
pipewire-pulse \
gst-plugin-pipewire \
noise-suppression-for-voice \
raw-thumbnailer \
reflector \
shadow \
sshfs \
usbutils \
xdg-user-dirs-gtk \
xfce-polkit \
xidlehook \
xfsprogs \
xorg-xinit \
xss-lock \
xwallpaper
printf "\n# Installing SYSTEMPKG ##################################################\n\n"
for pkg in $SYSTEMPKG
paru -S --skipreview --needed $pkg
end end
set PACKAGES \
acpilight adobe-source-han-sans-jp-fonts arc-gtk-theme asar ascii aspell-en \
aspell-fr awesome awesome-terminal-fonts awesome-freedesktop-git base-devel \
bashtop bat biber bitwarden-bin bluez-firmware bluez-utils bookworm bzip2 ccls \
chicken chromium clisp corrupter-git cppcheck cppreference \
cppreference-devhelp cpupower discord-canary discount dmenu-lpass docker \
docker-compose dockerfile-language-server-bin doxygen dunst emacs \
emacs-org-mode exa exfat-utils farbfeld fd ffmpegthumbnailer findutils firefox \
flake8 flat-remix-gtk freeglut fzf gcc-libs gdb gimp gnome-disk-utility \
gnome-epub-thumbnailer gnu-free-fonts gnuplot go go-tools golangci-lint-bin \
graphviz htop i3-gaps-rounded-git i3lock-color inetutils isync \
j4-dmenu-desktop javascript-typescript-langserver js-beautify jfsutils jmtpfs \
lain-git less libxft-bgra linux-headers lldb logrotate ly meson minted man-db \
man-pages mpc mpd mpd-rich-presence-discord-git mpv mupdf-tools nano ncdu \
ncmpcpp nemo-fileroller nemo-preview neofetch netctl networkmanager \
networkmanager-openvpn nitrogen nm-connection-editor nodejs-vmd nomacs \
nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh \
otf-fandol otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \
picom-ibhagwan-git polybar powerline-fonts prettier pulseaudio-bluetooth \
python-autoflake python-envtpl-git python-epc python-importmagic \
python-language-server python-nose python-pip python-ptvsd python-pytest \
python-pywal qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi \
rsync rtv ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \
simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \
texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \
texlive-latexextra texlive-localmanager-git texlive-most tmux tree \
ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \
ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \
ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf zeal
printf "\n# Installing needed packages ##################################################\n\n" set DEVELPKG asar \
sudo pacman -Syu base-devel \
for pkg in $PACKAGES clang \
yay -S --needed $pkg cppcheck \
cppreference \
cppreference-devhelp \
docker \
docker-compose \
dockerfile-language-server-bin \
doxygen \
emacs \
farbfeld \
flake8 \
gnuplot \
go \
go-tools \
graphviz \
hugo \
javascript-typescript-langserver \
js-beautify \
linux-headers \
lldb \
meson \
mupdf-tools \
npm \
pacman-contrib \
pandoc-bin \
prettier \
python-autoflake \
python-epc \
python-importmagic \
pyright \
python-nose \
python-pip \
python-poetry \
python-ptvsd \
python-pytest \
qemu \
r \
rustup \
sbcl \
typescript \
typescript-language-server-bin \
valgrind \
vscode-css-languageserver-bin \
vscode-html-languageserver-bin \
yaml-language-server-bin \
zeal
printf "\n# Installing DEVELPKG ##################################################\n\n"
for pkg in $DEVELPKG
paru -S --skipreview --needed $pkg
end end
mkdir -p $HOME/.config/awesome
mkdir -p $HOME/.config/awesome/theme set LATEXPKG biber \
mkdir -p $HOME/.config/emacs/private minted \
texlive-bibtexextra \
texlive-fontsextra \
texlive-formatsextra \
texlive-humanities \
texlive-langjapanese \
texlive-pictures \
texlive-pstricks \
texlive-publishers \
texlive-science
printf "\n# Installing LATEXPKG ##################################################\n\n"
for pkg in $LATEXPKG
paru -S --skipreview --needed $pkg
end
set TERMINALPKG ascii \
aspell-en \
aspell-fr \
bat \
bitwarden-cli \
bpytop \
exa \
fd \
findutils \
fzf \
htop \
isync \
mpc \
mpd \
mpv \
nano \
ncdu \
ncmpcpp \
neofetch \
nordvpn-bin \
numlockx \
p7zip \
pass \
pdfpc \
ripgrep \
rsync \
flameshot \
tealdeer \
tmux \
tree \
unrar \
w3m \
wget \
x11-ssh-askpass \
xclip \
yt-dlp-drop-in
printf "\n# Installing TERMINALPKG ##################################################\n\n"
for pkg in $TERMINALPKG
paru -S --skipreview --needed $pkg
end
set APPSPKG bitwarden \
discord \
firefox \
gimp \
helvum \
nemo \
nemo-fileroller \
nemo-preview \
obs-studio \
rofi
printf "\n# Installing APPSPKG ##################################################\n\n"
for pkg in $APPSPKG
paru -S --skipreview --needed $pkg
end
cd /home/phundrak/Documents/code/PKGBUILDs/emacs && makepkg -si && cd
cd /home/phundrak/Documents/code/PKGBUILDs/nsxiv && makepkg -si && cd
cd /home/phundrak/Documents/code/PKGBUILDs/pumopm-git && makepkg -si && cd
cd /home/phundrak/Documents/code/PKGBUILDs/sent && makepkg -si && cd
mkdir -p $HOME/.config/fish mkdir -p $HOME/.config/fish
mkdir -p $HOME/.config/gtk-2.0 mkdir -p $HOME/.config/gtk-2.0
mkdir -p $HOME/.config/gtk-3.0 mkdir -p $HOME/.config/gtk-3.0
mkdir -p $HOME/.config/i3
mkdir -p $HOME/.config/nano
mkdir -p $HOME/.config/ncmpcpp mkdir -p $HOME/.config/ncmpcpp
mkdir -p $HOME/.config/neofetch mkdir -p $HOME/.config/neofetch
mkdir -p $HOME/.config/picom mkdir -p $HOME/.config/picom
mkdir -p $HOME/.config/polybar
mkdir -p $HOME/.config/yadm mkdir -p $HOME/.config/yadm
mkdir -p $HOME/.local/bin mkdir -p $HOME/.local/bin
mkdir -p $HOME/.stumpwm.d
mkdir -p $HOME/org/capture mkdir -p $HOME/org/capture
printf "\n# Tangling org files ##########################################################\n\n" printf "\n# Tangling org files ##########################################################\n\n"
printf '\n\n==== Tangling awesome.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/awesome.org")'
printf '\n\n==== Tangling bin.org\n\n' && \ printf '\n\n==== Tangling bin.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/bin.org")' --eval '(org-babel-tangle-file "~/org/config/bin.org")'
printf '\n\n==== Tangling emacs.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-tangle-file "~/org/config/emacs.org")'
printf '\n\n==== Tangling fish.org\n\n' && \ printf '\n\n==== Tangling fish.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/fish.org")' --eval '(org-babel-tangle-file "~/org/config/fish.org")'
printf '\n\n==== Tangling i3.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/i3.org")'
printf '\n\n==== Tangling index.org\n\n' && \ printf '\n\n==== Tangling index.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/index.org")' --eval '(org-babel-tangle-file "~/org/config/index.org")'
printf '\n\n==== Tangling nano.org\n\n' && \ printf '\n\n==== Tangling mpd.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \ --eval '(org-babel-tangle-file "~/org/config/mpd.org")'
--eval '(org-babel-tangle-file "~/org/config/nano.org")'
printf '\n\n==== Tangling neofetch.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-tangle-file "~/org/config/neofetch.org")'
printf '\n\n==== Tangling picom.org\n\n' && \ printf '\n\n==== Tangling picom.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/picom.org")' --eval '(org-babel-tangle-file "~/org/config/picom.org")'
printf '\n\n==== Tangling polybar.org\n\n' && \ printf '\n\n==== Tangling stumpwm.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \ --eval '(org-babel-tangle-file "~/org/config/stumpwm.org")'
--eval '(org-babel-tangle-file "~/org/config/polybar.org")'
printf '\n\n==== Tangling rustfmt.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/rustfmt.org")'
printf '\n\n==== Tangling spacemacs.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/spacemacs.org")'
printf '\n\n==== Tangling tmux.org\n\n' && \ printf '\n\n==== Tangling tmux.org\n\n' && \
emacs -q --batch --eval '(require \'ob-tangle)' \ emacs -q --batch --eval '(require \'ob-tangle)' \
--eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq org-confirm-babel-evaluate nil)' \
--eval '(org-babel-do-load-languages \'org-babel-load-languages \'((python . t)))' \
--eval '(org-babel-tangle-file "~/org/config/tmux.org")' --eval '(org-babel-tangle-file "~/org/config/tmux.org")'
find ~/.local/bin -type f -exec chmod +x {} + if test "$USER" = 'phundrak'
printf "\n# Installing Spacemacs ########################################################\n\n"
rm -rf ~/.config/emacs
git clone --single-branch --branch develop https://github.com/syl20bnr/spacemacs ~/.config/emacs
yadm checkout -- ~/.config/emacs/private/
if ! test (echo "phundrak" | sed -e "s/^.*$USER//I")
printf "\n# Update yadms remotes #######################################################\n\n" printf "\n# Update yadms remotes #######################################################\n\n"
yadm remote set-url origin git@labs.phundrak.com:phundrak/dotfiles.git yadm remote set-url origin git@labs.phundrak.com:phundrak/dotfiles.git
yadm remote add github git@github.com:phundrak/dotfiles.git
printf "\n# Decrypt encrypted dotfiles ##################################################\n\n" printf "\n# Decrypt encrypted dotfiles ##################################################\n\n"
yadm decrypt yadm decrypt
end end
printf '\n# Install envtpl ##############################################################\n\n'
yay -Syu --needed python-envtpl-git
printf "\n# Getting yadm susbmodules ####################################################\n\n" printf "\n# Getting yadm susbmodules ####################################################\n\n"
yadm submodule update --init --recursive yadm submodule update --init --recursive
@@ -219,6 +323,8 @@ sudo systemctl enable --now systemd-timesyncd
sudo timedatectl set-ntp true sudo timedatectl set-ntp true
sudo usermod -aG video $USER
printf "\n# Enabling and starting Docker ################################################\n\n" printf "\n# Enabling and starting Docker ################################################\n\n"
sudo systemctl enable --now docker sudo systemctl enable --now docker
@@ -228,109 +334,55 @@ if test $adddockergroup = 'y' || test $adddockergroup = "Y" || test $adddockergr
end end
printf "\n# Enabling Emacs as user service ##############################################\n\n" printf "\n# Enabling Emacs as user service ##############################################\n\n"
systemctl --user enable --now emacs systemctl --user enable emacs
printf "\n# Enabling Mpd as a user service ##############################################\n\n" printf "\n# Enabling Mpd as a user service ##############################################\n\n"
mkdir -p ~/.config/mpd/playlists mkdir -p ~/.config/mpd/playlists
systemctl --user enable --now mpd systemctl --user enable --now mpd
read --prompt "echo 'Do you want to activate the ssh server? (Y/n): ' " -l sshdserver sudo systemctl enable --now nordvpnd
if test $sshdserver = 'y' || test $sshdserver = "Y" || test $sshdserver = ''
nordvpn s protocol tcp
nordvpn set notify enabled
nordvpn set ipv6 enabled
systemctl --user enable --now pipewire-pulse.service
systemctl --user enable --now pipewire-input-filter-chain.service
whiptail --yesno 'Do you want to activate the ssh server?' 8 50
if test $status -eq 0
printf "\n# Enabling ssh server #########################################################\n\n" printf "\n# Enabling ssh server #########################################################\n\n"
sudo systemctl enable --now sshd sudo systemctl enable --now sshd
end end
sudo systemctl enable --now ly sudo ln -s ~/.local/bin/plock /usr/bin/plock
sudo systemctl disable getty@tty2
sudo usermod -aG video $USER
sudo systemctl enable --now nordvpnd
for f in (find ~/.etc -type f)
set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p')
sudo ln -s $f $dest
end
read --prompt "echo 'Symlink .nanorc to roots .nanorc? (Y/n): ' " -l nanoroot
if test $nanoroot = 'y' || test $nanoroot = "Y" || test $nanoroot = ''
printf "\n# Symlinking .nanorc to roots .nanorc ########################################\n\n"
sudo ln -s $HOME/.nanorc /root/.nanorc
end
mkdir -p ~/fromGIT mkdir -p ~/fromGIT
printf "\n# Install polybar-battery #####################################################\n\n"
cd ~/fromGIT
git clone https://github.com/drdeimos/polybar_another_battery.git
cd polybar_another_battery
go get -u github.com/distatus/battery/cmd/battery
make build
cd ~/.local/bin
ln -s ~/fromGIT/polybar_another_battery/polybar-ab polybar-ab
printf "\n# Install Reveal.JS ###########################################################\n\n" printf "\n# Install Reveal.JS ###########################################################\n\n"
cd ~/fromGIT cd ~/fromGIT
git clone https://github.com/hakimel/reveal.js.git git clone https://github.com/hakimel/reveal.js.git
printf "\n# Install powerline fonts #####################################################\n\n"
cd ~/fromGIT
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
fc-cache -vf
printf "\n# Install the rust toolchains, nightly is the default one #####################\n\n" printf "\n# Install the rust toolchains, nightly is the default one #####################\n\n"
rustup default nightly rustup default stable
rustup toolchain install stable rustup toolchain install nightly
printf "\n# Add rust utilities ##########################################################\n\n" printf "\n# Add rust utilities ##########################################################\n\n"
cargo install rustfmt racer cargo install rustfmt
rustup component add rust-src rustup component add rust-src
rustup component add rls rustup component add clippy
printf "\n# Installing Python packages ##################################################\n\n"
pip install --user pyls-isort pyls-mypy
printf "\n# Installing Go packages ######################################################\n\n"
go get -v golang.org/x/tools/gopls@latest
go get -u -v golang.org/x/tools/cmd/godoc
go get -u -v golang.org/x/tools/cmd/goimports
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v golang.org/x/tools/cmd/guru
go get -u -v github.com/cweill/gotests/...
go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct
go get -u -v github.com/fatih/gomodifytags
go get -u -v github.com/godoctor/godoctor
go get -u -v github.com/golangci/golangci-lint/cmd/golangci-lint
go get -u -v github.com/haya14busa/gopkgs/cmd/gopkgs
go get -u -v github.com/josharian/impl
go get -u -v github.com/mdempsky/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v github.com/zmb3/gogetdoc
go get -u -v golang.org/x/tools/gopls
printf "\n# Setting up Chicken ##########################################################\n\n"
chicken-install -s apropos chicken-doc
cd (chicken-csi -b -e "(import (chicken platform))" -p "(chicken-home)")
curl https://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx
printf "\n# Clean the pacman and yay cache ##############################################\n\n"
yay -Sc --noconfirm
printf "\n# Installing fisher ###########################################################\n\n" printf "\n# Installing fisher ###########################################################\n\n"
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
printf "\n# Installing Fisher Extensions ################################################\n\n" printf "\n# Installing Fisher Extensions ################################################\n\n"
fisher add fishpkg/fish-prompt-metro fisher install decors/fish-colored-man
fisher add jorgebucaran/fish-bax fisher install franciscolourenco/done
fisher add franciscolourenco/done fisher install jethrokuan/fzf
fisher add jethrokuan/fzf fisher install jorgebucaran/fish-bax
fisher add jethrokuan/z fisher install jorgebucaran/fish-getopts
fisher add jorgebucaran/fish-getopts fisher install laughedelic/pisces
fisher add laughedelic/pisces
fisher add acomagu/fish-async-prompt
+7 -2
View File
@@ -1,4 +1,9 @@
.authinfo.gpg .authinfo.gpg
.ssh/* .config/fish/private.fish
.emacs.d/private/private_emacs.el .config/isync/mbsyncrc
.local/share/gnupg/*
.mailrc .mailrc
.profile.private
.ssh/*
org/*.org
org/roam/*
Binary file not shown.
-40
View File
@@ -1,40 +0,0 @@
{
"aururl": "https://aur.archlinux.org",
"buildDir": "/home/phundrak/.cache/yay",
"editor": "",
"editorflags": "",
"makepkgbin": "makepkg",
"makepkgconf": "",
"pacmanbin": "pacman",
"pacmanconf": "/etc/pacman.conf",
"tarbin": "bsdtar",
"redownload": "ask",
"rebuild": "ask",
"answerclean": "",
"answerdiff": "",
"answeredit": "",
"answerupgrade": "",
"gitbin": "git",
"gpgbin": "gpg",
"gpgflags": "",
"mflags": "",
"sortby": "votes",
"gitflags": "",
"removemake": "ask",
"requestsplitn": 150,
"sortmode": 0,
"completionrefreshtime": 7,
"sudoloop": false,
"timeupdate": true,
"devel": false,
"cleanAfter": false,
"gitclone": true,
"provides": true,
"pgpfetch": true,
"upgrademenu": true,
"cleanmenu": true,
"diffmenu": false,
"editmenu": true,
"combinedupgrade": false,
"useask": false
}
+121
View File
@@ -0,0 +1,121 @@
# -*- mode: conf -*-
set selection-clipboard clipboard
set incremental-search true
set search-hadjust true
set scroll-page-aware true
set statusbar-home-tilde true
set synctex-editor-command 'emacsclient -c'
set show-directories false
# Theme
set default-bg '#2e3440'
set default-fg '#eceff4'
set completion-bg '#2e3440'
set completion-fg '#eceff4'
set completion-group-bg '#2e3440'
set completion-group-fg '#eceff4'
set completion-highlight-bg '#8fbcbb'
set completion-highlight-fg '#eceff4'
set inputbar-bg '#2e3440'
set inputbar-fg '#eceff4'
set highlight-active-color '#5e81ac'
set highlight-color '#8fbcbb'
set render-loading-bg '#2e3440'
set render-loading-fg '#eceff4'
set statusbar-bg '#2e3440'
set statusbar-fg '#eceff4'
set scrollbar-bg '#2e3440'
set scrollbar-fg '#eceff4'
set recolor true
set recolor-darkcolor '#eceff4'
set recolor-lightcolor '#2e3440'
set recolor-keephue
set recolor-reverse-video
set guioptions ""
# keybindings
unmap <C-c>
unmap <C-d>
unmap <C-j>
unmap <C-k>
unmap <C-r>
unmap <C-t>
unmap <C-u>
unmap <C-y>
unmap <F5>
unmap H
unmap J
unmap K
unmap L
unmap R
unmap a
unmap h
unmap j
unmap k
unmap l
unmap r
unmap s
unmap t
unmap y
map c scroll left
map C scroll full-left
map <C-c> scroll half-left
map t scroll down
map T navigate next
map <C-t> scroll half-down
map <A-t> scroll page-bottom
map s scroll up
map S navigate previous
map <C-s> scroll half-up
map <A-s> scroll page-top
map r scroll right
map R scroll full-right
map <C-r> scroll half-right
map <C-g> abort
map <A-p> print
map w adjust_window width
map W adjust_window best-fit
map <F2> rotate rotate-ccw
map <F3> rotate rotate-cw
map <F4> recolor
map <F5> reload
map <F6> jumplist backward
map <F7> jumplist forward
map <F9> change_mode index
map <F10> change_mode presentation
# Presentation mode
unmap presentation <F5>
map presentation <F10> change_mode normal
# Fullscreen mode
unmap fullscreen J
unmap fullscreen K
map fullscreen s navigate previous
map fullscreen t navigate next
map fullscreen <F11> change_mode normal
# Index mode
unmap index h
unmap index H
unmap index j
unmap index k
unmap index l
unmap index L
map index c navigate_index collapse
map index C navigate_index collapse-al
map index r navigate_index expand
map index R navigate_index expand-all
map index s navigate_index up
map index t navigate_index down
map fullscreen <F9> change_mode normal
-1
View File
@@ -1 +0,0 @@
/home/phundrak/.config/emacs
-99
View File
@@ -1,99 +0,0 @@
# animation enabled
animate = false
#animate = true
# the active animation (only animation '0' available for now)
#animation = 0
# the char used to mask the password
asterisk = *
#asterisk = o
# background color id
#bg = 0
# blank main box
#blank_box = true
# erase password input on failure
blank_password = true
# console path
#console_dev = /dev/console
# input active by default on startup
#default_input = 2
# foreground color id
#fg = 9
# remove main box borders
#hide_borders = false
hide_borders = true
# number of visible chars on an input
#input_len = 34
# active language
lang = en
#lang = fr
# load the saved desktop and login
load = true
# main box margins
#margin_box_h = 2
#margin_box_v = 1
# total input sizes
#max_desktop_len = 100
#max_login_len = 255
#max_password_len = 255
# cookie generator
#mcookie_cmd = /usr/bin/mcookie
# event timeout in milliseconds
#min_refresh_delta = 5
# default path
#path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env
# command executed when pressing F2
restart_cmd = /usr/bin/reboot
# save the current desktop and login as defaults
save = true
# file in which to save and load the default desktop and login
#save_file = /etc/ly/save
# service name (pam needs this set to login)
#service_name = login
# command executed when pressing F1
shutdown_cmd = /usr/bin/poweroff
# terminal reset command (tput is faster)
#term_reset_cmd = /usr/bin/tput reset
# tty in use
#tty = 2
# wayland setup command
#wayland_cmd = /etc/ly/wsetup.sh
# wayland desktop environments
#waylandsessions = /usr/share/wayland-sessions
# xorg server command
#x_cmd = /usr/bin/X
# xorg setup command
#x_cmd_setup = /etc/ly/xsetup.sh
# xorg xauthority edition tool
#xauth_cmd = /usr/bin/xauth
# xorg desktop environments
#xsessions = /usr/share/xsessions
-1
View File
@@ -1 +0,0 @@
*.org linguist-detectable=true
+15
View File
@@ -0,0 +1,15 @@
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
-15
View File
@@ -1,15 +0,0 @@
[submodule ".config/tmux"]
path = .config/tmux
url = https://github.com/gpakosz/.tmux.git
[submodule ".config/nano/nano-syntax"]
path = .config/nano/nano-syntax
url = https://github.com/scopatz/nanorc.git
[submodule ".config/emacs/private/conlanging"]
path = .config/emacs/private/conlanging
url = https://labs.phundrak.com/phundrak/conlang-layer
[submodule ".config/emacs/private/w3m"]
path = .config/emacs/private/w3m
url = https://github.com/venmos/w3m-layer.git
[submodule ".config/emacs/private/dired-phundrak"]
path = .config/emacs/private/dired-phundrak
url = https://labs.phundrak.com/phundrak/dired-phundrak
-2
View File
@@ -1,2 +0,0 @@
keyserver hkp://keys.gnupg.net
keyserver-options auto-key-retrieve
@@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.5
Name=FlowScape
Comment=Create gorgeous 3D landscapes with ease.
Exec=/usr/bin/prime-run /home/phundrak/FlowScape/FlowScape.x86_64
Path=/home/phundrak/FlowScape
Icon=/home/phundrak/FlowScape/icon.jpg
Terminal=false
Type=Application
Categories=Graphics
@@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.1.1.4
Name=Wonderdraft
Comment=Wonderdraft is a powerful yet intuitive fantasy map creation tool.
Exec=/home/phundrak/Wonderdraft/Wonderdraft.x86_64
Path=/home/phundrak/Wonderdraft
Icon=/home/phundrak/Wonderdraft/Wonderdraft.png
Terminal=false
Type=Application
Categories=Graphics
-12
View File
@@ -1,12 +0,0 @@
[Desktop Entry]
Name=Emacs
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacsclient -c %F
Icon=emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;
-12
View File
@@ -1,12 +0,0 @@
[Desktop Entry]
Name=Mu4e
GenericName=Mu4e
Comment=Maildir Utils for Emacs
MimeType=x-scheme-handler/mailto;
Exec=/home/phundrak/.local/bin/emacsmail %U
Icon=emacs
Type=Application
Terminal=false
Categories=Network;Email;TextEditor
StartupWMClass=Gnus
Keywords=Text;Editor;
Binary file not shown.
Executable
+105
View File
@@ -0,0 +1,105 @@
#!/bin/sh
# shellcheck source=/dev/null
. "$HOME"/.profile.private
export EMAIL=lucien@phundrak.com
export NAME="Lucien Cartier-Tilet"
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_STATE_HOME="$HOME"/.local/state
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":/usr/local/lib
export LSP_USE_PLISTS=true
export DIFFPROG=ediff
export SUDO_ASKPASS="$HOME"/.local/bin/askpass
export MANPAGER=less
export DART_SDK=/opt/dart-sdk/bin
export ANDROID_HOME="$HOME"/Android/Sdk
export CHROME_EXECUTABLE=/usr/bin/chromium
LESS_TERMCAP_mb=$(printf '\e[1;32m')
export LESS_TERMCAP_mb
LESS_TERMCAP_md=$(printf '\e[1;32m')
export LESS_TERMCAP_md
LESS_TERMCAP_me=$(printf '\e[0m')
export LESS_TERMCAP_me
LESS_TERMCAP_se=$(printf '\e[0m')
export LESS_TERMCAP_se
LESS_TERMCAP_so=$(printf '\e[01;33m')
export LESS_TERMCAP_so
LESS_TERMCAP_ue=$(printf '\e[0m')
export LESS_TERMCAP_ue
LESS_TERMCAP_us=$(printf '\e[1;4;31m')
export LESS_TERMCAP_us
export BROWSER=firefox
export EDITOR="emacsclient -c"
export VISUAL="emacsclient -c"
export GTK_THEME=Nordic
export GTK_ICON_THEME="Flat-Remix-Dark"
export __GL_SHADER_DISK_CACHE_PATH="$XDG_CACHE_HOME"/nv
export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java -Djavafx.cachedir=${XDG_CACHE_HOME}/openjfx"
export _Z_DATA="$XDG_DATA_HOME"/z
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export DENO_DIR="$HOME"/.config/deno
export DENO_INSTALL_ROOT="$HOME"/.local/bin/deno
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export GEM_HOME="$XDG_DATA_HOME"/gem
export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GOPATH="$XDG_DATA_HOME"/go
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export HISTFILE="$XDG_STATE_HOME/bash/history"
export ICEAUTHORITY="$XDG_CACHE_HOME"/ICEauthority
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
export MYPY_CACHE_DIR="$XDG_CACHE_HOME"/mypy
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export NVM_DIR="$XDG_DATA_HOME"/nvm
export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export PKG_CACHE_PATH="$XDG_CACHE_HOME"/pkg-cache
export PSQL_HISTORY="$XDG_DATA_HOME/psql_history"
export PYENV_ROOT="$XDG_DATA_HOME"/pyenv
export PYLINTHOME="$XDG_CACHE_HOME"/pylint
export PYTHONSTARTUP="$HOME"/python/pythonrc
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history
export TERMINFO="$XDG_DATA_HOME"/terminfo
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
export TEXMFVAR="$XDG_CACHE_HOME"/texlive/texmf-var
export W3M_DIR="$XDG_DATA_HOME"/w3m
export WINEPREFIX="$XDG_DATA_HOME"/wine
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose
export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export DOTNET_CLI_HOME="$XDG_DATA_HOME"/dotnet
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export ANDROID_USER_HOME="$XDG_DATA_HOME"/android
PATH="/usr/lib/xfce-polkit/:$PATH"
PATH="$HOME/.cabal/bin:$PATH"
PATH="$GEM_HOME/ruby/2.6.0/bin:$PATH"
PATH="$GEM_HOME/ruby/3.0.0/bin:$PATH"
PATH="$GOPATH/bin:$PATH"
PATH="${CARGO_HOME}/bin:$PATH"
PATH="$HOME/Android/Sdk/tools/bin:$PATH"
PATH="$HOME/.local/bin:$PATH"
PATH="$HOME/.config/plover/plugins/linux/bin:$PATH"
PATH="$HOME/.nix-profile/bin:$PATH"
export PATH
+7
View File
@@ -0,0 +1,7 @@
;;; -*- mode: lisp; -*-
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
-163
View File
@@ -1,163 +0,0 @@
;; -*- mode: emacs-lisp; lexical-binding: t -*-
(defun dotspacemacs/init ()
"Initialization:
This function is called at the very beginning of Spacemacs startup,
before layer configuration.
It should only modify the values of Spacemacs settings."
(setq phundrak//dotspacemacs-src-dir (concat (getenv "HOME") "/.config/emacs/private/")
phundrak//dotspacemacs-src (concat (getenv "HOME") "/org/config/spacemacs.org")
phundrak//dotspacemacs-si (concat phundrak//dotspacemacs-src-dir "spacemacs-init.el")
phundrak//dotspacemacs-sl (concat phundrak//dotspacemacs-src-dir "spacemacs-layers.el")
phundrak//dotspacemacs-uc (concat phundrak//dotspacemacs-src-dir "user-config.el")
phundrak//dotspacemacs-ui (concat phundrak//dotspacemacs-src-dir "user-init.el"))
(when (or (file-newer-than-file-p phundrak//dotspacemacs-src phundrak//dotspacemacs-si)
(file-newer-than-file-p phundrak//dotspacemacs-src phundrak//dotspacemacs-sl)
(file-newer-than-file-p phundrak//dotspacemacs-src phundrak//dotspacemacs-ui)
(file-newer-than-file-p phundrak//dotspacemacs-src phundrak//dotspacemacs-uc))
(princ "Exporting new Emacs configuration from spacemacs.org through org-babel...")
(call-process
(concat invocation-directory invocation-name)
nil nil t
"-q" "--batch" "--eval" "(require 'ob-tangle)"
"--eval" (format "(org-babel-tangle-file \"%s\")" phundrak//dotspacemacs-src))
(princ "done"))
(load-file phundrak//dotspacemacs-si))
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."
(load-file phundrak//dotspacemacs-sl))
(defun dotspacemacs/user-env ()
"Environment variables setup.
This function defines the environment variables for your Emacs session. By
default it calls `spacemacs/load-spacemacs-env' which loads the environment
variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
See the header of this file for more information."
(spacemacs/load-spacemacs-env))
(defun dotspacemacs/user-init ()
"Initialization for user code:
This function is called immediately after `dotspacemacs/init', before layer
configuration.
It is mostly for variables that should be set before packages are loaded.
If you are unsure, try setting them in `dotspacemacs/user-config' first."
(load-file phundrak//dotspacemacs-ui))
(defun dotspacemacs/user-load ()
"Library to load while dumping.
This function is called only while dumping Spacemacs configuration. You can
`require' or `load' the libraries of your choice that will be included in the
dump."
)
(defun dotspacemacs/user-config ()
"Configuration for user code:
This function is called at the very end of Spacemacs startup, after layer
configuration.
Put your configuration code here, except for variables that should be set
before packages are loaded."
(load-file phundrak//dotspacemacs-uc))
;; Do not write anything past this comment. This is where Emacs will
;; auto-generate custom variable definitions.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
'(evil-want-Y-yank-to-eol nil)
'(org-export-headline-levels 4)
'(package-selected-packages
'(xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(defun dotspacemacs/emacs-custom-settings ()
"Emacs custom settings.
This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization."
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
'(default-input-method "ipa-x-sampa")
'(eshell-aliases-file "/home/phundrak/.emacs.d/private/eshell-alias")
'(evil-want-Y-yank-to-eol nil)
'(fci-rule-color "#5B6268")
'(hl-todo-keyword-faces
(quote
(("TODO" . "#dc752f")
("NEXT" . "#dc752f")
("THEM" . "#2d9574")
("PROG" . "#3a81c3")
("OKAY" . "#3a81c3")
("DONT" . "#f2241f")
("FAIL" . "#f2241f")
("DONE" . "#42ae2c")
("NOTE" . "#b1951d")
("KLUDGE" . "#b1951d")
("HACK" . "#b1951d")
("TEMP" . "#b1951d")
("FIXME" . "#dc752f")
("XXX" . "#dc752f")
("XXXX" . "#dc752f"))))
'(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef"))
'(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65"))
'(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a"))
'(objed-cursor-color "#ff6c6b")
'(org-export-headline-levels 4)
'(org-trello-current-prefix-keybinding "C-c o" nil (org-trello))
'(package-selected-packages
(quote
(caddyfile-mode org-ref lsp-dart mu4e-maildirs-extension mu4e-alert helm-mu xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
'(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef")))
'(safe-local-variable-values
(quote
((org-confirm-babel-evaluate)
(javascript-backend . tern)
(javascript-backend . lsp))))
'(solaire-mode-auto-swap-bg t)
'(vc-annotate-background "#282c34")
'(vc-annotate-color-map
(list
(cons 20 "#98be65")
(cons 40 "#b4be6c")
(cons 60 "#d0be73")
(cons 80 "#ECBE7B")
(cons 100 "#e6ab6a")
(cons 120 "#e09859")
(cons 140 "#da8548")
(cons 160 "#d38079")
(cons 180 "#cc7cab")
(cons 200 "#c678dd")
(cons 220 "#d974b7")
(cons 240 "#ec7091")
(cons 260 "#ff6c6b")
(cons 280 "#cf6162")
(cons 300 "#9f585a")
(cons 320 "#6f4e52")
(cons 340 "#5B6268")
(cons 360 "#5B6268")))
'(vc-annotate-very-old-color nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
)
-1
View File
@@ -1 +0,0 @@
.config/tmux/.tmux.conf
+17 -51
View File
@@ -3,65 +3,31 @@
#+EMAIL: lucien@phundrak.com #+EMAIL: lucien@phundrak.com
#+CREATOR: Lucien Cartier-Tilet #+CREATOR: Lucien Cartier-Tilet
#+LANGUAGE: en #+LANGUAGE: en
#+OPTIONS: auto-id:t H:4 broken_links:mark email:t ^:{} #+OPTIONS: H:4 broken_links:mark email:t ^:{}
#+KEYWORDS: dotfiles linux emacs configuration phundrak drakpa #+KEYWORDS: dotfiles linux emacs configuration phundrak drakpa
* Table of Contents :TOC_4_gh:noexport: #+html: <a href="https://archlinux.org/"><img src="https://img.shields.io/badge/OS-Arch%20Linux-10A0CC?logo=Arch%20Linux&logoColor=white&style=flat-square"/></a>
:PROPERTIES:
:CUSTOM_ID: h-8044ee9a-2ee8-4d52-bad1-666c41a2a6a6
:END:
- [[#presentation][Presentation]]
- [[#wheres-the-config-file-for-x][Wheres the config file for X?]]
- [[#some-more-info-please][Some more info please?]]
- [[#neat-whats-the-license][Neat, whats the license?]]
* Presentation * Presentation
:PROPERTIES: This repository is where I keep most of my configuration files. With
:CUSTOM_ID: h-fbbf65b3-bf05-4466-80fb-b8f3d3094e47 what is stored here, anyone can recreate a working desktop
:END: configuration similar to my daily one.
This repository is where I keep most of my configuration files. With what is
stored here, anyone can recreate a working desktop configuration similar to my
daily one.
My dotfiles are managed by [[https://yadm.io/][yadm]], and although I dont use its alternate files My dotfiles are managed by [[https://yadm.io/][yadm]], and although I dont use its
features (which is pretty neat btw), it allows me to painlessly manage my alternate files features (which is pretty neat btw), it allows me to
dotfiles right where they are and not in a separate Git repository somewhere painlessly manage my dotfiles right where they are and not in a
with everything symlinked. Another advantage of yadm is it will automatically separate Git repository somewhere with everything symlinked. Another
execute (with your authorization, of course) my homemade bootstrap when my advantage of yadm is it will automatically execute (with your
dotfiles are cloned through yadm. authorization, of course) my homemade bootstrap when my dotfiles are
cloned through yadm.
* Wheres the config file for X? * A lot of things are missing!
:PROPERTIES: Yep, a lot of things are not in this repository but over at
:CUSTOM_ID: h-42508121-fe51-48bb-bd22-9f8894902789 [[https://config.phundrak.com][config.phundrak.com]]. This is where I store all my litterate config.
:END: You can check out its own repo over at
As you may have noticed, I am striving for a 100% amount of configuration [[https://labs.phundrak.com/phundrak/config.phundrak.com][labs.phundrak.com/phundrak/config.phundrak.com]].
files exported from Org files, that is, through literary programming. This is
still very much a work in progress, but so far I achieved this for the
following configuration files:
- Email signature (not very hard I must admit) ([[file:org/config/index.org]])
- ~.gitignore_global~ (not very hard either) ([[file:org/config/index.org]])
- ~.rustfmt.toml~ ([[file:org/config/index.org]])
- My Xresources file ([[file:org/config/index.org]])
- [[file:org/config/bin.org][My custom scripts]]
- [[file:org/config/fish.org][My fish config]]
- [[file:org/config/i3.org][My i3 config]]
- [[file:org/config/installation.org][The installation bootstrap]]
- [[file:org/config/nano.org][My nano config]]
- [[file:org/config/polybar.org][My Polybar config]]
- [[file:org/config/polybar.org][My Emacs (Spacemacs) config]]
- And finally [[file:org/config/tmux.org][my Tmux config]]
* Some more info please?
:PROPERTIES:
:CUSTOM_ID: h-2b8488ed-8a5c-4292-ac4f-e47b7009c496
:END:
Everything you need to know is in my [[file:org/config/]] folder, and my Org files
are also available in web format on my website [[https://phundrak.com/config][phundrak.com/config]].
* Neat, whats the license? * Neat, whats the license?
:PROPERTIES:
:CUSTOM_ID: h-fc461244-3932-4680-88bc-73dc5e175213
:END:
All of my dotfiles (and my dotfiles only) are available under the GNU GPLv3 All of my dotfiles (and my dotfiles only) are available under the GNU GPLv3
Licence. Please consult [[file:LICENCE.md]] for more information. In short: you Licence. Please consult [[file:LICENCE.md]] for more information. In short: you
are free to access, edit and redistribute all of my dotfiles under the same are free to access, edit and redistribute all of my dotfiles under the same
+32
View File
@@ -0,0 +1,32 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
_pkgname=nextcloud-talk
pkgname="${_pkgname}-bin"
pkgver=0.10.0
_dirname="Nextcloud Talk-linux-x64"
_archivename="${_dirname// /.}-${pkgver}"
pkgrel=1
pkgdesc="Nextcloud Talk Desktop Client Preview"
arch=('x86_64')
url="https://github.com/nextcloud/talk-desktop"
makedepend=('unzip')
license=('AGPL-3.0')
provides=('nextcloud-talk')
source=("https://github.com/nextcloud-releases/talk-desktop/releases/download/v${pkgver}/${_archivename}.zip"
nextcloud-talk.desktop )
sha256sums=('3b1c1620665078069491ff86395d87727c91da8153a9842e9206c4b2f7f020dd'
'2fba0d3e869145cbdfcd24c104d196ee8857a05950b7a59b47f025f39e9e5214')
package() {
cd "$srcdir"
mkdir -p "${pkgdir}/usr/share/applications/"
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
cd "$_dirname"
mkdir -p "${pkgdir}/usr/share-licenses/${_pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share-licenses/${_pkgname}"
install -Dm644 LICENSES.chromium.html "${pkgdir}/usr/share-licenses/${_pkgname}"
mkdir -p "${pkgdir}/opt/nextcloud-talk"
mv "Nextcloud Talk" nextcloud-talk
mv * "${pkgdir}/opt/nextcloud-talk/"
}
# vim:set ts=2 sw=2 et:
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Nextcloud Talk
Version=0.7.0
Type=Application
Exec=/opt/nextcloud-talk/nextcloud-talk
StartupNotify=true
Terminal=false
Categories=Network
Keywords=Nextcloud
+36
View File
@@ -0,0 +1,36 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
pkgname=Wonderdraft
pkgver=1.1.7.3
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url="https://www.wonderdraft.net/"
license=('proprietary')
depends=()
makedepends=('zip')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip docs !libtool !staticlibs emptydirs zipman purge !debug)
install=
changelog=
source=($pkgname-$pkgver-Linux64.zip)
sha512sums=('4eaff01dad549223265cca10c3f9bf9cdbee4542b6a4afbf513fd655a47238e2d757c36d8ed7ffe16a19879f6d41739ee1e722ebc120507cde3b39250ae22c9c')
noextract=()
package() {
mkdir -p "${pkgdir}/usr/share/applications/"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 "${srcdir}/EULA.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/opt/"
mv "${srcdir}" "${pkgdir}/opt/${pkgname}"
rm "${pkgdir}/opt/${pkgname}/${pkgname}-${pkgver}-Linux64.zip"
chmod 4755 "${pkgdir}/opt/${pkgname}/${pkgname}.x86_64"
}
# vim:set ts=2 sw=2 et:
+28
View File
@@ -0,0 +1,28 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
_pkgname=appwrite-cli
_orgname=appwrite
_ghpkgname=sdk-for-cli
pkgname="nodejs-${_pkgname}"
pkgver=4.1.0
pkgrel=1
pkgdesc="Command-line tool for building and testing Emacs Lisp packages"
url="https://github.com/${_orgname}/${_ghpkgname}"
license=("BSD-3-Clause")
arch=("any")
depends=("nodejs")
makedepends=("npm")
source=("https://registry.npmjs.org/${_pkgname}/-/${_pkgname}-${pkgver}.tgz")
sha256sums=('83f35fcc7c54fec519791e4bc28f2c6913971357a055eb9113cbaa7259f3edc4')
noextract=("$_pkgname-$pkgver.tgz")
prepare() {
tar xzf "$_pkgname-$pkgver.tgz"
}
package() {
npm i --location=global --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_pkgname-$pkgver.tgz"
install -Dm644 package/LICENSE.md "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
}
# vim:set ts=2 sw=2 et:
+27
View File
@@ -0,0 +1,27 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
_pkgname=eask
_orgname=emacs-eask
_nodepkgname=cli
pkgname="nodejs-${_pkgname}"
pkgver=0.9.3
pkgrel=1
pkgdesc="Command-line tool for building and testing Emacs Lisp packages"
url="https://github.com/${_orgname}/${_pkgname}"
license=("GPL3")
arch=("any")
depends=("nodejs")
makedepends=("npm")
source=("https://registry.npmjs.org/@${_orgname}/${_nodepkgname}/-/${_nodepkgname}-${pkgver}.tgz")
sha256sums=('1f3d948d89544c7680f882c9dee72f121a500947a42aa14b785ac949f729a3d0')
noextract=("$_pkgname-$pkgver.tgz")
prepare() {
tar xf "$_nodepkgname-$pkgver.tgz" package/COPYING
}
package() {
npm i --location=global --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_nodepkgname-$pkgver.tgz"
install -Dm644 package/COPYING "$pkgdir/usr/share/licenses/${_pkgname}/COPYING"
install -Dm644 package/README.md "$pkgdir/usr/share/doc/${_pkgname}/README.md"
}
+40
View File
@@ -0,0 +1,40 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
# Original Maintainer: Sanjay Pavan <withercubes@protonmail.com>
_pkgname=nsxiv
pkgname="${_pkgname}-bepo-git"
pkgver=31.r19.gc03ec39
pkgrel=1
pkgdesc='New Simple X Image Viewer'
arch=('x86_64')
license=('GPL2')
conflicts=("$_pkgname" "${_pkgname}-git")
provides=('sxiv')
url="https://codeberg.org/${_pkgname}/${_pkgname}"
depends=('imlib2' 'desktop-file-utils' 'xdg-utils' 'hicolor-icon-theme' 'libexif' 'libxft' 'giflib' 'libwebp')
makedepends=(git)
source=("${_pkgname}::git+$url" config.h)
b2sums=('SKIP'
'657b40dab4ed27e2d1402feb4fcd2dd225504c2e3a619da08cf87e36405d18a161a64939374670626e896c03a553a718f93b1bf54703f2d30dcdb27e082d6c21')
pkgver() {
cd "$srcdir/${_pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/${_pkgname}"
[[ -f $srcdir/config.h ]] && cp $srcdir/config.h .
}
build() {
make -C "$_pkgname"
}
package() {
cd "$srcdir/${_pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir" install-all
ln -s /usr/bin/nsxiv "${pkgdir}/usr/bin/sxiv"
}
# vim:set ts=2 sw=2 et:
+208
View File
@@ -0,0 +1,208 @@
#ifdef INCLUDE_WINDOW_CONFIG
/* default window dimensions (overwritten via -g option): */
static const int WIN_WIDTH = 800;
static const int WIN_HEIGHT = 600;
/* colors and font can be overwritten via X resource properties.
* See nsxiv(1), X(7) section Resources and xrdb(1) for more information.
*/
static const char *DEFAULT_WIN_BG = "nord0";
static const char *DEFAULT_WIN_FG = "nord4";
static const char *DEFAULT_MARK_COLOR = NULL; /* NULL means it will default to window foreground */
#if HAVE_LIBFONTS
static const char *DEFAULT_BAR_BG = NULL; /* NULL means it will default to window background */
static const char *DEFAULT_BAR_FG = NULL; /* NULL means it will default to window foreground */
static const char *DEFAULT_FONT = "monospace-8";
/* if true, statusbar appears on top of the window */
static const bool TOP_STATUSBAR = false;
#endif /* HAVE_LIBFONTS */
#endif
#ifdef INCLUDE_IMAGE_CONFIG
/* levels (in percent) to use when zooming via '-' and '+':
* (first/last value is used as min/max zoom level)
*/
static const float zoom_levels[] = {
12.5, 25.0, 50.0, 75.0,
100.0, 150.0, 200.0, 400.0, 800.0
};
/* default slideshow delay (in sec, overwritten via -S option): */
static const int SLIDESHOW_DELAY = 5;
/* color correction: the user-visible ranges [-CC_STEPS, 0] and
* (0, CC_STEPS] are mapped to the ranges [0, 1], and (1, *_MAX].
* Higher step count will have higher granulairy.
*/
static const int CC_STEPS = 32;
static const double GAMMA_MAX = 10.0;
static const double BRIGHTNESS_MAX = 2.0;
static const double CONTRAST_MAX = 4.0;
/* command i_scroll pans image 1/PAN_FRACTION of screen width/height */
static const int PAN_FRACTION = 5;
/* percentage of memory to use for imlib2's cache size.
* 3 means use 3% of total memory which is about 245MiB on 8GiB machine.
* 0 or less means disable cache.
* 100 means use all available memory (but not above CACHE_SIZE_LIMIT).
*
* NOTE: higher cache size means better image reloading performance, but also
* higher memory usage.
*/
static const int CACHE_SIZE_MEM_PERCENTAGE = 3; /* use 3% of total memory for cache */
static const int CACHE_SIZE_LIMIT = 256 * 1024 * 1024; /* but not above 256MiB */
static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */
#endif
#ifdef INCLUDE_OPTIONS_CONFIG
/* if false, pixelate images at zoom level != 100%,
* toggled with 'a' key binding (overwritten via `--anti-alias` option)
*/
static const bool ANTI_ALIAS = true;
/* if true, use a checkerboard background for alpha layer,
* toggled with 'A' key binding (overwritten via `--alpha-layer` option)
*/
static const bool ALPHA_LAYER = false;
#endif
#ifdef INCLUDE_THUMBS_CONFIG
/* thumbnail sizes in pixels (width == height): */
static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
/* thumbnail size at startup, index into thumb_sizes[]: */
static const int THUMB_SIZE = 3;
#endif
#ifdef INCLUDE_MAPPINGS_CONFIG
/* these modifiers will be used when processing keybindings */
static const unsigned int USED_MODMASK = ShiftMask | ControlMask | Mod1Mask;
/* abort the keyhandler */
static const KeySym KEYHANDLER_ABORT = XK_Escape;
/* keyboard mappings for image and thumbnail mode: */
static const keymap_t keys[] = {
/* modifiers key function argument */
{ 0, XK_q, g_quit, 0 },
{ 0, XK_Return, g_switch_mode, None },
{ 0, XK_f, g_toggle_fullscreen, None },
{ 0, XK_b, g_toggle_bar, None },
{ 0, XK_space, g_prefix_external, None },
{ 0, XK_g, g_first, None },
{ 0, XK_G, g_n_or_last, None },
{ 0, XK_h, g_reload_image, None },
{ 0, XK_D, g_remove_image, None },
{ ControlMask, XK_c, g_scroll_screen, DIR_LEFT },
{ ControlMask, XK_Left, g_scroll_screen, DIR_LEFT },
{ ControlMask, XK_t, g_scroll_screen, DIR_DOWN },
{ ControlMask, XK_Down, g_scroll_screen, DIR_DOWN },
{ ControlMask, XK_s, g_scroll_screen, DIR_UP },
{ ControlMask, XK_Up, g_scroll_screen, DIR_UP },
{ ControlMask, XK_r, g_scroll_screen, DIR_RIGHT },
{ ControlMask, XK_Right, g_scroll_screen, DIR_RIGHT },
{ 0, XK_plus, g_zoom, +1 },
{ 0, XK_KP_Add, g_zoom, +1 },
{ 0, XK_minus, g_zoom, -1 },
{ 0, XK_KP_Subtract, g_zoom, -1 },
{ 0, XK_m, g_toggle_image_mark, None },
{ 0, XK_M, g_mark_range, None },
{ ControlMask, XK_m, g_reverse_marks, None },
{ ControlMask, XK_u, g_unmark_all, None },
{ 0, XK_N, g_navigate_marked, +1 },
{ 0, XK_P, g_navigate_marked, -1 },
{ 0, XK_braceleft, g_change_gamma, -1 },
{ 0, XK_braceright, g_change_gamma, +1 },
{ ControlMask, XK_g, g_change_gamma, 0 },
{ 0, XK_c, t_move_sel, DIR_LEFT },
{ 0, XK_Left, t_move_sel, DIR_LEFT },
{ 0, XK_t, t_move_sel, DIR_DOWN },
{ 0, XK_Down, t_move_sel, DIR_DOWN },
{ 0, XK_s, t_move_sel, DIR_UP },
{ 0, XK_Up, t_move_sel, DIR_UP },
{ 0, XK_r, t_move_sel, DIR_RIGHT },
{ 0, XK_Right, t_move_sel, DIR_RIGHT },
{ 0, XK_H, t_reload_all, None },
{ 0, XK_n, i_navigate, +1 },
{ 0, XK_n, i_scroll_to_edge, DIR_LEFT | DIR_UP },
{ 0, XK_p, i_navigate, -1 },
{ 0, XK_p, i_scroll_to_edge, DIR_LEFT | DIR_UP },
{ 0, XK_BackSpace, i_navigate, -1 },
{ 0, XK_bracketright, i_navigate, +10 },
{ 0, XK_bracketleft, i_navigate, -10 },
{ ControlMask, XK_6, i_alternate, None },
{ ControlMask, XK_n, i_navigate_frame, +1 },
{ ControlMask, XK_p, i_navigate_frame, -1 },
{ ControlMask, XK_space, i_toggle_animation, None },
{ ControlMask, XK_a, i_toggle_animation, None },
{ 0, XK_c, i_scroll, DIR_LEFT },
{ 0, XK_Left, i_scroll, DIR_LEFT },
{ 0, XK_t, i_scroll, DIR_DOWN },
{ 0, XK_Down, i_scroll, DIR_DOWN },
{ 0, XK_s, i_scroll, DIR_UP },
{ 0, XK_Up, i_scroll, DIR_UP },
{ 0, XK_r, i_scroll, DIR_RIGHT },
{ 0, XK_Right, i_scroll, DIR_RIGHT },
{ 0, XK_C, i_scroll_to_edge, DIR_LEFT },
{ 0, XK_T, i_scroll_to_edge, DIR_DOWN },
{ 0, XK_S, i_scroll_to_edge, DIR_UP },
{ 0, XK_R, i_scroll_to_edge, DIR_RIGHT },
{ 0, XK_z, i_scroll_to_center, None },
{ 0, XK_equal, i_set_zoom, 100 },
{ 0, XK_w, i_fit_to_win, SCALE_DOWN },
{ 0, XK_W, i_fit_to_win, SCALE_FIT },
{ 0, XK_F, i_fit_to_win, SCALE_FILL },
{ 0, XK_e, i_fit_to_win, SCALE_WIDTH },
{ 0, XK_E, i_fit_to_win, SCALE_HEIGHT },
{ 0, XK_less, i_rotate, DEGREE_270 },
{ 0, XK_greater, i_rotate, DEGREE_90 },
{ 0, XK_question, i_rotate, DEGREE_180 },
{ 0, XK_bar, i_flip, FLIP_HORIZONTAL },
{ 0, XK_underscore, i_flip, FLIP_VERTICAL },
{ 0, XK_a, i_toggle_antialias, None },
{ 0, XK_A, i_toggle_alpha, None },
{ 0, XK_k, i_slideshow, None },
};
/* mouse button mappings for image mode: */
static const button_t buttons_img[] = {
/* modifiers button function argument */
{ 0, 1, i_cursor_navigate, None },
{ ControlMask, 1, i_drag, DRAG_RELATIVE },
{ 0, 2, i_drag, DRAG_ABSOLUTE },
{ 0, 3, g_switch_mode, None },
{ 0, 4, g_zoom, +1 },
{ 0, 5, g_zoom, -1 },
};
/* mouse button mappings for thumbnail mode: */
static const button_t buttons_tns[] = {
/* modifiers button function argument */
{ 0, 1, t_select, None },
{ 0, 3, t_drag_mark_image, None },
{ 0, 4, t_scroll, DIR_UP },
{ 0, 5, t_scroll, DIR_DOWN },
{ ControlMask, 4, g_scroll_screen, DIR_UP },
{ ControlMask, 5, g_scroll_screen, DIR_DOWN },
};
/* true means NAV_WIDTH is relative (33%), false means absolute (33 pixels) */
static const bool NAV_IS_REL = true;
/* width of navigation area, 0 disables cursor navigation, */
static const unsigned int NAV_WIDTH = 33;
/* mouse cursor on left, middle and right part of the window */
static const cursor_t imgcursor[3] = {
CURSOR_LEFT, CURSOR_ARROW, CURSOR_RIGHT
};
#endif
+42
View File
@@ -0,0 +1,42 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
pkgname=pumopm-bin
pkgver=0.1.1
pkgrel=3
pkgdesc="A tiny power manager written in Rust"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://labs.phundrak.com/phundrak/pumopm"
license=('GPL3')
depends=()
makedepends=('rustup')
options=('strip' 'zipman')
source=("${pkgname%-bin}::https://labs.phundrak.com/phundrak/pumopm/archive/$pkgver.tar.gz")
# If Phundraks Gitea takes too long to answer, or if it is down, use the
# Github mirror
# source=("${pkgname%-bin}::https://github.com/Phundrak/pumopm/archive/$pkgver.tar.gz")
md5sums=('347a95efacdbf9f8ab3b2da6a7eff6cc')
conflicts=('pumopm' 'pumopm-git')
build() {
cd "$pkgname"
if command -v rustup >/dev/null 2>&1; then
RUSTFLAGS="-C target-cpu=native" rustup run stable cargo build --release
elif rustc --version | grep -q stable; then
RUSTFLAGS="-C target-cpu=native" cargo build --release
else
cargo build --release
fi
}
package() {
cd "$pkgname"
echo EXE
install -Dm755 "target/release/pumopm" "$pkgdir/usr/bin/pumopm"
echo LICENSE
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
echo MAN
install -Dm644 "pumopm.1" "$pkgdir/usr/share/man/man1/pumopm.1"
echo SERVCE
install -Dm644 "pumopm.service" "$pkgdir/usr/lib/systemd/system/pumopm.service"
}
# vim:set ts=2 sw=2 et:
+40
View File
@@ -0,0 +1,40 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
_pkgname=sent
pkgname=${_pkgname}-phundrak-git
pkgver=r130.0a30ccc
pkgrel=1
pkgdesc="Simple plain-text presentation tool"
arch=('i686' 'x86_64')
url="http://tools.suckless.org/${_pkgname}"
license=('MIT')
depends=('fontconfig' 'libxft')
optdepends=('farbfeld: PNG and JPEG support')
makedepends=('git')
conflicts=('sent' 'sent-git')
source=("$pkgname::git+https://labs.phundrak.com/phundrak/sent")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${pkgname}"
if [ -f "${srcdir}/config.h" ]; then
cp "${srcdir}/config.h" .
fi
}
build() {
make -C "${srcdir}/${pkgname}"
}
package() {
cd "${srcdir}/${pkgname}"
make PREFIX="/usr" \
DESTDIR="${pkgdir}" \
install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-58
View File
@@ -1,58 +0,0 @@
---
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'true'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakAfterJavaFieldAnnotations: 'true'
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Linux
BreakBeforeInheritanceComma: 'false'
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: 'true'
ColumnLimit: '80'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
Cpp11BracedListStyle: 'true'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'false'
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: 'false'
JavaScriptQuotes: Leave
JavaScriptWrapImports: 'true'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: Inner
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterCStyleCast: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '2'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
UseTab: ForIndentation
...
-179
View File
@@ -1,179 +0,0 @@
# Created by https://www.gitignore.io/api/c,c++,ninja,macos,linux,cmake,windows,visualstudiocode
# Edit at https://www.gitignore.io/?templates=c,c++,ninja,macos,linux,cmake,windows,visualstudiocode
### C ###
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
### C++ ###
# Prerequisites
# Compiled Object files
*.slo
# Precompiled Headers
# Compiled Dynamic libraries
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
# Executables
### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
### CMake Patch ###
# External projects
*-prefix/
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Ninja ###
.ninja_deps
.ninja_log
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.gitignore.io/api/c,c++,ninja,macos,linux,cmake,windows,visualstudiocode
build
-56
View File
@@ -1,56 +0,0 @@
cmake_minimum_required(VERSION 3.14)
project("PROJECTNAME"
VERSION 0.1
DESCRIPTION "Description of PROJECTNAME"
HOMEPAGE_URL "https://labs.phundrak.fr/phundrak/PROJECTNAME"
LANGUAGES CXX)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
file(GLOB SRC_FILES "src/*.cc")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
include(functions)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
enable_cxx_compiler_flag_if_supported("-Wall")
enable_cxx_compiler_flag_if_supported("-pedantic")
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
enable_cxx_compiler_flag_if_supported("-g")
else()
enable_cxx_compiler_flag_if_supported("-O3")
enable_cxx_compiler_flag_if_supported("-flto")
endif()
# include_directories(<PUBLIC HEADER DIRECTORIES>)
# Main software
set(TGT PROJECTNAME)
add_executable(${TGT} ${SRC_FILES})
target_compile_features(${TGT} PRIVATE cxx_std_17)
target_include_directories(${TGT} PRIVATE include/PROJECTNAME)
target_link_libraries(${TGT} ${CONAN_LIBS})
# Tests, -DTESTS=True to activate
if(TESTS)
set(TESTTGT PROJECTNAME-tests)
file(GLOB TEST_FILES "tests/tests.cc")
add_executable(${TESTTGT} ${TEST_FILES})
target_compile_features(${TESTTGT} PRIVATE cxx_std_17)
target_include_directories(${TESTTGT} PRIVATE include/PROJECTNAME)
target_link_libraries(${TESTTGT} ${CONAN_LIBS})
endif()
# OS specific instructions.
if(APPLE)
elseif(WIN32)
# Windows developer environment specific instructions.
if(MINGW)
elseif(MSYS)
elseif(CYGWIN)
endif()
elseif(UNIX)
else()
endif()
-21
View File
@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2019 Jinsoo Heo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-60
View File
@@ -1,60 +0,0 @@
[[http://spacemacs.org][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]]
* PROJECTNAME
PROJECTNAME is a C++17 project written for and built with CMake and Ninja.
* How to build PROJECTNAME
You will ned to have Ninja and Conan installed. To install Ninja, install the
appropriate package offered by your package manager (~ninja-build~ on Debian,
~ninja~ on Arch Linux and Void Linux), and to install conan, use ~pip~.
#+begin_src shell
pip install --user conan
#+end_src
This project is built with conan, ninja and cmake using clang-7 for C++17. To
use it, first install clang-7 and lldb 7, then run this:
#+begin_src shell
conan profile new default --detect
conan profile update settings.compiler=clang default
conan profile update settings.compiler.version=7.0 default
conan profile update settings.compiler.libcxx=libstdc++11 default
conan profile update env.CC=/bin/clang default
conan profile update env.CXX=/bin/clang++ default
#+end_src
If you do not wish to overwrite your ~default~ profile, you can instead create a
new one, for instance ~clang~. To do so, write the name of your new profile (in
this example ~clang~) instead of ~default~ in the commands shown above.
Then, To build and run the program, go to the root of the project and run this:
#+begin_src shell
mkdir build && cd build
conan install .. --build missing
cmake -DCMAKE_CXX_COMPILER=clang++ .. -G Ninja
cmake --build .
#+end_src
If you want to use another profile than your default one, you should run the
following line instead of the second line:
#+begin_src shell
conan install .. --build missing --profile <your_profile>
#+end_src
If you wish to build the projects tests in addition to the project itself, you
can add the option ~-DTESTS=True~ to the first ~cmake~ command to build the
projects tests too.
#+begin_src shell
cmake -DCMAKE_CXX_COMPILER=clang++ -DTESTS=True .. -G Ninja
#+end_src
If you do not wish to build your project with Ninja but with another generator,
such as Unix Makefiles, simply replace ~Ninja~ in the second to last ~cmake~
command with the name of your generator. For instance:
#+begin_src shell
cmake -DCMAKE_CXX_COMPILER=clang++ .. -G "Unix Makefiles"
#+end_src
You can still build your project by running ~cmake --build .~ or by running
~make~ manually.
* Credits
Awesome C++ Template by [[https://github.com/devkoriel/AwesomeCppTemplate][devkoriel]].
-12
View File
@@ -1,12 +0,0 @@
INCLUDE(CheckCXXCompilerFlag)
function(enable_cxx_compiler_flag_if_supported flag)
string(FIND "${CMAKE_CXX_FLAGS}" "${flag}" flag_already_set)
if(flag_already_set EQUAL -1)
check_cxx_compiler_flag("${flag}" flag_supported)
if(flag_supported)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
endif()
unset(flag_supported CACHE)
endif()
endfunction()
-16
View File
@@ -1,16 +0,0 @@
from conans import ConanFile, CMake
class PROJECTNAMEConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = "gtest/1.8.1@bincrafters/stable"
generators = "cmake", "gcc", "txt"
def imports(self):
self.copy("*.dll", dst="bin", src="bin") # From bin to bin
self.copy("*.dylib*", dst="bin", src="lib") # From lib to bin
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
File diff suppressed because it is too large Load Diff
-6
View File
@@ -1,6 +0,0 @@
#include <iostream>
int main(int argc, char* argv[]) {
std::cout << "Hello World!" << std::endl;
return 0;
}
-16
View File
@@ -1,16 +0,0 @@
#include "Poco/MD5Engine.h"
#include "Poco/DigestStream.h"
#include "class.hpp"
#include <iostream>
int main(int argc, char** argv)
{
Poco::MD5Engine md5;
Poco::DigestOutputStream ds(md5);
ds << "abcdefghijklmnopqrstuvwxyz";
ds.close();
std::cout << Poco::DigestEngine::digestToHex(md5.digest()) << std::endl;
return 0;
}
-16
View File
@@ -1,16 +0,0 @@
#include <gtest/gtest.h>
TEST(SquareRootTest, PositiveNos) {
ASSERT_EQ(6, 2 * 3);
ASSERT_EQ(6, -2 * -3);
}
TEST(SquareRootTest, NegativeNos) {
ASSERT_EQ(-6, -2 * 3);
ASSERT_EQ(-6, 2 * -3);
}
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
-26
View File
@@ -1,26 +0,0 @@
.\" Automatically generated by Pandoc 2.5
.\"
.TH "cnew" "" "" "" ""
.hy
.SH NAME
.PP
\f[B]cnew\f[R] \- New C11 Project
.SH SYNOPSIS
.PP
cnew PROJECT
.SH DESCRIPTION
.PP
Creates a new C11 CMake\-based project named PROJECT.
.SH REPORTING BUGS
.PP
Git repository available at
<https://labs.phundrak.fr/phundrak/dotfiles>.
.SH Copyright
.PP
Copyright Lucien \[dq]Phundrak\[dq] Cartier Tilet 2019\-2020.
Licence GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH AUTHORS
Lucien \[dq]Phundrak\[dq] Cartier Tilet.
-16
View File
@@ -1,16 +0,0 @@
#+TITLE: cnew
#+AUTHOR: Lucien "Phundrak" Cartier Tilet
* NAME
*{{{title}}}* - New C11 Project
* SYNOPSIS
{{{title}}} PROJECT
* DESCRIPTION
Creates a new C11 CMake-based project named PROJECT.
* REPORTING BUGS
Git repository available at [[https://labs.phundrak.fr/phundrak/dotfiles]].
* Copyright
Copyright {{{author}}} 2019-2020. Licence GPLv3+: GNU GPL version 3 or later [[https://gnu.org/licenses/gpl.html]]. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
-30
View File
@@ -1,30 +0,0 @@
.\" Automatically generated by Pandoc 2.5
.\"
.TH "cppnew" "" "" "" ""
.hy
.SH NAME
.PP
\f[B]cppnew\f[R] \- New C++17 Project
.SH SYNOPSIS
.PP
cppnew [\-c, \[en]connan] PROJECT
.SH DESCRIPTION
.PP
Creates a new C++17 project named PROJECT, either CMake\-based only or
CMake and Conan\-based.
.TP
.B \f[C]\-c\f[R], \f[C]\-\-connan\f[R]
Creates a Conan\-based project
.SH REPORTING BUGS
.PP
Git repository available at
<https://labs.phundrak.fr/phundrak/dotfiles>.
.SH Copyright
.PP
Copyright Lucien \[dq]Phundrak\[dq] Cartier Tilet 2019\-2020.
Licence GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH AUTHORS
Lucien \[dq]Phundrak\[dq] Cartier Tilet.
-18
View File
@@ -1,18 +0,0 @@
#+TITLE: cppnew
#+AUTHOR: Lucien "Phundrak" Cartier Tilet
* NAME
*{{{title}}}* - New C++17 Project
* SYNOPSIS
{{{title}}} [-c, --connan] PROJECT
* DESCRIPTION
Creates a new C++17 project named PROJECT, either CMake-based only or CMake and Conan-based.
- ~-c~, ~--connan~ :: Creates a Conan-based project
* REPORTING BUGS
Git repository available at [[https://labs.phundrak.fr/phundrak/dotfiles]].
* Copyright
Copyright {{{author}}} 2019-2020. Licence GPLv3+: GNU GPL version 3 or later [[https://gnu.org/licenses/gpl.html]]. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Some files were not shown because too many files have changed in this diff Show More