Skip to content

Commit 669bdb5

Browse files
committed
some tmux configurations
1 parent 975a296 commit 669bdb5

File tree

8 files changed

+89
-48
lines changed

8 files changed

+89
-48
lines changed

Diff for: .Xmodmap

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
! clear Lock
2+
! ! clear Control
3+
! keycode 9 = Caps_Lock
4+
! keycode 66 = Escape
5+
! add Lock = Caps_Lock
6+

Diff for: .Xresources

+7-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
!j!URxvt*font: xft:Fira Code Retina:pixelsize=27;hinting=True;antialias=Tru
33
! special
44
!
5-
/*st.font: JetBrainsMono Nerd Font:style:Regular:pixelsize=18*/
5+
!*st.font: JetBrainsMono Nerd Font:style:Regular:pixelsize=18*/*/
66

7-
st.font: JetBrainsMono:style:Regular:pixelsize=19
8-
/*st.font: UbuntuMono:style:Bront:pixelsize=19*/
7+
/*st.font: JetBrainsMono:style:Regular:pixelsize=19*/
8+
!st.font: UbuntuMono:style:Bront:pixelsize=19
9+
st.font: FiraCodeNerdFont:style:Medium:pixelsize=19
910
/*st.font: UbuntuMono:style:Bront:pixelsize=20*/
1011
/*st.font: UbuntuMono:style:Bront:pixelsize=25*/
1112

@@ -14,8 +15,10 @@ st.font: JetBrainsMono:style:Regular:pixelsize=19
1415
! st.font: Agave:style:regular:pixelsize=20
1516
! st.font: Agave Nerd Font:style:regular:pixelsize=20
1617
! Xft.antialias: 1
18+
19+
1720
Xft.hinting: 1
18-
Xft.autohint: 0
21+
Xft.autohint: 1
1922
Xft.hintstyle: hintslight
2023
Xft.rgba: rgb
2124
Xft.lcdfilter: lcddefault

Diff for: .bash_profile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
xmodmap ~/.Xmodmap
2+
13
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
24
neofetch
35
#curl -L http://git.io/ryucolor
46
startx
57
# setxkbmap -layout us,latam
68
# setxkbmap -option 'grp:alt_shift_toggle'
79
fi
8-
. "/home/ming/.deno/env"
10+
. "/home/ming/.deno/env"

Diff for: .bashrc

+5
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ export DEFAULT_RECIPIENT="[email protected]"
1717
alias rel="xrdb merge ~/.Xresources && kill -USR1 $(pidof st)"
1818
. "/home/ming/.deno/env"
1919
export PATH=$PATH:$ANDROID_HOME/platform-tools
20+
export PATH=~/bin:$PATH
2021

2122
# The next line updates PATH for the Google Cloud SDK.
2223
if [ -f '/home/ming/gcloud/google-cloud-sdk/path.bash.inc' ]; then . '/home/ming/gcloud/google-cloud-sdk/path.bash.inc'; fi
2324

2425
# The next line enables shell command completion for gcloud.
2526
if [ -f '/home/ming/gcloud/google-cloud-sdk/completion.bash.inc' ]; then . '/home/ming/gcloud/google-cloud-sdk/completion.bash.inc'; fi
27+
28+
if [ -f ~/.config/exercism/exercism_completion.bash ]; then
29+
source ~/.config/exercism/exercism_completion.bash
30+
fi

Diff for: .config/ghostty/config

+32-27
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# The syntax is "key = value". The whitespace around the
33
# equals doesn't matter.
4-
#background = 1e1e1e
4+
# background = 1e1e1e
55
# foreground = ffffff
66

77
# Comments start with a `#` and are only valid on their own line.
@@ -10,29 +10,34 @@
1010
keybind = ctrl+z=close_surface
1111
#keybind = ctrl+d=new_split:right
1212

13-
# Empty values reset the configuration to the default value
14-
theme = catppuccin-mocha
15-
# flat, raised, raised-border
16-
gtk-titlebar = false
17-
font-family =
18-
macos-titlebar-style = hidden
19-
20-
cursor-style = bar
21-
cursor-style-blink = true
22-
adjust-cursor-thickness = 1
23-
24-
# light , dark, system, auto, ghostty
25-
window-theme = dark
26-
window-padding-x = 0
27-
window-padding-y = 0
28-
window-padding-balance = true
29-
#window-padding-color = extend-always
30-
window-padding-color = background
31-
window-inherit-working-directory = true
32-
window-inherit-font-size = true
33-
window-decoration = false
34-
35-
gtk-titlebar = true
36-
gtk-single-instance = true
37-
gtk-tabs-location = bottom
38-
gtk-wide-tabs = false
13+
# Empty values reset the configuration to the default value
14+
theme = catppuccin-mocha
15+
# flat, raised, raised-border
16+
gtk-titlebar = true
17+
font-family =
18+
macos-titlebar-style = hidden
19+
20+
cursor-style = bar
21+
cursor-style-blink = true
22+
#adjust-cursor-thickness = 1
23+
24+
resize-overlay = never
25+
copy-on-select = false
26+
confirm-close-surface = false
27+
mouse-hide-while-typing = true
28+
29+
# light , dark, system, auto, ghostty
30+
window-theme = ghostty
31+
window-padding-x = 0
32+
window-padding-y = 0
33+
window-padding-balance = true
34+
window-padding-color = background
35+
window-inherit-working-directory = true
36+
window-inherit-font-size = true
37+
window-decoration = false
38+
39+
40+
gtk-titlebar = false
41+
gtk-single-instance = true
42+
gtk-tabs-location = bottom
43+
gtk-wide-tabs = false

