Skip to content

Commit 590fb6d

Browse files
committed
Using i3wm and some small tools
1 parent 04e2adc commit 590fb6d

File tree

23 files changed

+715
-11
lines changed

23 files changed

+715
-11
lines changed

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
vim/plugged
22
.directory
33

4-
mpd/*
5-
!mpd/mpd.conf
4+
config/mpd/*
5+
!config/mpd/mpd.conf
66

7-
ncmpcpp/*
8-
!ncmpcpp/config
9-
!ncmpcpp/bindings
7+
config/ncmpcpp/*
8+
!config/ncmpcpp/config
9+
!config/ncmpcpp/bindings

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
chmod +x setup.sh
44
./setup.sh
55
```
6+
7+
# Troubleshooting
8+
1. [Graphic Tearing](https://wiki.archlinux.org/index.php/Intel_graphics#Tearing)
9+
2. [i3lock after sleep](https://github.com/i3/i3lock/issues/229)

Xresources

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
! ------------------------------------------------------------------------------
2+
! URxvt configs
3+
! ------------------------------------------------------------------------------
4+
5+
! font spacing
6+
URxvt*letterSpace: 0
7+
URxvt.lineSpace: 0
8+
9+
! general settings
10+
URxvt*saveline: 15000
11+
URxvt*termName: rxvt-256color
12+
URxvt*iso14755: false
13+
URxvt*urgentOnBell: true
14+
15+
! appearance
16+
URxvt*depth: 24
17+
URxvt*scrollBar: false
18+
URxvt*scrollBar_right: false
19+
URxvt*internalBorder: 14
20+
URxvt*externalBorder: 0
21+
URxvt.geometry: 84x22
22+
23+
! perl extensions
24+
URxvt*perl-ext-common: default,matcher,clipboard,url-select,keyboard-select,-tabbed,resize-font
25+
26+
! macros for clipboard and selection
27+
URxvt*copyCommand: xclip -i -selection clipboard
28+
URxvt*pasteCommand: xclip -o -selection clipboard
29+
URxvt*keysym.M-c: perl:clipboard:copy
30+
URxvt*keysym.m-v: perl:clipboard:paste
31+
URxvt*keysym.M-C-v: perl:clipboard:paste_escaped
32+
URxvt*keysym.M-Escape: perl:keyboard-select:activate
33+
URxvt*keysym.M-s: perl:keyboard-select:search
34+
URxvt*keysym.M-u: perl:url-select:select_next
35+
URxvt*resize-font.smaller: C-Down
36+
URxvt*resize-font.bigger: C-Up
37+
URxvt*geometry: 70x24
38+
39+
! tabbed
40+
URxvt*tabbed.tabbar-fg: 4
41+
URxvt*tabbed.tabbar-bg: 16
42+
URxvt*tabbed.tab-fg: 15
43+
URxvt*tabbed.tab-bg: 4
44+
URxvt*buffered: false
45+
URxvt*keysym.Control-Shift-C: perl:clipboard:copy
46+
URxvt*keysym.Control-Shift-V: perl:clipboard:paste
47+
48+
49+
! ------------------------------------------------------------------------------
50+
! Colour Configuration
51+
! ------------------------------------------------------------------------------
52+
53+
! special
54+
*.foreground: #d8dee8
55+
*.background: #1c1c1c
56+
*.cursorColor: #b48ead
57+
58+
! black
59+
*.color0 : #4b5262
60+
*.color8 : #434a5a
61+
62+
! red
63+
*.color1 : #bf616a
64+
*.color9 : #b3555e
65+
66+
! green
67+
*.color2 : #a3be8c
68+
*.color10 : #93ae7c
69+
70+
! yellow
71+
*.color3 : #ebcb8b
72+
*.color11 : #dbbb7b
73+
74+
! blue
75+
*.color4 : #81a1c1
76+
*.color12 : #7191b1
77+
78+
! magenta
79+
*.color5 : #b48ead
80+
*.color13 : #a6809f
81+
82+
! cyan
83+
*.color6 : #89d0bA
84+
*.color14 : #7dbba8
85+
86+
! white
87+
*.color7 : #e5e9f0
88+
*.color15 : #d1d5dc
89+
90+
! ------------------------------------------------------------------------------
91+
! Font configuration
92+
! ------------------------------------------------------------------------------
93+
94+
URxvt*font: xft:Hack:Regular:size=11
95+
URxvt*boldFont: xft:Hack:Bold:size=11
96+
URxvt*italicFont: xft:Hack:Italic:size=11
97+
URxvt*boldItalicFont: xft:Hack:Bold Italic:size=11
98+
99+
! ------------------------------------------------------------------------------
100+
! Xft Font Configuration
101+
! ------------------------------------------------------------------------------
102+
103+
Xft.autohint: 0
104+
Xft.lcdfilter: lcddefault
105+
Xft.hintstyle: hintslight
106+
Xft.hinting: 1
107+
Xft.antialias: 1
108+
Xft.rgba: rgb
109+

config/compton.conf

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## shadow
2+
shadow = true;
3+
no-dnd-shadow = true;
4+
no-dock-shadow = true;
5+
clear-shadow = true;
6+
shadow-radius = 12;
7+
shadow-offset-x = -12;
8+
shadow-offset-y = -12;
9+
shadow-opacity = 0.95;
10+
shadow-red = 0.18;
11+
shadow-green = 0.20;
12+
shadow-blue = 0.25;
13+
shadow-exclude = [ "class_g = 'Cairo-clock'" ,
14+
"class_g = 'CoverGloobus'",
15+
"class_g = 'Tilda'",
16+
"class_g = 'Conky'",
17+
"class_g ?= 'Notify-osd'",
18+
"class_g = 'Firefox'",
19+
"class_g = 'Firefox-esr'",
20+
"class_g = 'Dmenu'",
21+
"name = 'Notification'",
22+
"_GTK_FRAME_EXTENTS@:c"
23+
];
24+
25+
## fading
26+
fading = true;
27+
fade-delta = 0.25;
28+
fade-in-step = 0.02;
29+
fade-out-step = 0.02;
30+
fade-exclude = [
31+
];
32+
33+
## other
34+
backend = "xrender";
35+
mark-wmwin-focused = true;
36+
mark-ovredir-focused = true;
37+
detect-rounded-corners = true;
38+
detect-client-opacity = true;
39+
refresh-rate = 0;
40+
vsync = "none";
41+
dbe = false;
42+
paint-on-overlay = true;
43+
focus-exclude = [ "class_g = 'Cairo-clock'" ,
44+
"class_g = 'CoverGloobus'",
45+
"class_g = 'Tilda'",
46+
"class_g = 'Firefox'",
47+
"class_g = 'Firefox-esr'"
48+
];
49+
detect-transient = true;
50+
detect-client-leader = true;
51+
invert-color-include = [ ];
52+
glx-copy-from-front = false;
53+
glx-swap-method = "undefined";
54+
wintypes:
55+
{
56+
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
57+
};

config/dunst/complete.oga

20.6 KB
Binary file not shown.

config/dunst/dunstrc

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[global]
2+
monitor = 0
3+
geometry = "270x50-24+24"
4+
indicate_hidden = yes
5+
shrink = no
6+
separator_height = 4
7+
padding = 16
8+
horizontal_padding = 24
9+
frame_width = 2
10+
sort = no
11+
idle_threshold = 120
12+
font = Noto Sans 10
13+
line_height = 4
14+
markup = full
15+
format = "<b>%s</b>\n%b"
16+
alignment = left
17+
show_age_threshold = 60
18+
word_wrap = yes
19+
ignore_newline = no
20+
stack_duplicates = false
21+
hide_duplicate_count = yes
22+
show_indicators = no
23+
icon_position = off
24+
sticky_history = yes
25+
history_length = 20
26+
browser = /usr/bin/chromium-browser -new-tab
27+
always_run_script = true
28+
title = Dunst
29+
class = Dunst
30+
31+
[shortcuts]
32+
close = ctrl+space
33+
close_all = ctrl+shift+space
34+
history = ctrl+grave
35+
context = ctrl+shift+period
36+
37+
[play_sound]
38+
summary = "*"
39+
script = ~/.config/dunst/play_sound
40+
41+
[urgency_low]
42+
background = "#1c1c1c"
43+
foreground = "#d8dee8"
44+
frame_color = "#a1d569"
45+
timeout = 4
46+
47+
[urgency_normal]
48+
background = "#1c1c1c"
49+
foreground = "#d8dee8"
50+
frame_color = "#a1d569"
51+
timeout = 7
52+
53+
[urgency_critical]
54+
background = "#1c1c1c"
55+
foreground = "#d8dee8"
56+
frame_color = "#a1d569"
57+
timeout = 0

config/dunst/play_sound

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
# this is ubuntu sound
3+
paplay ~/.config/dunst/complete.oga

config/i3/.wallpaper.png

445 KB
Loading

0 commit comments

Comments
 (0)