Skip to content

Commit c7314fb

Browse files
committed
Add config files for arch installation
1 parent d024eb3 commit c7314fb

8 files changed

+3075
-5
lines changed

config_files/aliases.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ alias sshat='ssh -L 8080:127.0.0.1:8080 -Y [email protected]'
22
alias sshat1='ssh -L 8080:127.0.0.1:8080 -Y [email protected]'
33
alias sshat2='ssh -L 8080:127.0.0.1:8080 -Y [email protected]'
44
alias sshi6='ssh -L 8080:127.0.0.1:8080 -Y cadmium'
5+
alias icat='kitten icat'
56

67
# scp functions #
78
scpfromat(){

config_files/i3_config

+221
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
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 https://i3wm.org/docs/userguide.html for a complete reference!
11+
12+
set $mod Mod1
13+
14+
exec_always --no-startup-id ~/.config/polybar/launch_polybar.sh
15+
exec feh --bg-fill ~/Pictures/stable_diffusion/00003-2421192502.png
16+
bindsym $mod+space exec rofi -show combi
17+
18+
exec --no-startup-id picom
19+
20+
exec xrandr --output DP-2 --mode 1920x1080 --rate 60 --scale 1.3333x1.3333 --pos 0x0 --output DP-1 --mode 2560x1440 --rate 144 --scale 1x1 --pos 2560x0 --primary
21+
exec xset r rate 200 100
22+
23+
# Font for window titles. Will also be used by the bar unless a different font
24+
# is used in the bar {} block below.
25+
font pango:Meslo LGM Nerd Font 18
26+
27+
# This font is widely installed, provides lots of unicode glyphs, right-to-left
28+
# text rendering and scalability on retina/hidpi displays (thanks to pango).
29+
#font pango:DejaVu Sans Mono 8
30+
31+
# Start XDG autostart .desktop files using dex. See also
32+
# https://wiki.archlinux.org/index.php/XDG_Autostart
33+
exec --no-startup-id dex --autostart --environment i3
34+
35+
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
36+
# they are included here as an example. Modify as you see fit.
37+
38+
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
39+
# screen before suspend. Use loginctl lock-session to lock your screen.
40+
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
41+
42+
# NetworkManager is the most popular way to manage wireless networks on Linux,
43+
# and nm-applet is a desktop environment-independent system tray GUI for it.
44+
exec --no-startup-id nm-applet
45+
46+
# Use pactl to adjust volume in PulseAudio.
47+
set $refresh_i3status killall -SIGUSR1 i3status
48+
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
49+
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
50+
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
51+
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
52+
53+
# Use Mouse+$mod to drag floating windows to their wanted position
54+
floating_modifier $mod
55+
56+
# move tiling windows via drag & drop by left-clicking into the title bar,
57+
# or left-clicking anywhere into the window while holding the floating modifier.
58+
tiling_drag modifier titlebar
59+
60+
# start a terminal
61+
bindsym $mod+Return exec i3-sensible-terminal
62+
63+
# kill focused window
64+
bindsym $mod+Shift+q kill
65+
66+
# start dmenu (a program launcher)
67+
bindsym $mod+d exec --no-startup-id dmenu_run
68+
# A more modern dmenu replacement is rofi:
69+
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
70+
# There also is i3-dmenu-desktop which only displays applications shipping a
71+
# .desktop file. It is a wrapper around dmenu, so you need that installed.
72+
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
73+
74+
# change focus
75+
bindsym $mod+h focus left
76+
bindsym $mod+j focus down
77+
bindsym $mod+k focus up
78+
bindsym $mod+l focus right
79+
80+
# alternatively, you can use the cursor keys:
81+
bindsym $mod+Left focus left
82+
bindsym $mod+Down focus down
83+
bindsym $mod+Up focus up
84+
bindsym $mod+Right focus right
85+
86+
# move focused window
87+
bindsym $mod+Shift+h move left
88+
bindsym $mod+Shift+j move down
89+
bindsym $mod+Shift+k move up
90+
bindsym $mod+Shift+l move right
91+
92+
# alternatively, you can use the cursor keys:
93+
bindsym $mod+Shift+Left move left
94+
bindsym $mod+Shift+Down move down
95+
bindsym $mod+Shift+Up move up
96+
bindsym $mod+Shift+Right move right
97+
98+
# split in horizontal orientation
99+
bindsym $mod+\ split h
100+
101+
# split in vertical orientation
102+
bindsym $mod+| split v
103+
104+
# enter fullscreen mode for the focused container
105+
bindsym $mod+f fullscreen toggle
106+
107+
# change container layout (stacked, tabbed, toggle split)
108+
bindsym $mod+s layout stacking
109+
bindsym $mod+w layout tabbed
110+
bindsym $mod+e layout toggle split
111+
112+
# toggle tiling / floating
113+
# bindsym $mod+Shift+space floating toggle
114+
115+
# change focus between tiling / floating windows
116+
# bindsym $mod+space focus mode_toggle
117+
118+
# focus the parent container
119+
bindsym $mod+a focus parent
120+
121+
# focus the child container
122+
#bindsym $mod+d focus child
123+
124+
# Define names for default workspaces for which we configure key bindings later on.
125+
# We use variables to avoid repeating the names in multiple places.
126+
set $ws1 "1"
127+
set $ws2 "2"
128+
set $ws3 "3"
129+
set $ws4 "4"
130+
set $ws5 "5"
131+
set $ws6 "6"
132+
set $ws7 "7"
133+
set $ws8 "8"
134+
set $ws9 "9"
135+
set $ws10 "10"
136+
137+
# switch to workspace
138+
bindsym $mod+1 workspace number $ws1
139+
bindsym $mod+2 workspace number $ws2
140+
bindsym $mod+3 workspace number $ws3
141+
bindsym $mod+4 workspace number $ws4
142+
bindsym $mod+5 workspace number $ws5
143+
bindsym $mod+6 workspace number $ws6
144+
bindsym $mod+7 workspace number $ws7
145+
bindsym $mod+8 workspace number $ws8
146+
bindsym $mod+9 workspace number $ws9
147+
bindsym $mod+0 workspace number $ws10
148+
149+
# move focused container to workspace
150+
bindsym $mod+Shift+1 move container to workspace number $ws1
151+
bindsym $mod+Shift+2 move container to workspace number $ws2
152+
bindsym $mod+Shift+3 move container to workspace number $ws3
153+
bindsym $mod+Shift+4 move container to workspace number $ws4
154+
bindsym $mod+Shift+5 move container to workspace number $ws5
155+
bindsym $mod+Shift+6 move container to workspace number $ws6
156+
bindsym $mod+Shift+7 move container to workspace number $ws7
157+
bindsym $mod+Shift+8 move container to workspace number $ws8
158+
bindsym $mod+Shift+9 move container to workspace number $ws9
159+
bindsym $mod+Shift+0 move container to workspace number $ws10
160+
161+
# reload the configuration file
162+
bindsym $mod+Shift+c reload
163+
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
164+
bindsym $mod+Shift+r restart
165+
# exit i3 (logs you out of your X session)
166+
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'"
167+
168+
# resize window (you can also use the mouse for that)
169+
mode "resize" {
170+
# These bindings trigger as soon as you enter the resize mode
171+
172+
# Pressing left will shrink the window’s width.
173+
# Pressing right will grow the window’s width.
174+
# Pressing up will shrink the window’s height.
175+
# Pressing down will grow the window’s height.
176+
bindsym j resize shrink width 10 px or 10 ppt
177+
bindsym k resize grow height 10 px or 10 ppt
178+
bindsym l resize shrink height 10 px or 10 ppt
179+
bindsym semicolon resize grow width 10 px or 10 ppt
180+
181+
# same bindings, but for the arrow keys
182+
bindsym Left resize shrink width 10 px or 10 ppt
183+
bindsym Down resize grow height 10 px or 10 ppt
184+
bindsym Up resize shrink height 10 px or 10 ppt
185+
bindsym Right resize grow width 10 px or 10 ppt
186+
187+
# back to normal: Enter or Escape or $mod+r
188+
bindsym Return mode "default"
189+
bindsym Escape mode "default"
190+
bindsym $mod+r mode "default"
191+
}
192+
193+
bindsym $mod+r mode "resize"
194+
195+
# Start i3bar to display a workspace bar (plus the system information i3status
196+
# finds out, if available)
197+
# bar {
198+
# status_command i3status
199+
# }
200+
201+
for_window [class="^.*"] border pixel 2
202+
default_border pixel 2
203+
default_floating_border pixel 2
204+
205+
set $Locker i3lock && sleep 1
206+
207+
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
208+
mode "$mode_system" {
209+
bindsym l exec --no-startup-id $Locker, mode "default"
210+
bindsym e exec --no-startup-id i3-msg exit, mode "default"
211+
bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
212+
bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
213+
bindsym r exec --no-startup-id systemctl reboot, mode "default"
214+
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
215+
216+
# back to normal: Enter or Escape
217+
bindsym Return mode "default"
218+
bindsym Escape mode "default"
219+
}
220+
221+
bindsym $mod+Escape mode "$mode_system"

config_files/kitty/current-theme.conf

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# vim:ft=kitty
2+
3+
## name: Catppuccin-Mocha
4+
## author: Pocco81 (https://github.com/Pocco81)
5+
## license: MIT
6+
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
7+
## blurb: Soothing pastel theme for the high-spirited!
8+
9+
10+
11+
# The basic colors
12+
foreground #CDD6F4
13+
background #1E1E2E
14+
selection_foreground #1E1E2E
15+
selection_background #F5E0DC
16+
17+
# Cursor colors
18+
cursor #F5E0DC
19+
cursor_text_color #1E1E2E
20+
21+
# URL underline color when hovering with mouse
22+
url_color #F5E0DC
23+
24+
# Kitty window border colors
25+
active_border_color #B4BEFE
26+
inactive_border_color #6C7086
27+
bell_border_color #F9E2AF
28+
29+
# OS Window titlebar colors
30+
wayland_titlebar_color system
31+
macos_titlebar_color system
32+
33+
# Tab bar colors
34+
active_tab_foreground #11111B
35+
active_tab_background #CBA6F7
36+
inactive_tab_foreground #CDD6F4
37+
inactive_tab_background #181825
38+
tab_bar_background #11111B
39+
40+
# Colors for marks (marked text in the terminal)
41+
mark1_foreground #1E1E2E
42+
mark1_background #B4BEFE
43+
mark2_foreground #1E1E2E
44+
mark2_background #CBA6F7
45+
mark3_foreground #1E1E2E
46+
mark3_background #74C7EC
47+
48+
# The 16 terminal colors
49+
50+
# black
51+
color0 #45475A
52+
color8 #585B70
53+
54+
# red
55+
color1 #F38BA8
56+
color9 #F38BA8
57+
58+
# green
59+
color2 #A6E3A1
60+
color10 #A6E3A1
61+
62+
# yellow
63+
color3 #F9E2AF
64+
color11 #F9E2AF
65+
66+
# blue
67+
color4 #89B4FA
68+
color12 #89B4FA
69+
70+
# magenta
71+
color5 #F5C2E7
72+
color13 #F5C2E7
73+
74+
# cyan
75+
color6 #94E2D5
76+
color14 #94E2D5
77+
78+
# white
79+
color7 #BAC2DE
80+
color15 #A6ADC8

0 commit comments

Comments
 (0)