From 527dbaddc46111782f616162a107e9268b30b13e Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 29 Jun 2019 05:34:23 -0500 Subject: [PATCH] .config: Prune old configs --- .config/dsk/dskrc | 63 ---------------------- .config/dsk/run/conky | 2 - .config/dsk/run/conky-wttr | 3 -- .config/dsk/run/ipfs | 21 -------- .config/dsk/run/kdeconnect | 2 - .config/dsk/run/mate-volume-control-applet | 2 - .config/dsk/run/redshift | 2 - 7 files changed, 95 deletions(-) delete mode 100755 .config/dsk/dskrc delete mode 100755 .config/dsk/run/conky delete mode 100755 .config/dsk/run/conky-wttr delete mode 100644 .config/dsk/run/ipfs delete mode 100755 .config/dsk/run/kdeconnect delete mode 100755 .config/dsk/run/mate-volume-control-applet delete mode 100755 .config/dsk/run/redshift diff --git a/.config/dsk/dskrc b/.config/dsk/dskrc deleted file mode 100755 index 3dab6429..00000000 --- a/.config/dsk/dskrc +++ /dev/null @@ -1,63 +0,0 @@ -#! /usr/bin/env bash -# -# dskrc -# Dotfile Session Kit configuration RC -# -# This file is sourced before DSK does anything else -# Put your basic configuration in here -# - -export XDG_CURRENT_DESKTOP="MATE" -for term in konsole mate-terminal lxterminal xfce4-terminal urxvt xterm; do - if command -v "$term" > /dev/null 2>&1; then - export TERMINAL="$term" - break - fi -done - -if command -v go > /dev/null 2>&1; then - export PATH="$PATH:$HOME/.local/go/bin" -fi - -export DSK_FLAG_MASK="" -export DSK_CURRENT_DESKTOP="$DSK_NAME" - -# Never gonna stop debugging -export DSK_LOG_FILELEVEL=-100 -export DSK_LOG_PRINTLEVEL=-100 - -export DSK_DEFAULT_HOTKEYD="dsk_skip" -export DSK_DEFAULT_POLKITP="/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1" -#export DSK_DEFAULT_POWERD="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil" -export DSK_DEFAULT_WM="i3" - -case "$HOSTNAME" in - vm-*) - # Disable compositing in VMs - export DSK_DEFAULT_COMPOSITOR="dsk_skip" - ;; - *) - ;; -esac - -# Background setting -if [ -f "~/.fehbg" ] && command -v feh; then - ~/.fehbg & -elif command -v nitrogen > /dev/null 2>&1; then - nitrogen --restore & -elif command -v hsetroot > /dev/null 2>&1; then - hsetroot -solid "#383c4a" -tile "$HOME/.wptile" -center "$HOME/.wpcenter" & -fi - -if [ -z "$DSK_FLAG_HASRESTARTED" ]; then - # XRDB - [ -r ~/.Xresources ] && xrdb ~/.Xresources - for file in "$XDG_CONFIG_HOME"/xrdb/*.xresources; do - [ -r "$file" ] && xrdb -merge "$file" - done - # No bell - xset -b - # No screen blanking - xset s off -fi - diff --git a/.config/dsk/run/conky b/.config/dsk/run/conky deleted file mode 100755 index 5e76e18c..00000000 --- a/.config/dsk/run/conky +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/env bash -exec conky diff --git a/.config/dsk/run/conky-wttr b/.config/dsk/run/conky-wttr deleted file mode 100755 index 0e40e3c4..00000000 --- a/.config/dsk/run/conky-wttr +++ /dev/null @@ -1,3 +0,0 @@ -#! /usr/bin/env bash -source "$HOME/.location" -exec conky -c "$XDG_CONFIG_HOME/conky/conky-wttr.conf" -t "\${curl wttr.in/$LOCATION_CONKY?AQTFn 60}" diff --git a/.config/dsk/run/ipfs b/.config/dsk/run/ipfs deleted file mode 100644 index d9319736..00000000 --- a/.config/dsk/run/ipfs +++ /dev/null @@ -1,21 +0,0 @@ -#! /usr/bin/env bash -if ! command -v ipfs > /dev/null 2>&1; then - echo "IPFS is not installed" - exit 0 -fi -ipfs daemon & -# The following sets up the IPFS FUSE daemon -if command -v fusermount; then - ipfspath="$HOME/IPFS" - ipnspath="$HOME/IPNS" - for path in "$ipfspath" "$ipnspath"; do - mkdir -P "$path" - fusermount -u "$path" - done - # PIDless busy sleep trick - exec 1023<> <(:) - read -r -t 3 -u 1023 - ipfs mount --ipfs-path="$ipfspath" --ipns-path="$ipnspath" -fi -wait - diff --git a/.config/dsk/run/kdeconnect b/.config/dsk/run/kdeconnect deleted file mode 100755 index 171ec8ed..00000000 --- a/.config/dsk/run/kdeconnect +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/env bash -exec kdeconnect-cli --refresh diff --git a/.config/dsk/run/mate-volume-control-applet b/.config/dsk/run/mate-volume-control-applet deleted file mode 100755 index 8cafad3e..00000000 --- a/.config/dsk/run/mate-volume-control-applet +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec mate-volume-control-applet diff --git a/.config/dsk/run/redshift b/.config/dsk/run/redshift deleted file mode 100755 index 44d78ce8..00000000 --- a/.config/dsk/run/redshift +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/env bash -exec redshift