Formatting, removed unused files, updated some configs, added others (great description, I know)

This commit is contained in:
Phuntsok Drak-pa 2019-10-18 21:42:05 +02:00
parent 198dac57a7
commit 106b8cbdc6
8 changed files with 149 additions and 65 deletions

View File

@ -1 +0,0 @@
config

View File

@ -1,6 +0,0 @@
#!/bin/bash
BATTINFO=`acpi -b`
if [[ `echo $BATTINFO | grep Discharging` && `echo $BATTINFO | cut -f 5 -d " "` < 00:15:00 ]] ; then
DISPLAY=:0.0 /usr/bin/notify-send "low battery" "$BATTINFO"
fi

96
.config/mimeapps.list Normal file
View File

@ -0,0 +1,96 @@
[Added Associations]
application/epub+zip=com.github.babluboy.bookworm.desktop;chromium.desktop;
application/vnd.rar=org.gnome.FileRoller.desktop;
application/wps-office.xlsx=libreoffice-calc.desktop;
application/x-7z-compressed=org.gnome.FileRoller.desktop;
application/x-bzip=org.gnome.FileRoller.desktop;
application/x-compressed-tar=org.gnome.FileRoller.desktop;
application/x-java-archive=javaws.desktop;org.gnome.FileRoller.desktop;
application/x-java-jnlp-file=javaws.desktop;
application/x-sharedlib=sublime_text_3.desktop;
application/x-xz-compressed-tar=org.gnome.FileRoller.desktop;
application/xhtml+xml=chromium.desktop;
application/zip=org.gnome.FileRoller.desktop;
image/bmp=nomacs.desktop;
image/gif=nomacs.desktop;
image/jpeg=nomacs.desktop;feh.desktop;
image/png=nomacs.desktop;feh.desktop;
inode/directory=nemo.desktop;
text/html=sublime_text_3.desktop;chromium.desktop;
text/mml=chromium.desktop;
text/plain=sublime_text_3.desktop;emacs.desktop;sent.desktop;
text/x-matlab=emacs.desktop;
text/x-python=sublime_text_3.desktop;emacs.desktop;
text/xml=chromium.desktop;
x-scheme-handler/https=chromium.desktop;
text/x-java=sublime_text_3.desktop;
application/pdf=xreader.desktop;
text/vtt=sublime_text_3.desktop;
application/x-mobipocket-ebook=com.github.babluboy.bookworm.desktop;
image/vnd.djvu+multipage=com.github.babluboy.bookworm.desktop;
text/x-csrc=sublime_text_3.desktop;
text/troff=sublime_text_3.desktop;
application/octet-stream=Wonderdraft.desktop;emacs.desktop;
application/x-alpm-package=org.gnome.FileRoller.desktop;
image/svg+xml=inkscape.desktop;nomacs.desktop;
video/mp4=mpv.desktop;
video/x-matroska=mpv.desktop;
video/x-ms-wmv=mpv.desktop;
audio/mpeg=mpv.desktop;
audio/x-wav=mpv.desktop;
application/x-shellscript=sublime_text_3.desktop;
application/x-mobi8-ebook=com.github.babluboy.bookworm.desktop;
text/markdown=com.github.babluboy.bookworm.desktop;
video/3gpp=mpv.desktop;
video/x-msvideo=mpv.desktop;
application/vnd.kde.kxmlguirc=sublime_text_3.desktop;
x-scheme-handler/mailto=gnus.desktop
audio/x-mod=mpv.desktop;
image/webp=nomacs.desktop;
image/x-canon-cr2=nomacs.desktop;
video/webm=mpv.desktop;
video/mpeg=mpv.desktop;
application/x-wine-extension-ini=sublime_text_3.desktop;
text/csv=sublime_text_3.desktop;
application/x-apple-diskimage=org.gnome.FileRoller.desktop
application/wps-office.pdf=xreader.desktop
[Default Applications]
application/epub+zip=com.github.babluboy.bookworm.desktop
application/xhtml+xml=chromium.desktop
inode/directory=nemo.desktop;
text/html=chromium.desktop
text/mml=chromium.desktop
text/xml=chromium.desktop
x-scheme-handler/http=chromium.desktop
x-scheme-handler/https=chromium.desktop
x-scheme-handler/about=chromium.desktop
x-scheme-handler/unknown=chromium.desktop
x-scheme-handler/magnet=qBittorrent.desktop
audio/mpeg=mpv.desktop
audio/x-wav=mpv.desktop
application/lrf=com.github.babluboy.bookworm.desktop
x-scheme-handler/mailto=gnus.desktop
application/octet-stream=emacs.desktop
message/rfc822=gnus.desktop
audio/x-mod=mpv.desktop
image/png=nomacs.desktop
application/pdf=xreader.desktop
application/ppdf=FoxitReader.desktop
image/gif=nomacs.desktop
image/jpeg=nomacs.desktop
image/webp=nomacs.desktop
application/x-mobipocket-ebook=com.github.babluboy.bookworm.desktop
image/x-canon-cr2=nomacs.desktop
text/plain=sent.desktop
image/bmp=nomacs.desktop
video/webm=mpv.desktop
video/mp4=mpv.desktop
video/x-msvideo=mpv.desktop
video/mpeg=mpv.desktop
image/svg+xml=nomacs.desktop
video/x-matroska=mpv.desktop
application/xml=sublime_text_3.desktop
application/x-wine-extension-ini=sublime_text_3.desktop
text/csv=sublime_text_3.desktop
image/vnd.djvu+multipage=com.github.babluboy.bookworm.desktop

