This commit is contained in:
Bob Slacker 2022-12-10 17:20:26 +01:00
commit e1b465da57
119 changed files with 5205 additions and 0 deletions

11
LICENSE Normal file
View File

@ -0,0 +1,11 @@
Copyright 2022 Bob Slacker
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

105
README.md Normal file
View File

@ -0,0 +1,105 @@
# My dotfiles!
System and user configuration files backup.
[![FreeBaSeD](img/based.png)](img/based.png)
# Dependencies for the Beastie theme outside of this repo:
- [Flat Remix Red Theme](https://www.gnome-look.org/p/1297351)
- [Oxygen Vibrant Red cursor theme](https://www.gnome-look.org/p/1197423)
- [Kanada icon theme](https://www.gnome-look.org/p/1393126)
# Installed packages:
- catfish
- chromium
- consolekit2
- cowsay
- cwm
- devcpu-data
- devcpu-data-intel
- doas
- drm-kmod
- dunst
- efivar
- emacs
- feh
- firefox
- fish
- fortune-mod-freebsd-classic
- freebsd-doc-en
- freebsd-doc-pt
- gimp
- git
- grub2-bhyve
- gstreamer1-plugins-all
- homebank
- htop
- hw-probe
- hwstat
- ImageMagick7
- kcolorpicker
- keepassxc
- lemonbar
- lfm
- libreoffice
- libreoffice-pt_BR
- libva-intel-driver
- libvdpau-va-gl
- lsblk
- lsw
- lxappearance
- meld
- mixertui
- moc
- most
- mp4v2
- nano
- neofetch
- openvpn
- pciutils
- phonon-vlc
- picom
- pkg
- portmaster
- py-speedtest-cli
- qbittorrent
- qt5-style-plugins
- qt5ct
- qtcurve-qt5
- rar
- rxvt-unicode
- scrot
- shotcut
- supertux2
- supertuxkart
- telegram-desktop
- tigervnc-viewer
- tmux
- typespeed
- uefi-edk2-bhyve-csm
- unrar
- usbutils
- vim
- virtualbox-ose
- vlc
- vm-bhyve
- w3m-img
- webcamd
- wget
- wifimgr
- wtf
- xarchiver
- xclip
- xdg-user-dirs
- xdotool
- xf86-video-intel
- xfe
- xlockmore
- xorg
- xpdf
- youtube_dl
- zsh
- zsh-antigen
- zsh-autosuggestions
- zsh-completions
- zsh-navigation-tools
- zsh-syntax-highlighting

76
boot/loader.conf Normal file
View File

@ -0,0 +1,76 @@
aesni_load="YES"
geom_eli_load="YES"
security.bsd.allow_destructive_dtrace=0
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
###########################################
# Boot
boot_mute="YES"
autoboot_delay="5"
vesa_load="YES"
#splash_pcx_load="YES"
#bitmap_load="YES"
#bitmap_name="/boot/freebsd-boot-alt.pcx"
rc_startmsgs="NO"
kern.vty="vt"
## Add colors to vt(4)
kern.vt.color.0.rgb="#000000"
kern.vt.color.1.rgb="#e67e80"
kern.vt.color.2.rgb="#a7c080"
kern.vt.color.3.rgb="#dbbc7f"
kern.vt.color.4.rgb="#7fbbb3"
kern.vt.color.5.rgb="#d699b6"
kern.vt.color.6.rgb="#83c092"
kern.vt.color.7.rgb="#ff0000"
kern.vt.color.8.rgb="#4b565c"
kern.vt.color.9.rgb="#e67e80"
kern.vt.color.10.rgb="#a7c080"
kern.vt.color.11.rgb="#dbbc7f"
kern.vt.color.12.rgb="#7fbbb3"
kern.vt.color.13.rgb="#d699b6"
kern.vt.color.14.rgb="#83c092"
kern.vt.color.15.rgb="#ff0000"
##########################################
# Security
## Meltdown mitigation
vm.pmap.pti=1
hw.ibrs_disable=0
###########################################
# IBM ACPI
acpi_ibm_load="YES"
###########################################
# Webcamd
cuse_load="YES"
###########################################
# Enhance shared memory X11 interface and
# other stuffs
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
kern.maxproc=1000000
###########################################
# Trunk Network
if_lagg_load="YES"
###########################################
# VirtualBox
#vboxdrv_load="YES"
## If you are using AIO, then increase
## these limits (PR#168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
##########################################
# Sysctl
sysctlinfo_load="YES"
sysctlbyname_load="YES"
##########################################
# Misc
libiconv_load="YES"
libmchain_load="YES"
##########################################
# Other OS boot entry
#chain_disk="disk1:"

71
etc/devfs.conf Normal file
View File

@ -0,0 +1,71 @@
# Copyright (c) 2003 The FreeBSD Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD$
# These are examples of how to configure devices using /etc/rc.d/devfs.
# The first parameter is always the action to take, the second is always the
# existing device created by devfs, and the last is what you want to change.
# The name of the action is only significant to the first unique character.
#
# Examples:
# Commonly used by many ports
#link cd0 cdrom
#link cd0 dvd
# Allow a user in the wheel group to query the smb0 device
#perm smb0 0660
# Allow members of group operator to cat things to the speaker
#own speaker root:operator
#perm speaker 0660
# In order to use the File System read/write monitor, you must chmod
# /dev/devstat so that all users can open it read-only.
perm devstat 0444
# The default permissions for /dev/vboxnetctl are restrictive and
# need to be changed for bridged networking:
own vboxnetctl root:vboxusers
perm vboxnetctl 0660
# Permit users to acess various devices
perm /dev/acd0 0666
perm /dev/acd1 0666
perm /dev/cd0 0666
perm /dev/da0 0666
perm /dev/da1 0666
perm /dev/da2 0666
perm /dev/da3 0666
perm /dev/da4 0666
perm /dev/da5 0666
perm /dev/pass0 0666
perm /dev/uscanner0 0666
perm /dev/video0 0666
# In order for wireshark be able to capture packets when used by unprivileged
# user, /dev/bpf should be in network group and have read-write permissions.
own bpf* root:network
perm bpf* 0660

18
etc/devfs.rules Normal file
View File

@ -0,0 +1,18 @@
[system=10]
add path 'ad[0-9]\*' mode 666 group operator
add path 'ada[0-9]\*' mode 666 group operator
add path 'da[0-9]\*' mode 666 group operator
add path 'acd[0-9]\*' mode 666 group operator
add path 'cd[0-9]\*' mode 666 group operator
add path 'mmcsd[0-9]\*' mode 666 group operator
add path 'pass[0-9]\*' mode 666 group operator
add path 'xpt[0-9]\*' mode 666 group operator
add path 'ugen[0-9]\*' mode 666 group operator
add path 'usbctl[0-9]\*' mode 666 group operator
add path 'usb/\*' mode 666 group operator
add path 'fd[0-9]\*' mode 666 group operator
add path 'uscan[0-9]\*' mode 666 group operator
add path 'video[0-9]\*' mode 666 group operator
add path 'lpt[0-9]\*' mode 666 group cups
add path 'ulpt[0-9]\*' mode 666 group cups
add path 'unlpt[0-9]\*' mode 666 group cups

8
etc/fstab Normal file
View File

@ -0,0 +1,8 @@
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p1 /boot/efi msdosfs rw 2 2
/dev/ada0p2.eli none swap sw 0 0
/dev/ada1p2.eli none swap sw 0 0
/dev/ada2p2.eli none swap sw 0 0
proc /proc procfs rw 0 0
fdesc /dev/fd fdescfs rw 0 0
tmpfs /tmp tmpfs rw,mode=777 0 0

10
etc/motd.template Normal file
View File

@ -0,0 +1,10 @@
___ __ _______ ___ ________ ________ _____ ______ _______ ________ ________ ________
|\ \ |\ \|\ ___ \ |\ \ |\ ____\|\ __ \|\ _ \ _ \|\ ___ \ |\ __ \|\ __ \|\ __ \
\ \ \ \ \ \ \ __/|\ \ \ \ \ \___|\ \ \|\ \ \ \\\__\ \ \ \ __/| \ \ \|\ /\ \ \|\ \ \ \|\ /_
\ \ \ __\ \ \ \ \_|/_\ \ \ \ \ \ \ \ \\\ \ \ \\|__| \ \ \ \_|/__ \ \ __ \ \ \\\ \ \ __ \
\ \ \|\__\_\ \ \ \_|\ \ \ \____\ \ \____\ \ \\\ \ \ \ \ \ \ \ \_|\ \ \ \ \|\ \ \ \\\ \ \ \|\ \
\ \____________\ \_______\ \_______\ \_______\ \_______\ \__\ \ \__\ \_______\ \ \_______\ \_______\ \_______\
\|____________|\|_______|\|_______|\|_______|\|_______|\|__| \|__|\|_______| \|_______|\|_______|\|_______|
_____________________________________________________________________________________________________________________________
\____________________________________________________________________________________________________________________________\

17
etc/profile Normal file
View File

@ -0,0 +1,17 @@
# $FreeBSD$
#
# System-wide .profile file for sh(1).
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
# You should also read the setlocale(3) man page for information
# on how to achieve more precise control of locale settings.
#
# Check system messages
# msgs -q
# Allow terminal messages
# mesg y
LANG=en_US.UTF-8; export LANG
CHARSET=UTF-8; export CHARSET

80
etc/rc.conf Normal file
View File

@ -0,0 +1,80 @@
clear_tmp_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NONE"
hostname="FreeBaSeD-T430"
ifconfig_em0="DHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
zfskeys_enable="YES"
kld_list="i915kms linux linux64 fusefs coretemp sysctlinfo sysctlbyname_improved"
################################################################
# Boot
#allscreens_flags"-r lightred black"
################################################################
# Firewall
## IPFW
firewall_enable="YES"
firewall_quiet="YES"
firewall_type="workstation"
firewall_logdeny="YES"
firewall_myservises="80/tcp 443/tcp 22/tcp"
firewall_allowservises="any"
## PF
#pf_enable="yes"
#################################################################
# Network
## Trunk
ifconfig_em0="up"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA"
create_args_wlan0="wlanaddr 00:21:cc:d9:fd:75 up"
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
#ifconfig_lagg0_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
## Nat Network
gateway_enable="YES"
## VPN
#openvpn_enable="YES"
## DNSMASQ
#dnsmasq_enable="YES"
#################################################################
# DBUS
dbus_enable="YES"
#################################################################
# Webcamd
webcamd_enable="YES"
#################################################################
# Enabling drive monitoring
smartd_enable="YES"
#################################################################
# Enabling Microcode updates
microcode_update_enable="YES"
#################################################################
# mixertui stuff
mixer_enable="YES"
sysctlinfo_load="YES"
sysctlbyname_improved_load="YES"
#################################################################
# VM-Bhyve
#vm_enable="YES"
#vm_dir="zfs:zroot/vm"
#ifconfig_vlan0="DHCP"
# VirtualBox
#vboxnet_enable="YES"
#ifconfig_vboxnet0="DHCP"
#################################################################
# Loading /etc/devfs.rules
devfs_system_ruleset="system"
#################################################################
# Linux Compat
linux_enable="YES"
#################################################################
# GELI
#geli_devices="da0"
#geli_ada1_flags="-k /root/ada1.key"

40
etc/sysctl.conf Normal file
View File

@ -0,0 +1,40 @@
# $FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Security
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
security.bsd.see_jail_proc=0
security.bsd.unprivileged_read_msgbuf=0
security.bsd.unprivileged_proc_debug=0
## Kernel Hardening
kern.randompid=1
kern.elf32.aslr.enable=1
kern.elf32.aslr.pie_enable=1
kern.elf32.aslr.honor_sbrk=0
kern.elf64.aslr.enable=1
kern.elf64.aslr.pie_enable=1
kern.elf64.aslr.honor_sbrk=0
vfs.zfs.min_auto_ashift=12
###############################################
# Boost performance
kern.sched.preempt_thresh=224
kern.ipc.shm_allow_removed=1
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.threads.max_threads_per_proc=4096
#kern.sched.slice=5
kern.coredump=0
###############################################
# Network
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.ip.forwarding=1
###############################################
# Suspend on lid close
hw.acpi.lid_switch_state=S3

209
home/beastie/.Xdefaults Normal file
View File

@ -0,0 +1,209 @@
!Xorg Config
!Lines beginning with ! or includes in /*string here*/ are comments and are ignored:
!This is a Comment
/*This is a Comment*/
/*-No-white-space-start-or-end-of-any-line-*/
!Xcursor.background: #18B218
! Misc
! Xclock
xclock*mode: analog
xclock*update: 1
xclock*geometry: 120x120-10+80
XCalc*ti.Command.borderColor: red
XCalc.ti.Command.background: black
XCalc.ti.Command.foreground: red
XCalc.ti.background: black
XCalc.ti.foreground: red
XCalc*.bevel.screen*borderColor: red
XCalc*.bevel.screen*background: black
XCalc*.bevel.screen*foreground: red
URxvt.font: xft:Hack Nerd::size=7
!URxvt.font: \
! xft:Liberation Mono:size=8, \
! xft:DejaVu Sans Mono:size=8, \
! xft:Quivira:size=8
Xft.rgba: none
Xft.hintstyle: hintfull
URxvt.letterSpace: -2
URxvt*loginShell:true
URxvt*scrollTtyOutput: false
URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true
!URxvt.clipboard.autocopy: true
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
URxvt.url-launcher: /usr/local/bin/firefox
URxvt.matcher.button: 1
URxvt.cursorBlink: true
URxvt.scrollBar: false
URxvt.urgentOnBell: true
URxVt.saveLines: 65535
URxvt.tripleclickwords: true
! Colors background and fonts
URxvt*background: black
URxvt*foreground: red
URxvt.depth: 32
URxvt.background: [90]#000000
! Other colors
! black
URxvt*color0: #000000
URxvt*color8: #686868
! red
URxvt*color1: #B21818
URxvt*color9: #FF5454
! green
URxvt*color2: #18B218
URxvt*color10: #54FF54
! yellow
URxvt*color3: #B26818
URxvt*color11: #FFFF54
! blue
URxvt*color4: #1818B2
URxvt*color12: #5454FF
! purple
URxvt*color5: #B218B2
URxvt*color13: #FF54FF
! cyan
URxvt*color6: #18B2B2
URxvt*color14: #54FFFF
! white
URxvt*color7: #B2B2B2
URxvt*color15: #FFFFFF
! gray
URxvt*color16: #222222
URxvt*color17: #555555
! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $
xterm*VT100.Translations: #override \
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD)
XTerm*locale: utf8
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: full
Xft.hintstyle: hintslight
Xft.rgba: rgb
xterm*title: xterm
xterm*faceName:Hack Nerd Font:pixelsize=9
xterm*geometry: 84x26
xterm*boldMode: true
xterm*cutNewline: false
xterm*on4Clicks: group
xterm*on5Clicks: page
xterm*internalBorder: 2
xterm*background: #000000
xterm*foreground: red
xterm*customization: color
xterm*metaSendsEscape: true
xterm*colorBD: #afd700
xterm*colorBDMode: false
xterm*cursorBlink: false
xterm*cursorColor: red
xterm*dynamiccolors: true
xterm*utf8: true
xterm*loginShell: true
!xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48,35:48,58:48,63:48,61:48,44:48,38:48,59:48
xterm*jumpScroll: true
xterm*multiScroll: true
xterm*saveLines: 30000
xterm*scrollBar: false
xterm*xftAntialias: false
!Xtrail-Colors
!black
XTerm*color0: #222222
XTerm*color8: #554444
!red
XTerm*color1: #884422
XTerm*color9: #cc5533
XTerm*color1: #cd5c5c
XTerm*color9: #cc5533
!green
XTerm*color2: #778800
XTerm*color10: #88aa22
!yellow
XTerm*color3: #e8ae5b
XTerm*color11: #ea6868
!blue
XTerm*color4: #8866cc
XTerm*color12: #9977dd
!magneta
XTerm*color5: #885500
XTerm*color13: #996600
!cyan
XTerm*color6: #5555aa
XTerm*color14: #7777aa
!white
XTerm*color7: #665c64
XTerm*color15: #c3c2c5
!# Xconsole
XConsole*background: black
XConsole*foreground: red
!{{{ XMESSAGE
!Xmessage*font: -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso8859-2
Xmessage*geometry: +200+200
Xmessage*background: gray85
Xmessage*foreground: gray15
Xmessage*Scrollbar.thumb: vlines2
Xmessage*Scrollbar.width: 1
Xmessage*Scrollbar.foreground: rgb:a/5/5
Xmessage*Scrollbar.borderWidth: 0
Xmessage*Scrollbar.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
Xmessage*Text.?.cursorColor: rgb:d/5/5
Xmessage*Text.borderColor: gray80
Xmessage*Text*background: gray96
Xmessage*Text*Scrollbar.background: gray80
Xmessage*Text.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
Xmessage*Command.highlightThickness: 2
Xmessage*Command.internalWidth: 5
Xmessage*Command.internalHeight: 3
Xmessage*Command.borderColor: gray40
Xmessage*Command.shapeStyle: Rectangle
Xmessage*Command.background: gray80
Xmessage*Command.displayList:\
foreground gray60;\
lines 1,-1,-1,-1,-1,1;\
foreground gray90;\
lines -1,0,0,0,0,-1
Xmessage*Form.displayList:\
foreground gray60;\
lines 1,-1,-1,-1,-1,1;\
foreground gray90;\
lines -1,0,0,0,0,-1
!}}}

19
home/beastie/.beastie Normal file
View File

@ -0,0 +1,19 @@
, ,
/( )`
\ \___ / |
/- _ `-/ '
(/\/ \ \ /\
/ / | ` \
O O ) / |
`-^--'`< '
(_.) _ ) /
`.___/` /
`-----' /
<----. __ / __ \
<----|====O)))==) \) /====|
<----' `--' `.__,' \
| |
\ / /\
______( (_ / \______/
,' ,-----' |
`--{__________)

43
home/beastie/.cshrc Normal file
View File

@ -0,0 +1,43 @@
# $FreeBSD$
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
# more examples available at /usr/share/examples/csh/
#
alias h history 25
alias j jobs -l
alias la ls -aF
alias lf ls -FA
alias ll ls -lAF
# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
# A righteous umask
# umask 22
setenv EDITOR vi
setenv PAGER less
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "%N@%m:%~ %# "
set promptchars = "%#"
set filec
set history = 1000
set savehist = (1000 merge)
set autolist = ambiguous
# Use history to aid expansion
set autoexpand
set autorehash
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif

187
home/beastie/.cwmrc Normal file
View File

@ -0,0 +1,187 @@
# Defaults
sticky yes
snapdist 4
gap 27 0 0 0
moveamount 3
vtile 50
# set font for menus
#fontname "fixed:pixelsize=13:style=semicondensed
fontname "Hack Regular Nerd Font Complete Mono"
# remove all default keybindings
unbind-key all
# Layout
borderwidth 1
color activeborder red
color inactiveborder black
color urgencyborder orange
color font red
color menubg black
color menufg red
# KEYBINDINGS:
# 4 = mod (windows key)
# S = shift
# C = control
# M = meta (alt)
# mod + enter = new terminal
#bind-key 4-Return "urxvtc -geometry 80x30"
bind-key 4-Return "terminator --geometry 100x30"
# Volume
# meta + l Lower volume
bind-key M-l "/home/beastie/.local/bin/vol_down.sh"
# mod + meta + l Raise volume
bind-key MS-l "/home/beastie/.local/bin/vol_up.sh"
# mod + b = browser
bind-key 4-b firefox
# mod+ E = Emacs
bind-key 4-e "emacs"
# ctrl + alt + L = lock screen (xlock)
#bind-key CM-l lock
bind-key CM-l "xscreensaver-command -lock"
# mod + backspace = hide window
bind-key 4-BackSpace window-hide
# mod + prtsc = screenshot
bind-key 4-Print /home/beastie/.local/bin/printscreen
# mod + M = mocp
bind-key 4-m /home/beastie/.local/bin/mpm
## mocp binds
# Toggle play and pause
bind-key 4-p "mocp -G"
# Toggle shuffle
bind-key 4S-p "mocp -t s"
# Toggle auto next
bind-key 4M-p "mocp -t n"
# Toggle repeat
bind-key 4SM-p "mocp -t r"
# mod + down arrow = lower window's focus
bind-key 4-Down window-lower
# mod + up arrow = raise window's focus
bind-key 4-Up window-raise
# mod/alt + tab = cycle through current windows
bind-key 4-Tab window-cycle
bind-key M-Tab window-cycle
# mod/alt + shift + tab = same thing in reverse
bind-key 4S-Tab window-rcycle
bind-key MS-Tab window-rcycle
# mod + w = kill window
bind-key 4-w window-delete
# set a window's label
bind-key 4-n window-menu-label
# mod + $N = show only windows for group $N
# (you can think of this as switching to virtual desktop $N)
bind-key 4-1 group-only-1
bind-key 4-2 group-only-2
bind-key 4-3 group-only-3
bind-key 4-4 group-only-4
bind-key 4-5 group-only-5
bind-key 4-6 group-only-6
bind-key 4-7 group-only-7
bind-key 4-8 group-only-8
bind-key 4-9 group-only-9
# mod + shift +$N = move window to group $N
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
bind-key 4S-4 window-movetogroup-4
bind-key 4S-5 window-movetogroup-5
bind-key 4S-6 window-movetogroup-6
bind-key 4S-7 window-movetogroup-7
bind-key 4S-8 window-movetogroup-8
bind-key 4S-9 window-movetogroup-9
# mod + A = toggle showing windows from all groups
bind-key 4-a group-toggle-all
# mod + G = toggle current window's group membership
bind-key 4-g window-group
# mod + right arrow = cycle through the window groups
# (you can think of this as switching to the next virtual desktop)
bind-key 4-Right group-cycle
# mod + left arrow = same thing in reverse
bind-key 4-Left group-rcycle
# mod + S = stick current window to be visible in all groups
bind-key 4-s window-stick
# mod + shift + F = make current window fullscreen
bind-key 4S-f window-fullscreen
# mod + f = maximize current window
bind-key 4-f window-maximize
# mod + equals = maximize window in vertical direction only
bind-key 4-equal window-vmaximize
# mod + shift + equals = maximize window in horizontal direction only
bind-key 4S-equal window-hmaximize
# mod + H,J,K,L = move window left, down, up, right 10 pixels
bind-key 4-h window-move-left
bind-key 4-j window-move-down
bind-key 4-k window-move-up
bind-key 4-l window-move-right
# mod + shift + H,J,K,L = resize window left, down, up, right by 10 pixels
bind-key 4S-h window-resize-left
bind-key 4S-j window-resize-down
bind-key 4S-k window-resize-up
bind-key 4S-l window-resize-right
# mod + V = tile windows vertically, current window to the left
bind-key 4-v window-vtile
# mod + C = tile windows horizontally, current window to the top
bind-key 4-c window-htile
# mod + / = show popup menu of current windows
bind-key 4-slash menu-window
# mod + ? = show popup menu to run a command (configured below)
bind-key 4-question menu-cmd
# mod + d = show popup menu to run an arbitrary command
bind-key 4-d menu-exec
# mod + . = show popup menu of known ssh hosts to connect to
bind-key 4-period menu-ssh
# mod + shift + R = restart cwm, reloading configuration
bind-key 4S-r restart
# mod + shift + E = log out
bind-key 4S-e quit
# unbind default mouse actions
unbind-mouse M-1
unbind-mouse CM-1
unbind-mouse M-2
unbind-mouse M-3
unbind-mouse CMS-3
# mod + left click drag = move window
bind-mouse 4-1 window-move
# mod + right click drag = resize window
bind-mouse 4-3 window-resize
# mod + middle click = lower window's focus
bind-mouse 4-2 window-lower
# mod + shift + middle click = hide window
bind-mouse 4S-2 window-hide
# these commands will appear in the command menu
command "Terminal" urxvtc
command Browser "firefox"
command xclock "xclock -d -update 1 -render"
command xcalc xcalc
# ignore these windows when tiling/cycling
ignore xclock
autogroup 0 xclock
ignore lemonbar
autogroup 0 lemonbar
ignore dunst
autogroup 0 dunst
ignore xmessage
autogroup 0 xmessage

2
home/beastie/.fehbg Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/usr/home/beastie/Pictures/sys_images/wallpapers/thedaemons.png'

16
home/beastie/.login_conf Normal file
View File

@ -0,0 +1,16 @@
# $FreeBSD$
#
# see login.conf(5)
#
#me:\
# :charset=iso-8859-1:\
# :lang=de_DE.ISO8859-1:
me:\
:charset=UTF-8:\
:lang=en_US.UTF-8:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /home/beastie/bin /home/beastie/.local/bin /home/beastie/.local/bin:\
:setenv=PAGER=most,\
BROWSER=firefox,\
LC_NUMERIC=en_US.UTF-8,\
LC_MONETARY=en_US.UTF-8,\
COLORTERM=truecolor:

View File

@ -0,0 +1 @@
1 5 3 r2930

BIN
home/beastie/.moc/cache/tags.db vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,2 @@
Active: 1
Mixin: 0.250000

View File

@ -0,0 +1 @@
/usr/home/beastie/Music

1
home/beastie/.moc/pid Normal file
View File

@ -0,0 +1 @@
14363

View File

@ -0,0 +1,64 @@
#EXTM3U
#MOCSERIAL: 3072
#EXTINF:164,/usr/home/beastie/Music/italy/ALDO_RITMO.mp3
/usr/home/beastie/Music/italy/ALDO_RITMO.mp3
#EXTINF:225,/usr/home/beastie/Music/italy/Blu_Celeste.mp3
/usr/home/beastie/Music/italy/Blu_Celeste.mp3
#EXTINF:220,/usr/home/beastie/Music/italy/Boss.mp3
/usr/home/beastie/Music/italy/Boss.mp3
#EXTINF:186,/usr/home/beastie/Music/italy/Cocaine.mp3
/usr/home/beastie/Music/italy/Cocaine.mp3
#EXTINF:249,/usr/home/beastie/Music/italy/Colapesce_Dimartino-Propaganda.mp3
/usr/home/beastie/Music/italy/Colapesce_Dimartino-Propaganda.mp3
#EXTINF:184,/usr/home/beastie/Music/italy/Don_Vito.mp3
/usr/home/beastie/Music/italy/Don_Vito.mp3
#EXTINF:285,/usr/home/beastie/Music/italy/Estate_dimmerda.mp3
/usr/home/beastie/Music/italy/Estate_dimmerda.mp3
#EXTINF:1,/usr/home/beastie/Music/italy/felicita-puttana.mp3
/usr/home/beastie/Music/italy/felicita-puttana.mp3
#EXTINF:1,/usr/home/beastie/Music/italy/fenomeno.mp3
/usr/home/beastie/Music/italy/fenomeno.mp3
#EXTINF:184,/usr/home/beastie/Music/italy/FLOP.mp3
/usr/home/beastie/Music/italy/FLOP.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/idee-stupide.mp3
/usr/home/beastie/Music/italy/idee-stupide.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/il-ballo-delle-incertezze.mp3
/usr/home/beastie/Music/italy/il-ballo-delle-incertezze.mp3
#EXTINF:1,/usr/home/beastie/Music/italy/incomprensioni.mp3
/usr/home/beastie/Music/italy/incomprensioni.mp3
#EXTINF:173,/usr/home/beastie/Music/italy/KUMITE.mp3
/usr/home/beastie/Music/italy/KUMITE.mp3
#EXTINF:259,/usr/home/beastie/Music/italy/LA_CANZONE_NOSTRA.mp3
/usr/home/beastie/Music/italy/LA_CANZONE_NOSTRA.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/la_musica_non_ce.mp3
/usr/home/beastie/Music/italy/la_musica_non_ce.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/nessuno.mp3
/usr/home/beastie/Music/italy/nessuno.mp3
#EXTINF:283,/usr/home/beastie/Music/italy/noia.mp3
/usr/home/beastie/Music/italy/noia.mp3
#EXTINF:283,/usr/home/beastie/Music/italy/Noia.mp3
/usr/home/beastie/Music/italy/Noia.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/Nostalgia.mp3
/usr/home/beastie/Music/italy/Nostalgia.mp3
#EXTINF:185,/usr/home/beastie/Music/italy/Notti_In_Bianco.mp3
/usr/home/beastie/Music/italy/Notti_In_Bianco.mp3
#EXTINF:1,/usr/home/beastie/Music/italy/panico.mp3
/usr/home/beastie/Music/italy/panico.mp3
#EXTINF:143,/usr/home/beastie/Music/italy/PERDONAMI.mp3
/usr/home/beastie/Music/italy/PERDONAMI.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/Pioggia.mp3
/usr/home/beastie/Music/italy/Pioggia.mp3
#EXTINF:170,/usr/home/beastie/Music/italy/PLOF.mp3
/usr/home/beastie/Music/italy/PLOF.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/pronti-partenza-via.mp3
/usr/home/beastie/Music/italy/pronti-partenza-via.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/rozzi.mp3
/usr/home/beastie/Music/italy/rozzi.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/tuta-black.mp3
/usr/home/beastie/Music/italy/tuta-black.mp3
#EXTINF:287,/usr/home/beastie/Music/italy/Villain.mp3
/usr/home/beastie/Music/italy/Villain.mp3
#EXTINF:0,/usr/home/beastie/Music/italy/vip-in-trip.mp3
/usr/home/beastie/Music/italy/vip-in-trip.mp3
#EXTINF:230,/usr/home/beastie/Music/italy/ZeroCinque.mp3
/usr/home/beastie/Music/italy/ZeroCinque.mp3

View File

@ -0,0 +1,4 @@
Active: 0
Amplification: 100
Value: 100
Mono: 0

View File

@ -0,0 +1,38 @@
# Beastie Theme - mostly Red. By Bob Slacker (aka b2r1s8)
# Doesn't work on terminals when underline is not supported (like Linux console)
background = red default
frame = red default bold
window_title = red default bold,dim
directory = red default bold
selected_directory = black red
playlist = red default
selected_playlist = red default
file = red default
selected_file = red black bold,underline
selected_info = black red
marked_file = red default bold
marked_selected_file = red default bold,underline
info = red default
marked_info = red default bold
marked_selected_info = red default bold,underline
status = red default
title = red default bold
state = red default bold
current_time = red default bold
time_left = red default bold
total_time = red default bold
time_total_frames = red default
sound_parameters = red default
legend = red default
disabled = red default dim
enabled = red default bold
empty_mixer_bar = red black
filled_mixer_bar = black red
empty_time_bar = red default
filled_time_bar = default red
entry = red default
entry_title = red default bold
error = cyan default
message = red default bold
plist_time = red default bold

View File

@ -0,0 +1,38 @@
# Holly Theme - mostly Black and white, inspired by A.:.A.:. The Holly Order.
# By Bob Slacker (aka b2r1s8)
background = white black
frame = white black
window_title = white black
directory = white black
selected_directory = white black reverse
playlist = white black
selected_playlist = white black reverse
file = white black
selected_file = white black reverse
selected_info = black white
marked_file = white black bold
marked_selected_file = white black bold,reverse
info = white black underline
#marked_info = white default bold  
#marked_selected_info = white default bold,underline
status = white black
title = white black bold
state = white black
current_time = white black bold
time_left = white black bold
total_time = white black bold
time_total_frames = white black
sound_parameters = white black bold
legend = white black
disabled = white black
enabled = white black bold
empty_mixer_bar = white black
filled_mixer_bar = white black reverse
empty_time_bar = white black
filled_time_bar = white black reverse
entry = white black
entry_title = white black
error = white black bold,underline
message = white black
plist_time = white black

45
home/beastie/.tcshrc Normal file
View File

@ -0,0 +1,45 @@
# ==================================================================
# path shell variable
# -------------------
# Lists directories in which to look for executable commands.
# ==================================================================
set path = ( /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/.local/bin )
# test if we are an interactive shell
if ($?prompt) then
# ==================================================================
# prompt shell variable
# ---------------------
# The string which is printed before reading each command from the
# terminal. Currently set to display hostname, and current working
# directory.
# ==================================================================
#set prompt = "u@%m:%~> "
set prompt="%n@%M: %/$ "
# ==================================================================
# rmstar shell variable
# ---------------------
# If set, the user is prompted before 'rm *' is executed.
# ==================================================================
set rmstar
# ==================================================================
# noclobber shell variable
# ------------------------
# If set, output redirection will not overwrite existing files.
# ==================================================================
set noclobber
# ==================================================================
# source complete.tcsh
# ==================================================================
if (`filetest -e /etc/complete.tcsh`) then
source /etc/complete.tcsh
endif
endif # interactive shell
# ==================================================================
# set up useful aliases
# ==================================================================

21
home/beastie/.welcome Normal file
View File

@ -0,0 +1,21 @@
, ,
/( )`
\ \___ / |
/- _ `-/ '
(/\/ \ \ /\
___ __ _______ ___ ________ ________ _____ ______ _______ ________ ________ ________ / / | ` \
|\ \ |\ \|\ ___ \ |\ \ |\ ____\|\ __ \|\ _ \ _ \|\ ___ \ |\ __ \|\ __ \|\ __ \ O O ) / |
\ \ \ \ \ \ \ __/|\ \ \ \ \ \___|\ \ \|\ \ \ \\\__\ \ \ \ __/| \ \ \|\ /\ \ \|\ \ \ \|\ /_ `-^--'`< '
\ \ \ __\ \ \ \ \_|/_\ \ \ \ \ \ \ \ \\\ \ \ \\|__| \ \ \ \_|/__ \ \ __ \ \ \\\ \ \ __ \ (_.) _ ) /
\ \ \|\__\_\ \ \ \_|\ \ \ \____\ \ \____\ \ \\\ \ \ \ \ \ \ \ \_|\ \ \ \ \|\ \ \ \\\ \ \ \|\ \ `.___/` /
\ \____________\ \_______\ \_______\ \_______\ \_______\ \__\ \ \__\ \_______\ \ \_______\ \_______\ \_______\ `-----' /
\|____________|\|_______|\|_______|\|_______|\|_______|\|__| \|__|\|_______| \|_______|\|_______|\|_______| <----. __ / __ \
_____________________________________________________________________________________________________________________________ <----|====O)))==) \) /====|
<----' `--' `.__,' \
| |
\ / /\
______( (_ / \______/
,' ,-----' |
`--{__________)

106
home/beastie/.xinitrc Normal file
View File

@ -0,0 +1,106 @@
#!/bin/sh
# fix broken $UID on some system...
if test "x$UID" = "x"; then
if test -x /usr/xpg4/bin/id; then
UID=`/usr/xpg4/bin/id -u`;
else
UID=`id -u`;
fi
fi
# set $XDG_MENU_PREFIX to "xfce-" so that "xfce-applications.menu" is picked
# over "applications.menu" in all Xfce applications.
if test "x$XDG_MENU_PREFIX" = "x"; then
XDG_MENU_PREFIX="xfce-"
export XDG_MENU_PREFIX
fi
# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
if test "x$DESKTOP_SESSION" = "x"; then
DESKTOP_SESSION="xfce"
export DESKTOP_SESSION
fi
# set XDG_CURRENT_DESKTOP so that Qt 5 applications can identify user set Xfce theme
if test "x$XDG_CURRENT_DESKTOP" = "x"; then
XDG_CURRENT_DESKTOP="XFCE"
export XDG_CURRENT_DESKTOP
fi
# $XDG_CONFIG_HOME defines the base directory relative to which user specific
# configuration files should be stored. If $XDG_CONFIG_HOME is either not set
# or empty, a default equal to $HOME/.config should be used.
if test "x$XDG_CONFIG_HOME" = "x" ; then
XDG_CONFIG_HOME=$HOME/.config
fi
[ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"
# $XDG_CACHE_HOME defines the base directory relative to which user specific
# non-essential data files should be stored. If $XDG_CACHE_HOME is either not
# set or empty, a default equal to $HOME/.cache should be used.
if test "x$XDG_CACHE_HOME" = "x" ; then
XDG_CACHE_HOME=$HOME/.cache
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
# set up XDG user directores. see
# http://freedesktop.org/wiki/Software/xdg-user-dirs
if command -v xdg-user-dirs-update >/dev/null 2>&1; then
xdg-user-dirs-update
fi
# For now, start with an empty list
XRESOURCES=""
# Has to go prior to merging Xft.xrdb, as its the "Defaults" file
test -r "/usr/local/etc/xdg/xfce4/Xft.xrdb" && XRESOURCES="$XRESOURCES /usr/local/etc/xdg/xfce4/Xft.xrdb"
test -r $HOME/.Xdefaults && XRESOURCES="$XRESOURCES $HOME/.Xdefaults"
BASEDIR=$XDG_CONFIG_HOME/xfce4
if test -r "$BASEDIR/Xft.xrdb"; then
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
elif test -r "$XFCE4HOME/Xft.xrdb"; then
mkdir -p "$BASEDIR"
cp "$XFCE4HOME/Xft.xrdb" "$BASEDIR"/
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
fi
# merge in X cursor settings
test -r "$BASEDIR/Xcursor.xrdb" && XRESOURCES="$XRESOURCES $BASEDIR/Xcursor.xrdb"
# ~/.Xresources contains overrides to the above
test -r "$HOME/.Xresources" && XRESOURCES="$XRESOURCES $HOME/.Xresources"
# load all X resources (adds /dev/null to avoid an empty list that would hang the process)
cat /dev/null $XRESOURCES | xrdb -merge -
# load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# if XAUTHLOCALHOSTNAME is not set in systemd user session, starting of xfce4-notifyd, DISPLAY etc. will fail
if command -v systemctl >/dev/null 2>&1 && systemctl --user list-jobs >/dev/null 2>&1; then # user session is running
dbus-update-activation-environment --systemd XAUTHLOCALHOSTNAME=$XAUTHLOCALHOSTNAME
fi
# check if we start xfce4-session with ck-launch-session. this is only
# required for starting from a console, not a login manager
if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then
if command -v ck-launch-session >/dev/null 2>&1; then
exec ck-launch-session xfce4-session
else
echo
echo "You have tried to start Xfce with consolekit support, but"
echo "ck-launch-session is not installed."
echo "Aborted startup..."
echo
exit 1
fi
else
# start xfce4-session normally
exec xfce4-session
fi
# if we got here, then exec failed
exit 1

40
home/beastie/.zshrc Normal file
View File

@ -0,0 +1,40 @@
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=1000000
setopt autocd beep extendedglob nomatch notify
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/beastie/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
PROMPT="%B%F{160}{%f%b%F{9}%n%f%B%F{160}}%f%b%B%F{1} @ %f%b%F{9}%m%f%B%F{1} > %f%b%F{9}%d%f%B
%F{9}→%f%b "
RPROMPT="%? %B%F{red}%*%f%b %B%F{red}%D%f%b"
# Alias
alias beastie='cowsay -f daemon "$(fortune -as)"'
alias dosu='doas su'
alias x='startx -- -keeptty >~/.local/var/log/xorg.log 2>&1'
alias ls="lsd"
alias ll="ls -lF --total-size"
alias la="ll -A"
alias rd="most -w"
alias enw="emacs -nw"
alias manup="doas makewhatis /usr/local/man"
alias watch="cmdwatch"
# Add the line below to your .zshrc to enable auto suggestions.
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# To enable zsh-navigation-tools, add the following to your zshrc:
source /usr/local/share/zsh-navigation-tools/zsh-navigation-tools.plugin.zsh
# Add the line below to *the end of* your .zshrc to enable highlighting.
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
beastie

View File

@ -0,0 +1,436 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = (0, 300)
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = center
# Offset from the origin
offset = 10x50
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 20
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
# idle_threshold = 120
### Text ###
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = center
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /usr/local/share/icons/gnome/16x16/status/:/usr/local/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/local/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/local/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#00ff00"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#000000"
foreground = "#aaaaaa"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -0,0 +1,436 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
# width = (0, 300)
# The maximum height of a single notification, excluding the frame.
# height = 300
# Position the notification in the top right corner
origin = center
# Offset from the origin
offset = 10x50
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 20
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#ff0000"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
# idle_threshold = 120
### Text ###
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = center
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /usr/local/share/icons/gnome/16x16/status/:/usr/local/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/local/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/local/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#000000"
foreground = "#ff0000"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#000000"
foreground = "#ff0000"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#ff0000"
foreground = "#000000"
frame_color = "#000000"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -0,0 +1,13 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
function fish_prompt
# interactive user name @ host name, date/time in YYYY-mm-dd format and path
echo (whoami)@(hostname) (pwd)
echo "\$ "
end

View File

@ -0,0 +1,43 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:d78787
SETUVAR fish_color_cancel:\x2d\x2dreverse
SETUVAR fish_color_command:ff0000
SETUVAR fish_color_comment:870000
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:FF7B7B
SETUVAR fish_color_error:A40000
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:\x1d
SETUVAR fish_color_keyword:\x1d
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_option:\x1d
SETUVAR fish_color_param:ff5f5f
SETUVAR fish_color_quote:ff5f5f
SETUVAR fish_color_redirection:d70000
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_background:\x1d
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_secondary_background:\x1d
SETUVAR fish_pager_color_secondary_completion:\x1d
SETUVAR fish_pager_color_secondary_description:\x1d
SETUVAR fish_pager_color_secondary_prefix:\x1d
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
SETUVAR fish_pager_color_selected_completion:\x1d
SETUVAR fish_pager_color_selected_description:\x1d
SETUVAR fish_pager_color_selected_prefix:\x1d
SETUVAR fish_user_paths:/usr/home/beastie/\x2elocal/bin

View File

@ -0,0 +1,3 @@
function beastie --wraps=cowsay\ -f\ daemon\ It\ is\ not\ for\ me\ to\ attempt\ to\ fathom\ the\ninscrutable\ workings\ of\ Providence.\n\t\t--\ The\ Earl\ of\ Birkenhead --wraps='cowsay -f daemon "$(fortune -as)"' --description 'alias beastie=cowsay -f daemon "$(fortune -as)"'
cowsay -f daemon "$(fortune -as)" $argv;
end

View File

@ -0,0 +1,3 @@
function do --wraps=doas --description 'alias do=doas'
doas $argv;
end

View File

@ -0,0 +1,3 @@
function dosu --wraps='do su' --description 'alias dosu=do su'
do su $argv;
end

View File

@ -0,0 +1,21 @@
function fish_greeting
if not set -q fish_greeting
set -l line1 (_ 'Welcome to fish, the friendly interactive shell')
set -l line2 \n(printf (_ 'Type %shelp%s for instructions on how to use fish') (set_color green) (set_color normal))
set -g fish_greeting "$line1$line2"
end
if set -q fish_private_mode
set -l line (_ "fish is running in private mode, history will not be persisted.")
if set -q fish_greeting[1]
set -g fish_greeting $fish_greeting\n$line
else
set -g fish_greeting $line
end
end
# The greeting used to be skipped when fish_greeting was empty (not just undefined)
# Keep it that way to not print superfluous newlines on old configuration
test -n "$fish_greeting"
and echo $fish_greeting
end

View File

@ -0,0 +1,24 @@
#function fish_greeting
# if not set -q fish_greeting
# set -l line1 (_ 'Welcome to fish, the friendly interactive shell')
# set -l line2 \n(printf (_ 'Type %shelp%s for instructions on how to use fish') (set_color green) (set_color normal))
# set -g fish_greeting "$line1$line2"
# end
#
# if set -q fish_private_mode
# set -l line (_ "fish is running in private mode, history will not be persisted.")
# if set -q fish_greeting[1]
# set -g fish_greeting $fish_greeting\n$line
# else
# set -g fish_greeting $line
# end
# end
# The greeting used to be skipped when fish_greeting was empty (not just undefined)
# Keep it that way to not print superfluous newlines on old configuration
# test -n "$fish_greeting"
# and echo $fish_greeting
#end
echo ""
cowsay -f daemon "$(fortune -as)"
echo ""

View File

@ -0,0 +1,14 @@
function fish_prompt
if test -n "$SSH_TTY"
echo -n (set_color brred)"$USER"(set_color white)'@'(set_color yellow)(prompt_hostname)' '
end
echo -n (set_color blue)(prompt_pwd)' '
set_color -o
if fish_is_root_user
echo -n (set_color red)'# '
end
echo -n (set_color red)''(set_color yellow)''(set_color green)' '
set_color normal
end

View File

@ -0,0 +1,161 @@
function fish_right_prompt
set -l cmd_status $status
if test $cmd_status -ne 0
echo -n (set_color red)"$cmd_status"
end
if not command -sq git
set_color normal
return
end
# Get the git directory for later use.
# Return if not inside a Git repository work tree.
if not set -l git_dir (command git rev-parse --git-dir 2>/dev/null)
set_color normal
return
end
# Get the current action ("merge", "rebase", etc.)
# and if there's one get the current commit hash too.
set -l commit ''
if set -l action (fish_print_git_action "$git_dir")
set commit (command git rev-parse HEAD 2> /dev/null | string sub -l 7)
end
# Get either the branch name or a branch descriptor.
set -l branch_detached 0
if not set -l branch (command git symbolic-ref --short HEAD 2>/dev/null)
set branch_detached 1
set branch (command git describe --contains --all HEAD 2>/dev/null)
end
# Get the commit difference counts between local and remote.
command git rev-list --count --left-right 'HEAD...@{upstream}' 2>/dev/null \
| read -d \t -l status_ahead status_behind
if test $status -ne 0
set status_ahead 0
set status_behind 0
end
# Get the stash status.
# (git stash list) is very slow. => Avoid using it.
set -l status_stashed 0
if test -f "$git_dir/refs/stash"
set status_stashed 1
else if test -r "$git_dir/commondir"
read -l commondir <"$git_dir/commondir"
if test -f "$commondir/refs/stash"
set status_stashed 1
end
end
# git-status' porcelain v1 format starts with 2 letters on each line:
# The first letter (X) denotes the index state.
# The second letter (Y) denotes the working directory state.
#
# The following table presents the possible combinations:
# * The underscore character denotes whitespace.
# * The cell values stand for the following file states:
# a: added
# d: deleted
# m: modified
# r: renamed
# u: unmerged
# t: untracked
# * Cells with more than one letter signify that both states
# are simultaneously the case. This is possible since the git index
# and working directory operate independently of each other.
# * Cells which are empty are unhandled by this code.
# * T (= type change) is undocumented.
# See Git v1.7.8.2 release notes for more information.
#
# \ Y→
# X \
# ↓ | A | C | D | M | R | T | U | X | B | ? | _
# ----+----+----+----+----+----+----+----+----+----+----+----
# A | u | | ad | am | r | am | u | | | | a
# C | | | ad | am | r | am | u | | | | a
# D | | | u | am | r | am | u | | | | a
# M | | | ad | am | r | am | u | | | | a
# R | r | r | rd | rm | r | rm | ur | r | r | r | r
# T | | | ad | am | r | am | u | | | | a
# U | u | u | u | um | ur | um | u | u | u | u | u
# X | | | | m | r | m | u | | | |
# B | | | | m | r | m | u | | | |
# ? | | | | m | r | m | u | | | t |
# _ | | | d | m | r | m | u | | | |
set -l porcelain_status (command git status --porcelain | string sub -l2)
set -l status_added 0
if string match -qr '[ACDMT][ MT]|[ACMT]D' $porcelain_status
set status_added 1
end
set -l status_deleted 0
if string match -qr '[ ACMRT]D' $porcelain_status
set status_deleted 1
end
set -l status_modified 0
if string match -qr '[MT]$' $porcelain_status
set status_modified 1
end
set -l status_renamed 0
if string match -qe R $porcelain_status
set status_renamed 1
end
set -l status_unmerged 0
if string match -qr 'AA|DD|U' $porcelain_status
set status_unmerged 1
end
set -l status_untracked 0
if string match -qe '\?\?' $porcelain_status
set status_untracked 1
end
set_color -o
if test -n "$branch"
if test $branch_detached -ne 0
set_color brmagenta
else
set_color green
end
echo -n " $branch"
end
if test -n "$commit"
echo -n ' '(set_color yellow)"$commit"
end
if test -n "$action"
set_color normal
echo -n (set_color white)':'(set_color -o brred)"$action"
end
if test $status_ahead -ne 0
echo -n ' '(set_color brmagenta)'⬆'
end
if test $status_behind -ne 0
echo -n ' '(set_color brmagenta)'⬇'
end
if test $status_stashed -ne 0
echo -n ' '(set_color cyan)'✭'
end
if test $status_added -ne 0
echo -n ' '(set_color green)'✚'
end
if test $status_deleted -ne 0
echo -n ' '(set_color red)'✖'
end
if test $status_modified -ne 0
echo -n ' '(set_color blue)'✱'
end
if test $status_renamed -ne 0
echo -n ' '(set_color magenta)'➜'
end
if test $status_unmerged -ne 0
echo -n ' '(set_color yellow)'═'
end
if test $status_untracked -ne 0
echo -n ' '(set_color white)'◼'
end
set_color normal
end

View File

@ -0,0 +1,3 @@
function x --wraps='startx -- -keeptty >~/.local/var/log/xorg.log 2>&1' --description 'alias x=startx -- -keeptty >~/.local/var/log/xorg.log 2>&1'
startx -- -keeptty >~/.local/var/log/xorg.log 2>&1 $argv;
end

View File

@ -0,0 +1,50 @@
set atblanks
set autoindent
set backup
set backupdir /home/beastie/.config/nano/backup
set boldtext
set constantshow
set emptyline
set guidestripe 81
set indicator
set linenumbers
set matchbrackets "(<[{)>]}"
#set minibar
set multibuffer
set nohelp
set tabsize 8
set tabstospaces
include /usr/local/share/nano/sh.nanorc
include /usr/local/share/nano/autoconf.nanorc
include /usr/local/share/nano/awk.nanorc
include /usr/local/share/nano/c.nanorc
include /usr/local/share/nano/changelog.nanorc
include /usr/local/share/nano/cmake.nanorc
include /usr/local/share/nano/css.nanorc
include /usr/local/share/nano/default.nanorc
include /usr/local/share/nano/elisp.nanorc
include /usr/local/share/nano/email.nanorc
include /usr/local/share/nano/go.nanorc
include /usr/local/share/nano/groff.nanorc
include /usr/local/share/nano/guile.nanorc
include /usr/local/share/nano/html.nanorc
include /usr/local/share/nano/json.nanorc
include /usr/local/share/nano/lua.nanorc
include /usr/local/share/nano/makefile.nanorc
include /usr/local/share/nano/man.nanorc
include /usr/local/share/nano/markdown.nanorc
include /usr/local/share/nano/nanohelp.nanorc
include /usr/local/share/nano/nanorc.nanorc
include /usr/local/share/nano/objc.nanorc
include /usr/local/share/nano/patch.nanorc
include /usr/local/share/nano/perl.nanorc
include /usr/local/share/nano/php.nanorc
include /usr/local/share/nano/python.nanorc
include /usr/local/share/nano/ruby.nanorc
include /usr/local/share/nano/rust.nanorc
include /usr/local/share/nano/sql.nanorc
include /usr/local/share/nano/tcl.nanorc
include /usr/local/share/nano/tex.nanorc
include /usr/local/share/nano/texinfo.nanorc
include /usr/local/share/nano/xml.nanorc
include /usr/local/share/nano/yaml.nanorc

View File

@ -0,0 +1,14 @@
[*]
wallpaper_mode=crop
wallpaper_common=1
wallpaper=/home/beastie/Pictures/sys_images/wallpapers/thedaemons.png
desktop_bg=#000000
desktop_fg=#ffffff
desktop_shadow=#000000
desktop_font=Hack Nerd Font 8
show_wm_menu=1
sort=mtime;ascending;
show_documents=1
show_trash=1
show_mounts=1

View File

@ -0,0 +1,26 @@
[config]
bm_open_method=0
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
[ui]
always_show_tabs=0
max_tab_chars=32
win_width=955
win_height=587
splitter_pos=150
media_in_new_tab=0
desktop_folder_new_win=1
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0
side_pane_mode=places
view_mode=list
show_hidden=1
sort=name;ascending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0

View File

@ -0,0 +1,5 @@
[ColorScheme]
################ Done ##### done ###### ? ######## ? ######## ? ####### ? ######### done ##### ? ########
active_colors= #ffff0000, #ffff0000, #ffffff00, #ffffff00, #ffffff00, #ffffff00, #ffff0000, #ff00ff00, #ff000000, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #fff9f9f9, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff
inactive_colors=#ffff0000, #ffff0000, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffff0000, #ffffffff, #ff000000, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #fff9f9f9, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff
disabled_colors=#ffff3737, #ffff0000, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffff3737, #ffffffff, #ff800000, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #ff808080, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff

View File

@ -0,0 +1,32 @@
[Appearance]
color_scheme_path=/usr/local/share/qt5ct/colors/darker.conf
custom_palette=true
icon_theme=KanadaIcons
standard_dialogs=default
style=QtCurve
[Fonts]
fixed=@Variant(\0\0\0@\0\0\0&\0H\0\x61\0\x63\0k\0 \0N\0\x65\0r\0\x64\0 \0\x46\0o\0n\0t\0 \0M\0o\0n\0o@ \0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0K\x10)
general=@Variant(\0\0\0@\0\0\0\x1c\0H\0\x61\0\x63\0k\0 \0N\0\x65\0r\0\x64\0 \0\x46\0o\0n\0t@ \0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0K\x10)
[Interface]
activate_item_on_single_click=1
buttonbox_layout=1
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=General, AnimateMenu, AnimateCombo, AnimateTooltip, AnimateToolBox
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1O\0\0\0v\0\0\x4/\0\0\x2\xda\0\0\x1P\0\0\0w\0\0\x4.\0\0\x2\xd9\0\0\0\0\0\0\0\0\x5V\0\0\x1P\0\0\0w\0\0\x4.\0\0\x2\xd9)
[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()

View File

@ -0,0 +1,414 @@
[OPTIONS]
height=510
toolstoolbar=1
folder_warn=1
panel_view=0
width=874
confirm_drag_and_drop=1
use_startup_notification=1
preserve_date_warn=1
confirm_delete=1
no_script=1
root_warn=0
auto_save_layout=1
use_trash_bypass=1
use_sudo=1
sudo_cmd=doas xfe
root_mode=1
su_cmd="su -c \'nohup xfe >& /dev/null &\'"
confirm_overwrite=1
paneltoolbar=1
confirm_delete_emptydir=1
startdir_mode=0
ask_before_copy=1
confirm_execute=1
confirm_properties=1
twopanels_lpanel_pct=0.5
vert_panels=1
use_trash_can=1
confirm_trash=1
treetwopanels_lpanel_pct=0.4
status=1
treepanel_tree_pct=0.194
treetwopanels_tree_pct=0.2
generaltoolbar=1
locationbar=1
xfv_replaced=1
[SETTINGS]
listforecolor=Red
iconpath=/usr/local/share/xfe/icons/xfce-theme
hilitecolor=Black
single_click=0
highlightcolor=Black
textfont=Hack Nerd Font Mono [SRC],80,normal,regular
bordercolor=Red
activecolorpane=0
font=Hack Nerd Font [SRC],80,normal,regular
listbackcolor=Black
scrollbarsize=15
shadowcolor=Black
show_pathlinker=1
tippause=500
scrollbarcolor=Black
forecolor=Red
basecolor=Black
time_format=%x %X
selforecolor=Black
selbackcolor=#ff0009
wheellines=5
smooth_scroll=1
use_clearlooks=1
attentioncolor=Red
backcolor=Black
tiptime=10000
relative_resize=1
pbarcolor=#ff0004
save_win_pos=0
file_tooltips=1
[KEYBINDINGS]
search_prev=Shift-Ctrl-G
copy_to=F5
cut=Ctrl-X
new_root_window=Shift-F3
execute_command=Ctrl-E
zoom_100=Ctrl-I
mirror_horizontally=Ctrl-H
invert_selection=Ctrl-I
new_window=F3
mirror_vertically=Ctrl-V
help=F1
go_up=Backspace
move_to=F6
go_work=Shift-F2
delete=Shift-Del
unmount=Ctrl-U
edit=F4
thumbnails=Ctrl-F7
hidden_files=Ctrl-F6
new=Ctrl-N
mount=Ctrl-M
new_symlink=Ctrl-J
copy=Ctrl-C
word_wrap=Ctrl-K
switch_panels=Ctrl-K
undo=Ctrl-Z
one_panel=Ctrl-F1
goto_line=Ctrl-L
synchronize_panels=Ctrl-Y
redo=Ctrl-Y
new_folder=F7
search_next=Ctrl-G
clear_location=Ctrl-L
refresh=Ctrl-R
replace=Ctrl-R
add_bookmark=Ctrl-B
terminal=Ctrl-T
new_file=Ctrl-N
lower_case=Ctrl-U
upper_case=Shift-Ctrl-U
restore_from_trash=Alt-Del
go_to_trash=Ctrl-F8
two_panels=Ctrl-F3
paste=Ctrl-V
open=Ctrl-O
select_all=Ctrl-A
full_file_list=F12
go_home=Ctrl-H
quit=Ctrl-Q
go_back=Ctrl-Backspace
filter=Ctrl-D
properties=F9
symlink_to=Ctrl-S
deselect_all=Ctrl-Z
save=Ctrl-S
rotate_right=Ctrl-R
zoom_win=Ctrl-F
line_numbers=Ctrl-T
big_icons=F10
go_forward=Shift-Backspace
view=Shift-F4
search=Ctrl-F
tree_two_panels=Ctrl-F4
rename=F2
print=Ctrl-P
close=Ctrl-W
move_to_trash=Del
small_icons=F11
hidden_dirs=Ctrl-F5
tree_panel=Ctrl-F2
empty_trash_can=Ctrl-Del
rotate_left=Ctrl-L
[RIGHT PANEL]
type_size=100
deldate_size=150
origpath_size=200
liststyle=0
attr_size=100
user_size=50
hiddenfiles=0
dirs_first=1
ext_size=100
grou_size=50
modd_size=150
ignore_case=1
sort_func=ascendingCase
showthumbnails=0
name_size=200
lastdir=/home/beastie
size_size=60
[PROGS]
videoplayer=vlc
xterm=urxvtc
[LEFT PANEL]
type_size=86
deldate_size=150
origpath_size=200
liststyle=0
attr_size=75
user_size=55
hiddenfiles=1
dirs_first=1
ext_size=143
grou_size=55
modd_size=141
ignore_case=1
sort_func=ascendingCase
showthumbnails=0
name_size=263
lastdir=/home/beastie
size_size=57
[FILETYPES]
sdw=lowriter,lowriter,lowriter;Starwriter 5.0 Document;sxw_32x32.png;sxw_16x16.png;;
epub=fbreader,fbreader,;ePub eBook;epub_32x32.png;epub_16x16.png;;
ps=gv,gv,;PostScript Document;ps_32x32.png;ps_16x16.png;;
pdf=<pdfviewer>,<pdfviewer>,;PDF Document;pdf_32x32.png;pdf_16x16.png;;
py=<txteditor>,<txtviewer>,<txteditor>;Python Source;text_32x32.png;text_16x16.png;;
wmv=<videoplayer>,<videoplayer>,;WMV Video;video_32x32.png;video_16x16.png;;
wbk=lowriter,lowriter,lowriter;Word Backup Document;doc_32x32.png;doc_16x16.png;;
class=<txteditor>,<txtviewer>,<txteditor>;Java Binary;class_32x32.png;class_16x16.png;;
cxx=<txteditor>,<txtviewer>,<txteditor>;C++ Source;cc_32x32.png;cc_16x16.png;;
smf=lomath,lomath,lomath;StarMath 5.0 Document;sxm_32x32.png;sxm_16x16.png;;
vob=<videoplayer>,<videoplayer>,avidemux --load;MPEG Video;video_32x32.png;video_16x16.png;;
pl=<txteditor>,<txtviewer>,<txteditor>;Perl Source;text_32x32.png;text_16x16.png;;
pm=<txteditor>,<txtviewer>,<txteditor>;Perl Module;text_32x32.png;text_16x16.png;;
po=<txteditor>,<txtviewer>,<txteditor>;Locale File;text_32x32.png;text_16x16.png;;
ico=<imgviewer>,<imgviewer>,<imgeditor>;Icon Image;gif_32x32.png;gif_16x16.png;;
flac=<audioplayer>,<audioplayer>,audacity;FLAC Audio;sound_32x32.png;sound_16x16.png;;
mp4=<videoplayer>,<videoplayer>,;MPEG4 Video;video_32x32.png;video_16x16.png;;
sxm=lomath,lomath,lomath;OpenOffice 1.0 Math;sxm_32x32.png;sxm_16x16.png;;
mp3=<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.png;;
trashinfo=<txteditor>,<txtviewer>,<txteditor>;Trash info;text_32x32.png;text_16x16.png;;
xbm=<imgviewer>,<imgviewer>,<imgeditor>;X Bitmap;xbm_32x32.png;xbm_16x16.png;;
lzh=<archiver>,<archiver>,<archiver>;LZH Archive;lzh_32x32.png;lzh_16x16.png;;
pas=<txteditor>,<txtviewer>,<txteditor>;Pascal Source;text_32x32.png;text_16x16.png;;
zip=<archiver>,<archiver>,<archiver>;ZIP Archive;zip_32x32.png;zip_16x16.png;;
makefile=<txteditor>,<txtviewer>,<txteditor>;Makefile;make_32x32.png;make_16x16.png;;
spec=<txteditor>,<txtviewer>,<txteditor>;RPM Spec;rpm_32x32.png;rpm_16x16.png;;
dia=dia,dia,dia;Dia Drawing;dia_32x32.png;dia_16x16.png;;
in=<txteditor>,<txtviewer>,<txteditor>;Configure Makefile;make_32x32.png;make_16x16.png;;
xlt=localc,localc,localc;Excel Template;xls_32x32.png;xls_16x16.png;;
tif=<imgviewer>,<imgviewer>,<imgeditor>;TIFF Image;tif_32x32.png;tif_16x16.png;;
la=,,;Libtool library file;a_32x32.png;shared_16x16.png;;
a=,,;Static Library;a_32x32.png;shared_16x16.png;;
changelog=<txteditor>,<txtviewer>,<txteditor>;Log File;info_32x32.png;info_16x16.png;;
c=<txteditor>,<txtviewer>,<txteditor>;C Source;c_32x32.png;c_16x16.png;;
copying=<txteditor>,<txtviewer>,<txteditor>;Copyright File;info_32x32.png;info_16x16.png;;
mk=<txteditor>,<txtviewer>,<txteditor>;Makefile;make_32x32.png;make_16x16.png;;
7z=<archiver>,<archiver>,<archiver>;7ZIP Archive;zip_32x32.png;zip_16x16.png;;
hpp=<txteditor>,<txtviewer>,<txteditor>;C++ Header;h_32x32.png;h_16x16.png;;
m=<txteditor>,<txtviewer>,<txteditor>;Matlab Source;m_32x32.png;m_16x16.png;;
o=,,;Object File;o_32x32.png;o_16x16.png;;
menu.lst=<txteditor>,<txtviewer>,<txteditor>;Grub Configuration;config_32x32.png;config_16x16.png;;
xfirc=<txteditor>,<txtviewer>,<txteditor>;Xfe Configuration;config_32x32.png;config_16x16.png;;
pps=loimpress,loimpress,loimpress;PowerPoint Show;ppt_32x32.png;ppt_16x16.png;;
ppt=loimpress,loimpress,loimpress;PowerPoint Presentation;ppt_32x32.png;ppt_16x16.png;;
txz=<archiver>,<archiver>,<archiver>;XZipped Tar;tgz_32x32.png;tgz_16x16.png;;
txt=<txteditor>,<txtviewer>,<txteditor>;Plain Text;text_32x32.png;text_16x16.png;;
mpg=<videoplayer>,<videoplayer>,avidemux --load;MPEG Video;video_32x32.png;video_16x16.png;;
core=,,;Core Dump;core_32x32.png;core_16x16.png;;
sxw=lowriter,lowriter,lowriter;OpenOffice 1.0 Text;sxw_32x32.png;sxw_16x16.png;;
mid=timidity,timidity,;MIDI File;midi_32x32.png;midi_16x16.png;;
odt=lowriter,lowriter,lowriter;OpenDocument Text;odt_32x32.png;odt_16x16.png;;
aac=<audioplayer>,<audioplayer>,audacity;AAC Audio;sound_32x32.png;sound_16x16.png;;
jpg=<imgviewer>,<imgviewer>,<imgeditor>;JPEG Image;jpeg_32x32.png;jpeg_16x16.png;;
gif=<imgviewer>,<imgviewer>,<imgeditor>;GIF Image;gif_32x32.png;gif_16x16.png;;
tgz=<archiver>,<archiver>,<archiver>;Gzipped Tar;tgz_32x32.png;tgz_16x16.png;;
ogv=<videoplayer>,<videoplayer>,;Ogg Video;video_32x32.png;video_16x16.png;;
pptx=loimpress,loimpress,loimpress;PowerPoint OOXML Presentation;ppt_32x32.png;ppt_16x16.png;;
s3m=<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;
z=<archiver>,<archiver>,<archiver>;Compressed File;z_32x32.png;z_16x16.png;;
pfm=,,;Type1 Font Metric;font_32x32.png;font_16x16.png;;
tbz2=<archiver>,<archiver>,<archiver>;Bzipped Tar;tbz2_32x32.png;tbz2_16x16.png;;
cc=<txteditor>,<txtviewer>,<txteditor>;C++ Source;cc_32x32.png;cc_16x16.png;;
install=<txteditor>,<txtviewer>,<txteditor>;Install File;info_32x32.png;info_16x16.png;;
otp=loimpress,loimpress,loimpress;OpenDocument Template Presentation;odp_32x32.png;odp_16x16.png;;
odg=lodraw,lodraw,lodraw;OpenDocument Graphic;odg_32x32.png;odg_16x16.png;;
xferc=<txteditor>,<txtviewer>,<txteditor>;Xfe Configuration;config_32x32.png;config_16x16.png;;
wmf=,,;WMF Image;drw_32x32.png;drw_16x16.png;;
ini=<txteditor>,<txtviewer>,<txteditor>;Configuration file;config_32x32.png;config_16x16.png;;
authors=<txteditor>,<txtviewer>,<txteditor>;Authors File;info_32x32.png;info_16x16.png;;
pfb=fontforge,,fontforge;Type1 Font;font_32x32.png;font_16x16.png;;
pfa=,,;Type1 Font;font_32x32.png;font_16x16.png;;
sh=,<txtviewer>,<txteditor>;Shell Script;shell_32x32.png;shell_16x16.png;;
so=,,;Shared Library;so_32x32.png;shared_16x16.png;;
xlsx=localc,localc,localc;Excel OOXML Spreadsheet;xls_32x32.png;xls_16x16.png;;
tar.bz2=<archiver>,<archiver>,<archiver>;Bzipped Tar;tbz2_32x32.png;tbz2_16x16.png;;
mod=<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;
tex=<txteditor>,<txtviewer>,<txteditor>;TeX Document;tex_32x32.png;tex_16x16.png;;
config=<txteditor>,<txtviewer>,<txteditor>;Configuration file;config_32x32.png;config_16x16.png;;
php=firefox,firefox,<txteditor>;PHP Source;html_32x32.png;html_16x16.png;;
mpeg3=<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.png;;
xls=localc,localc,localc;Excel Spreadsheet;xls_32x32.png;xls_16x16.png;;
rb=<txteditor>,<txtviewer>,<txteditor>;Ruby Source;text_32x32.png;text_16x16.png;;
mov=<videoplayer>,<videoplayer>,;MPEG Video;video_32x32.png;video_16x16.png;;
sce=<txteditor>,<txtviewer>,<txteditor>;Scilab Script;sci_32x32.png;sci_16x16.png;;
vhdl=<txteditor>,<txtviewer>,<txteditor>;Vhdl Source;vhdl_32x32.png;vhdl_16x16.png;;
csh=,<txtviewer>,<txteditor>;C-Shell Script;shell_32x32.png;shell_16x16.png;;
sci=<txteditor>,<txtviewer>,<txteditor>;Scilab Function;sci_32x32.png;sci_16x16.png;;
rm=realplay,realplay,;RealPlayer Video;video_32x32.png;video_16x16.png;;
img=,,;Image File;package_32x32.png;package_16x16.png;;
ac=<txteditor>,<txtviewer>,<txteditor>;Configure Makefile;make_32x32.png;make_16x16.png;;
conf=<txteditor>,<txtviewer>,<txteditor>;Configuration file;config_32x32.png;config_16x16.png;;
ttf=fontforge,,fontforge;TrueType Font;font_32x32.png;font_16x16.png;;
midi=timidity,timidity,;MIDI File;midi_32x32.png;midi_16x16.png;;
m4v=<videoplayer>,<videoplayer>,;M4V Video;video_32x32.png;video_16x16.png;;
docx=lowriter,lowriter,lowriter;Word OOXML Document;doc_32x32.png;doc_16x16.png;;
ott=lowriter,lowriter,lowriter;OpenDocument Template Text;odt_32x32.png;odt_16x16.png;;
dvi=xdvi,xdvi,;DVI Document;dvi_32x32.png;dvi_16x16.png;;
au=play,play,;Sound;sound_32x32.png;sound_16x16.png;;
flv=<videoplayer>,<videoplayer>,;Flash Video;video_32x32.png;video_16x16.png;;
sla=scribus,scribus,scribus;Scribus Document;sla_32x32.png;sla_16x16.png;;
tar=<archiver>,<archiver>,<archiver>;Tar Archive;tar_32x32.png;tar_16x16.png;;
sxi=loimpress,loimpress,loimpress;OpenOffice 1.0 Impress;sxi_32x32.png;sxi_16x16.png;;
xz=<archiver>,<archiver>,<archiver>;XZipped File;gz_32x32.png;gz_16x16.png;;
kdelnk=<txteditor>,<txtviewer>,<txteditor>;KDE Link;config_32x32.png;config_16x16.png;;
aup=audacity,audacity,audacity;Sound;sound_32x32.png;sound_16x16.png;;
exe=wine,,;Windows EXE;exe_32x32.png;exe_16x16.png;;
tar.xz=<archiver>,<archiver>,<archiver>;XZipped Tar;tgz_32x32.png;tgz_16x16.png;;
todo=<txteditor>,<txtviewer>,<txteditor>;Todo File;info_32x32.png;info_16x16.png;;
xm=<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;
chm=xchm,xchm,xchm;Windows Help;chm_32x32.png;chm_16x16.png;;
tcl=<txteditor>,<txtviewer>,<txteditor>;Tcl Source;tcl_32x32.png;tcl_16x16.png;;
mpeg=<videoplayer>,<videoplayer>,avidemux --load;MPEG Video;video_32x32.png;video_16x16.png;;
svg=inkscape,inkscape,inkscape;SVG Image;svg_32x32.png;svg_16x16.png;;
java=<txteditor>,<txtviewer>,<txteditor>;Java Source;java_32x32.png;java_16x16.png;;
h=<txteditor>,<txtviewer>,<txteditor>;C Header;h_32x32.png;h_16x16.png;;
tbz=<archiver>,<archiver>,<archiver>;Bzipped Tar;tbz2_32x32.png;tbz2_16x16.png;;
torrent=transmission-gtk,transmission-gtk,;Torrent File;dl_32x32.png;dl_16x16.png;;
patch=<txteditor>,<txtviewer>,<txteditor>;Source Patch;text_32x32.png;text_16x16.png;;
news=<txteditor>,<txtviewer>,<txteditor>;News File;news_32x32.png;news_16x16.png;;
rules=<txteditor>,<txtviewer>,<txteditor>;Rules Makefile;make_32x32.png;make_16x16.png;;
sfd=fontforge,fontforge,fontforge;Fontforge Source Font;font_32x32.png;font_16x16.png;;
copyright=<txteditor>,<txtviewer>,<txteditor>;Copyright File;info_32x32.png;info_16x16.png;;
jpeg=<imgviewer>,<imgviewer>,<imgeditor>;JPEG Image;jpeg_32x32.png;jpeg_16x16.png;;
arj=<archiver>,<archiver>,<archiver>;ARJ Archive;arj_32x32.png;arj_16x16.png;;
gz=<archiver>,<archiver>,<archiver>;Gzipped File;gz_32x32.png;gz_16x16.png;;
rar=<archiver>,<archiver>,<archiver>;RAR Archive;rar_32x32.png;rar_16x16.png;;
pot=loimpress,loimpress,loimpress;PowerPoint Template;ppt_32x32.png;ppt_16x16.png;;
ogm=<videoplayer>,<videoplayer>,;OggMedia Video;video_32x32.png;video_16x16.png;;
pyo=,,;Python Object;o_32x32.png;o_16x16.png;;
ace=<archiver>,<archiver>,<archiver>;ACE Archive;ace_32x32.png;ace_16x16.png;;
bak=<txteditor>,<txtviewer>,<txteditor>;Backup File;bak_32x32.png;bak_16x16.png;;
cgm=,,;CGM Image;drw_32x32.png;drw_16x16.png;;
dpatch=<txteditor>,<txtviewer>,<txteditor>;Debian Patch;text_32x32.png;text_16x16.png;;
ml=<txteditor>,<txtviewer>,<txteditor>;Caml Source;text_32x32.png;text_16x16.png;;
djvu=djview,djview,;DJVU Document;djvu_32x32.png;djvu_16x16.png;;
ogg=<audioplayer>,<audioplayer>,audacity;Ogg Vorbis Audio;mp3_32x32.png;mp3_16x16.png;;
bas=<txteditor>,<txtviewer>,<txteditor>;Basic Source;text_32x32.png;text_16x16.png;;
asc=<txteditor>,<txtviewer>,<txteditor>;ASCII File;text_32x32.png;text_16x16.png;;
desktop=<txteditor>,<txtviewer>,<txteditor>;Desktop Entry;config_32x32.png;config_16x16.png;;
tar.z=<archiver>,<archiver>,<archiver>;Compressed Tar;tgz_32x32.png;tgz_16x16.png;;
iso=<archiver>,<archiver>,<archiver>;ISO9660 Image;package_32x32.png;package_16x16.png;;
jar=<archiver>,<archiver>,<archiver>;Java Archive;zip_32x32.png;zip_16x16.png;;
readme=<txteditor>,<txtviewer>,<txteditor>;Readme File;help_32x32.png;help_16x16.png;;
ram=realplay,realplay,;RealPlayer Video;video_32x32.png;video_16x16.png;;
cpp=<txteditor>,<txtviewer>,<txteditor>;C++ Source;cc_32x32.png;cc_16x16.png;;
hxx=<txteditor>,<txtviewer>,<txteditor>;C++ Header;h_32x32.png;h_16x16.png;;
sxc=localc,localc,localc;OpenOffice 1.0 Calc;sxc_32x32.png;sxc_16x16.png;;
rpm=xfp,xfp,xfp;RPM Package;rpm_32x32.png;rpm_16x16.png;;
mkv=<videoplayer>,<videoplayer>,;MKV Video;video_32x32.png;video_16x16.png;;
deb=xfp,xfp,xfp;DEB Package;deb_32x32.png;deb_16x16.png;;
tar.gz=<archiver>,<archiver>,<archiver>;Gzipped Tar;tgz_32x32.png;tgz_16x16.png;;
xfwrc=<txteditor>,<txtviewer>,<txteditor>;Xfe Configuration;config_32x32.png;config_16x16.png;;
vhd=<txteditor>,<txtviewer>,<txteditor>;Vhdl Source;vhdl_32x32.png;vhdl_16x16.png;;
html=firefox,firefox,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;
wav=<audioplayer>,<audioplayer>,audacity;Wave Audio;wave_32x32.png;wave_16x16.png;;
vsd=lodraw,lodraw,lodraw;Visio Drawing;vsd_32x32.png;vsd_16x16.png;;
tox=<videoplayer>,<videoplayer>,;Video Playlist;video_32x32.png;video_16x16.png;;
log=<txteditor>,<txtviewer>,<txteditor>;Log File;info_32x32.png;info_16x16.png;;
doc=lowriter,lowriter,lowriter;Word Document;doc_32x32.png;doc_16x16.png;;
m3u=<audioplayer>,<audioplayer>,;Audio Playlist;mp3_32x32.png;mp3_16x16.png;;
m4a=<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.png;;
vst=lodraw,lodraw,lodraw;Visio Template;vsd_32x32.png;vsd_16x16.png;;
taz=<archiver>,<archiver>,<archiver>;Compressed Tar;tgz_32x32.png;tgz_16x16.png;;
vss=lodraw,lodraw,lodraw;Visio Solution;vsd_32x32.png;vsd_16x16.png;;
xcf=<imgviewer>,<imgeditor>,<imgeditor>;XCF Image;xcf_32x32.png;xcf_16x16.png;;
xoj=xournal,xournal,xournal;PDF Edit Information;gz_32x32.png;gz_16x16.png;;
xpm=<imgviewer>,<imgviewer>,<imgeditor>;X Pixmap;xpm_32x32.png;xpm_16x16.png;;
dot=lowriter,lowriter,lowriter;Word Template;doc_32x32.png;doc_16x16.png;;
frm=<txteditor>,<txtviewer>,<txteditor>;VisualBasic Source;text_32x32.png;text_16x16.png;;
bugs=<txteditor>,<txtviewer>,<txteditor>;Bugs File;bug_32x32.png;bug_16x16.png;;
css=<txteditor>,<txtviewer>,<txteditor>;Style Sheet;text_32x32.png;text_16x16.png;;
configure=<txteditor>,<txtviewer>,<txteditor>;Configure Script;make_32x32.png;make_16x16.png;;
watch=<txteditor>,<txtviewer>,<txteditor>;Watch File;info_32x32.png;info_16x16.png;;
afm=,,fontforge;Type1 Font Metric;font_32x32.png;font_16x16.png;;
wri=lowriter,lowriter,lowriter;Write Document;doc_32x32.png;doc_16x16.png;;
fig=xfig,xfig,xfig;FIG Image;drw_32x32.png;drw_16x16.png;;
emf=,,;EMF Image;drw_32x32.png;drw_16x16.png;;
png=<imgviewer>,<imgviewer>,<imgeditor>;PNG Image;png_32x32.png;png_16x16.png;;
avi=<videoplayer>,<videoplayer>,avidemux --load;Video;video_32x32.png;video_16x16.png;;
orb=fbreader,fbreader,;ORB eBook;epub_32x32.png;epub_16x16.png;;
bmp=<imgviewer>,<imgviewer>,<imgeditor>;BMP Image;bmp_32x32.png;bmp_16x16.png;;
htm=firefox,firefox,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;
fb2=fbreader,fbreader,;FB2 eBook;epub_32x32.png;epub_16x16.png;;
makefile.am=<txteditor>,<txtviewer>,<txteditor>;Automake Makefile;make_32x32.png;make_16x16.png;;
diff=<txteditor>,<txtviewer>,<txteditor>;Diff File;text_32x32.png;text_16x16.png;;
xml=<txteditor>,<txtviewer>,<txteditor>;XML File;text_32x32.png;text_16x16.png;;
js=<txteditor>,<txtviewer>,<txteditor>;Javascript;html_32x32.png;html_16x16.png;;
tiff=<imgviewer>,<imgviewer>,<imgeditor>;TIFF Image;tif_32x32.png;tif_16x16.png;;
rtf=lowriter,lowriter,lowriter;RTF Document;doc_32x32.png;doc_16x16.png;;
control=<txteditor>,<txtviewer>,<txteditor>;Control File;info_32x32.png;info_16x16.png;;
ots=localc,localc,localc;OpenDocument Template Spreadsheet;ods_32x32.png;ods_16x16.png;;
odb=lobase,lobase,lobase;OpenDocument Database;odf_32x32.png;odf_16x16.png;;
bz2=<archiver>,<archiver>,<archiver>;Bzipped File;bz2_32x32.png;bz2_16x16.png;;
slc=scribus,scribus,scribus;Scribus Document;sla_32x32.png;sla_16x16.png;;
sxd=lodraw,lodraw,lodraw;OpenOffice 1.0 Draw;sxd_32x32.png;sxd_16x16.png;;
odf=lomath,lomath,lomath;OpenDocument Formula;odf_32x32.png;odf_16x16.png;;
pls=<audioplayer>,<audioplayer>,;XMMS Playlist;mp3_32x32.png;mp3_16x16.png;;
about-nls=<txteditor>,<txtviewer>,<txteditor>;NLS File;info_32x32.png;info_16x16.png;;
vlog=<txteditor>,<txtviewer>,<txteditor>;Verilog Source;vlog_32x32.png;vlog_16x16.png;;
sdc=localc,localc,localc;StarCalc 5.0 Document;sxc_32x32.png;sxc_16x16.png;;
eps=gv,gv,;Encapsulated PostScript Document;ps_32x32.png;ps_16x16.png;;
sda=lodraw,lodraw,lodraw;StarDraw 5.0 Document;sxd_32x32.png;sxd_16x16.png;;
ods=localc,localc,localc;OpenDocument Spreadsheet;ods_32x32.png;ods_16x16.png;;
odp=loimpress,loimpress,loimpress;OpenDocument Presentation;odp_32x32.png;odp_16x16.png;;
otg=lodraw,lodraw,lodraw;OpenDocument Template Graphic;odg_32x32.png;odg_16x16.png;;
otf=fontforge,,fontforge;OpenType Font;font_32x32.png;font_16x16.png;;
sdi=loimpress,loimpress,loimpress;StarImpress 5.0 Document;sxi_32x32.png;sxi_16x16.png;;
xfprc=<txteditor>,<txtviewer>,<txteditor>;Xfe Configuration;config_32x32.png;config_16x16.png;;
[FILEDIALOG]
type_size=100
hiddenfiles=1
width=640
attr_size=100
user_size=50
height=480
ext_size=100
grou_size=50
liststyle=8388608
modd_size=150
showthumbnails=0
name_size=200
size_size=60
[DIR PANEL]
hidden_dir=0
sort_func=ascendingCase

View File

@ -0,0 +1,33 @@
[OPTIONS]
fileheight_pct=0.25
width=1364
showtoolbar=1
grou_size=58
modd_size=173
thumbnails=0
filelist_before=0
fileview=65
vert_panels=1
ext_size=115
filterimgs=0
filewidth_pct=0
size_size=69
hiddenfiles=1
height=739
liststyle=10485760
filesshown=1
type_size=115
attr_size=115
name_size=231
fitwin=0
sort_func=ascendingCase
user_size=58
[SETTINGS]
tippause=500
basecolor=Black
tiptime=10000
[Recent Files]
FILE1=/usr/home/beastie/.config/qt5ct/colors/darker-red.conf

View File

@ -0,0 +1,51 @@
[OPTIONS]
textnumberforeground=Red
width=1125
textfont=Sans,100,normal,regular
tabcols=8
linesnum=0
textnumberbackground=Black
hilitematchtime=3000
hidestatus=0
wordwrap=0
height=622
textforeground=Red
textselbackground=#ff0009
texthiliteforeground=Red
textcursor=Red
searchpath=
texthilitebackground=#ff8080
wrapcols=80
hidetoolbar=0
stripreturn=0
textbackground=Black
textselforeground=Black
[SearchReplace]
MA=4
SA=ffffff
RA=ff0000
[SETTINGS]
tippause=500
basecolor=Black
tiptime=10000
[Recent Files]
FILE1=/usr/home/beastie/.config/qt5ct/colors/darker-red.conf
[FILEDIALOG]
type_size=100
hiddenfiles=1
width=640
attr_size=100
user_size=50
height=480
ext_size=100
grou_size=50
liststyle=8388608
modd_size=150
showthumbnails=0
name_size=200
size_size=60

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
_date=`date "+%Y-%m-%d"`
_disk_dest="/zmedia/zbkp/zhome"
_bkp_dest="$_disk_dest/$_date"
mkdir "${_bkp_dest}"
bkp_files(){
_dirs=("bkp" "Desktop" "Downloads" "Monero" "Music" "Pictures" "Public" "Templates" "tmp" "Videos")
cd "$_bkp_dest"
for d in "${_dirs[@]}"; do
echo "Copying $HOME/$d to $_bkp_dest/$d.tar.lz4"
tar --use-compress-program=lz4 -cf "$d".tar.lz4 "$HOME"/"$d"
done
cd
}
bkp_files && echo "Done!" && exit 0

View File

@ -0,0 +1,58 @@
#!/usr/bin/env sh
_bkp_loc="$HOME/bkp"
_sys_conf_loc1="/etc"
_sys_conf_loc2="/usr/local/etc"
_sys_bkp_conf_loc="$_bkp_loc$_sys_conf_loc1"
_sys_bkp_conf_loc2="$_bkp_loc$_sys_conf_loc2"
_home_conf="${HOME}/.config"
_home_local="${HOME}/.local"
_home_bkp="${_bkp_loc}/home/beastie"
bkp_sys(){
pkg query -e '%a = 0' %o | awk -F '/' '{print $2}' | sort > "${_bkp_loc}"/pkg_list.txt
sed -i txt 's/[4]$//' "${_bkp_loc}"/pkg_list.txt
cp -a -f -v /boot/loader.conf "${_bkp_loc}"/boot/.
cp -a -f -v "${_sys_conf_loc1}"/profile "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/devfs.conf "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/devfs.rules "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/rc.conf "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/sysctl.conf "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/fstab "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc1}"/motd.template "${_sys_bkp_conf_loc}"/.
cp -a -f -v "${_sys_conf_loc2}"/doas.conf "${_sys_bkp_conf_loc2}"/.
cp -a -f -v "${_sys_conf_loc2}"/openvpn "${_sys_bkp_conf_loc2}"/.
cp -a -f -v "${_sys_conf_loc2}"/X11 "${_sys_bkp_conf_loc2}"/.
cp -a -f -v "${_sys_conf_loc2}"/smartd.conf "${_sys_bkp_conf_loc2}"/.
doas cp -a -f -v "${_sys_conf_loc2}"/polkit-1/rules.d/xfce.rules "${_sys_bkp_conf_loc2}"/polkit-1/rules.d/.
}
bkp_home(){
cp -a -f -v "${HOME}"/.beastie "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.cshrc "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.cwmrc "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.fehbg "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.login_conf "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.tcshrc "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.zshrc "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.welcome "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.Xdefaults "${_home_bkp}"/.
cp -a -f -v "${HOME}"/.xinitrc "${_home_bkp}"/.
cp -a -f -v "${HOME}"/xinitrc-xfce "${_home_bkp}"/.
cp -a -f -v "${HOME}"/xinitrcwm "${_home_bkp}"/.
cp -afv "${HOME}"/.moc "${_home_bkp}"/.
cp -afv "${_home_conf}"/dunst "${_home_bkp}"/config/.
cp -afv "${_home_conf}"/fish "${_home_bkp}"/config/.
cp -afv "${_home_conf}"/nano "${_home_bkp}"/config/.
cp -afv "${_home_conf}"/pcmanfm "${_home_bkp}"/config/.
cp -afv "${_home_conf}"/qt5ct "${_home_bkp}"/config/.
cp -afv "${_home_conf}"/xfe "${_home_bkp}"/config/.
cp -afv "${_home_local}"/bin "${_home_bkp}"/dot-local/.
}
bkp_sys && bkp_home && echo "Done!" && exit 0

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
mixertui && killall pulseaudio

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
clang -v -fsyntax-only -march=native -x c /dev/null 2>&1 | grep -e '-target-cpu' | sed -e 's|.*-target-cpu \([[:alnum:]]*\) .*|\1|'

5
home/beastie/dot-local/bin/img Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
[ $# -ne 1 ] && { echo "usage: $0 name" 1>&2; exit 1; }
feh -B black -g 1000x600 --scale-down "$1"

115
home/beastie/dot-local/bin/infos Executable file
View File

@ -0,0 +1,115 @@
#!/usr/bin/env sh
# Colors
#_pink="%{F#FF00B6}"
#_purple="%{F#7C00FF}"
#_cyan="%{F#00F0FF}"
#_blue="%{F#002EFF}"
#_orange="%{F#FF9E00}"
#_green="%{F#00FF00}"
#_red="%{F#FF0000}"
#_red="%{F#FF2A2A}"
#_yellow="%{F#FFF000}"
# Functions
_os_type(){
echo "$(sysctl -n kern.ostype) $(sysctl -n kern.osrelease)"
}
## Show current group
_grp(){
_cur_grp="$(xprop -root _NET_CURRENT_DESKTOP | awk -F '=' '{print $2}' | sed 's/ //')"
echo "Group: ${_cur_grp}"
}
_mem(){
_mem_use=$(top -d1 | \
head -4 | \
tail -1 | \
awk '{print $2}' | \
sed 's/M//')
_b=999
### Build the output
if [ "$_mem_use" -ge "$_b" ]; then
echo "Ram: $(echo "scale=2; $_mem_use / 1024" | bc)G/16G"
else
echo "Ram: 0$(echo "scale=2; $_mem_use / 1024" | bc)G/16G"
fi
}
_network(){
_wifi_rssi="$(ifconfig wlan0 list status | tail -1 | awk '{print $5}')"
_wifi_ssid="$(ifconfig wlan0 | head -4 | tail -1 | awk '{print $2}')"
_selected_interface="$(ifconfig lagg0 | grep ACTIVE | awk '{print $2}')"
_local_ip="$(ifconfig lagg0 | head -3 | tail -1 | awk '{print $2}')"
case $_selected_interface in
"em0") echo "em0: ${_local_ip}";;
"wlan0") echo "${_wifi_ssid}: ${_local_ip} RSSI: ${_wifi_rssi}";;
*) echo "Network ERROR!";;
esac
}
_vpn(){
_status=`cat $HOME/.local/share/vpn/status`
case $_status in
"0") echo "VPN: OFF";;
"1") echo "VPN: ON";;
esac
}
_sound(){
echo "Vol: $(mixer vol | awk -F ':' '{print $2}')%"
}
_batt(){
_batt_capacity=$(acpiconf -i 0 | grep 'Remaining capacity:' | awk '{print $3}')
_batt_status=$(acpiconf -i 0 | grep 'State:' | awk '{print $2}')
echo "${_batt_status}: ${_batt_capacity}"
}
_clock(){
echo "$(date "+%a %Y-%m-%d e.v. %H:%M:%S")"
}
while true; do
echo "%{+u}%{+o}%{l} \
$(_os_type) \
%{c} $(_grp) \
$(_mem) \
$(_network) \
$(_vpn) \
$(_sound) \
$(_batt) \
%{r} $(_clock) "
sleep 1
done
#while true; do
# echo "%{l}%{+u}%{+o} olá"
# sleep 1
#done

View File

@ -0,0 +1,6 @@
#!/usr/bin/env sh
pkill lemonbar
pkill infos.sh
/home/beastie/.local/bin/infos | lemonbar -g 1366x27 -f "Hack Nerd Font Mono:size=10" -F "#FF0000" -u 1 -U "#000000" -n "lemonbar" &

3
home/beastie/dot-local/bin/mpm Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
urxvtc -e mocp -T beastie_theme

View File

@ -0,0 +1,15 @@
#!/usr/bin/env sh
_vpn="$HOME/.local/share/vpn"
echo "1" > "$_vpn"/status;
doas openvpn \
--auth-nocache \
--mute-replay-warnings \
--config "$_vpn"/node-br-03.protonvpn.net.udp.ovpn \
--auth-user-pass "$_vpn"/vpn_server.dat;
echo "0" > "$_vpn"/status;
exit 0

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
pkg query -e '%a = 0' %o | sort

View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
sav="$HOME/Pictures/sys_images/screenshots/BaSeD"
scrot -b -p -d 3 -s -f -q 100 -e 'xclip -selection clipboard -t image/png -i $f' "$sav"/ss_%Y-%m-%d_%H.%M.%S.png

View File

@ -0,0 +1,9 @@
#!/usr/bin/env sh
cd ~/bkp
git add *
printf '%s\n' 'Commit message?'
read _m
git commit -m "${_m}"
git push origin main
exit 0

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
rslsync-usermode --config .config/resilio-sync/config.json

View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
[ $# -ne 1 ] && { echo "usage: $0 name" 1>&2; exit 1; }
#xpdf -rv -mattecolor Black -fg Red -bg Black "$1"
xpdf -rv -mattecolor Red "$1"

View File

@ -0,0 +1,21 @@
#!/usr/bin/env bash
if [[ "${UID}" != "0" ]] ; then echo "UID != 0" ; exit ; fi
printexec() {
printf "\e[91;1m * ${*}\e[0m\n"
"${@}"
}
#if [[ $(date +%u) -eq 3 ]] || [[ $(date +%u) -eq 7 ]] ; then
printexec freebsd-update fetch install
printexec pkg update
printexec pkg upgrade
printexec portsnap fetch update
printf "\e[91;1m * Done\e[0m\n"
exit 0
#fi

View File

@ -0,0 +1,14 @@
#!/usr/bin/env sh
temps="$(sysctl -a | grep temperature | awk '{print $2}' | sed 'N;N;N;N;N;N;N;N;s/\n/ /g' | sed 's/C//g')"
echo "hw.acpi.thermal.tz0.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $1}' ) - 15" | bc)"
echo "dev.cpu.0.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $2}' ) - 15" | bc)"
echo "dev.cpu.1.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $3}' ) - 15" | bc)"
echo "dev.cpu.2.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $4}' ) - 15" | bc)"
echo "dev.cpu.3.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $5}' ) - 15" | bc)"
echo "dev.cpu.4.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $6}' ) - 15" | bc)"
echo "dev.cpu.5.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $7}' ) - 15" | bc)"
echo "dev.cpu.6.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $8}' ) - 15" | bc)"
echo "dev.cpu.7.temperature: $(echo "scale=2; $(echo ${temps} | awk '{print $9}' ) - 15" | bc)"

View File

@ -0,0 +1,6 @@
#!/usr/bin/env sh
#temps="$(sysctl -a | grep temperature | awk '{print $2}' | sed 'N;N;N;N;N;N;N;N;s/\n/ /g' | sed 's/C//g'))"
#echo ${temps[3]}
acpi="$(sysctl -n hw.acpi.thermal.tz0.temperature | sed 's/C//')

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
mixer vol -5

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
mixer vol 0

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
mixer vol +5

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
xscreensaver --no-splash &

106
home/beastie/xinitrc-xfce Executable file
View File

@ -0,0 +1,106 @@
#!/bin/sh
# fix broken $UID on some system...
if test "x$UID" = "x"; then
if test -x /usr/xpg4/bin/id; then
UID=`/usr/xpg4/bin/id -u`;
else
UID=`id -u`;
fi
fi
# set $XDG_MENU_PREFIX to "xfce-" so that "xfce-applications.menu" is picked
# over "applications.menu" in all Xfce applications.
if test "x$XDG_MENU_PREFIX" = "x"; then
XDG_MENU_PREFIX="xfce-"
export XDG_MENU_PREFIX
fi
# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
if test "x$DESKTOP_SESSION" = "x"; then
DESKTOP_SESSION="xfce"
export DESKTOP_SESSION
fi
# set XDG_CURRENT_DESKTOP so that Qt 5 applications can identify user set Xfce theme
if test "x$XDG_CURRENT_DESKTOP" = "x"; then
XDG_CURRENT_DESKTOP="XFCE"
export XDG_CURRENT_DESKTOP
fi
# $XDG_CONFIG_HOME defines the base directory relative to which user specific
# configuration files should be stored. If $XDG_CONFIG_HOME is either not set
# or empty, a default equal to $HOME/.config should be used.
if test "x$XDG_CONFIG_HOME" = "x" ; then
XDG_CONFIG_HOME=$HOME/.config
fi
[ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"
# $XDG_CACHE_HOME defines the base directory relative to which user specific
# non-essential data files should be stored. If $XDG_CACHE_HOME is either not
# set or empty, a default equal to $HOME/.cache should be used.
if test "x$XDG_CACHE_HOME" = "x" ; then
XDG_CACHE_HOME=$HOME/.cache
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
# set up XDG user directores. see
# http://freedesktop.org/wiki/Software/xdg-user-dirs
if command -v xdg-user-dirs-update >/dev/null 2>&1; then
xdg-user-dirs-update
fi
# For now, start with an empty list
XRESOURCES=""
# Has to go prior to merging Xft.xrdb, as its the "Defaults" file
test -r "/usr/local/etc/xdg/xfce4/Xft.xrdb" && XRESOURCES="$XRESOURCES /usr/local/etc/xdg/xfce4/Xft.xrdb"
test -r $HOME/.Xdefaults && XRESOURCES="$XRESOURCES $HOME/.Xdefaults"
BASEDIR=$XDG_CONFIG_HOME/xfce4
if test -r "$BASEDIR/Xft.xrdb"; then
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
elif test -r "$XFCE4HOME/Xft.xrdb"; then
mkdir -p "$BASEDIR"
cp "$XFCE4HOME/Xft.xrdb" "$BASEDIR"/
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
fi
# merge in X cursor settings
test -r "$BASEDIR/Xcursor.xrdb" && XRESOURCES="$XRESOURCES $BASEDIR/Xcursor.xrdb"
# ~/.Xresources contains overrides to the above
test -r "$HOME/.Xresources" && XRESOURCES="$XRESOURCES $HOME/.Xresources"
# load all X resources (adds /dev/null to avoid an empty list that would hang the process)
cat /dev/null $XRESOURCES | xrdb -merge -
# load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# if XAUTHLOCALHOSTNAME is not set in systemd user session, starting of xfce4-notifyd, DISPLAY etc. will fail
if command -v systemctl >/dev/null 2>&1 && systemctl --user list-jobs >/dev/null 2>&1; then # user session is running
dbus-update-activation-environment --systemd XAUTHLOCALHOSTNAME=$XAUTHLOCALHOSTNAME
fi
# check if we start xfce4-session with ck-launch-session. this is only
# required for starting from a console, not a login manager
if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then
if command -v ck-launch-session >/dev/null 2>&1; then
exec ck-launch-session xfce4-session
else
echo
echo "You have tried to start Xfce with consolekit support, but"
echo "ck-launch-session is not installed."
echo "Aborted startup..."
echo
exit 1
fi
else
# start xfce4-session normally
exec xfce4-session
fi
# if we got here, then exec failed
exit 1

25
home/beastie/xinitrcwm Normal file
View File

@ -0,0 +1,25 @@
export QT_QPA_PLATFORMTHEME=qt5ct
if [ -d /usr/local/share/fonts ]; then
for i in /usr/local/share/fonts/*; do
xset fp+ $i
done
xset fp rehash
fi
xrandr --dpi 96 &
dunst &
xscreensaver --no-splash &
picom -b &
mocp -S &
exec /home/beastie/.fehbg &
xset dpms 0 0 0 &
xset s off -dpms &
xset s 0 0 &
xset s noblank &
xset s noexpose &
exec /home/beastie/.local/bin/lemon.sh &
urxvtd --quiet --opendisplay --fork &
setxkbmap -model thinkpad60 -layout br &
exec ck-launch-session cwm

BIN
img/based.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

BIN
img/thedaemons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

1
missing_files Normal file
View File

@ -0,0 +1 @@
vermaden boot diffs

124
pkg_list.txt Normal file
View File

@ -0,0 +1,124 @@
barrier
bastille
bat
bhyve-firmware
bsdinfo
bsdisks
catfish
chromium
cmdwatch
conky
consolekit2
cowsay
debootstrap
devcpu-data
devcpu-data-intel
dnsmasq
doas
drm-kmod
e2fsprogs
efivar
emacs
feh
firefox
fortune-mod-freebsd-classic
freebsd-doc-en
fusefs-exfat
fusefs-ext2
fusefs-lkl
fusefs-ntfs
fusefs-ntfs-compression
fusefs-sshfs
gimp
git
glow
grub2-bhyve
gstreamer1-plugins-all
gtkglext
hexchat
homebank
htop
hw-probe
hwstat
ImageMagick7
jq
keepassxc
lfm
libreoffice
libva-intel-driver
libvdpau-va-gl
lsblk
lsd
lsw
meld
mixertui
moc
most
mp4v2
mpv
nano
ncdu
ncurses
neofetch
netpbm
openvpn
palapeli
pciutils
pkg
pkg_tree
pkg-provides
plank
portmaster
putty
py-speedtest-cli
python
qalculate-gtk
qbittorrent
qt5-style-plugins
rar
scrot
shotcut
starship
supertux2
supertuxkart
telegram-desktop
terminator
tigervnc-viewer
tmux
typespeed
uefi-edk2-bhyve-csm
unrar
usbutils
vim
vm-bhyve
w3m-img
webcamd
wget
wifimgr
wireshark
wmwifi
wtf
xarchiver
xdg-user-dirs
xdm
xdotool
xf86-video-intel
xfce-icons-elementary
xfce
xfce4-appmenu-plugin
xfce4-docklike-plugin
xfce4-goodies
xfce4-mpc-plugin
xfce4-panel-profiles
xfce4-places-plugin
xfce4-pulseaudio-plugin
xfce4-volumed-pulse
xfce4-windowck-plugin
xorg
xpdf
xscreensaver
zsh
zsh-autosuggestions
zsh-completions
zsh-navigation-tools
zsh-syntax-highlighting

124
pkg_list.txttxt Normal file
View File

@ -0,0 +1,124 @@
barrier
bastille
bat
bhyve-firmware
bsdinfo
bsdisks
catfish
chromium
cmdwatch
conky
consolekit2
cowsay
debootstrap
devcpu-data
devcpu-data-intel
dnsmasq
doas
drm-kmod
e2fsprogs
efivar
emacs
feh
firefox
fortune-mod-freebsd-classic
freebsd-doc-en
fusefs-exfat
fusefs-ext2
fusefs-lkl
fusefs-ntfs
fusefs-ntfs-compression
fusefs-sshfs
gimp
git
glow
grub2-bhyve
gstreamer1-plugins-all
gtkglext
hexchat
homebank
htop
hw-probe
hwstat
ImageMagick7
jq
keepassxc
lfm
libreoffice
libva-intel-driver
libvdpau-va-gl
lsblk
lsd
lsw
meld
mixertui
moc
most
mp4v2
mpv
nano
ncdu
ncurses
neofetch
netpbm
openvpn
palapeli
pciutils
pkg
pkg_tree
pkg-provides
plank
portmaster
putty
py-speedtest-cli
python
qalculate-gtk
qbittorrent
qt5-style-plugins
rar
scrot
shotcut
starship
supertux2
supertuxkart
telegram-desktop
terminator
tigervnc-viewer
tmux
typespeed
uefi-edk2-bhyve-csm
unrar
usbutils
vim
vm-bhyve
w3m-img
webcamd
wget
wifimgr
wireshark
wmwifi
wtf
xarchiver
xdg-user-dirs
xdm
xdotool
xf86-video-intel
xfce-icons-elementary
xfce4
xfce4-appmenu-plugin
xfce4-docklike-plugin
xfce4-goodies
xfce4-mpc-plugin
xfce4-panel-profiles
xfce4-places-plugin
xfce4-pulseaudio-plugin
xfce4-volumed-pulse
xfce4-windowck-plugin
xorg
xpdf
xscreensaver
zsh
zsh-autosuggestions
zsh-completions
zsh-navigation-tools
zsh-syntax-highlighting

View File

@ -0,0 +1,9 @@
#!/bin/sh
# Assign ownership of the console to the invoking user
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
chown $USER /dev/console

View File

@ -0,0 +1,9 @@
#!/bin/sh
# Assign ownership of the console to the invoking user
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
chown $USER /dev/console

View File

@ -0,0 +1,9 @@
#!/bin/sh
# Assign ownership of the console to the invoking user
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
chown $USER /dev/console

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
#
chown root /dev/console
chmod 622 /dev/console

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
#
chown root /dev/console
chmod 622 /dev/console

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
#
chown root /dev/console
chmod 622 /dev/console

View File

@ -0,0 +1,98 @@
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
# pattern
#
# To control Indirect queries:
#
# pattern list of hostnames and/or macros ...
#
# To use the chooser:
#
# pattern CHOOSER BROADCAST
#
# or
#
# pattern CHOOSER list of hostnames and/or macros ...
#
# To define macros:
#
# %name list of hosts ...
#
# To control which addresses xdm listens for requests on:
#
# LISTEN address [list of multicast groups ... ]
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
# The fifth form tells xdm which addresses to listen for incoming connections
# on. If present, xdm will only listen for connections on the specified
# interfaces and/or multicast groups.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#
#* #any host can get a login window
#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#
#terminal-a host-a
#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#
#* CHOOSER BROADCAST #any indirect host can get a chooser
#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#
#%hostlist host-a host-b
#* CHOOSER %hostlist #
#
# If you have a machine with multiple network interfaces or IP addresses
# you can control which interfaces accept XDMCP packets by listing a LISTEN
# line for each interface you want to listen on. You can additionally list
# one or more multicast groups after each address to listen on those groups
# on that address.
#
# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
# all unicast interfaces, but not for multicast packets. If any LISTEN lines
# are specified, then only the listed interfaces will be listened on.
#
# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
# multicast addresses for XDMCP, where X in the prefix may be replaced
# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
# 5 for Site-Local, and so on. The default is equivalent to the example shown
# here using the Link-Local version to most closely match the old IPv4 subnet
# broadcast behavior.
#
# LISTEN * ff02:0:0:0:0:0:0:12b
# This example shows listening for multicast on all scopes up to site-local
#
# LISTEN * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b

View File

@ -0,0 +1,98 @@
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
# pattern
#
# To control Indirect queries:
#
# pattern list of hostnames and/or macros ...
#
# To use the chooser:
#
# pattern CHOOSER BROADCAST
#
# or
#
# pattern CHOOSER list of hostnames and/or macros ...
#
# To define macros:
#
# %name list of hosts ...
#
# To control which addresses xdm listens for requests on:
#
# LISTEN address [list of multicast groups ... ]
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
# The fifth form tells xdm which addresses to listen for incoming connections
# on. If present, xdm will only listen for connections on the specified
# interfaces and/or multicast groups.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#
#* #any host can get a login window
#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#
#terminal-a host-a
#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#
#* CHOOSER BROADCAST #any indirect host can get a chooser
#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#
#%hostlist host-a host-b
#* CHOOSER %hostlist #
#
# If you have a machine with multiple network interfaces or IP addresses
# you can control which interfaces accept XDMCP packets by listing a LISTEN
# line for each interface you want to listen on. You can additionally list
# one or more multicast groups after each address to listen on those groups
# on that address.
#
# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
# all unicast interfaces, but not for multicast packets. If any LISTEN lines
# are specified, then only the listed interfaces will be listened on.
#
# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
# multicast addresses for XDMCP, where X in the prefix may be replaced
# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
# 5 for Site-Local, and so on. The default is equivalent to the example shown
# here using the Link-Local version to most closely match the old IPv4 subnet
# broadcast behavior.
#
# LISTEN * ff02:0:0:0:0:0:0:12b
# This example shows listening for multicast on all scopes up to site-local
#
# LISTEN * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b

View File

@ -0,0 +1,98 @@
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
# pattern
#
# To control Indirect queries:
#
# pattern list of hostnames and/or macros ...
#
# To use the chooser:
#
# pattern CHOOSER BROADCAST
#
# or
#
# pattern CHOOSER list of hostnames and/or macros ...
#
# To define macros:
#
# %name list of hosts ...
#
# To control which addresses xdm listens for requests on:
#
# LISTEN address [list of multicast groups ... ]
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
# The fifth form tells xdm which addresses to listen for incoming connections
# on. If present, xdm will only listen for connections on the specified
# interfaces and/or multicast groups.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#
#* #any host can get a login window
#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#
#terminal-a host-a
#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#
#* CHOOSER BROADCAST #any indirect host can get a chooser
#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#
#%hostlist host-a host-b
#* CHOOSER %hostlist #
#
# If you have a machine with multiple network interfaces or IP addresses
# you can control which interfaces accept XDMCP packets by listing a LISTEN
# line for each interface you want to listen on. You can additionally list
# one or more multicast groups after each address to listen on those groups
# on that address.
#
# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
# all unicast interfaces, but not for multicast packets. If any LISTEN lines
# are specified, then only the listed interfaces will be listened on.
#
# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
# multicast addresses for XDMCP, where X in the prefix may be replaced
# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
# 5 for Site-Local, and so on. The default is equivalent to the example shown
# here using the Link-Local version to most closely match the old IPv4 subnet
# broadcast behavior.
#
# LISTEN * ff02:0:0:0:0:0:0:12b
# This example shows listening for multicast on all scopes up to site-local
#
# LISTEN * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b

5
usr/local/etc/X11/xdm/Xreset Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# Deregister a login. (Derived from TakeConsole as follows:)
#
/usr/local/bin/sessreg -d \
-x /usr/local/etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER

View File

@ -0,0 +1,5 @@
#!/bin/sh
# Deregister a login. (Derived from TakeConsole as follows:)
#
/usr/local/bin/sessreg -d \
-x /usr/local/etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER

View File

@ -0,0 +1,5 @@
#!/bin/sh
# Deregister a login. (Derived from TakeConsole as follows:)
#
/usr/local/bin/sessreg -d \
-x /usr/local/etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER

View File

@ -0,0 +1,89 @@
Xcursor.theme: redglass
xlogin*login.translations: #override \
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Delete: delete-character()\n\
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<Key>KP_Enter: set-session-argument() finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*greeting:
xlogin*namePrompt: \040\040\040\040\040\040\040User:
xlogin*fail: Wrong!!!
#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace: Hack-17:bold:italic
xlogin*face: Hack-14
xlogin*promptFace: Hack-14:bold
xlogin*failFace: Hack-14:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace: Hack-13:bold:italic
xlogin*face: Hack-10
xlogin*promptFace: Hack-10:bold
xlogin*failFace: Hack-12:bold
#endif
#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 2
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
xlogin*background: black
xlogin*inpColor: black
xlogin*foreground: red
xlogin*greetColor: red
xlogin*failColor: red
*Foreground: red
*Background: black
#else
xlogin*borderWidth: 1
xlogin*frameWidth: 2
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif
!#if PLANES >= 8
!xlogin*logoFileName: /usr/local/share/pixmaps/xorg.xpm
!#else
!xlogin*logoFileName: /usr/local/share/pixmaps/xorg-bw.xpm
!#endif
xlogin*useShape: true
!xlogin*logoPadding: 10
! xlogin
xlogin.Login.x: 460
xlogin.Login.y: 400
xlogin.Login.width: 445
xlogin.Login.height: 200
XConsole.text.geometry: 480x130
XConsole.verbose: true
XConsole*iconic: true
XConsole*font: fixed
Chooser*geometry: 440x398+450+250
Chooser*allowShellResize: false
Chooser*viewport.forceBars: true
Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label: XDMCP Host Menu from CLIENTHOST
Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-*
! Misc
xlogin.Login.echoPasswd: true
xlogin.Login.allowRootLogin: false

View File

@ -0,0 +1,79 @@
Xcursor.theme: whiteglass
xlogin*login.translations: #override \
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Delete: delete-character()\n\
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<Key>KP_Enter: set-session-argument() finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect or forbidden by policy
#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace: Serif-24:bold:italic
xlogin*face: Helvetica-18
xlogin*promptFace: Helvetica-18:bold
xlogin*failFace: Helvetica-18:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace: Serif-18:bold:italic
xlogin*face: Helvetica-12
xlogin*promptFace: Helvetica-12:bold
xlogin*failFace: Helvetica-14:bold
#endif
#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
xlogin*inpColor: grey80
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif
#if PLANES >= 8
xlogin*logoFileName: /usr/local/share/pixmaps/xorg.xpm
#else
xlogin*logoFileName: /usr/local/share/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10
XConsole.text.geometry: 480x130
XConsole.verbose: true
XConsole*iconic: true
XConsole*font: fixed
Chooser*geometry: 700x500+300+200
Chooser*allowShellResize: false
Chooser*viewport.forceBars: true
Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label: XDMCP Host Menu from CLIENTHOST
Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-*

View File

@ -0,0 +1,79 @@
Xcursor.theme: whiteglass
xlogin*login.translations: #override \
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Delete: delete-character()\n\
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<Key>KP_Enter: set-session-argument() finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect or forbidden by policy
#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace: Serif-24:bold:italic
xlogin*face: Helvetica-18
xlogin*promptFace: Helvetica-18:bold
xlogin*failFace: Helvetica-18:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace: Serif-18:bold:italic
xlogin*face: Helvetica-12
xlogin*promptFace: Helvetica-12:bold
xlogin*failFace: Helvetica-14:bold
#endif
#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
xlogin*inpColor: grey80
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif
#if PLANES >= 8
xlogin*logoFileName: /usr/local/share/pixmaps/xorg.xpm
#else
xlogin*logoFileName: /usr/local/share/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10
XConsole.text.geometry: 480x130
XConsole.verbose: true
XConsole*iconic: true
XConsole*font: fixed
Chooser*geometry: 700x500+300+200
Chooser*allowShellResize: false
Chooser*viewport.forceBars: true
Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label: XDMCP Host Menu from CLIENTHOST
Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-*

View File

@ -0,0 +1,12 @@
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line). If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well. Each X terminal line should
# look like:
# XTerminalName:0 foreign
#
:0 local /usr/local/bin/X :0

View File

@ -0,0 +1,12 @@
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line). If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well. Each X terminal line should
# look like:
# XTerminalName:0 foreign
#
:0 local /usr/local/bin/X :0

View File

@ -0,0 +1,12 @@
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line). If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well. Each X terminal line should
# look like:
# XTerminalName:0 foreign
#
:0 local /usr/local/bin/X :0

66
usr/local/etc/X11/xdm/Xsession Executable file
View File

@ -0,0 +1,66 @@
#!/bin/sh
#
# redirect errors to a file in user's home directory if we can
errfile="$HOME/.xsession-errors"
if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
then
exec > "$errfile" 2>&1
else
mktemp="/usr/bin/mktemp"
if [ "x$mktemp" != "x" -a -x "$mktemp" ]
then
for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
do
if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
then
exec > "$ef" 2>&1
mv "$ef" "$errfile" 2> /dev/null
break
fi
done
else
# Since this system doesn't have a mktemp command to allow secure
# creation of files in shared directories, no fallback error log
# is being used. See https://bugs.freedesktop.org/show_bug.cgi?id=5898
#
# for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
# do
# if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
# then
# exec > "$errfile" 2>&1
# break
# fi
# done
exec > /dev/null 2>&1
fi
fi
case $# in
1)
case $1 in
failsafe)
exec /usr/local/bin/xterm -geometry 80x24-0-0
;;
esac
esac
# The startup script is not intended to have arguments.
startup=$HOME/.xsession
resources=$HOME/.Xresources
if [ -s "$startup" ]; then
if [ -x "$startup" ]; then
exec "$startup"
else
exec /bin/sh "$startup"
fi
else
if [ -r "$resources" ]; then
/usr/local/bin/xrdb -load "$resources"
fi
exec /usr/local/bin/xsm
fi

View File

@ -0,0 +1,66 @@
#!/bin/sh
#
# redirect errors to a file in user's home directory if we can
errfile="$HOME/.xsession-errors"
if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
then
exec > "$errfile" 2>&1
else
mktemp="/usr/bin/mktemp"
if [ "x$mktemp" != "x" -a -x "$mktemp" ]
then
for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
do
if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
then
exec > "$ef" 2>&1
mv "$ef" "$errfile" 2> /dev/null
break
fi
done
else
# Since this system doesn't have a mktemp command to allow secure
# creation of files in shared directories, no fallback error log
# is being used. See https://bugs.freedesktop.org/show_bug.cgi?id=5898
#
# for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
# do
# if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
# then
# exec > "$errfile" 2>&1
# break
# fi
# done
exec > /dev/null 2>&1
fi
fi
case $# in
1)
case $1 in
failsafe)
exec /usr/local/bin/xterm -geometry 80x24-0-0
;;
esac
esac
# The startup script is not intended to have arguments.
startup=$HOME/.xsession
resources=$HOME/.Xresources
if [ -s "$startup" ]; then
if [ -x "$startup" ]; then
exec "$startup"
else
exec /bin/sh "$startup"
fi
else
if [ -r "$resources" ]; then
/usr/local/bin/xrdb -load "$resources"
fi
exec /usr/local/bin/xsm
fi

View File

@ -0,0 +1,66 @@
#!/bin/sh
#
# redirect errors to a file in user's home directory if we can
errfile="$HOME/.xsession-errors"
if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
then
exec > "$errfile" 2>&1
else
mktemp="/usr/bin/mktemp"
if [ "x$mktemp" != "x" -a -x "$mktemp" ]
then
for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
do
if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
then
exec > "$ef" 2>&1
mv "$ef" "$errfile" 2> /dev/null
break
fi
done
else
# Since this system doesn't have a mktemp command to allow secure
# creation of files in shared directories, no fallback error log
# is being used. See https://bugs.freedesktop.org/show_bug.cgi?id=5898
#
# for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
# do
# if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
# then
# exec > "$errfile" 2>&1
# break
# fi
# done
exec > /dev/null 2>&1
fi
fi
case $# in
1)
case $1 in
failsafe)
exec /usr/local/bin/xterm -geometry 80x24-0-0
;;
esac
esac
# The startup script is not intended to have arguments.
startup=$HOME/.xsession
resources=$HOME/.Xresources
if [ -s "$startup" ]; then
if [ -x "$startup" ]; then
exec "$startup"
else
exec /bin/sh "$startup"
fi
else
if [ -r "$resources" ]; then
/usr/local/bin/xrdb -load "$resources"
fi
exec /usr/local/bin/xsm
fi

3
usr/local/etc/X11/xdm/Xsetup_0 Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
/usr/local/bin/feh --bg-fill /usr/local/share/wallpapers/freebsd-logo-blackbg.png

View File

@ -0,0 +1,2 @@
#!/bin/sh
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

Some files were not shown because too many files have changed in this diff Show More