Compare commits
11 commits
c00cbdbade
...
e36ed17a97
| Author | SHA1 | Date | |
|---|---|---|---|
| e36ed17a97 | |||
| 710fc41b23 | |||
| 270a6f1e0d | |||
| 343c1f0a35 | |||
| 4082d92ed9 | |||
| 749cedb162 | |||
| 2627055e7c | |||
| 96757895dc | |||
| 19577a7c83 | |||
| e604e34329 | |||
| f252c628ec |
12 changed files with 59 additions and 118 deletions
|
|
@ -1,100 +0,0 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# See the pacman.conf(5) manpage for option and repository directives
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
# The following paths are commented out with their default values listed.
|
||||
# If you wish to use different paths, uncomment and update the paths.
|
||||
#RootDir = /
|
||||
#DBPath = /var/lib/pacman/
|
||||
#CacheDir = /var/cache/pacman/pkg/
|
||||
#LogFile = /var/log/pacman.log
|
||||
#GPGDir = /etc/pacman.d/gnupg/
|
||||
#HookDir = /etc/pacman.d/hooks/
|
||||
HoldPkg = pacman glibc
|
||||
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
|
||||
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
#CleanMethod = KeepInstalled
|
||||
Architecture = auto
|
||||
|
||||
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||
#IgnorePkg =
|
||||
#IgnoreGroup =
|
||||
|
||||
#NoUpgrade =
|
||||
#NoExtract =
|
||||
|
||||
# Misc options
|
||||
UseSyslog
|
||||
Color
|
||||
#NoProgressBar
|
||||
CheckSpace
|
||||
VerbosePkgLists
|
||||
ParallelDownloads = 5
|
||||
|
||||
# By default, pacman accepts packages signed by keys that its local keyring
|
||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||
SigLevel = Required DatabaseOptional
|
||||
LocalFileSigLevel = Optional
|
||||
#RemoteFileSigLevel = Required
|
||||
|
||||
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
||||
# keyring can then be populated with the keys of all official Arch Linux
|
||||
# packagers with `pacman-key --populate archlinux`.
|
||||
|
||||
#
|
||||
# REPOSITORIES
|
||||
# - can be defined here or included from another file
|
||||
# - pacman will search repositories in the order defined here
|
||||
# - local/custom mirrors can be added here or in separate files
|
||||
# - repositories listed first will take precedence when packages
|
||||
# have identical names, regardless of version number
|
||||
# - URLs will have $repo replaced by the name of the current repo
|
||||
# - URLs will have $arch replaced by the name of the architecture
|
||||
#
|
||||
# Repository entries are of the format:
|
||||
# [repo-name]
|
||||
# Server = ServerName
|
||||
# Include = IncludePath
|
||||
#
|
||||
# The header [repo-name] is crucial - it must be present and
|
||||
# uncommented to enable the repo.
|
||||
#
|
||||
|
||||
# The testing repositories are disabled by default. To enable, uncomment the
|
||||
# repo name header and Include lines. You can add preferred servers immediately
|
||||
# after the header, and they will be used before the default mirrors.
|
||||
|
||||
#[testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#[community-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# If you want to run 32 bit applications on your x86_64 system,
|
||||
# enable the multilib repositories as required here.
|
||||
|
||||
#[multilib-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#SigLevel = Optional TrustAll
|
||||
#Server = file:///home/custompkgs
|
||||
|
|
@ -44,6 +44,7 @@ should_start() { # 1=program binary name
|
|||
fi
|
||||
}
|
||||
|
||||
riverctl keyboard-layout -options compose:menu "us(altgr-intl)"
|
||||
## OPTIONS
|
||||
riverctl spawn "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
||||
riverctl focus-follows-cursor normal
|
||||
|
|
@ -115,7 +116,7 @@ riverctl map normal $mod+Shift L spawn "papis -s picktool dmenu open"
|
|||
# shellcheck disable=SC2016
|
||||
riverctl map normal $mod+Shift S spawn 'flavourchoose'
|
||||
|
||||
# Password dropdown frontend
|
||||
# Password frontend
|
||||
riverctl map normal $mod+Shift P spawn "pass-pick"
|
||||
|
||||
# File upload
|
||||
|
|
@ -301,7 +302,6 @@ for pad in $(riverctl list-inputs | grep -i touchscreen); do
|
|||
riverctl input "$pad" pointer-accel 0.5
|
||||
done
|
||||
|
||||
setxkbmap -option "compose:menu"
|
||||
|
||||
# We are not in voidlinux, so no nice turnstile user services will take care of us
|
||||
# have to start everything manually here.
|
||||
|
|
@ -313,8 +313,9 @@ if ! cat /etc/*-release | grep -q '^NAME=.*Void'; then
|
|||
if command -v swaybg >/dev/null 2>&1; then
|
||||
killall swaybg
|
||||
riverctl spawn "swaybg \
|
||||
-o 'LG Electronics W2442 0x000574E1' -i pictures/wall_l.jpg \
|
||||
-o 'LG Electronics W2442 0x000574FD' -i pictures/wall_r.jpg \
|
||||
-o 'LG Electronics W2442 0x000574E1' -i $HOME/pictures/wall_l.jpg \
|
||||
-o 'LG Electronics W2442 0x000574FD' -i $HOME/pictures/wall_r.jpg \
|
||||
-o 'Sharp Corporation 0x1449' -i $HOME/pictures/wall.jpg
|
||||
"
|
||||
elif command -v swww >/dev/null 2>&1; then
|
||||
riverctl spawn "swww-daemon"
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
"on-click": "$TERMINAL start --class float ikhal",
|
||||
"format": "{icon}{0}", // issue tracked here https://github.com/Alexays/Waybar/issues/3623
|
||||
"format-icons": {
|
||||
"event": " ",
|
||||
"event": "",
|
||||
"no-event": "",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
q quit
|
||||
Q quit
|
||||
q ignore
|
||||
|
||||
l seek 5
|
||||
L seek 60
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ case "$result" in
|
|||
if [ -x /usr/bin/systemctl ]; then
|
||||
systemctl suspend-then-hibernate
|
||||
else
|
||||
sudo zzz -H
|
||||
sudo zzz
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -3,4 +3,7 @@
|
|||
[ -r ./conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" swaybg -o "LG Electronics W2442 0x000574E1" -i "$HOME/pictures/wall_l.jpg" -o "LG Electronics W2442 0x000574FD" -i "$HOME/pictures/wall_r.jpg"
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" swaybg \
|
||||
-o "LG Electronics W2442 0x000574E1" -i "$HOME/pictures/wall_l.jpg" \
|
||||
-o "LG Electronics W2442 0x000574FD" -i "$HOME/pictures/wall_r.jpg" \
|
||||
-o "Sharp Corporation 0x1449" -i "$HOME/pictures/wall.jpg"
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
TIME_OPTS='-S \"09:00\" -s \"21:00\" -d \"3600\"'
|
||||
TIME_OPTS="-S 08:00 -s 21:00 -d 3600"
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
loc=$(curl -s ipinfo.io | grep -e '"loc": ' | sed -e 's/^.*"loc": "\(.*\)",$/\1/')
|
||||
if [ -n "$loc" ]; then
|
||||
lat="$(echo "$loc" | cut -d, -f1)"
|
||||
long="$(echo "$loc" | cut -d, -f2)"
|
||||
TIME_OPTS="-l \"$lat\" -L \"$long\""
|
||||
TIME_OPTS="-l $lat -L $long"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" wlsunset $TIME_OPTS "$@"
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" wlsunset ${TIME_OPTS} "$@"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export LESSHISTFILE="XDG_STATE_HOME/lesshst"
|
|||
export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
|
||||
export NODE_REPL_HISTORY="$XDG_STATE_HOME/node_repl_history"
|
||||
export NVM_DIR="$XDG_DATA_HOME/nvm"
|
||||
if [ ! -e "$PYTHONSTARTUP" ]; then
|
||||
if [ -n "$PYTHONSTARTUP" ] && [ ! -e "$PYTHONSTARTUP" ]; then
|
||||
mkdir -p "$XDG_CONFIG_HOME/python"
|
||||
touch "$PYTHONSTARTUP"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ if file_exists(colorsfile) == true then
|
|||
end
|
||||
|
||||
local settings = {
|
||||
enable_wayland = false, -- sadface :-(
|
||||
enable_wayland = true, -- sadface :-(
|
||||
xcursor_theme = "Adwaita",
|
||||
enable_tab_bar = true,
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}"
|
|||
ZSHCONFDIR="$CONFDIR/zsh"
|
||||
|
||||
# load completion, extended zsh moving syntax, zle edit in vim (or other $EDITOR) possibility
|
||||
autoload -Uz compinit zmv edit-command-line
|
||||
autoload -Uz compinit zmv edit-command-line run-help run-help-git run-help-ip run-help-sudo
|
||||
|
||||
# Set completion style
|
||||
# The following lines were added by compinstall
|
||||
|
|
@ -232,6 +232,9 @@ zle -N edit-command-line
|
|||
bindkey '^e' edit-command-line
|
||||
bindkey -M vicmd '^e' edit-command-line
|
||||
|
||||
# give manpage when hitting K from vi mode
|
||||
bindkey -M vicmd 'K' run-help run-help-git run-help-ip run-help-sudo run-help
|
||||
|
||||
# Deduplicate PATH - remove any duplicate entries from PATH
|
||||
# from: https://unix.stackexchange.com/questions/40749/remove-duplicate-path-entries-with-awk-command
|
||||
get_var() {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ pager = "delta"
|
|||
format = "git" # for the time being to use delta well
|
||||
|
||||
[templates]
|
||||
# Add git diffs to commit drafts
|
||||
draft_commit_description = '''
|
||||
concat(
|
||||
description,
|
||||
|
|
@ -32,6 +33,38 @@ concat(
|
|||
)
|
||||
'''
|
||||
|
||||
[template-aliases]
|
||||
# Changed order of normal oneliner around:
|
||||
# keep revID, but then first thing bookmarks/tags/head and descriptions
|
||||
# only afterwards show email, timesatmp, commitID since I am less interested
|
||||
builtin_log_oneline = '''
|
||||
if(root,
|
||||
format_root_commit(self),
|
||||
label(if(current_working_copy, "working_copy"),
|
||||
concat(
|
||||
separate(" ",
|
||||
format_short_change_id_with_hidden_and_divergent_info(self),
|
||||
if(conflict, label("conflict", "conflict")),
|
||||
bookmarks,
|
||||
tags,
|
||||
if(git_head, label("git_head", "git_head()")),
|
||||
if(description,
|
||||
description.first_line(),
|
||||
label(if(empty, "empty"), description_placeholder),
|
||||
),
|
||||
if(author.email(), author.email().local(), email_placeholder),
|
||||
format_timestamp(commit_timestamp(self)),
|
||||
working_copies,
|
||||
format_short_commit_id(commit_id),
|
||||
if(config("ui.show-cryptographic-signatures").as_boolean(),
|
||||
format_short_cryptographic_signature(signature)),
|
||||
if(empty, label("empty", "(empty)")),
|
||||
) ++ "\n",
|
||||
),
|
||||
)
|
||||
)
|
||||
'''
|
||||
|
||||
[revsets]
|
||||
log = "ancestors(@, 5) | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()"
|
||||
|
||||
|
|
|
|||
|
|
@ -51,13 +51,13 @@ alias jab="jj abandon"
|
|||
alias J="jj log -r 'all()'" # mirror default command being log
|
||||
alias jl="jj log -T builtin_log_oneline"
|
||||
alias JL="jj log -T builtin_log_oneline -r 'all()'"
|
||||
alias jlo="jj log --summary"
|
||||
alias JLO="jj log --summary -r 'all()'"
|
||||
alias jlo="jj log --summary -T builtin_log_compact_full_description"
|
||||
alias JLO="jj log --summary -T builtin_log_compact_full_description -r 'all()'"
|
||||
alias jloo="jj log --patch"
|
||||
alias JLOO="jj log --patch -r 'all()'"
|
||||
alias jol="jj op log"
|
||||
jlf() {
|
||||
jj log -r "description(\"$*\")"
|
||||
jj log -r "description(substring-i:\"$*\")"
|
||||
}
|
||||
jlof() {
|
||||
jj log --summary -r "description($*)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue