Skip to content

Commit 9e797f2

Browse files
committed
Initial commit
1 parent e4903ec commit 9e797f2

File tree

4 files changed

+392
-0
lines changed

4 files changed

+392
-0
lines changed

.tmux.conf

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# remap prefix from 'C-b' to 'C-a'
2+
unbind C-b
3+
set-option -g prefix C-a
4+
bind-key C-a send-prefix
5+
6+
# split panes using | and -
7+
bind | split-window -h
8+
bind - split-window -v
9+
# unbind '"'
10+
# unbind %
11+
12+
# reload config file (change file location to your the tmux.conf you want to use)
13+
bind r source-file ~/.tmux.conf
14+
15+
# don't rename windows automatically
16+
set-option -g allow-rename off
17+
18+
######################
19+
### DESIGN CHANGES ###
20+
######################
21+
22+
# panes
23+
set -g pane-border-fg black
24+
set -g pane-active-border-fg brightred
25+
26+
## Status bar design
27+
# status line
28+
set -g status-utf8 on
29+
set -g status-justify left
30+
set -g status-bg default
31+
set -g status-fg colour12
32+
set -g status-interval 2
33+
34+
# messaging
35+
set -g message-fg black
36+
set -g message-bg yellow
37+
set -g message-command-fg blue
38+
set -g message-command-bg black
39+
40+
#window mode
41+
setw -g mode-bg colour6
42+
setw -g mode-fg colour0
43+
44+
# window status
45+
setw -g window-status-format " #F#I:#W#F "
46+
setw -g window-status-current-format " #F#I:#W#F "
47+
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
48+
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
49+
setw -g window-status-current-bg colour0
50+
setw -g window-status-current-fg colour11
51+
setw -g window-status-current-attr dim
52+
setw -g window-status-bg green
53+
setw -g window-status-fg black
54+
setw -g window-status-attr reverse
55+
56+
# Info on left (I don't have a session display for now)
57+
set -g status-left ''
58+
59+
# loud or quiet?
60+
set-option -g visual-activity off
61+
set-option -g visual-bell off
62+
set-option -g visual-silence off
63+
set-window-option -g monitor-activity off
64+
set-option -g bell-action none
65+
66+
set -g default-terminal "screen-256color"
67+
68+
# The modes {
69+
setw -g clock-mode-colour colour135
70+
setw -g mode-attr bold
71+
setw -g mode-fg colour196
72+
setw -g mode-bg colour238
73+
74+
# }
75+
# The panes {
76+
77+
set -g pane-border-bg colour235
78+
set -g pane-border-fg colour238
79+
set -g pane-active-border-bg colour236
80+
set -g pane-active-border-fg colour51
81+
82+
# }
83+
# The statusbar {
84+
85+
set -g status-position bottom
86+
set -g status-bg colour234
87+
set -g status-fg colour137
88+
set -g status-attr dim
89+
set -g status-left ''
90+
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
91+
set -g status-right-length 50
92+
set -g status-left-length 20
93+
94+
setw -g window-status-current-fg colour81
95+
setw -g window-status-current-bg colour238
96+
setw -g window-status-current-attr bold
97+
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
98+
99+
setw -g window-status-fg colour138
100+
setw -g window-status-bg colour235
101+
setw -g window-status-attr none
102+
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
103+
104+
setw -g window-status-bell-attr bold
105+
setw -g window-status-bell-fg colour255
106+
setw -g window-status-bell-bg colour1
107+
108+
# }
109+
# The messages {
110+
111+
set -g message-attr bold
112+
set -g message-fg colour232
113+
set -g message-bg colour166
114+
115+
# }
116+
117+
######################################
118+
119+
bind c new-window -c "#{pane_current_path}"
120+
bind-key % split-window -h -c "#{pane_current_path}"
121+
bind-key '"' split-window -v -c "#{pane_current_path}"

