Switch from alacritty to kitty
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
485da13e5e
commit
6b294fb7dd
10 changed files with 42 additions and 228 deletions
|
@ -53,6 +53,7 @@ CONFIG_LINKED_FILES_HOME=(
|
||||||
".config/yay"
|
".config/yay"
|
||||||
".config/zathura"
|
".config/zathura"
|
||||||
".config/zsh"
|
".config/zsh"
|
||||||
|
".config/kitty"
|
||||||
".local/bin"
|
".local/bin"
|
||||||
".local/share/gnupg/gpg-agent.conf"
|
".local/share/gnupg/gpg-agent.conf"
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,17 +17,15 @@
|
||||||
# the monitor names are different.
|
# the monitor names are different.
|
||||||
NVIDIA_CHECK="$(xrandr | grep "eDP-1-1 connected")"
|
NVIDIA_CHECK="$(xrandr | grep "eDP-1-1 connected")"
|
||||||
if [ -z "${NVIDIA_CHECK}" ]; then
|
if [ -z "${NVIDIA_CHECK}" ]; then
|
||||||
I3_SCREEN_CONFIG="${XDG_CONFIG_HOME}/i3/config.intel"
|
SCREEN_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.intel"
|
||||||
else
|
else
|
||||||
I3_SCREEN_CONFIG="${XDG_CONFIG_HOME}/i3/config.nvidia"
|
SCREEN_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.nvidia"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load different i3 configuration depending on if it's a work computer.
|
# Load different i3 configuration depending on the hostname
|
||||||
LOCAL_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.private"
|
HOST="$(hostname)"
|
||||||
if [ "${IS_WORK}" = "1" ]; then
|
HOST_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.${HOST}"
|
||||||
LOCAL_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.work"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat "${I3_SCREEN_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" "${LOCAL_I3_CONFIG}" > "${XDG_CONFIG_HOME}/i3/config"
|
cat "${SCREEN_I3_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" "${HOST_I3_CONFIG}" > "${XDG_CONFIG_HOME}/i3/config"
|
||||||
|
|
||||||
i3 > "${XDG_LOG_HOME}/i3.log" 2>&1
|
i3 > "${XDG_LOG_HOME}/i3.log" 2>&1
|
|
@ -22,7 +22,6 @@ setxkbmap -model pc105 -layout ch
|
||||||
numlockx &
|
numlockx &
|
||||||
|
|
||||||
# Start applications
|
# Start applications
|
||||||
picom -b --experimental-backends &
|
|
||||||
nm-applet &
|
nm-applet &
|
||||||
redshift-gtk &
|
redshift-gtk &
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
|
@ -111,7 +111,7 @@ export MTGA_WINE_BINARY="/usr/bin/wine"
|
||||||
# Setting applications
|
# Setting applications
|
||||||
export VISUAL=vim
|
export VISUAL=vim
|
||||||
export EDITOR="${VISUAL}"
|
export EDITOR="${VISUAL}"
|
||||||
export TERMINAL="alacritty"
|
export TERMINAL="kitty"
|
||||||
export BROWSER="chromium"
|
export BROWSER="chromium"
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export MANPAGER="${PAGER}"
|
export MANPAGER="${PAGER}"
|
||||||
|
|
|
@ -17,7 +17,7 @@ default-zoom-level='smaller'
|
||||||
show-desktop-icons=false
|
show-desktop-icons=false
|
||||||
|
|
||||||
[org/cinnamon/desktop/default-applications/terminal]
|
[org/cinnamon/desktop/default-applications/terminal]
|
||||||
exec='alacritty'
|
exec='kitty'
|
||||||
|
|
||||||
[desktop/ibus/general]
|
[desktop/ibus/general]
|
||||||
engines-order=['xkb:ch::ger', 'anthy']
|
engines-order=['xkb:ch::ger', 'anthy']
|
||||||
|
|
|
@ -1,19 +1,7 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Layouts #
|
# Layouts #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
exec --no-startup-id "i3-msg 'workspace 10: ; \
|
exec --no-startup-id "i3-msg 'workspace 2: ; exec kitty'"
|
||||||
append_layout /home/severin/.config/i3/workspace-10.json; \
|
|
||||||
exec alacritty --class=cmus -e ncmpcpp ; \
|
|
||||||
exec alacritty --class=cava -e cava ; \
|
|
||||||
exec kunst --music_dir /home/severin/music/ --size 512x512'"
|
|
||||||
|
|
||||||
exec --no-startup-id "i3-msg 'workspace 2: ; \
|
|
||||||
append_layout /home/severin/.config/i3/workspace-2.json; \
|
|
||||||
exec alacritty; \
|
|
||||||
exec alacritty; \
|
|
||||||
exec alacritty; \
|
|
||||||
exec alacritty'"
|
|
||||||
|
|
||||||
exec --no-startup-id "i3-msg 'workspace 1: '"
|
exec --no-startup-id "i3-msg 'workspace 1: '"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -21,11 +9,12 @@ exec --no-startup-id "i3-msg 'workspace 1: '"
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Setup monitor
|
# Setup monitor
|
||||||
exec_always --no-startup-id monitor-setup
|
exec_always --no-startup-id monitor-setup
|
||||||
|
exec_always --no-startup-id picom -b --experimental-backends
|
||||||
|
|
||||||
# Other applications
|
# Other applications
|
||||||
exec chromium
|
exec chromium
|
||||||
|
|
||||||
exec ferdi
|
exec discord
|
||||||
exec joplin-desktop
|
exec joplin-desktop
|
||||||
exec nemo
|
exec nemo
|
||||||
exec nemo
|
exec nemo
|
|
@ -1,96 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"fullscreen_mode": 0,
|
|
||||||
"layout": "splith",
|
|
||||||
"percent": 1,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splith",
|
|
||||||
"percent": 1,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": "cmus v2.7.1",
|
|
||||||
"percent": 0.7,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^cmus$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splitv",
|
|
||||||
"percent": 0.3,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 1080,
|
|
||||||
"width": 1920,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": "sxiv",
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^Kunst$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splith",
|
|
||||||
"percent": 0.5,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": "cava",
|
|
||||||
"percent": 1,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^cava$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,106 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"fullscreen_mode": 0,
|
|
||||||
"layout": "splith",
|
|
||||||
"percent": null,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splitv",
|
|
||||||
"percent": 0.5,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": null,
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^Alacritty$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": null,
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^Alacritty$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splitv",
|
|
||||||
"percent": 0.5,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": null,
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^Alacritty$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 434,
|
|
||||||
"width": 736,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": null,
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"instance": "^Alacritty$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
29
system/.config/kitty/kitty.conf
Normal file
29
system/.config/kitty/kitty.conf
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
font_family JetBrainsMono Nerd Font
|
||||||
|
bold_font JetBrainsMono Nerd Font
|
||||||
|
italic_font JetBrainsMono Nerd Font
|
||||||
|
bold_italic_font JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
font_size 14
|
||||||
|
window_padding_width 2
|
||||||
|
|
||||||
|
background_opacity 0.67
|
||||||
|
|
||||||
|
cursor_shape beam
|
||||||
|
|
||||||
|
color0 #252525
|
||||||
|
color1 #ff5252
|
||||||
|
color2 #c3d82c
|
||||||
|
color3 #ffd740
|
||||||
|
color4 #40c4ff
|
||||||
|
color5 #ff4081
|
||||||
|
color6 #70c0ba
|
||||||
|
color7 #eaeaea
|
||||||
|
|
||||||
|
color8 #252525
|
||||||
|
color9 #ff5252
|
||||||
|
color10 #c3d82c
|
||||||
|
color11 #ffd740
|
||||||
|
color12 #40c4ff
|
||||||
|
color13 #ff4081
|
||||||
|
color14 #54ced6
|
||||||
|
color15 #ffffff
|
|
@ -23,7 +23,7 @@ super + g
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Open terminal emulator
|
# Open terminal emulator
|
||||||
super + Return
|
super + Return
|
||||||
alacritty
|
kitty
|
||||||
|
|
||||||
# Open file browser
|
# Open file browser
|
||||||
super + e
|
super + e
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue