config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 7cbe3e8bd2e1c9783b0647cbe38b31a1be7900db
parent ca905ffbabd0eeaa837d6aab991d80438abd1f35
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date:   Sat,  7 Dec 2019 20:13:37 -0800

dotfiles

Diffstat:
Mkitty/.config/kitty/kitty.conf | 4++--
Axinitrc-laptop/.xinitrc | 45+++++++++++++++++++++++++++++++++++++++++++++
Axmobar/.xmobar/scripts/XMBmusic | 12++++++++++++
Mxmobar/.xmobarrc | 4++--
Mzsh/.zshrc | 7++++++-
5 files changed, 67 insertions(+), 5 deletions(-)

diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf @@ -434,7 +434,7 @@ tab_fade 0.25 0.5 0.75 1 #: can change the number of cells used by adding/removing entries to #: this list. -tab_separator " ┇" +tab_separator " ┇" #: The separator between tabs in the tab bar when using separator as #: the tab_bar_style. @@ -460,7 +460,7 @@ inactive_tab_font_style normal #: Color scheme {{{ foreground #c4c4c4 -background #101010 +background #111111 #: The foreground and background colors diff --git a/xinitrc-laptop/.xinitrc b/xinitrc-laptop/.xinitrc @@ -0,0 +1,45 @@ +#!/bin/sh vim: foldmethod=marker + +#{{{ +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources + fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap + fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" + fi + +if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" + fi + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +PATH="/home/jacob/.xmobar/scripts/:$PATH" +export PATH +#}}} +$HOME/bin/color-sync +xsetroot -xcf ~/.icons/Quintom/cursors/left_ptr 14 & # cursor +xwallpaper --zoom $HOME/media/wallpaper/wallpaper.* # wallpaper +xcompmgr & # compositing + +dunst & # notifications +sxhkd & # keybinding + +exec xmonad diff --git a/xmobar/.xmobar/scripts/XMBmusic b/xmobar/.xmobar/scripts/XMBmusic @@ -0,0 +1,12 @@ +#!/bin/sh +string="$(playerctl metadata | grep title | tail -c +35)" + +if [[ "$string" == "" ]]; then + string="$(mpc current | cut -d '-' -f 2 | cut -d '(' -f 1)" + fi + +if [[ "$string" == "" ]]; then + string=OFF +fi + +printf "$string" diff --git a/xmobar/.xmobarrc b/xmobar/.xmobarrc @@ -37,12 +37,12 @@ Config { , "-a", "systemctl suspend" , "-A", "5" ] 30 - , Run ComX "XMBspotify" [""] "N/A" "spotify" 10 + , Run ComX "XMBmusic" [""] "N/A" "music" 10 , Run ComX "XMBlastBackup" [""] "N/A" "backup" 300 , Run ComX "XMBpackages" [""] "N/A" "packages" 100 ] , sepChar = "%" , alignSep = "||" - , template = "%date% %StdinReader% | <fc=#1DB954>%spotify%</fc> | <fc=#787878>Backup</fc><fc=#454545> %backup%</fc> <fc=#787878>Packages</fc><fc=#454545> %packages%</fc> %battery% " + , template = "%date% %StdinReader% | <fc=#1DB954>%music%</fc> | <fc=#787878>Backup</fc><fc=#454545> %backup%</fc> <fc=#787878>Packages</fc><fc=#454545> %packages%</fc> %battery% " } diff --git a/zsh/.zshrc b/zsh/.zshrc @@ -17,6 +17,7 @@ compinit #>includes {{{ [[ -f ~/.shell-alias ]] && . ~/.shell-alias export PATH=$HOME/bin:$PATH +export PATH=$HOME/.spoof/:$PATH export PATH=$HOME/.xmobar/scripts:$PATH export EDITOR='vim' # }}} @@ -70,12 +71,16 @@ if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then fi # }}} -#>history {{{ + #>history {{{ HISTFILE=~/.histfile HISTSIZE=5000 SAVEHIST=1000 # }}} + #>alias {{{ + + #}}} + #>prompt {{{ RPROMPT='%F{236}%T %F{237}%n@%M%f'