mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
Update all dotfiles links to SourceHut
This commit is contained in:
parent
a48d1dce66
commit
6753a9dff4
|
|
@ -4,7 +4,7 @@
|
|||
# Implements the formula provided by the Web Content Accessibility
|
||||
# Guidelines (WCAG) 2.0: https://www.w3.org/TR/WCAG20-TECHS/G18.html
|
||||
#
|
||||
# CLR is part of my dotfiles: https://gitlab.com/protesilaos/dotfiles.
|
||||
# CLR is part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles.
|
||||
# Apart from its utility, this script has been developed as a means of
|
||||
# practicing certain shell scripting techniques.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
# centred around my BSPWM/HerbstluftWM or Sway setup. For the standard
|
||||
# DEs, this has been tested with GNOME 42 and Xfce 4.16.
|
||||
#
|
||||
# Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
### Code:
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ _emacs ()
|
|||
pgrep -x emacs > /dev/null || return 1
|
||||
|
||||
# Just switch to the appropriate theme for Emacs:
|
||||
# https://gitlab.com/protesilaos/modus-themes
|
||||
# https://git.sr.ht/~protesilaos/modus-themes
|
||||
case "$1"
|
||||
in
|
||||
l*) emacsclient -e "(modus-themes-load-operandi)" > /dev/null ;;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#
|
||||
# Distributed as part of my dotfiles, since I use it daily, though it
|
||||
# technically is not an integral part of my custom desktop session:
|
||||
# https://gitlab.com/protesilaos/dotfiles.
|
||||
# https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# TMR dependencies:
|
||||
# mpv libnotify (libnotify-bin) sound-theme-freedesktop
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
## Commentary:
|
||||
#
|
||||
# This file is part of my custom desktop session:
|
||||
# <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
### Essentials
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
# this script's commands).
|
||||
#
|
||||
# `bspwm_dynamic_desktops' is part of my dotfiles (which also offer a
|
||||
# complete implementation): https://gitlab.com/protesilaos/dotfiles
|
||||
# complete implementation): https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# External rules for BSPWM. This script is part of my dotfiles:
|
||||
# https://gitlab.com/protesilaos/dotfiles.
|
||||
# https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# bspwm focus mode --- removes gaps, padding, panel from the viewport.
|
||||
#
|
||||
# This script is meant to be used in my custom desktop session:
|
||||
# https://gitlab.com/protesilaos/dotfiles.
|
||||
# https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Facilitates BSPWM operations over multiple selection paths. The
|
||||
# actions defined herein are assigned to key chords (sxhkd). Everything
|
||||
# is part of my dotfiles: https://gitlab.com/protesilaos/dotfiles.
|
||||
# is part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# Reorder BSPWM desktops. This is an excerpt of another script I have
|
||||
# that implements dynamic desktop creation/deletion. It is kept here in
|
||||
# case the reordering functionality is needed on its own. Everything is
|
||||
# part of my dotfiles: https://gitlab.com/protesilaos/dotfiles.
|
||||
# part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# the latter scenario, inputting the direction twice will thus move the
|
||||
# focused window out of its current layout and into the receptacle.
|
||||
#
|
||||
# Part of my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
# Part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Lets BSPWM send the marked {or just the focused} node to a receptacle
|
||||
# {or a preselection}. This script is part of my dotfiles:
|
||||
# https://gitlab.com/protesilaos/dotfiles.
|
||||
# https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Copyright (c) 2019-2022 Protesilaos Stavrou <info@protesilaos.com>
|
||||
#
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
### Commentary:
|
||||
#
|
||||
# Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
command -v dunstctl > /dev/null || { echo "ERROR: No 'dunstctl'." ; exit 1 ; }
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
;; behaviour is to start the package manager before loading the init
|
||||
;; file.
|
||||
;;
|
||||
;; See my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
;; See my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
;; audience that includes new or potential users (I am still very new
|
||||
;; myself).
|
||||
;;
|
||||
;; See my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
;; See my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
|
|
|||
|
|
@ -361,8 +361,8 @@
|
|||
;; as it explains what those property lists should contain.
|
||||
;;
|
||||
;; The version of "Hack" that I custom is a custom build on mine:
|
||||
;; <https://gitlab.com/protesilaos/hack-font-mod>. Same principle for
|
||||
;; Iosevka Comfy: <https://gitlab.com/protesilaos/iosevka-comfy>.
|
||||
;; <https://git.sr.ht/~protesilaos/hack-font-mod>. Same principle for
|
||||
;; Iosevka Comfy: <https://git.sr.ht/~protesilaos/iosevka-comfy>.
|
||||
(setq prot-fonts-typeface-sets-alist
|
||||
'((small . ( :fixed-pitch-family "Hack"
|
||||
:fixed-pitch-regular-weight regular
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2021-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Protesilaos Stavrou <info@protesilaos.com>
|
||||
;; URL: https://gitlab.com/protesilaos/lin
|
||||
;; URL: https://git.sr.ht/~protesilaos/lin
|
||||
;; Version: 0.2.0
|
||||
;; Package-Requires: ((emacs "27.1"))
|
||||
;; Keywords: convenience, faces, theme
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Protesilaos Stavrou <info@protesilaos.com>
|
||||
;; URL: https://gitlab.com/protesilaos/logos
|
||||
;; URL: https://git.sr.ht/~protesilaos/logos
|
||||
;; Version: 0.2.0
|
||||
;; Package-Requires: ((emacs "27.1"))
|
||||
;; Keywords: convenience, focus, writing, presentation, narrowing
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2021-2022 Protesilaos Stavrou
|
||||
|
||||
;; Author: Protesilaos Stavrou <info@protesilaos.com>
|
||||
;; URL: https://gitlab.com/protesilaos/modus-themes
|
||||
;; URL: https://git.sr.ht/~protesilaos/modus-themes
|
||||
;; Version: 0.0.0
|
||||
;; Package-Requires: ((emacs "28.1"))
|
||||
;; Keywords: faces, theme, accessibility
|
||||
|
|
@ -265,7 +265,7 @@
|
|||
"\" Description: Vim port of " theme-name " (Modus themes for Emacs)" "\n"
|
||||
"\" Author: Protesilaos Stavrou, <https://protesilaos.com>" "\n"
|
||||
"\" Meta: Created with the modus-themes-exporter.el library" "\n"
|
||||
"\" URL: https://gitlab.com/protesilaos/modus-themes" "\n"
|
||||
"\" URL: https://git.sr.ht/~protesilaos/modus-themes" "\n"
|
||||
"\n"
|
||||
"set background=" variant "\n"
|
||||
"hi clear" "\n"
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@
|
|||
;; NOTE: "Hack" and "Iosevka Comfy" are personal builds of Hack and
|
||||
;; Iosevka respectively:
|
||||
;;
|
||||
;; 1. https://gitlab.com/protesilaos/hack-font-mod
|
||||
;; 2. https://gitlab.com/protesilaos/iosevka-comfy
|
||||
;; 1. https://git.sr.ht/~protesilaos/hack-font-mod
|
||||
;; 2. https://git.sr.ht/~protesilaos/iosevka-comfy
|
||||
(defcustom prot-fonts-typeface-sets-alist
|
||||
'((small . ( :fixed-pitch-family "Hack"
|
||||
:fixed-pitch-regular-weight regular
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ code that leverages =avy=.
|
|||
;; I use this prefix for other searches
|
||||
(define-key minibuffer-local-must-match-map (kbd "M-s") nil))
|
||||
|
||||
;; Source: <https://gitlab.com/protesilaos/mct.el>.
|
||||
;; Source: <https://git.sr.ht/~protesilaos/mct.el>.
|
||||
;; Manual: <https://protesilaos.com/emacs/mct>.
|
||||
(prot-emacs-builtin-package 'mct
|
||||
(setq mct-remove-shadowed-file-names t) ; when `file-name-shadow-mode' is enabled
|
||||
|
|
@ -252,6 +252,6 @@ code that leverages =avy=.
|
|||
(define-key map (kbd "C-.") #'mct-avy-region-choose-completion)))
|
||||
#+end_src
|
||||
|
||||
And here is =mct.el= (from [[https://gitlab.com/protesilaos/dotfiles][my dotfiles' repo]]):
|
||||
And here is =mct.el= (from [[https://git.sr.ht/~protesilaos/dotfiles][my dotfiles' repo]]):
|
||||
|
||||
#+include: prot-lisp/mct.el src emacs-lisp :tangle no
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
<!-- Monospaced -->
|
||||
<alias>
|
||||
<!-- My custom build of Iosevka: <https://gitlab.com/protesilaos/iosevka-comfy> -->
|
||||
<!-- My custom build of Iosevka: <https://git.sr.ht/~protesilaos/iosevka-comfy> -->
|
||||
<family>Iosevka Comfy</family>
|
||||
<default><family>monospace</family></default>
|
||||
</alias>
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@
|
|||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<!-- My custom build of Hack: <https://gitlab.com/protesilaos/hack-font-mod> -->
|
||||
<!-- My custom build of Hack: <https://git.sr.ht/~protesilaos/hack-font-mod> -->
|
||||
<family>Hack</family>
|
||||
<!-- My custom build of Iosevka: <https://gitlab.com/protesilaos/iosevka-comfy> -->
|
||||
<!-- My custom build of Iosevka: <https://git.sr.ht/~protesilaos/iosevka-comfy> -->
|
||||
<family>Iosevka Comfy</family>
|
||||
<family>Source Code Pro</family>
|
||||
</prefer>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
## Commentary:
|
||||
#
|
||||
# This file is part of my custom desktop session:
|
||||
# <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
## Code:
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
# The order of those commands matters. Maybe I will write something
|
||||
# more sophisticated in the future.
|
||||
#
|
||||
# Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
|
||||
# remove "unread" from "replied"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# ~/.bash_profile
|
||||
#
|
||||
# Part of my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
# Part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
#
|
||||
|
||||
# Load my configs
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# BASH configuration file. Any modules such as the `dircolors` config
|
||||
# are stored in ~/.local/share/my_bash/. This setup is part of my
|
||||
# dotfiles. See https://gitlab.com/protesilaos/dotfiles.
|
||||
# dotfiles. See https://git.sr.ht/~protesilaos/dotfiles.
|
||||
#
|
||||
# Note that ALL MY SCRIPTS are designed to work with `#!/bin/bash`.
|
||||
# They are not tested for portability.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
# This file is part of my SwayWM session. Other important settings are
|
||||
# defined in application-specific initialisation files. See:
|
||||
# <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
#
|
||||
## Code:
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
" Description: Vim port of modus-operandi (Modus themes for Emacs)
|
||||
" Author: Protesilaos Stavrou, <https://protesilaos.com>
|
||||
" Meta: Created with the modus-themes-exporter.el library
|
||||
" URL: https://gitlab.com/protesilaos/modus-themes
|
||||
" URL: https://git.sr.ht/~protesilaos/modus-themes
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
" Description: Vim port of modus-vivendi (Modus themes for Emacs)
|
||||
" Author: Protesilaos Stavrou, <https://protesilaos.com>
|
||||
" Meta: Created with the modus-themes-exporter.el library
|
||||
" URL: https://gitlab.com/protesilaos/modus-themes
|
||||
" URL: https://git.sr.ht/~protesilaos/modus-themes
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
" dedicated tool. For me, Vim is just a text editor.
|
||||
"
|
||||
" This is part of my dotfiles, which deploy a custom desktop session
|
||||
" based on BSPWM: https://gitlab.com/protesilaos/dotfiles.
|
||||
" based on BSPWM: https://git.sr.ht/~protesilaos/dotfiles.
|
||||
"
|
||||
" The colour scheme is part of my Tempus Themes (designed for
|
||||
" accessibility): https://protesilaos.com/tempus-themes. Theme files
|
||||
|
|
@ -77,8 +77,8 @@ set listchars=tab:›\ ,nbsp:␣,trail:•,precedes:«,extends:»
|
|||
" abbreviations (try not to use common words)
|
||||
iab medate <c-r>=strftime('%Y-%m-%d')<cr>
|
||||
iab meweb https://protesilaos.com/
|
||||
iab megit https://gitlab.com/protesilaos
|
||||
iab medot https://gitlab.com/protesilaos/dotfiles
|
||||
iab megit https://git.sr.ht/~protesilaos
|
||||
iab medot https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
" Theme settings
|
||||
" --------------
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
#
|
||||
# SXHKD module with WM-agnostic keys
|
||||
#
|
||||
# Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
#
|
||||
|
||||
### Description
|
||||
#
|
||||
# Partial configuration file for the Simple X Hotkey Daemon. Meant to
|
||||
# work with `bspwm`. This is part of my dotfiles, which are managed
|
||||
# with GNU Stow. See https://gitlab.com/protesilaos/dotfiles
|
||||
# with GNU Stow. See https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
### Code:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#
|
||||
# SXHKD module with BPSWM-specific commands
|
||||
#
|
||||
# Part of my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
# Part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
#
|
||||
### Description
|
||||
#
|
||||
# Partial configuration file for the Simple X Hotkey Daemon. Meant to
|
||||
# work with `bspwm`. This is part of my dotfiles, which are managed
|
||||
# with GNU Stow. See https://gitlab.com/protesilaos/dotfiles
|
||||
# with GNU Stow. See https://git.sr.ht/~protesilaos/dotfiles
|
||||
#
|
||||
# LARGE PORTIONS OF THIS FILE INVOKE MY SHELL SCRIPTS. Do not blindly
|
||||
# copy-paste from here!
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#
|
||||
# SXHKD module with HerbstluftWM-specific commands
|
||||
#
|
||||
# Part of my dotfiles: https://gitlab.com/protesilaos/dotfiles
|
||||
# Part of my dotfiles: https://git.sr.ht/~protesilaos/dotfiles
|
||||
#
|
||||
### Description
|
||||
#
|
||||
# Partial configuration file for the Simple X Hotkey Daemon. Meant to
|
||||
# work with `herbstclient`. This is part of my dotfiles, which are
|
||||
# managed with GNU Stow. See https://gitlab.com/protesilaos/dotfiles
|
||||
# managed with GNU Stow. See https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
### Code
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#
|
||||
# Very simple way to switch keyboard layouts between US QWERTY and
|
||||
# standard Greek. Everything is part of my dotfiles:
|
||||
# <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
key_mods="$HOME"/.Xmodmap
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Wrapper for my "focus mode" scripts for Xorg tiling window managers.
|
||||
# Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
|
||||
case "$DESKTOP_SESSION"
|
||||
in
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
! ===========
|
||||
!
|
||||
! This file is part of my dotfiles and is meant to work with the rest of
|
||||
! my custom desktop session: https://gitlab.com/protesilaos/dotfiles
|
||||
! my custom desktop session: https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
|
||||
! Font settings (for programs that do not support fontconfig)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
! Part of my dotfiles: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
! Part of my dotfiles: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
!
|
||||
! IMPORTANT do not edit manually!!! All themes are changed by a single
|
||||
! script: delight.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
# the session. It is conceptually similar to `.xinitrc' and I am
|
||||
# considering it as practically equivalent to it for the ordinary
|
||||
# functioning of my custom desktop session. Refer to my dotfiles for
|
||||
# the specifics: https://gitlab.com/protesilaos/dotfiles
|
||||
# the specifics: https://git.sr.ht/~protesilaos/dotfiles
|
||||
|
||||
|
||||
###############
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
### Commentary:
|
||||
#
|
||||
# This script is a core part of my custom desktop session, centred
|
||||
# around GNU Emacs: <https://gitlab.com/protesilaos/dotfiles>.
|
||||
# around GNU Emacs: <https://git.sr.ht/~protesilaos/dotfiles>.
|
||||
#
|
||||
### Code:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue