diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-23 20:51:42 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-23 20:51:42 +0200 |
commit | 38c1296c06fa2c9948c2de1c3b5581d9b5e96105 (patch) | |
tree | 5ec54e47b6cd7634d7477db1d89bfe3b4a45ec53 | |
parent | fa06e9e7f3fb49484ea1fa8f564816b548222e39 (diff) |
Copying Luke Smith's config a lot
-rw-r--r-- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-card-database.tdb | bin | 0 -> 32768 bytes | |||
-rw-r--r-- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-sink | 1 | ||||
-rw-r--r-- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-source | 1 | ||||
-rw-r--r-- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-device-volumes.tdb | bin | 0 -> 12288 bytes | |||
l--------- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-runtime | 1 | ||||
-rw-r--r-- | .config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-stream-volumes.tdb | bin | 0 -> 696 bytes | |||
-rw-r--r-- | .config/pulse/cookie | bin | 0 -> 256 bytes | |||
-rwxr-xr-x | .config/shell/aliasrc | 27 | ||||
-rwxr-xr-x | .config/shell/inputrc | 19 | ||||
-rwxr-xr-x | .config/shell/profile | 38 | ||||
-rwxr-xr-x | .config/x11/xinitrc | 11 | ||||
-rwxr-xr-x | .config/x11/xprofile | 17 | ||||
-rwxr-xr-x | .config/x11/xresources | 5 | ||||
-rw-r--r-- | .gitmodules | 9 | ||||
-rw-r--r-- | .xprofile | 1 | ||||
-rw-r--r-- | .zprofile | 1 | ||||
-rw-r--r-- | .zshrc | 7 | ||||
m--------- | dmenu | 0 | ||||
m--------- | dwm | 0 | ||||
m--------- | dwmblocks | 0 | ||||
-rw-r--r-- | wallpapers/1ej6nhijnz351.jpg | bin | 1356993 -> 0 bytes |
21 files changed, 122 insertions, 16 deletions
diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-card-database.tdb b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-card-database.tdb Binary files differnew file mode 100644 index 0000000..eaa76e2 --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-card-database.tdb diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-sink b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-sink new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-sink @@ -0,0 +1 @@ + diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-source b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-source new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-default-source @@ -0,0 +1 @@ + diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-device-volumes.tdb b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-device-volumes.tdb Binary files differnew file mode 100644 index 0000000..87040e9 --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-device-volumes.tdb diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-runtime b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-runtime new file mode 120000 index 0000000..467d83b --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-runtime @@ -0,0 +1 @@ +/tmp/pulse-i3dLXDfg6Vfr
\ No newline at end of file diff --git a/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-stream-volumes.tdb b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-stream-volumes.tdb Binary files differnew file mode 100644 index 0000000..b768866 --- /dev/null +++ b/.config/pulse/0e460ee057f70ed4b07fdbfc60a959f3-stream-volumes.tdb diff --git a/.config/pulse/cookie b/.config/pulse/cookie Binary files differnew file mode 100644 index 0000000..9a839df --- /dev/null +++ b/.config/pulse/cookie diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc new file mode 100755 index 0000000..8d4eacd --- /dev/null +++ b/.config/shell/aliasrc @@ -0,0 +1,27 @@ +#!/bin/sh + +# Use neovim for vim if present. +[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" + +# Use XINITRC variable if file exists. +[ -f "$XINITRC" ] && alias startx="startx $XINITRC" + +# sudo not required for some system commands. +for x in mount unmount sv pacman updatedb su ; do + alias $x="sudo $x" +done + +# Verbosity and settings that you pretty much just always are going to want. +alias \ + cp="cp -iv" \ + mv="mv -iv" \ + rm="rm -vI" \ + bc="bc -ql" \ + mkd="mkdir -pv" \ + ffmpeg="ffmpeg -hide_banner" + +alias \ + ls="ls -hN --color=auto --group-directories-first" \ + grep="grep --color=auto" \ + diff="diff --color=auto" \ + ccat="highlight --out-format=ansi" diff --git a/.config/shell/inputrc b/.config/shell/inputrc new file mode 100755 index 0000000..cbe8e5e --- /dev/null +++ b/.config/shell/inputrc @@ -0,0 +1,19 @@ +#include /etc/inputrc +set editing-mode vi +$if mode=vi + +set show-mode-in-promt on +set vi-ins-mode-string \1\e[6 q\2 +set vi-cmd-mode-string \1\e[2 q\2 + +set keymap vi-command +# These are for vi-command mode +Control-l: clear-screen +Control-a: beginning-of-line + +set keymap vi-insert +# These are vi-insert mode +Control-i: clear-screen +Control-a: beginning-of-line + +$endif diff --git a/.config/shell/profile b/.config/shell/profile new file mode 100755 index 0000000..0630427 --- /dev/null +++ b/.config/shell/profile @@ -0,0 +1,38 @@ +#!/bin/zsh + +# profile file. Runs on login. Environmental variables are set here. + +# Adds `~/.local/bin` to $PATH +export PATH="$PATH:${$(find ~/.local/bin -type -d printf %p:)%%:}" + +unsetopt PROMPT_SP + +# Default programs: +export EDITOR="nvim" +export TERMINAL="alacritty" +export BROWSER="brave" + +# ~/ Clean-up: +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc" +export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" +export TMUX_TMPDIR="$XDG_RUNTIME_DIR" +export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo" +export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" +export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history" +export LESSHIST="-" + +# Other program settings: +export FZF_DEFAULT_OPTS="--layout=reverse --height 40%" + +if pacman -Qs libxft-bgra >/dev/null 2>&1; then + # Start graphical server on user's current tty if not already running. + [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" +else + echo "\033[31mIMPORTANT\033[0m: Note that 033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm. +Please run: +\033[32myay -S libxft-bgra-git\033[0m +and replace \`libxft\`. Afterwards, you may start the graphical server by running \`startx\`." +fi diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc new file mode 100755 index 0000000..b17dfd7 --- /dev/null +++ b/.config/x11/xinitrc @@ -0,0 +1,11 @@ +#!/bin/sh + +# xinitrc runs automatically when you run startx. + +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then + . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" +else + . "$HOME/.xprofile" +fi + +ssh-agent dwm diff --git a/.config/x11/xprofile b/.config/x11/xprofile new file mode 100755 index 0000000..c914c5b --- /dev/null +++ b/.config/x11/xprofile @@ -0,0 +1,17 @@ +#!/bin/sh + +# This file runs when a DM logs you into a graphical session. +# If you use startx/xinit like a Chad, this file will also be sourced. + +setbg & # Set the background with the `setbg` script. +xcompmgr & # xcompmgr for transparency +xset r rate 300 50 & # Speed xrate up +unclutter & # Remove mouse when idle +xbanish & # Remove mouse when typing + +# This line autostart an instance of Pulseaudio that does not exit on idle. +# This is "necessary" on Artix due to a current bug between PA and +# Chromium-based browsers where they fail to start PA and use dummy output. +pidof -s runit && + ! pidof -s pulseaudio >/dev/null 2>&11 && + setid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1 diff --git a/.config/x11/xresources b/.config/x11/xresources new file mode 100755 index 0000000..df7071f --- /dev/null +++ b/.config/x11/xresources @@ -0,0 +1,5 @@ +!! Transparency (0-1): +*.alpha: 1.0 + +!! Set a default font and font size as below: +*.font: monospace:size=10 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index f59b2e4..0000000 --- a/.gitmodules +++ /dev/null @@ -1,9 +0,0 @@ -[submodule "dwm"] - path = dwm - url = https://gitlab.com/aktersnurra/dwm.git -[submodule "dwmblocks"] - path = dwmblocks - url = https://gitlab.com/aktersnurra/dwmblocks.git -[submodule "dmenu"] - path = dmenu - url = https://gitlab.com/aktersnurra/dmenu.git diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..414129d --- /dev/null +++ b/.xprofile @@ -0,0 +1 @@ +.config/x11/xprofile diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..a498666 --- /dev/null +++ b/.zprofile @@ -0,0 +1 @@ +.config/shell/profile @@ -1,7 +0,0 @@ -# ZSH config -# Load plugins first -[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh -[ -f $HOME/.config/zsh/exports.zsh ] && source $HOME/.config/zsh/exports.zsh -[ -f $HOME/.config/zsh/functions.zsh ] && source $HOME/.config/zsh/functions.zsh -[ -f $HOME/.config/zsh/keybindings.zsh ] && source $HOME/.config/zsh/keybindings.zsh -[ -f $HOME/.config/zsh/aliases.zsh ] && source $HOME/.config/zsh/aliases.zsh diff --git a/dmenu b/dmenu deleted file mode 160000 -Subproject 1a13d0465d1a6f4f74bc5b07b04c9bd542f20ba diff --git a/dwm b/dwm deleted file mode 160000 -Subproject 17f1d5e7a654c6a70cc08e8c5e1e8c11ee415ba diff --git a/dwmblocks b/dwmblocks deleted file mode 160000 -Subproject 96cbb453e5373c05372fd4bf3faacfa53e40906 diff --git a/wallpapers/1ej6nhijnz351.jpg b/wallpapers/1ej6nhijnz351.jpg Binary files differdeleted file mode 100644 index f38689b..0000000 --- a/wallpapers/1ej6nhijnz351.jpg +++ /dev/null |