summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-28 14:28:43 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-28 14:28:43 +0000
commitbfb26e1dddfb7399074f113dbff1df35d3e2db49 (patch)
tree9406d4eec2f0dd3c509f882df4f8dfe322ada673
parentb89155ad0f7fe2810035043bfee4047586f64de4 (diff)
changed a lot
-rw-r--r--alacritty/.config/alacritty/alacritty.yml96
-rwxr-xr-xbin/.local/bin/shut6
-rw-r--r--nvim/.config/nvim/init.vim2
-rw-r--r--picom/.config/picom.conf4
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf10
-rw-r--r--x/.xinitrc3
6 files changed, 78 insertions, 43 deletions
diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml
index 21ee0f5..85e940b 100644
--- a/alacritty/.config/alacritty/alacritty.yml
+++ b/alacritty/.config/alacritty/alacritty.yml
@@ -1,51 +1,87 @@
1# Colors (Ayu Dark)
2colors: 1colors:
3 # Default colors 2 # Default colors
4 primary: 3 primary:
5 background: '0x0A0E14' 4 background: "#000000"
6 foreground: '0xB3B1AD' 5 foreground: "#D8DEE9"
7 6
8 # Normal colors 7 # Normal colors
9 normal: 8 normal:
10 black: '0x01060E' 9 black: "#3B4252"
11 red: '0xEA6C73' 10 red: "#BF616A"
12 green: '0x91B362' 11 green: "#A3BE8C"
13 yellow: '0xF9AF4F' 12 yellow: "#EBCB8B"
14 blue: '0x53BDFA' 13 blue: "#81A1C1"
15 magenta: '0xFAE994' 14 magenta: "#B48EAD"
16 cyan: '0x90E1C6' 15 cyan: "#88C0D0"
17 white: '0xC7C7C7' 16 white: "#abb2bf"
18 17
19 # Bright colors 18 # Bright colors
20 bright: 19 bright:
21 black: '0x686868' 20 black: "#5c6370"
22 red: '0xF07178' 21 red: "#e06c75"
23 green: '0xC2D94C' 22 green: "#98c379"
24 yellow: '0xFFB454' 23 yellow: "#d19a66"
25 blue: '0x59C2FF' 24 blue: "#61afef"
26 magenta: '0xFFEE99' 25 magenta: "#c678dd"
27 cyan: '0x95E6CB' 26 cyan: "#56b6c2"
28 white: '0xFFFFFF' 27 white: "#ECEFF4"
28
29background_opacity: 1.0
29 30
30font: 31font:
31 # Normal (roman) font face
32 normal: 32 normal:
33 # Font family 33 family: "ASM-Regular"
34 #
35 # Default:
36 # - (macOS) Menlo
37 # - (Linux) monospace
38 # - (Windows) Consolas
39 family: 'Hermit'
40
41 # The `style` can be specified to pick a specific face.
42 style: Regular 34 style: Regular
35 bold:
36 family: "ASM-Bold"
37 style: Bold
38 italic:
39 family: "ASM-RegularItalic"
40 style: Italic
41 bold_italic:
42 family: "ASM-BoldItalic"
43 style: Bold Italic
43 44
44 # Point size 45 # Point size
45 size: 8.5 46 size: 9.0
47 antialias: true
48 autohint: true
46 49
47 offset: 50 offset:
48 x: 0 51 x: 0
49 y: 0 52 y: 0
53 glyph_offset:
54 x: 0
55 y: 0
56
57window:
58 padding:
59 x: 8
60 y: 8
61
62scrolling:
63 # Maximum number of lines in the scrollback buffer.
64 # Specifying '0' will disable scrolling.
65 history: 10000
66
67 # Number of lines the viewport will move for every line scrolled when
68 # scrollback is enabled (history > 0).
69 multiplier: 10
70
71# If `true`, bold text is drawn using the bright color variants.
72draw_bold_text_with_bright_colors: true
73
74selection:
75 semantic_escape_chars: ',│`|:"'' ()[]{}<>'
76 save_to_clipboard: true
50 77
78live_config_reload: true
51 79
80key_bindings:
81 - { key: V, mods: Control|Shift, action: Paste }
82 - { key: C, mods: Control|Shift, action: Copy }
83 - { key: Key0, mods: Control, action: ResetFontSize }
84 - { key: Equals, mods: Control, action: IncreaseFontSize }
85 - { key: Add, mods: Control, action: IncreaseFontSize }
86 - { key: Subtract, mods: Control, action: DecreaseFontSize }
87 - { key: Minus, mods: Control, action: DecreaseFontSize }
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut
index 9e560f8..2ed1951 100755
--- a/bin/.local/bin/shut
+++ b/bin/.local/bin/shut
@@ -1,10 +1,10 @@
1#!/bin/bash 1#!/bin/bash
2 2
3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10") 3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "ASM\-Bold:style=☞:size=10")
4 4
5case $RET in 5case $RET in
6 shutdown) doas poweroff ;; 6 shutdown) sudo poweroff ;;
7 reboot) doas reboot ;; 7 reboot) sudo reboot ;;
8 sleep) xset s activate & sudo zzz;; 8 sleep) xset s activate & sudo zzz;;
9 lock) xset s activate ;; 9 lock) xset s activate ;;
10 *) ;; 10 *) ;;
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 3599360..4c6c383 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -112,7 +112,7 @@ nnoremap S :%s//gI<Left><Left><Left>
112 112
113"statusbar 113"statusbar
114hi Comment cterm=italic 114hi Comment cterm=italic
115hi CursorLine ctermbg=black cterm=bold guibg=#2b2b2b 115hi CursorLine cterm=bold guibg=#2b2b2b
116set statusline= 116set statusline=
117set statusline +=%1*\ %n\ %* "buffer number 117set statusline +=%1*\ %n\ %* "buffer number
118set statusline +=%5*%{&ff}%* "file format 118set statusline +=%5*%{&ff}%* "file format
diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf
index 1856f93..bc22261 100644
--- a/picom/.config/picom.conf
+++ b/picom/.config/picom.conf
@@ -37,8 +37,8 @@ blur-background-exclude = [
37]; 37];
38opacity-rule = [ 38opacity-rule = [
39 "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", 39 "40:class_g = 'Bspwm' && class_i = 'presel_feedback'",
40 "100:class_g = 'st-256color' && focused", 40 "100:class_g = 'alacritty' && focused",
41 "95:class_g = 'st-256color' && !focused" 41 "95:class_g = 'alacritty' && !focused"
42]; 42];
43 43
44## FADING 44## FADING
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf
index 87efc30..8cc43e5 100644
--- a/spectrwm/.config/spectrwm/spectrwm.conf
+++ b/spectrwm/.config/spectrwm/spectrwm.conf
@@ -38,7 +38,7 @@ bar_color[1] = black
38bar_color_selected[1] = rgb:00/80/80 38bar_color_selected[1] = rgb:00/80/80
39bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73 39bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73
40bar_font_color_selected = black 40bar_font_color_selected = black
41bar_font = Hermit:size=9.5 41bar_font = ASM\-Bold:style=☞:size=9.5
42bar_action = ~/.config/spectrwm/statusbar 42bar_action = ~/.config/spectrwm/statusbar
43bar_action_expand = 1 43bar_action_expand = 1
44bar_justify = left 44bar_justify = left
@@ -68,7 +68,7 @@ urgent_enabled = 1
68# Launch applications in a workspace of choice 68# Launch applications in a workspace of choice
69autorun = ws[1]:~/.fehbg 69autorun = ws[1]:~/.fehbg
70autorun = ws[1]:picom 70autorun = ws[1]:picom
71autorun = ws[2]:firefox-bin 71autorun = ws[2]:firefox
72autorun = ws[1]:~/bin/xss 72autorun = ws[1]:~/bin/xss
73autorun = ws[1]:~/.local/bin/bat_check.sh 73autorun = ws[1]:~/.local/bin/bat_check.sh
74 74
@@ -100,10 +100,10 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf
100 100
101# Validated default programs: 101# Validated default programs:
102program[lock] = xset s activate 102program[lock] = xset s activate
103program[term] = st 103program[term] = alacritty
104program[menu] = ~/bin/menu 104program[menu] = ~/bin/menu
105program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' 105program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
106program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' 106program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
107program[soundinc] = pulsemixer --change-volume +5 107program[soundinc] = pulsemixer --change-volume +5
108program[sounddec] = pulsemixer --change-volume -5 108program[sounddec] = pulsemixer --change-volume -5
109program[soundmute] = pulsemixer --toggle-mute 109program[soundmute] = pulsemixer --toggle-mute
diff --git a/x/.xinitrc b/x/.xinitrc
index d87cc5d..a169b02 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -4,8 +4,7 @@ xset b off &
4xset s 600 & 4xset s 600 &
5# ~/bin/xss & 5# ~/bin/xss &
6# ~/.fehbg & 6# ~/.fehbg &
7# ~/bin/batcheck &
8# picom 2>/dev/null & 7# picom 2>/dev/null &
9# dwmbar & 8# dwmbar &
10 9
11exec dbus-launch --exit-with-session spectrwm 10exec dbus-launch --exit-with-session spectrwm 2>/dev/null