Diff for: .config/i3/config

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
exec_always xrdb merge $HOME/.Xresources
2-
exec_always $HOME/start.sh
2+
exec_always xmodmap ~/.Xmodmap
3+
#exec_always $HOME/start.sh
34
exec_always nm-applet
45
exec_always blueman-applet
56
exec_always dunst
@@ -64,8 +65,8 @@ floating_modifier $mod
6465
# bindsym $mod+Return exec alacritty
6566
#bindsym $mod+Return exec xfce4-terminal
6667
#bindsym $mod+Return exec xst
67-
#bindsym $mod+Return exec st
68-
bindsym $mod+Return exec ghostty
68+
bindsym $mod+Return exec st
69+
# bindsym $mod+Return exec ghostty
6970
bindsym $mod+Left exec playerctl previous
7071
bindsym $mod+Right exec playerctl next
7172
bindsym $mod+Up exec playerctl play-pause

Diff for: .config/tmux/tmux-nerd-font-window-name.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config:
2+
fallback-icon: "?" # show when no definition is found
3+
multi-pane-icon: "" # show when window has multiple panes (blank by default)
4+
show-name: true # show the window name with the icon (defaults to false)
5+
icon-position: "left" # show the icon to the "left" or "right" of the window name (defaults to left)
6+
7+
icons:
8+
bash: "" # overwrite with your own symbol (Nerd Font icon, emoji, whatever!)

Diff for: .tmux.conf

+24-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#bind C-Space send-prefix
1+
unbind C-b
2+
set -g prefix C-Space
3+
bind C-Space send-prefix
4+
25
set-option -g default-shell $SHELL
36
set -g renumber-windows on
47
bind -n M-Left select-pane -L
@@ -11,14 +14,25 @@ set-option -g default-command bash
1114
# Configure the catppuccin plugin
1215
set -g @catppuccin_flavor "mocha"
1316
# "latte", "frappe", "macchiato", or "mocha".
14-
set -g @catppuccin_window_status_style "rounded"
1517
# rounded, slanted, basic,
18+
set -g @catppuccin_window_status_style 'rounded'
19+
set -g @catppuccin_window_number_position 'right'
20+
set -g @catppuccin_window_status 'no'
21+
22+
set -ogq @catppuccin_window_text " #W"
23+
set -ogq @catppuccin_window_number "#I"
24+
set -ogq @catppuccin_pane_default_text "##{W}"
1625

17-
#set -g @catppuccin_window_status_style "rounded"
18-
# latte, frappe, macchiato or mocha
26+
set -g @catppuccin_window_default_text '#W'
27+
set -g @catppuccin_window_current_fill 'number'
28+
set -g @catppuccin_window_current_text '#W'
29+
set -g @catppuccin_window_current_color '#{E:@thm_surface_2}'
30+
set -g @catppuccin_date_time_text '%d.%m. %H:%M'
31+
set -g @catppuccin_status_module_text_bg '#{E:@thm_mantle}'
1932

2033
set-option -sa terminal-overrides ",xterm*:Tc"
2134
# Make the status line pretty and add some modules
35+
set -g renumber-window on
2236
set -g status-right-length 100
2337
set -g status-left-length 100
2438
set -g status-left ""
@@ -30,22 +44,16 @@ set -agF status-right "#{E:@catppuccin_status_battery}"
3044

3145

3246
bind r source-file ~/.tmux.conf
33-
set-option -g status-position bottom
47+
#Wset-option -g status-position bottom
3448
# set-option -g status-position top
3549
set -g base-index 1
50+
set -g pane-base-index 1
3651
set -g mouse on
3752
#set -g history-limit 3000
3853
setw -g mode-keys vi
3954
set -g status-keys vi
40-
55+
#set -g @catppuccin_status_background "none"
4156
#tmux_conf_theme_pane_border_style=thin
42-
set -g pane-base-index 1
43-
#setw -g window-status-format "#[bg=colour246,fg=colour0,noreverse]█▓░ #W "
44-
#setw -g window-status-format "#[bg=61,fg=colour0,noreverse] #W "
45-
#setw -g window-status-current-format "#[bg=colour190,fg=colour0,noreverse]█▓░ #W "
46-
#setw -g window-status-current-format "#[bg=colour2,fg=colour0,noreverse] #W "
47-
# info on right
48-
4957

5058
#set-option -g pane-active-border-style "bg=default"
5159
#set-option -ag pane-active-border-style "fg=colour0"
@@ -82,9 +90,12 @@ bind -n M-h resize-pane -L 5
8290
bind -n M-l resize-pane -R 5
8391

8492

93+
set-option -g status-style bg=default
94+
8595
# List of plugins
8696
set -g @plugin 'catppuccin/tmux#v2.1.2' # See https://github.com/catppuccin/tmux/tags for additional tags
8797
set -g @plugin 'tmux-plugins/tpm'
98+
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
8899
set -g @plugin 'tmux-plugins/tmux-battery'
89100
set -g @plugin 'tmux-plugins/tmux-cpu'
90101
set -g @plugin 'tmux-plugins/tmux-yank'

0 commit comments

Comments
 (0)