-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
118 lines (97 loc) · 3.83 KB
/
config
File metadata and controls
118 lines (97 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# #######################################################################################
# _ ___ ___ _ _ ___ ___ ___ _ _ ___ _ _____ ___ ___ ___ _ _ ___ ___ ___
# (_) __| / __|/ _ \| \| | __|_ _/ __| | | | _ \ /_\_ _/ __|_ _/ _ \| \| | __|_ _/ __|
# | \__ \ | (__| (_) | .` | _| | | (_ | |_| | // _ \| | \__ \| | (_) | .` | _| | | (__
# |_|___/ \___|\___/|_|\_|_| |___\___|\___/|_|_/_/ \_\_| |___/___\___/|_|\_|_| |___\___|
#
# Custom i3wm (X11) configuration for Arch Linux
# #######################################################################################
# --- Modifier Key (Mod4 = Windows Key / Cmd on Mac) ---
set $mod Mod4
# --- Font ---
font pango:JetBrainsMono Nerd Font 10
# --- Core Keyboard Bindings ---
# Use Kitty as primary terminal
bindsym $mod+Return exec kitty
# Kill active window
bindsym $mod+Shift+q kill
# Launch application finder menu (dmenu)
bindsym $mod+d exec dmenu_run
# Floating/Tiling toggles
bindsym $mod+Shift+space floating_toggle
bindsym $mod+space focus mode_toggle
# Split directions
bindsym $mod+h split h
bindsym $mod+v split v
# Fullscreen toggle
bindsym $mod+f fullscreen toggle
# Restart/Reload i3 configs
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3?' -B 'Yes, exit' 'i3-msg exit'"
# --- Window Focus Controls (Vim bindings) ---
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# Alternatively use Arrow Keys
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move Windows (Vim bindings)
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# Alternatively use Arrow Keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# --- Workspace Layout Allocations ---
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
# Switch workspaces
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
# Move window to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
# --- Sound & Volume Controls ---
# Binds directly to ALSA sound control utility (alsa-utils)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
# --- Custom System Aesthetics (Cyberpunk Color Theme) ---
# class border backgr. text indicator child_border
client.focused #00ffcc #1e1e2e #00ffcc #00ffcc #00ffcc
client.focused_inactive #313244 #1e1e2e #cdd6f4 #313244 #313244
client.unfocused #1e1e2e #11111b #a6adc8 #1e1e2e #1e1e2e
client.urgent #f38ba8 #11111b #f38ba8 #f38ba8 #f38ba8
# --- Wallpaper setup (X11 backgrounds via feh) ---
exec_always --no-startup-id feh --bg-scale /usr/share/backgrounds/arch-neon.png
# --- Default Bar setup ---
bar {
status_command i3status
position top
colors {
background #11111b
statusline #cdd6f4
separator #585b70
# class border backgr. text
focused_workspace #00ffcc #1e1e2e #00ffcc
active_workspace #313244 #11111b #cdd6f4
inactive_workspace #11111b #11111b #585b70
urgent_workspace #f38ba8 #11111b #f38ba8
}
}