.zshrc

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# If you come from bash you might have to change your $PATH.
2+
export PATH=$HOME/bin:/usr/local/bin:$PATH:/usr/share/elasticsearch/bin:/home/claude/Downloads/apache-maven-3.5.0/bin
3+
4+
# Path to your oh-my-zsh installation.
5+
export ZSH=/home/claude/.oh-my-zsh
6+
7+
# Set name of the theme to load. Optionally, if you set this to "random"
8+
# it'll load a random theme each time that oh-my-zsh is loaded.
9+
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
10+
ZSH_THEME="cypher"
11+
12+
# Uncomment the following line to use case-sensitive completion.
13+
# CASE_SENSITIVE="true"
14+
15+
# Uncomment the following line to use hyphen-insensitive completion. Case
16+
# sensitive completion must be off. _ and - will be interchangeable.
17+
# HYPHEN_INSENSITIVE="true"
18+
19+
# Uncomment the following line to disable bi-weekly auto-update checks.
20+
# DISABLE_AUTO_UPDATE="true"
21+
22+
# Uncomment the following line to change how often to auto-update (in days).
23+
# export UPDATE_ZSH_DAYS=13
24+
25+
# Uncomment the following line to disable colors in ls.
26+
# DISABLE_LS_COLORS="true"
27+
28+
# Uncomment the following line to disable auto-setting terminal title.
29+
# DISABLE_AUTO_TITLE="true"
30+
31+
# Uncomment the following line to enable command auto-correction.
32+
# ENABLE_CORRECTION="true"
33+
34+
# Uncomment the following line to display red dots whilst waiting for completion.
35+
# COMPLETION_WAITING_DOTS="true"
36+
37+
# Uncomment the following line if you want to disable marking untracked files
38+
# under VCS as dirty. This makes repository status check for large repositories
39+
# much, much faster.
40+
# DISABLE_UNTRACKED_FILES_DIRTY="true"
41+
42+
# Uncomment the following line if you want to change the command execution time
43+
# stamp shown in the history command output.
44+
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
45+
# HIST_STAMPS="mm/dd/yyyy"
46+
47+
# Would you like to use another custom folder than $ZSH/custom?
48+
# ZSH_CUSTOM=/path/to/new-custom-folder
49+
50+
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
51+
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
52+
# Example format: plugins=(rails git textmate ruby lighthouse)
53+
# Add wisely, as too many plugins slow down shell startup.
54+
plugins=(git, docker, jsontools, npm, vi-mode)
55+
56+
source $ZSH/oh-my-zsh.sh
57+
58+
# User configuration
59+
60+
# export MANPATH="/usr/local/man:$MANPATH"
61+
62+
# You may need to manually set your language environment
63+
# export LANG=en_US.UTF-8
64+
65+
# Preferred editor for local and remote sessions
66+
# if [[ -n $SSH_CONNECTION ]]; then
67+
# export EDITOR='vim'
68+
# else
69+
# export EDITOR='mvim'
70+
# fi
71+
72+
# Compilation flags
73+
# export ARCHFLAGS="-arch x86_64"
74+
75+
# ssh
76+
# export SSH_KEY_PATH="~/.ssh/rsa_id"
77+
78+
# Set personal aliases, overriding those provided by oh-my-zsh libs,
79+
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
80+
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
81+
# For a full list of active aliases, run `alias`.
82+
#
83+
# Example aliases
84+
# alias zshconfig="mate ~/.zshrc"
85+
# alias ohmyzsh="mate ~/.oh-my-zsh"
86+
alias c='code .'
87+
alias volup='amixer -D pulse sset Master 10%+'
88+
alias voldown='amixer -D pulse sset Master 10%-'
89+
alias explore='thunar'
90+
91+
export NVM_DIR="/home/claude/.nvm"
92+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

i3/config

