all repos — dotfiles @ feea12a4e0d526b8db8c6f084d53af229a29c349

linux dotfiles

remove .config directory
prithugoswami prithugoswami524@gmail.com
Sat, 28 Apr 2018 14:00:03 +0530
commit

feea12a4e0d526b8db8c6f084d53af229a29c349

parent

5339ca6e4eeca001203ad3430ad88c5ad26e842d

2 files changed, 0 insertions(+), 102 deletions(-)

jump to
D .config/i3/i3status.conf

@@ -1,65 +0,0 @@

-# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - interval = 5 -} - -#order += "ipv6" -order += "disk /" -order += "load" -#order += "run_watch DHCP" -#order += "run_watch VPN" -order += "wireless _first_" -#order += "ethernet _first_" -order += "battery 0" -order += "tztime local" - -wireless _first_ { - format_up = "  %essid %quality " - format_down = "睊" -} - -ethernet _first_ { - # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -battery 0 { - format = "%status %percentage %remaining " - path = "/sys/class/power_supply/BAT1/uevent" - status_chr = " " - status_bat = "  " - status_full = "  " - last_full_capacity = true - low_threshold = 30 - integer_battery_capacity = true - hide_seconds = true -} - -run_watch DHCP { - pidfile = "/var/run/dhclient*.pid" -} - -run_watch VPN { - pidfile = "/var/run/vpnc/pid" -} - -tztime local { - format = " %a, %d %b %Y | %I:%M:%p" -} - -load { - format = " %1min " -} - -disk "/" { - format = "  %avail " -}
D .config/i3/lock.sh

@@ -1,37 +0,0 @@

-#!/bin/bash -# This script is a lockscnreen script that utilizes i3lock -# it produces a pixelated screenshot along with a icon you can choose that is placed in the middle -# this isn't my work and I picked it up and modified it a little from the good folks over at /r/unixporn -# https://www.reddit.com/r/unixporn/comments/3358vu/i3lock_unixpornworthy_lock_screen/ - -scrot /tmp/screen.png -convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png -icon=$HOME/.config/i3/icon.png - -if [[ -f $icon ]] -then - # placement x/y - PX=0 - PY=0 - # lockscreen image info - R=$(file $icon | grep -o '[0-9]* x [0-9]*') - RX=$(echo $R | cut -d' ' -f 1) - RY=$(echo $R | cut -d' ' -f 3) - - SR=$(xrandr --query | grep ' connected'| sed 's/primary //' | cut -f3 -d' ') - for RES in $SR - do - # monitor position/offset - SRX=$(echo $RES | cut -d'x' -f 1) # x pos - SRY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 1) # y pos - SROX=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 2) # x offset - SROY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 3) # y offset - PX=$(($SROX + $SRX/2 - $RX/2)) - PY=$(($SROY + $SRY/2 - $RY/2)) - - convert /tmp/screen.png $icon -geometry +$PX+$PY -composite -matte /tmp/screen.png - done -fi -# dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop -# i3lock -I 10 -d -e -u -n -i /tmp/screen.png -i3lock -e -u -n -i /tmp/screen.png