summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-03-25 06:32:02 +0000
committerShubham Saini <shubham6405@gmail.com>2020-03-25 06:32:02 +0000
commitf4d7ef953338b2e1c750c7e9c4be0d3d9f3c7cac (patch)
tree7c22a410207752f18c65bc280515e82db772f335
parent809c4d7d729bd27659fcd35cd0642857724dd03a (diff)
cmus
-rwxr-xr-xbin/.local/bin/chardetect8
-rwxr-xr-xbin/.local/bin/shut2
-rw-r--r--polybar/.config/polybar/config2
-rw-r--r--ranger/.config/ranger/rc.conf3
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc4
-rw-r--r--x/.Xresources12
6 files changed, 14 insertions, 17 deletions
diff --git a/bin/.local/bin/chardetect b/bin/.local/bin/chardetect
new file mode 100755
index 0000000..627b836
--- /dev/null
+++ b/bin/.local/bin/chardetect
@@ -0,0 +1,8 @@
1#!/usr/bin/python3.6
2# -*- coding: utf-8 -*-
3import re
4import sys
5from chardet.cli.chardetect import main
6if __name__ == '__main__':
7 sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 sys.exit(main())
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut
index dc391e1..c4ea84a 100755
--- a/bin/.local/bin/shut
+++ b/bin/.local/bin/shut
@@ -1,6 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2 2
3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Say goodbye") 3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara")
4 4
5case $RET in 5case $RET in
6 shutdown) sudo poweroff ;; 6 shutdown) sudo poweroff ;;
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index 9040a3d..0b9f71c 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -156,7 +156,7 @@ scroll-down = cmus-remote --volume -5%
156format = <label> 156format = <label>
157format-foreground = #7b8c58 157format-foreground = #7b8c58
158label = %output% 158label = %output%
159label-maxlen = 50 159!label-maxlen = 50
160 160
161[module/mpd] 161[module/mpd]
162type = internal/mpd 162type = internal/mpd
diff --git a/ranger/.config/ranger/rc.conf b/ranger/.config/ranger/rc.conf
index b55ed9e..a209c77 100644
--- a/ranger/.config/ranger/rc.conf
+++ b/ranger/.config/ranger/rc.conf
@@ -422,14 +422,13 @@ map ) jump_non
422 422
423map gh cd ~ 423map gh cd ~
424map ge cd /etc 424map ge cd /etc
425map gw cd /home/ssaini/Pictures/Walls
426map gu cd /usr 425map gu cd /usr
427map gd cd /dev 426map gd cd /dev
428map gl cd -r . 427map gl cd -r .
429map gL cd -r %f 428map gL cd -r %f
430map go cd /opt 429map go cd /opt
431map gv cd /var 430map gv cd /var
432map gm cd /run/media 431map gm cd /mnt/stuff/
433map gi eval fm.cd('/run/media/' + os.getenv('USER')) 432map gi eval fm.cd('/run/media/' + os.getenv('USER'))
434map gM cd /mnt 433map gM cd /mnt
435map gs cd /srv 434map gs cd /srv
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 23c27cf..4a64b63 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -29,7 +29,7 @@ super + Escape
29super + shift + w 29super + shift + w
30 firefox 30 firefox
31control + alt + l 31control + alt + l
32 lock 32 /home/fd0e/.local/bin/lock
33super + shift + f 33super + shift + f
34 spacefm 34 spacefm
35Print 35Print
@@ -37,7 +37,7 @@ Print
37ctrl + Print 37ctrl + Print
38 scrot 38 scrot
39super + x 39super + x
40 shut 40 /home/fd0e/.local/bin/shut
41super + shift + p 41super + shift + p
42 rofi-pass 42 rofi-pass
43# 43#
diff --git a/x/.Xresources b/x/.Xresources
index 26d3024..10ef26e 100644
--- a/x/.Xresources
+++ b/x/.Xresources
@@ -73,14 +73,4 @@ URxvt*inheritPixmap: False
73*.color15: #d2d4de 73*.color15: #d2d4de
74 74
75! Perls 75! Perls
76URxvt.perl-ext-common : default,matcher,keyboard-select,url-select,resize-font 76URxvt.perl-ext-common : default,matcher
77URxvt.resize-font.step: 1
78URxvt.keysym.M-Escape : perl:keyboard-select:activate
79URxvt.keysym.M-u : perl:url-select:select_next
80URxvt.keysym.M-s : perl:keyboard-select:search
81!URxvt.perl-ext-common : tabbed,default,matcher
82!Urxvt.perl-lib : /usr/lib/urxvt/perl/
83URxvt.url-select.launcher : firefox
84URxvt.url-select.autocopy : true
85URxvt.url-select.underline : true
86URxvt.url-select.button: 1