+179
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
# This file has been auto-generated by i3-config-wizard(1).
2+
# It will not be overwritten, so edit it as you like.
3+
#
4+
# Should you change your keyboard layout some time, delete
5+
# this file and re-run i3-config-wizard(1).
6+
#
7+
8+
# i3 config file (v4)
9+
#
10+
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
11+
12+
set $mod Mod1
13+
14+
# Font for window titles. Will also be used by the bar unless a different font
15+
# is used in the bar {} block below.
16+
font pango:monospace 8
17+
18+
# This font is widely installed, provides lots of unicode glyphs, right-to-left
19+
# text rendering and scalability on retina/hidpi displays (thanks to pango).
20+
#font pango:DejaVu Sans Mono 8
21+
22+
# Before i3 v4.8, we used to recommend this one as the default:
23+
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
24+
# The font above is very space-efficient, that is, it looks good, sharp and
25+
# clear in small sizes. However, its unicode glyph coverage is limited, the old
26+
# X core fonts rendering does not support right-to-left and this being a bitmap
27+
# font, it doesn’t scale on retina/hidpi displays.
28+
29+
# Use Mouse+$mod to drag floating windows to their wanted position
30+
floating_modifier $mod
31+
32+
# start a terminal
33+
bindsym $mod+Return exec i3-sensible-terminal
34+
35+
# kill focused window
36+
bindsym $mod+Shift+q kill
37+
38+
# start dmenu (a program launcher)
39+
bindsym $mod+d exec dmenu_run
40+
# There also is the (new) i3-dmenu-desktop which only displays applications
41+
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
42+
# installed.
43+
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
44+
45+
# change focus
46+
bindsym $mod+j focus left
47+
bindsym $mod+k focus down
48+
bindsym $mod+l focus up
49+
bindsym $mod+semicolon focus right
50+
51+
# alternatively, you can use the cursor keys:
52+
bindsym $mod+Left focus left
53+
bindsym $mod+Down focus down
54+
bindsym $mod+Up focus up
55+
bindsym $mod+Right focus right
56+
57+
# move focused window
58+
bindsym $mod+Shift+j move left
59+
bindsym $mod+Shift+k move down
60+
bindsym $mod+Shift+l move up
61+
bindsym $mod+Shift+semicolon move right
62+
63+
# alternatively, you can use the cursor keys:
64+
bindsym $mod+Shift+Left move left
65+
bindsym $mod+Shift+Down move down
66+
bindsym $mod+Shift+Up move up
67+
bindsym $mod+Shift+Right move right
68+
69+
# split in horizontal orientation
70+
bindsym $mod+h split h
71+
72+
# split in vertical orientation
73+
bindsym $mod+v split v
74+
75+
# enter fullscreen mode for the focused container
76+
bindsym $mod+f fullscreen toggle
77+
78+
# change container layout (stacked, tabbed, toggle split)
79+
bindsym $mod+s layout stacking
80+
bindsym $mod+w layout tabbed
81+
bindsym $mod+e layout toggle split
82+
83+
# toggle tiling / floating
84+
bindsym $mod+Shift+space floating toggle
85+
86+
# change focus between tiling / floating windows
87+
bindsym $mod+space focus mode_toggle
88+
89+
# focus the parent container
90+
bindsym $mod+a focus parent
91+
92+
# focus the child container
93+
bindsym $mod+Shift+a focus child
94+
95+
set $workspace1 "1: MOOC #1 "
96+
set $workspace2 "2: Hacking "
97+
set $workspace3 "3: MOOC #2 "
98+
set $workspace4 "4: SysAdmin "
99+
set $workspace5 "5: MOOC #3 "
100+
set $workspace6 "6: DevOps "
101+
set $workspace7 "7: MOOC #4 "
102+
set $workspace8 "8: Monitoring "
103+
set $workspace9 "9: MOOC #5 "
104+
set $workspace10 "10: Research"
105+
106+
107+
# switch to workspace
108+
bindsym $mod+1 workspace $workspace1
109+
bindsym $mod+2 workspace $workspace2
110+
bindsym $mod+3 workspace $workspace3
111+
bindsym $mod+4 workspace $workspace4
112+
bindsym $mod+5 workspace $workspace5
113+
bindsym $mod+6 workspace $workspace6
114+
bindsym $mod+7 workspace $workspace7
115+
bindsym $mod+8 workspace $workspace8
116+
bindsym $mod+9 workspace $workspace9
117+
bindsym $mod+0 workspace $workspace10
118+
119+
# move focused container to workspace
120+
bindsym $mod+Shift+1 move container to workspace $workspace1
121+
bindsym $mod+Shift+2 move container to workspace $workspace2
122+
bindsym $mod+Shift+3 move container to workspace $workspace3
123+
bindsym $mod+Shift+4 move container to workspace $workspace4
124+
bindsym $mod+Shift+5 move container to workspace $workspace5
125+
bindsym $mod+Shift+6 move container to workspace $workspace6
126+
bindsym $mod+Shift+7 move container to workspace $workspace7
127+
bindsym $mod+Shift+8 move container to workspace $workspace8
128+
bindsym $mod+Shift+9 move container to workspace $workspace9
129+
bindsym $mod+Shift+0 move container to workspace $workspace10
130+
131+
# reload the configuration file
132+
bindsym $mod+Shift+c reload
133+
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
134+
bindsym $mod+Shift+r restart
135+
# exit i3 (logs you out of your X session)
136+
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'"
137+
138+
# resize window (you can also use the mouse for that)
139+
mode "resize" {
140+
# These bindings trigger as soon as you enter the resize mode
141+
142+
# Pressing left will shrink the window’s width.
143+
# Pressing right will grow the window’s width.
144+
# Pressing up will shrink the window’s height.
145+
# Pressing down will grow the window’s height.
146+
bindsym j resize shrink width 10 px or 10 ppt
147+
bindsym k resize grow height 10 px or 10 ppt
148+
bindsym l resize shrink height 10 px or 10 ppt
149+
bindsym semicolon resize grow width 10 px or 10 ppt
150+
151+
# same bindings, but for the arrow keys
152+
bindsym Left resize shrink width 10 px or 10 ppt
153+
bindsym Down resize grow height 10 px or 10 ppt
154+
bindsym Up resize shrink height 10 px or 10 ppt
155+
bindsym Right resize grow width 10 px or 10 ppt
156+
157+
# back to normal: Enter or Escape
158+
bindsym Return mode "default"
159+
bindsym Escape mode "default"
160+
}
161+
162+
bindsym $mod+r mode "resize"
163+
164+
# Start i3bar to display a workspace bar (plus the system information i3status
165+
# finds out, if available)
166+
bar {
167+
status_command i3status
168+
tray_output primary
169+
}
170+
171+
bindsym $mod+shift+x exec i3lock
172+
173+
assign [class="Spotify"] $workspace8
174+
exec Spotify
175+
exec guake
176+
177+
exec_always feh --bg-scale ~/Pictures/wallpaper1.jpg
178+
179+
exec xrandr --output VGA-1 --mode 1920x1080 --pos 1366x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output eDP-1 --primary --mode 1366x768 --pos 0x312 --rotate normal

wallpaper1.jpg

294 KB
Loading

0 commit comments

Comments
 (0)