View File

@ -13,10 +13,10 @@ bind_to_address "localhost"
max_output_buffer_size "16304" max_output_buffer_size "16304"
audio_output { audio_output {
type "fifo" type "fifo"
name "my_fifo" name "my_fifo"
path "/tmp/mpd.fifo" path "/tmp/mpd.fifo"
format "44100:16:2" format "44100:16:2"
} }
audio_output { audio_output {

Binary file not shown.

View File

@ -1,7 +1,5 @@
# Neofetch config file # Neofetch config file
# https://github.com/dylanaraps/neofetch # https://github.com/dylanaraps/neofetch
# See this wiki page for more info: # See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() { print_info() {
@ -30,8 +28,6 @@ print_info() {
# Kernel # Kernel
# Shorten the output of the kernel function. # Shorten the output of the kernel function.
# #
# Default: 'on' # Default: 'on'
@ -44,10 +40,8 @@ print_info() {
# off: 'Linux 4.8.9-1-ARCH' # off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="on" kernel_shorthand="on"
# Distro # Distro
# Shorten the output of the distro function # Shorten the output of the distro function
# #
# Default: 'off' # Default: 'off'
@ -68,10 +62,8 @@ distro_shorthand="on"
# off: 'Arch Linux' # off: 'Arch Linux'
os_arch="off" os_arch="off"
# Uptime # Uptime
# Shorten the output of the uptime function # Shorten the output of the uptime function
# #
# Default: 'on' # Default: 'on'
@ -84,10 +76,8 @@ os_arch="off"
# tiny: '2d 10h 3m' # tiny: '2d 10h 3m'
uptime_shorthand="on" uptime_shorthand="on"
# Shell # Shell
# Show the path to $SHELL # Show the path to $SHELL
# #
# Default: 'off' # Default: 'off'
@ -110,10 +100,8 @@ shell_path="off"
# off: 'bash' # off: 'bash'
shell_version="off" shell_version="off"
# CPU # CPU
# CPU speed type # CPU speed type
# #
# Default: 'bios_limit' # Default: 'bios_limit'
@ -189,10 +177,8 @@ cpu_cores="off"
# off: 'Intel i7-6500U (4) @ 3.1GHz' # off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off" cpu_temp="off"
# GPU # GPU
# Enable/Disable GPU Brand # Enable/Disable GPU Brand
# #
# Default: 'on' # Default: 'on'
@ -223,10 +209,8 @@ gpu_brand="off"
# GPU1: Intel Integrated Graphics # GPU1: Intel Integrated Graphics
gpu_type="all" gpu_type="all"
# Resolution # Resolution
# Display refresh rate next to each monitor # Display refresh rate next to each monitor
# Default: 'off' # Default: 'off'
# Values: 'on', 'off' # Values: 'on', 'off'
@ -238,10 +222,8 @@ gpu_type="all"
# off: '1920x1080' # off: '1920x1080'
refresh_rate="off" refresh_rate="off"
# Gtk Theme / Icons / Font # Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font # Shorten output of GTK Theme / Icons / Font
# #
# Default: 'off' # Default: 'off'
@ -253,7 +235,6 @@ refresh_rate="off"
# off: 'Numix [GTK2], Adwaita [GTK3]' # off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="on" gtk_shorthand="on"
# Enable/Disable gtk2 Theme / Icons / Font # Enable/Disable gtk2 Theme / Icons / Font
# #
# Default: 'on' # Default: 'on'
@ -276,10 +257,8 @@ gtk2="off"
# off: 'Numix [GTK2]' # off: 'Numix [GTK2]'
gtk3="off" gtk3="off"
# IP Address # IP Address
# Website to ping for the public IP # Website to ping for the public IP
# #
# Default: 'http://ident.me' # Default: 'http://ident.me'
@ -287,10 +266,8 @@ gtk3="off"
# Flag: --ip_host # Flag: --ip_host
public_ip_host="http://ident.me" public_ip_host="http://ident.me"
# Disk # Disk
# Which disks to display. # Which disks to display.
# The values can be any /dev/sdXX, mount point or directory. # The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'. # NOTE: By default we only show the disk info for '/'.
@ -307,7 +284,7 @@ public_ip_host="http://ident.me"
# disk_show=('/'): # disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)' # 'Disk (/): 74G / 118G (66%)'
# #
disk_show=('/') disk_show=('/', '/home/')
# Disk subtitle. # Disk subtitle.
# What to append to the Disk subtitle. # What to append to the Disk subtitle.
@ -329,10 +306,8 @@ disk_show=('/')
# 'Disk (Videos): 74G / 118G (66%)' # 'Disk (Videos): 74G / 118G (66%)'
disk_subtitle="mount" disk_subtitle="mount"
# Song # Song
# Print the Artist and Title on separate lines # Print the Artist and Title on separate lines
# #
# Default: 'off' # Default: 'off'
@ -346,10 +321,8 @@ disk_subtitle="mount"
# off: 'Song: The Fratellis - Chelsea Dagger' # off: 'Song: The Fratellis - Chelsea Dagger'
song_shorthand="on" song_shorthand="on"
# Install Date # Install Date
# Whether to show the time in the output # Whether to show the time in the output
# #
# Default: 'on' # Default: 'on'
@ -372,10 +345,8 @@ install_time="off"
# 24h: 'Thu 14 Apr 2016 23:50' # 24h: 'Thu 14 Apr 2016 23:50'
install_time_format="24h" install_time_format="24h"
# Text Colors # Text Colors
# Text Colors # Text Colors
# #
# Default: 'distro' # Default: 'distro'
@ -390,10 +361,8 @@ install_time_format="24h"
# colors=(4 6 1 8 8 6) - Text is colored in the order above. # colors=(4 6 1 8 8 6) - Text is colored in the order above.
colors=(distro) colors=(distro)
# Text Options # Text Options
# Toggle bold text # Toggle bold text
# #
# Default: 'on' # Default: 'on'
@ -413,12 +382,10 @@ underline_enabled="on"
# Default: '-' # Default: '-'
# Values: 'string' # Values: 'string'
# Flag: --underline_char # Flag: --underline_char
underline_char="-" underline_char="="
# Color Blocks # Color Blocks
# Color block range # Color block range
# The range of colors to print. # The range of colors to print.
# #
@ -433,7 +400,7 @@ underline_char="-"
# #
# Display colors 0-15 in the blocks. (16 colors) # Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15 # neofetch --block_range 0 15
block_range=(0 7) block_range=(0 15)
# Toggle color blocks # Toggle color blocks
# #
@ -456,10 +423,8 @@ block_width=3
# Flag: --block_height # Flag: --block_height
block_height=1 block_height=1
# Progress Bars # Progress Bars
# Bar characters # Bar characters
# #
# Default: '-', '=' # Default: '-', '='
@ -500,7 +465,6 @@ bar_length=15
bar_color_elapsed="distro" bar_color_elapsed="distro"
bar_color_total="distro" bar_color_total="distro"
# Info display # Info display
# Display a bar with the info. # Display a bar with the info.
# #
@ -521,16 +485,14 @@ memory_display="off"
battery_display="off" battery_display="off"
disk_display="off" disk_display="off"
# Backend Settings # Backend Settings
# Image backend. # Image backend.
# #
# Default: 'ascii' # Default: 'ascii'
# Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m' # Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
# Flag: --backend # Flag: --backend
image_backend="ascii" image_backend="w3m"
# Image Source # Image Source
# #
@ -545,10 +507,8 @@ image_backend="ascii"
# wallpaper will be used. # wallpaper will be used.
image_source="auto" image_source="auto"
# Ascii Options # Ascii Options
# Ascii distro # Ascii distro
# Which distro's ascii art to display. # Which distro's ascii art to display.
# #
@ -583,10 +543,8 @@ ascii_colors=(distro)
# Flag: --ascii_bold # Flag: --ascii_bold
ascii_bold="on" ascii_bold="on"
# Image Options # Image Options
# Image loop # Image loop
# Setting this to on will make neofetch redraw the image constantly until # Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators. # Ctrl+C is pressed. This fixes display issues in some terminal emulators.
@ -655,10 +613,8 @@ xoffset=0
# Flag: --bg_color # Flag: --bg_color
background_color= background_color=
# Scrot Options # Scrot Options
# Whether or not to always take a screenshot # Whether or not to always take a screenshot
# You can manually take a screenshot with "--scrot" or "-s" # You can manually take a screenshot with "--scrot" or "-s"
# #
@ -666,7 +622,7 @@ background_color=
# Values: 'on', 'off' # Values: 'on', 'off'
# Flags: --scrot # Flags: --scrot
# -s # -s
scrot="off" scrot="on"
# Screenshot Program # Screenshot Program
# Neofetch will automatically use whatever screenshot tool # Neofetch will automatically use whatever screenshot tool
@ -698,12 +654,10 @@ scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# #
# NOTE: If you'd like another image host to be added to Neofetch. # NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github. # Open an issue on github.
image_host="teknik" image_host="imgur"
# Misc Options # Misc Options
# Config version. # Config version.
# #
# NOTE: Don't change this value, neofetch reads this to determine # NOTE: Don't change this value, neofetch reads this to determine

View File

@ -0,0 +1 @@
/usr/lib/systemd/user/emacs.service

40
.config/yay/config.json Normal file
View File

@ -0,0 +1,40 @@
{
"aururl": "https://aur.archlinux.org",
"buildDir": "/home/phundrak/.cache/yay",
"editor": "",
"editorflags": "",
"makepkgbin": "makepkg",
"makepkgconf": "",
"pacmanbin": "pacman",
"pacmanconf": "/etc/pacman.conf",
"tarbin": "bsdtar",
"redownload": "ask",
"rebuild": "ask",
"answerclean": "",
"answerdiff": "",
"answeredit": "",
"answerupgrade": "",
"gitbin": "git",
"gpgbin": "gpg",
"gpgflags": "",
"mflags": "",
"sortby": "votes",
"gitflags": "",
"removemake": "ask",
"requestsplitn": 150,
"sortmode": 0,
"completionrefreshtime": 7,
"sudoloop": false,
"timeupdate": true,
"devel": false,
"cleanAfter": false,
"gitclone": true,
"provides": true,
"pgpfetch": true,
"upgrademenu": true,
"cleanmenu": true,
"diffmenu": false,
"editmenu": true,
"combinedupgrade": false,
"useask": false
}