Skip to content

Commit d513b19

Browse files
committed
Dotfiles overhaul.
1 parent e71ae17 commit d513b19

File tree

802 files changed

+129376
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

802 files changed

+129376
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "dotfiles/oh-my-zsh"]
2+
path = dotfiles/oh-my-zsh
3+
url = https://github.com/robbyrussell/oh-my-zsh.git

dotfiles/i3-gaps/config

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# i3-gaps Configuration File
2+
# @author Tim Zabel <[email protected]>
3+
4+
# Set modifier
5+
set $mod Mod4
6+
7+
# i3 font
8+
font pango:Overpass Mono 11
9+
10+
# i3-gaps border size
11+
for_window [class="^.*"] border pixel 6
12+
13+
# set window gap size
14+
gaps inner 8
15+
gaps outer 8
16+
17+
# Use Mouse+$mod to drag floating windows to their wanted position
18+
floating_modifier $mod
19+
20+
# start a terminal
21+
bindsym $mod+Return exec gnome-terminal
22+
23+
# kill focused window
24+
bindsym $mod+q kill
25+
26+
# run rofi
27+
bindsym $mod+space exec rofi -show run
28+
29+
# change focus
30+
bindsym $mod+h focus left
31+
bindsym $mod+j focus down
32+
bindsym $mod+k focus up
33+
bindsym $mod+l focus right
34+
35+
# move focused app placement
36+
bindsym $mod+Shift+Left move left
37+
bindsym $mod+Shift+Down move down
38+
bindsym $mod+Shift+Up move up
39+
bindsym $mod+Shift+Right move right
40+
41+
# split in horizontal orientation
42+
bindsym $mod+Shift+h split h
43+
44+
# split in vertical orientation
45+
bindsym $mod+v split v
46+
47+
# enter fullscreen mode for the focused container
48+
bindsym $mod+f fullscreen toggle
49+
50+
# change container layout (stacked, tabbed, toggle split)
51+
#bindsym $mod+Shift+s layout stacking
52+
bindsym $mod+w layout tabbed
53+
bindsym $mod+e layout toggle split
54+
55+
# toggle tiling / floating
56+
bindsym $mod+Shift+space floating toggle
57+
58+
# focus the parent container
59+
bindsym $mod+a focus parent
60+
61+
# Naming workspaces -- currently not used
62+
set $ws1 "1:Work"
63+
set $ws2 "2:Web"
64+
set $ws3 "3:Weechat"
65+
set $ws4 "4:Social"
66+
set $ws8 "8:Slack"
67+
set $ws9 "9:Mail"
68+
set $ws10 "10:Spotify"
69+
70+
# switch to workspace
71+
bindsym $mod+1 workspace 1
72+
bindsym $mod+2 workspace 2
73+
bindsym $mod+3 workspace 3
74+
bindsym $mod+4 workspace 4
75+
bindsym $mod+5 workspace 5
76+
bindsym $mod+6 workspace 6
77+
bindsym $mod+7 workspace 7
78+
bindsym $mod+8 workspace 8
79+
bindsym $mod+9 workspace 9
80+
bindsym $mod+0 workspace 10
81+
82+
# move focused container to workspace
83+
bindsym $mod+Shift+1 move container to workspace 1
84+
bindsym $mod+Shift+2 move container to workspace 2
85+
bindsym $mod+Shift+3 move container to workspace 3
86+
bindsym $mod+Shift+4 move container to workspace 4
87+
bindsym $mod+Shift+5 move container to workspace 5
88+
bindsym $mod+Shift+6 move container to workspace 6
89+
bindsym $mod+Shift+7 move container to workspace 7
90+
bindsym $mod+Shift+8 move container to workspace 8
91+
bindsym $mod+Shift+9 move container to workspace 9
92+
bindsym $mod+Shift+0 move container to workspace 10
93+
94+
# restrict certain applications to specific workspaces
95+
# TODO figure out flatpak classes
96+
assign [class="pulse-sms"] 4
97+
assign [class="Thunderbird"] 9
98+
99+
# reload the configuration file
100+
bindsym $mod+Shift+c reload
101+
102+
# restart i3
103+
bindsym $mod+Shift+r restart
104+
105+
# exit i3
106+
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
107+
108+
# lock display -- only works on arch derivatives
109+
# bindsym $mod+Shift+l exec betterlockscreen --lock
110+
111+
# resize window
112+
mode "resize" {
113+
bindsym h resize shrink width 20 px or 20 ppt
114+
bindsym j resize grow height 20 px or 20 ppt
115+
bindsym k resize shrink height 20 px or 20 ppt
116+
bindsym l resize grow width 20 px or 20 ppt
117+
118+
# back to normal: Enter or Escape
119+
bindsym Return mode "default"
120+
bindsym Escape mode "default"
121+
}
122+
123+
bindsym $mod+r mode "resize"
124+
125+
# colors
126+
set $bg-color #d7a654
127+
set $inactive-bg-color #2f343f
128+
set $text-color #f3f4f5
129+
set $inactive-text-color #676e7d
130+
set $urgent-bg-color #e53935
131+
set $indicator-color #a0a0a0
132+
set $kinda-blue-color #0b0f18
133+
set $gold-color #d7a654
134+
set $awesome-orange-color#CB4B16
135+
136+
# set window colors
137+
# border background text indicator
138+
client.focused $bg-color $bg-color $text-color $indicator-color
139+
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
140+
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
141+
client.urgent $urgent-bg-color $urgent-bg-color $text-color $indicator-color
142+
143+
144+
# i3bar info
145+
bar {
146+
status_command i3status
147+
font pango:Overpass Mono 14
148+
strip_workspace_numbers yes
149+
150+
colors {
151+
background $kinda-blue-color
152+
separator #757575
153+
# border background text
154+
focused_workspace $gold-color $kinda-blue-color $text-color
155+
inactive_workspace $kinda-blue-color $kinda-blue-color $text-color
156+
urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
157+
}
158+
}
159+
160+
# App shortcuts
161+
bindsym $mod+c exec "/usr/bin/firefox"
162+
bindsym $mod+m exec "/usr/bin/thunderbird"
163+
bindsym $mod+s exec "flatpak run com.slack.Slack"
164+
bindsym $mod+t exec "flatpak run org.telegram.desktop"
165+
bindsym $mod+p exec "pulse-sms"
166+
bindsym $mod+Shift+l exec "lock.sh"
167+
bindsym $mod+Shift+s exec "flatpak run com.valvesoftware.Steam"
168+
169+
170+
# Autostart apps
171+
exec --no-startup-id feh --bg-fill ~/Pictures/fox.jpg
172+
exec --no-startup-id xfsettingsd
173+
exec xfce4-power-manager
174+
exec nm-applet
175+
exec redshift-gtk -l 0:0

dotfiles/i3status/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# ß
77
# If the above line is not correctly displayed, fix your editor first!
88
#
9-
# Latest Update: 25 11 2017
9+
# Latest Update: 06 Feb 2019
1010

1111
general {
1212
output_format = "i3bar"

dotfiles/oh-my-zsh

Submodule oh-my-zsh added at 052493b

0 commit comments

Comments
 (0)