Compare commits

..

No commits in common. "e36ed17a97536cfa1bd4bed7db3ce5a663f5ecf0" and "c00cbdbadeb9b0e3d2d5882bae5500e7a00fbe6c" have entirely different histories.

12 changed files with 118 additions and 59 deletions

View file

@ -0,0 +1,100 @@
#
# /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

View file

@ -44,7 +44,6 @@ 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
@ -116,7 +115,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 frontend
# Password dropdown frontend
riverctl map normal $mod+Shift P spawn "pass-pick"
# File upload
@ -302,6 +301,7 @@ 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,9 +313,8 @@ 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 $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
-o 'LG Electronics W2442 0x000574E1' -i pictures/wall_l.jpg \
-o 'LG Electronics W2442 0x000574FD' -i pictures/wall_r.jpg \
"
elif command -v swww >/dev/null 2>&1; then
riverctl spawn "swww-daemon"

View file

@ -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": "",
},
},

View file

@ -1,5 +1,4 @@
Q quit
q ignore
q quit
l seek 5
L seek 60

View file

@ -92,7 +92,7 @@ case "$result" in
if [ -x /usr/bin/systemctl ]; then
systemctl suspend-then-hibernate
else
sudo zzz
sudo zzz -H
fi
fi
;;

View file

@ -3,7 +3,4 @@
[ -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" \
-o "Sharp Corporation 0x1449" -i "$HOME/pictures/wall.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"

View file

@ -1,16 +1,16 @@
#!/usr/bin/env sh
#!/bin/sh
[ -r ./conf ] && . ./conf
TIME_OPTS="-S 08:00 -s 21:00 -d 3600"
TIME_OPTS='-S \"09: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 "$@"

View file

@ -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 [ -n "$PYTHONSTARTUP" ] && [ ! -e "$PYTHONSTARTUP" ]; then
if [ ! -e "$PYTHONSTARTUP" ]; then
mkdir -p "$XDG_CONFIG_HOME/python"
touch "$PYTHONSTARTUP"
fi

View file

@ -24,7 +24,7 @@ if file_exists(colorsfile) == true then
end
local settings = {
enable_wayland = true, -- sadface :-(
enable_wayland = false, -- sadface :-(
xcursor_theme = "Adwaita",
enable_tab_bar = true,
hide_tab_bar_if_only_one_tab = true,

View file

@ -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 run-help run-help-git run-help-ip run-help-sudo
autoload -Uz compinit zmv edit-command-line
# Set completion style
# The following lines were added by compinstall
@ -232,9 +232,6 @@ 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() {

View file

@ -20,7 +20,6 @@ pager = "delta"
format = "git" # for the time being to use delta well
[templates]
# Add git diffs to commit drafts
draft_commit_description = '''
concat(
description,
@ -33,38 +32,6 @@ 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()"

View file

@ -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 -T builtin_log_compact_full_description"
alias JLO="jj log --summary -T builtin_log_compact_full_description -r 'all()'"
alias jlo="jj log --summary"
alias JLO="jj log --summary -r 'all()'"
alias jloo="jj log --patch"
alias JLOO="jj log --patch -r 'all()'"
alias jol="jj op log"
jlf() {
jj log -r "description(substring-i:\"$*\")"
jj log -r "description(\"$*\")"
}
jlof() {
jj log --summary -r "description($*)"