diff options
Diffstat (limited to 'desktop.org')
-rw-r--r-- | desktop.org | 361 |
1 files changed, 0 insertions, 361 deletions
diff --git a/desktop.org b/desktop.org deleted file mode 100644 index d1fb5ce..0000000 --- a/desktop.org +++ /dev/null @@ -1,361 +0,0 @@ -#+TITLE: General System Configurations -#+PROPERTY: header-args :mkdirp yes -#+STARTUP: overview - -* Git -#+begin_src conf :tangle ~/.gitconfig - [user] - email = [email protected] - name = Thanos Apollo - signingkey = 5F6B32E27F433AA9E42A530A0A50703D1CE7AE29 - [commit] - gpgsign = true - [format] - subjectPrefix = PATCH - [sendemail] - from = Thanos Apollo <[email protected]> - smtpserver = smtp.fastmail.com - smtpuser = [email protected] - smtpencryption = ssl - smtpserverport = 465 - annotate = yes - - [credential "smtp://smtp.fastmail.com"] - helper = "!f() { echo [email protected]; echo \"password=$(pass show fastmail.com/[email protected] | sed -n '/smtp:/,+3p')\"; }; f" - -#+end_src -* gnupgp -#+begin_src conf :tangle ~/.gnupg/gpg-agent.conf - default-cache-ttl 172800 - max-cache-ttl 282800 - pinentry-program /home/thanos/.stumpwm.d/modules/util/pinentry/stumpwm-pinentry -#+end_src -* iSync -#+begin_src conf :tangle ~/.mbsyncrc - IMAPAccount fastmail - Host imap.fastmail.com - Port 993 - User [email protected] - PassCmd "emacsclient -e '(password-store-get-field \"fastmail.com/[email protected]\" \"smtp\")'" - SSLType IMAPS - SSLVersions TLSv1.2 - CertificateFile /etc/ssl/certs/ca-certificates.crt - - IMAPStore fastmail-remote - Account fastmail - - MaildirStore fastmail-local - Path ~/Mail/ - Inbox ~/Mail/Inbox - Trash ~/Mail/Trash/ - SubFolders Verbatim - - Channel fastmail - Far :fastmail-remote: - Near :fastmail-local: - Patterns * - Expunge None - CopyArrivalDate yes - Sync All - Create Both - SyncState * -#+end_src - -* Starship -#+begin_src conf :tangle ~/.config/starship.toml - # Get editor completions based on the config schema - "$schema" = 'https://starship.rs/config-schema.json' - # Inserts a blank line between shell prompts - add_newline = true - - # Replace the '❯' symbol in the prompt with '➜' - [character] # The name of the module we are configuring is 'character' - success_symbol = '[λ](red)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' - error_symbol = "[✖](bold red) " - - [battery] - full_symbol = "🔋" - charging_symbol = "🔌" - discharging_symbol = "⚡" - - [[battery.display]] - threshold = 30 - style = "bold red" - - [cmd_duration] - min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec) - format = " took [$duration]($style)" - - [directory] - truncation_length = 5 - format = "[$path](yellow)[$lock_symbol]($lock_style) " - - [git_branch] - format = " [$symbol$branch]($style) " - symbol = "[](bold green) " - style = "blue bold" - - [git_commit] - commit_hash_length = 8 - style = "bold white" - - [git_state] - format = '[\($state( $progress_current of $progress_total)\)]($style) ' - - [git_status] - conflicted = "⚔️ " - ahead = "🏎️ 💨 ×${count}" - behind = "🐢 ×${count}" - diverged = "🔱 🏎️ 💨 ×${ahead_count} 🐢 ×${behind_count}" - untracked = " ×${count}" - stashed = "📦 " - modified = " ×${count}" - staged = "🗃️ ×${count}" - renamed = "📛 ×${count}" - deleted = "🗑️ ×${count}" - style = "bright-white" - format = "$all_status$ahead_behind" - - [hostname] - ssh_only = false - format = "<[$hostname]($style)>" - trim_at = "-" - style = "bold dimmed white" - disabled = true - - [julia] - format = "[$symbol$version]($style) " - symbol = "ஃ " - style = "bold green" - - [memory_usage] - format = "$symbol[${ram}( | ${swap})]($style) " - threshold = 70 - style = "bold dimmed white" - disabled = false - - [package] - disabled = true - - [python] - format = "[$symbol$version]($style) " - style = "bold green" - - [rust] - format = "[$symbol$version]($style) " - style = "bold green" - - [time] - time_format = "%T" - format = "🕙 $time($style) " - style = "bright-white" - disabled = true - - [username] - style_user = "bold dimmed blue" - show_always = false - - [nodejs] - format = "via [🤖 $version](bold green) " -#+end_src - -* slock -#+begin_src conf :tangle "/sudo::/etc/systemd/system/[email protected]" - [Unit] - Description=Lock X session using slock for user %i - Before=sleep.target - - [Service] - User=%i - Environment=DISPLAY=:0 - ExecStartPre=/usr/bin/xset dpms force suspend - ExecStart=/usr/bin/slock - - [Install] - WantedBy=sleep.target -#+end_src -* Keyboards -** Cyrillic -#+begin_src fundamental :tangle "/sudo::/usr/share/X11/xkb/symbols/my-cyr" -partial alphanumeric_keys -xkb_symbols "phonetic" { - - name[Group1]= "Russian (phonetic)"; - - key <AE01> { [ 1, exclam ] }; - key <AE02> { [ 2, at ] }; - key <AE03> { [ 3, Cyrillic_io ] }; - key <AE04> { [ 4, Cyrillic_IO ] }; - key <AE05> { [ 5, Cyrillic_hardsign ] }; - key <AE06> { [ 6, Cyrillic_HARDSIGN ] }; - key <AE07> { [ 7, ampersand ] }; - key <AE08> { [ 8, asterisk ] }; - key <AE09> { [ 9, parenleft ] }; - key <AE10> { [ 0, parenright ] }; - key <AE11> { [ minus, underscore ] }; - - key <AB09> { [ period, greater ] }; - key <AB10> { [ slash, question ] }; - key <AB08> { [ comma, less ] }; - key <AC10> { [ semicolon, colon ] }; - key <AC11> { [ apostrophe, quotedbl ] }; - key <LSGT> { [ bar, brokenbar ] }; - - key <TLDE> { [ Cyrillic_yu, Cyrillic_YU ] }; - key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] }; - key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] }; - key <LatS> { [ Cyrillic_es, Cyrillic_ES ] }; - key <LatA> { [ Cyrillic_a, Cyrillic_A ] }; - key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] }; - key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] }; - key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; - key <LatD> { [ Cyrillic_de, Cyrillic_DE ] }; - key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] }; - key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] }; - key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] }; - key <LatT> { [ Cyrillic_te, Cyrillic_TE ] }; - key <LatR> { [ Cyrillic_er, Cyrillic_ER ] }; - key <LatN> { [ Cyrillic_en, Cyrillic_EN ] }; - key <LatB> { [ Cyrillic_be, Cyrillic_BE ] }; - key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] }; - key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] }; - key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] }; - key <LatM> { [ Cyrillic_em, Cyrillic_EM ] }; - key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; - key <LatU> { [ Cyrillic_u, Cyrillic_U ] }; - key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] }; - key <LatI> { [ Cyrillic_i, Cyrillic_I ] }; - key <LatO> { [ Cyrillic_o, Cyrillic_O ] }; - key <LatL> { [ Cyrillic_el, Cyrillic_EL ] }; - key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] }; - - key <AD11> { [ Cyrillic_sha, Cyrillic_SHA ] }; - key <AE12> { [ Cyrillic_che, Cyrillic_CHE ] }; - key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; - key <BKSL> { [ Cyrillic_e, Cyrillic_E ] }; -}; -#+end_src - -#+begin_src fundamental :tangle "/sudo::/usr/share/X11/xkb/symbols/my-cyr2" -partial alphanumeric_keys -xkb_symbols "phonetic" { - - name[Group1]= "Russian (phonetic)"; - - key <AE01> { [ 1, exclam ] }; - key <AE02> { [ 2, at ] }; - key <AE03> { [ 3, Cyrillic_io ] }; - key <AE04> { [ 4, Cyrillic_IO ] }; - key <AE05> { [ 5, Cyrillic_hardsign ] }; - key <AE06> { [ 6, Cyrillic_HARDSIGN ] }; - key <AE07> { [ 7, ampersand ] }; - key <AE08> { [ 8, asterisk ] }; - key <AE09> { [ 9, parenleft ] }; - key <AE10> { [ 0, parenright ] }; - key <AE11> { [ minus, underscore ] }; - - key <AB09> { [ period, greater ] }; - key <AB10> { [ slash, question ] }; - key <AB08> { [ comma, less ] }; - key <AC10> { [ semicolon, colon ] }; - key <AC11> { [ apostrophe, quotedbl ] }; - key <LSGT> { [ bar, brokenbar ] }; - - key <TLDE> { [ Cyrillic_yu, Cyrillic_YU ] }; - key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] }; - key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] }; - key <LatS> { [ Cyrillic_es, Cyrillic_ES ] }; - key <LatA> { [ Cyrillic_a, Cyrillic_A ] }; - key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] }; - key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] }; - key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; - key <LatD> { [ Cyrillic_de, Cyrillic_DE ] }; - key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] }; - key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] }; - key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] }; - key <LatT> { [ Cyrillic_te, Cyrillic_TE ] }; - key <LatR> { [ Cyrillic_er, Cyrillic_ER ] }; - key <LatN> { [ Cyrillic_en, Cyrillic_EN ] }; - key <LatB> { [ Cyrillic_be, Cyrillic_BE ] }; - key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] }; - key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] }; - key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] }; - key <LatM> { [ Cyrillic_em, Cyrillic_EM ] }; - key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; - key <LatU> { [ Cyrillic_u, Cyrillic_U ] }; - key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] }; - key <LatI> { [ Cyrillic_i, Cyrillic_I ] }; - key <LatO> { [ Cyrillic_o, Cyrillic_O ] }; - key <LatL> { [ Cyrillic_el, Cyrillic_EL ] }; - key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] }; - - key <AD11> { [ Cyrillic_sha, Cyrillic_SHA ] }; - key <AE12> { [ Cyrillic_che, Cyrillic_CHE ] }; - key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; - key <BKSL> { [ Cyrillic_e, Cyrillic_E ] }; -}; -#+end_src - -#+begin_src fundamental :tangle "/sudo::/usr/share/X11/xkb/symbols/my-bg" - partial alphanumeric_keys - xkb_symbols "phonetic" { - name[Group1]= "Bulgarian (traditional phonetic)"; - - key <TLDE> {[ Cyrillic_che, Cyrillic_CHE ]}; - key <AE01> {[ 1, exclam ]}; - key <AE02> {[ 2, at ]}; - key <AE03> {[ 3, numerosign ]}; - key <AE04> {[ 4, dollar, EuroSign, EuroSign ]}; - key <AE05> {[ 5, percent ]}; - key <AE06> {[ 6, EuroSign ]}; - key <AE07> {[ 7, section ]}; - key <AE08> {[ 8, asterisk ]}; - key <AE09> {[ 9, parenleft, bracketleft, U2329 ]}; - key <AE10> {[ 0, parenright, bracketright, U232A ]}; - key <AE11> {[ minus, endash, U2011, U2011 ]}; - key <AE12> {[ equal, plus, emdash, dagger ]}; - - key <AD01> {[ Cyrillic_ya, Cyrillic_YA, U0463, U0462 ]}; - key <AD02> {[ Cyrillic_ve, Cyrillic_VE ]}; - key <AD03> {[ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ]}; - key <AD04> {[ Cyrillic_er, Cyrillic_ER, registered, registered ]}; - key <AD05> {[ Cyrillic_te, Cyrillic_TE, trademark, trademark ]}; - key <AD06> {[ Cyrillic_hardsign, Cyrillic_HARDSIGN, U046B, U046A ]}; - key <AD07> {[ Cyrillic_u, Cyrillic_U ]}; - key <AD08> {[ Cyrillic_i, Cyrillic_I, U045D, U040D ]}; - key <AD09> {[ Cyrillic_o, Cyrillic_O ]}; - key <AD10> {[ Cyrillic_pe, Cyrillic_PE ]}; - key <AD11> {[ Cyrillic_sha, Cyrillic_SHA ]}; - key <AD12> {[ Cyrillic_shcha, Cyrillic_SHCHA ]}; - - key <AC01> {[ Cyrillic_a, Cyrillic_A ]}; - key <AC02> {[ Cyrillic_es, Cyrillic_ES, copyright, copyright ]}; - key <AC03> {[ Cyrillic_de, Cyrillic_DE ]}; - key <AC04> {[ Cyrillic_ef, Cyrillic_EF ]}; - key <AC05> {[ Cyrillic_ghe, Cyrillic_GHE ]}; - key <AC06> {[ Cyrillic_ha, Cyrillic_HA ]}; - key <AC07> {[ Cyrillic_shorti, Cyrillic_SHORTI, U046D, U046C ]}; - key <AC08> {[ Cyrillic_ka, Cyrillic_KA ]}; - key <AC09> {[ Cyrillic_el, Cyrillic_EL ]}; - key <AC10> {[ semicolon, colon, ellipsis, ellipsis ]}; - key <AC11> {[ apostrophe, quotedbl, rightsinglequotemark, leftsinglequotemark ]}; - key <BKSL> {[ Cyrillic_yu, Cyrillic_YU ]}; - - key <LSGT> {[ U045D, U040D ]}; - key <AB01> {[ Cyrillic_ze, Cyrillic_ZE ]}; - key <AB02> {[ Cyrillic_softsign, U045D, Cyrillic_yeru, Cyrillic_YERU ]}; - key <AB03> {[ Cyrillic_tse, Cyrillic_TSE, copyright, copyright ]}; - key <AB04> {[ Cyrillic_zhe, Cyrillic_ZHE ]}; - key <AB05> {[ Cyrillic_be, Cyrillic_BE ]}; - key <AB06> {[ Cyrillic_en, Cyrillic_EN ]}; - key <AB07> {[ Cyrillic_em, Cyrillic_EM ]}; - key <AB08> {[ comma, doublelowquotemark, guillemotleft, guillemotleft ]}; - key <AB09> {[ period, leftdoublequotemark, guillemotright, guillemotright ]}; - key <AB10> {[ slash, question, U0300, U0301 ]}; - - key <SPCE> {[ space, space, nobreakspace, nobreakspace ]}; - - key <KPDL> { type[Group1] = "KEYPAD", [ KP_Delete, KP_Separator ]}; - }; -#+end_src - |