update tmux and alacritty
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
import = ["/home/j409/.config/alacritty/dracula.toml"]
|
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 13
|
size = 14
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "GeistMono Nerd Font"
|
family = "GeistMono Nerd Font"
|
||||||
|
style = "medium"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
y = 0
|
y = 0
|
||||||
@@ -19,3 +18,6 @@ dynamic_padding = true
|
|||||||
[window.padding]
|
[window.padding]
|
||||||
x = 12
|
x = 12
|
||||||
y = 12
|
y = 12
|
||||||
|
|
||||||
|
[general]
|
||||||
|
import = ["catppuccin-dark.toml"]
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
#! /bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||||
|
|
||||||
xrandr --output DisplayPort-1 --auto --primary --output DisplayPort-2 --auto --left-of DisplayPort-1 --output HDMI-A-0 --auto --right-of DisplayPort-1 --mode 1920x1080 --rate 144
|
xrandr --output DisplayPort-1 --off --output DisplayPort-2 --off --output HDMI-A-0 --off && \
|
||||||
|
xrandr --output DisplayPort-1 --primary --rate 144 --mode 2560x1440 --output DisplayPort-2 --mode 1920x1080 --rate 60 --left-of DisplayPort-1 --output HDMI-A-0 --mode 1920x1080 --rate 144 --right-of DisplayPort-1
|
||||||
|
|
||||||
bspc monitor DisplayPort-1 -d I II III
|
bspc monitor DisplayPort-1 -d I II III
|
||||||
bspc monitor HDMI-A-0 -d IV V VI
|
bspc monitor HDMI-A-0 -d IV V VI
|
||||||
|
|||||||
122
dunst/dunstrc
122
dunst/dunstrc
@@ -24,49 +24,47 @@
|
|||||||
# dynamic width from 0 to 300
|
# dynamic width from 0 to 300
|
||||||
# width = (0, 300)
|
# width = (0, 300)
|
||||||
# constant width of 300
|
# constant width of 300
|
||||||
width = (300, 400)
|
width = 300
|
||||||
|
|
||||||
# The maximum height of a single notification, excluding the frame.
|
# The maximum height of a single notification, excluding the frame.
|
||||||
height = 200
|
height = 300
|
||||||
|
|
||||||
# Position the notification in the top right corner
|
# Position the notification in the top right corner
|
||||||
origin = bottom-right
|
origin = top-right
|
||||||
|
|
||||||
# Offset from the origin
|
# Offset from the origin
|
||||||
offset = 8x40
|
offset = 20x20
|
||||||
|
|
||||||
# Scale factor. It is auto-detected if value is 0.
|
# Scale factor. It is auto-detected if value is 0.
|
||||||
scale = 0
|
scale = 0
|
||||||
|
|
||||||
highlight = "#89b4fa"
|
|
||||||
|
|
||||||
# Maximum number of notification (0 means no limit)
|
# Maximum number of notification (0 means no limit)
|
||||||
notification_limit = 20
|
notification_limit = 20
|
||||||
|
|
||||||
### Progress bar ###
|
### Progress bar ###
|
||||||
|
|
||||||
# Turn on the progess bar. It appears when a progress hint is passed with
|
# Turn on the progress bar. It appears when a progress hint is passed with
|
||||||
# for example dunstify -h int:value:12
|
# for example dunstify -h int:value:12
|
||||||
progress_bar = true
|
progress_bar = true
|
||||||
|
|
||||||
# Set the progress bar height. This includes the frame, so make sure
|
# Set the progress bar height. This includes the frame, so make sure
|
||||||
# it's at least twice as big as the frame width.
|
# it's at least twice as big as the frame width.
|
||||||
progress_bar_height = 12
|
progress_bar_height = 10
|
||||||
|
|
||||||
# Set the frame width of the progress bar
|
# Set the frame width of the progress bar
|
||||||
progress_bar_frame_width = 0
|
progress_bar_frame_width = 0
|
||||||
|
|
||||||
# Set the minimum width for the progress bar
|
# Set the minimum width for the progress bar
|
||||||
progress_bar_min_width = 150
|
progress_bar_min_width = 125
|
||||||
|
|
||||||
# Set the maximum width for the progress bar
|
# Set the maximum width for the progress bar
|
||||||
progress_bar_max_width = 300
|
progress_bar_max_width = 250
|
||||||
|
|
||||||
# Corner radius for the progress bar. 0 disables rounded corners.
|
# Corner radius for the progress bar. 0 disables rounded corners.
|
||||||
progress_bar_corner_radius = 4
|
progress_bar_corner_radius = 4
|
||||||
|
|
||||||
# Corner radius for the icon image.
|
# Corner radius for the icon image.
|
||||||
icon_corner_radius = 0
|
icon_corner_radius = 4
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of
|
# Show how many messages are currently hidden (because of
|
||||||
# notification_limit).
|
# notification_limit).
|
||||||
@@ -75,35 +73,35 @@
|
|||||||
# The transparency of the window. Range: [0; 100].
|
# The transparency of the window. Range: [0; 100].
|
||||||
# This option will only work if a compositing window manager is
|
# This option will only work if a compositing window manager is
|
||||||
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
||||||
transparency = 0
|
transparency = 10
|
||||||
|
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
# If gap_size is greater than 0, this setting will be ignored.
|
# If gap_size is greater than 0, this setting will be ignored.
|
||||||
separator_height = 0
|
separator_height = 2
|
||||||
|
|
||||||
# Padding between text and separator.
|
# Padding between text and separator.
|
||||||
padding = 12
|
padding = 8
|
||||||
|
|
||||||
# Horizontal padding.
|
# Horizontal padding.
|
||||||
horizontal_padding = 12
|
horizontal_padding = 8
|
||||||
|
|
||||||
# Padding between text and icon.
|
# Padding between text and icon.
|
||||||
text_icon_padding = 0
|
text_icon_padding = 10
|
||||||
|
|
||||||
# Defines width in pixels of frame around the notification window.
|
# Defines width in pixels of frame around the notification window.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
frame_width = 2
|
frame_width = 5
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
# Defines color of the frame around the notification window.
|
||||||
frame_color = "#44475a"
|
#frame_color = "#eba0ac"
|
||||||
|
|
||||||
# Size of gap to display between notifications - requires a compositor.
|
# Size of gap to display between notifications - requires a compositor.
|
||||||
# If value is greater than 0, separator_height will be ignored and a border
|
# If value is greater than 0, separator_height will be ignored and a border
|
||||||
# of size frame_width will be drawn around each notification instead.
|
# of size frame_width will be drawn around each notification instead.
|
||||||
# Click events on gaps do not currently propagate to applications below.
|
# Click events on gaps do not currently propagate to applications below.
|
||||||
gap_size = 8
|
gap_size = 5
|
||||||
|
|
||||||
# Define a color for the separator.
|
# Define a color for the separator.
|
||||||
# possible values are:
|
# possible values are:
|
||||||
@@ -111,7 +109,7 @@
|
|||||||
# * foreground: use the same color as the foreground;
|
# * foreground: use the same color as the foreground;
|
||||||
# * frame: use the same color as the frame;
|
# * frame: use the same color as the frame;
|
||||||
# * anything else will be interpreted as a X color.
|
# * anything else will be interpreted as a X color.
|
||||||
separator_color = frame
|
separator_color = auto
|
||||||
|
|
||||||
# Sort messages by urgency.
|
# Sort messages by urgency.
|
||||||
sort = yes
|
sort = yes
|
||||||
@@ -125,11 +123,11 @@
|
|||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = "Geist 13"
|
font = mononoki Nerd Font 8
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
line_height = 0
|
line_height = 3
|
||||||
|
|
||||||
# Possible values are:
|
# Possible values are:
|
||||||
# full: Allow a small subset of html markup in notifications:
|
# full: Allow a small subset of html markup in notifications:
|
||||||
@@ -165,7 +163,7 @@
|
|||||||
# %n progress value if set without any extra characters
|
# %n progress value if set without any extra characters
|
||||||
# %% Literal %
|
# %% Literal %
|
||||||
# Markup is allowed
|
# Markup is allowed
|
||||||
format = "<b>%s</b>\n%b"
|
format = "%s\n%b"
|
||||||
|
|
||||||
# Alignment of message text.
|
# Alignment of message text.
|
||||||
# Possible values are "left", "center" and "right".
|
# Possible values are "left", "center" and "right".
|
||||||
@@ -200,15 +198,15 @@
|
|||||||
|
|
||||||
# Recursive icon lookup. You can set a single theme, instead of having to
|
# Recursive icon lookup. You can set a single theme, instead of having to
|
||||||
# define all lookup paths.
|
# define all lookup paths.
|
||||||
enable_recursive_icon_lookup = true
|
#enable_recursive_icon_lookup = true
|
||||||
|
|
||||||
# Set icon theme (only used for recursive icon lookup)
|
# Set icon theme (only used for recursive icon lookup)
|
||||||
icon_theme = "Colloid-Dark, Adwaita"
|
#icon_theme = Adwaita
|
||||||
# You can also set multiple icon themes, with the leftmost one being used first.
|
# You can also set multiple icon themes, with the leftmost one being used first.
|
||||||
# icon_theme = "Adwaita, breeze"
|
icon_theme = "Tela-circle-dracula"
|
||||||
|
|
||||||
# Align icons left/right/top/off
|
# Align icons left/right/top/off
|
||||||
icon_position = right
|
icon_position = left
|
||||||
|
|
||||||
# Scale small icons up to this size, set to 0 to disable. Helpful
|
# Scale small icons up to this size, set to 0 to disable. Helpful
|
||||||
# for e.g. small files or high-dpi screens. In case of conflict,
|
# for e.g. small files or high-dpi screens. In case of conflict,
|
||||||
@@ -218,8 +216,8 @@
|
|||||||
# Scale larger icons down to this size, set to 0 to disable
|
# Scale larger icons down to this size, set to 0 to disable
|
||||||
max_icon_size = 128
|
max_icon_size = 128
|
||||||
|
|
||||||
# Paths to default icons (only neccesary when not using recursive icon lookup)
|
# Paths to default icons (only necessary when not using recursive icon lookup)
|
||||||
icon_path = /home/j409/.icons/fas/
|
icon_path = /home/j409/.icons/Tela-circle-dracula/16/actions:/home/j409/.icons/Tela-circle-dracula/16/apps:/home/j409/.icons/Tela-circle-dracula/16/devices:/home/j409/.icons/Tela-circle-dracula/16/mimetypes:/home/j409/.icons/Tela-circle-dracula/16/panel:/home/j409/.icons/Tela-circle-dracula/16/places:/home/j409/.icons/Tela-circle-dracula/16/status
|
||||||
|
|
||||||
### History ###
|
### History ###
|
||||||
|
|
||||||
@@ -233,7 +231,7 @@
|
|||||||
### Misc/Advanced ###
|
### Misc/Advanced ###
|
||||||
|
|
||||||
# dmenu path.
|
# dmenu path.
|
||||||
dmenu = /usr/bin/dmenu -p dunst:
|
dmenu = /usr/bin/rofi -config "/home/j409/.config/rofi/notification.rasi" -dmenu -p dunst:
|
||||||
|
|
||||||
# Browser for opening urls in context menu.
|
# Browser for opening urls in context menu.
|
||||||
browser = /usr/bin/xdg-open
|
browser = /usr/bin/xdg-open
|
||||||
@@ -252,7 +250,7 @@
|
|||||||
# corners.
|
# corners.
|
||||||
# The radius will be automatically lowered if it exceeds half of the
|
# The radius will be automatically lowered if it exceeds half of the
|
||||||
# notification height to avoid clipping text and/or icons.
|
# notification height to avoid clipping text and/or icons.
|
||||||
corner_radius = 0
|
corner_radius = 4
|
||||||
|
|
||||||
# Ignore the dbus closeNotification message.
|
# Ignore the dbus closeNotification message.
|
||||||
# Useful to enforce the timeout set by dunst configuration. Without this
|
# Useful to enforce the timeout set by dunst configuration. Without this
|
||||||
@@ -263,7 +261,7 @@
|
|||||||
### Wayland ###
|
### Wayland ###
|
||||||
# These settings are Wayland-specific. They have no effect when using X11
|
# These settings are Wayland-specific. They have no effect when using X11
|
||||||
|
|
||||||
# Uncomment this if you want to let notications appear under fullscreen
|
# Uncomment this if you want to let notifications appear under fullscreen
|
||||||
# applications (default: overlay)
|
# applications (default: overlay)
|
||||||
# layer = top
|
# layer = top
|
||||||
|
|
||||||
@@ -297,12 +295,12 @@
|
|||||||
# * context_all: Open context menu for all notifications.
|
# * context_all: Open context menu for all notifications.
|
||||||
# These values can be strung together for each mouse event, and
|
# These values can be strung together for each mouse event, and
|
||||||
# will be executed in sequence.
|
# will be executed in sequence.
|
||||||
mouse_left_click = close_current
|
mouse_left_click = context, close_current
|
||||||
mouse_middle_click = do_action, close_current
|
mouse_middle_click = do_action, close_current
|
||||||
mouse_right_click = close_all
|
mouse_right_click = close_all
|
||||||
|
|
||||||
# Experimental features that may or may not work correctly. Do not expect them
|
# Experimental features that may or may not work correctly. Do not expect them
|
||||||
# to have a consistent behaviour across releases.
|
# to have a consistent behavior across releases.
|
||||||
[experimental]
|
[experimental]
|
||||||
# Calculate the dpi to use on a per-monitor basis.
|
# Calculate the dpi to use on a per-monitor basis.
|
||||||
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
||||||
@@ -311,31 +309,6 @@
|
|||||||
# where there are multiple screens with very different dpi values.
|
# where there are multiple screens with very different dpi values.
|
||||||
per_monitor_dpi = false
|
per_monitor_dpi = false
|
||||||
|
|
||||||
|
|
||||||
[urgency_low]
|
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
|
||||||
# Otherwise the "#" and following would be interpreted as a comment.
|
|
||||||
background = "#282a36"
|
|
||||||
foreground = "#f8f8f2"
|
|
||||||
timeout = 3
|
|
||||||
# Icon for notifications with low urgency, uncomment to enable
|
|
||||||
#default_icon = /path/to/icon
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "#282a36"
|
|
||||||
foreground = "#f8f8f2"
|
|
||||||
timeout = 3
|
|
||||||
# Icon for notifications with normal urgency, uncomment to enable
|
|
||||||
#default_icon = /path/to/icon
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "#282a36"
|
|
||||||
foreground = "#f8f8f2"
|
|
||||||
frame_color = "#ff0000"
|
|
||||||
timeout = 0
|
|
||||||
# Icon for notifications with critical urgency, uncomment to enable
|
|
||||||
#default_icon = /path/to/icon
|
|
||||||
|
|
||||||
# Every section that isn't one of the above is interpreted as a rules to
|
# Every section that isn't one of the above is interpreted as a rules to
|
||||||
# override settings for certain messages.
|
# override settings for certain messages.
|
||||||
#
|
#
|
||||||
@@ -371,7 +344,7 @@
|
|||||||
# alignment
|
# alignment
|
||||||
# hide_text
|
# hide_text
|
||||||
#
|
#
|
||||||
# Shell-like globbing will get expanded.
|
# Shell-like globing will get expanded.
|
||||||
#
|
#
|
||||||
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
|
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
|
||||||
# GLib based applications export their desktop-entry name. In comparison to the appname,
|
# GLib based applications export their desktop-entry name. In comparison to the appname,
|
||||||
@@ -459,3 +432,32 @@
|
|||||||
# set_stack_tag = "volume"
|
# set_stack_tag = "volume"
|
||||||
#
|
#
|
||||||
# vim: ft=cfg
|
# vim: ft=cfg
|
||||||
|
|
||||||
|
[Type-1]
|
||||||
|
appname = "t1"
|
||||||
|
format = "<b>%s</b>"
|
||||||
|
|
||||||
|
[Type-2]
|
||||||
|
appname = "t2"
|
||||||
|
format = "<span size="250%">%s</span>\n%b"
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#f5e0dc"
|
||||||
|
foreground = "#1e1e2e"
|
||||||
|
frame_color = "#f38ba8"
|
||||||
|
icon = "/home/j409/.config/dunst/icons/critical.svg"
|
||||||
|
timeout = 0
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
background = "#A37E6580"
|
||||||
|
foreground = "#FFE0CCE6"
|
||||||
|
frame_color = "#A37E6503"
|
||||||
|
icon = "/home/j409/.config/dunst/icons/hyprdots.svg"
|
||||||
|
timeout = 5
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#6B513A80"
|
||||||
|
foreground = "#FFE4CCE6"
|
||||||
|
frame_color = "#6B513A03"
|
||||||
|
icon = "/home/j409/.config/dunst/icons/hyprdots.svg"
|
||||||
|
timeout = 5
|
||||||
|
|||||||
@@ -1,107 +1,115 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
"palette": {
|
"palette": {
|
||||||
"text": "#f8f8f2",
|
"error": "#ff5555",
|
||||||
"primary": "#bd93f9",
|
"primary": "#bd93f9",
|
||||||
"secondary": "#ffb86c",
|
"secondary": "#ffb86c",
|
||||||
"error": "#ff5555"
|
"text": "#f8f8f2"
|
||||||
},
|
},
|
||||||
"blocks": [
|
"blocks": [
|
||||||
|
{
|
||||||
|
"type": "prompt",
|
||||||
|
"alignment": "left",
|
||||||
|
"segments": [
|
||||||
{
|
{
|
||||||
"alignment": "left",
|
"style": "powerline",
|
||||||
"segments": [
|
"template": "{{ .Icon }}",
|
||||||
{
|
"foreground": "p:primary",
|
||||||
"foreground": "p:primary",
|
"background": "",
|
||||||
"style": "powerline",
|
"type": "os"
|
||||||
"template": "{{ .Icon }}",
|
|
||||||
"type": "os"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:primary",
|
|
||||||
"properties": {
|
|
||||||
"style": "full"
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ .Path }} ",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:secondary",
|
|
||||||
"style": "plain",
|
|
||||||
"template": ":: {{ .HEAD }}",
|
|
||||||
"type": "git"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alignment": "right",
|
"properties": {
|
||||||
"segments": [
|
"style": "full"
|
||||||
{
|
},
|
||||||
"foreground": "p:primary",
|
"style": "plain",
|
||||||
"properties": {
|
"template": " {{ .Path }} ",
|
||||||
"display_mode": "files",
|
"foreground": "p:primary",
|
||||||
"fetch_package_manager": true,
|
"background": "",
|
||||||
"fetch_version": true,
|
"type": "path"
|
||||||
"npm_icon": "/npm",
|
|
||||||
"yarn_icon": "/yarn"
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
|
||||||
"type": "node"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:error",
|
|
||||||
"properties": {
|
|
||||||
"display_mode": "files",
|
|
||||||
"fetch_version": true
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
|
||||||
"type": "crystal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:error",
|
|
||||||
"properties": {
|
|
||||||
"display_mode": "files",
|
|
||||||
"fetch_version": true
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
|
||||||
"type": "ruby"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:primary",
|
|
||||||
"properties": {
|
|
||||||
"display_mode": "context",
|
|
||||||
"fetch_virtual_env": false
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
|
||||||
"type": "python"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alignment": "left",
|
"style": "plain",
|
||||||
"newline": true,
|
"template": ":: {{ .HEAD }}",
|
||||||
"segments": [
|
"foreground": "p:secondary",
|
||||||
{
|
"background": "",
|
||||||
"foreground": "p:primary",
|
"type": "git"
|
||||||
"foreground_templates": [
|
|
||||||
"{{ if gt .Code 0 }}red{{ end }}"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"always_enabled": true
|
|
||||||
},
|
|
||||||
"style": "powerline",
|
|
||||||
"template": "\u279c ",
|
|
||||||
"type": "status"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"version": 2
|
},
|
||||||
|
{
|
||||||
|
"type": "prompt",
|
||||||
|
"alignment": "right",
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"display_mode": "files",
|
||||||
|
"fetch_package_manager": true,
|
||||||
|
"fetch_version": true,
|
||||||
|
"npm_icon": "/npm",
|
||||||
|
"yarn_icon": "/yarn"
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||||
|
"foreground": "p:primary",
|
||||||
|
"background": "",
|
||||||
|
"type": "node"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"display_mode": "files",
|
||||||
|
"fetch_version": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||||
|
"foreground": "p:error",
|
||||||
|
"background": "",
|
||||||
|
"type": "crystal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"display_mode": "files",
|
||||||
|
"fetch_version": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||||
|
"foreground": "p:error",
|
||||||
|
"background": "",
|
||||||
|
"type": "ruby"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"display_mode": "context",
|
||||||
|
"fetch_virtual_env": false
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||||
|
"foreground": "p:primary",
|
||||||
|
"background": "",
|
||||||
|
"type": "python"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "prompt",
|
||||||
|
"alignment": "left",
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"always_enabled": true
|
||||||
|
},
|
||||||
|
"style": "powerline",
|
||||||
|
"template": "➜ ",
|
||||||
|
"foreground": "p:primary",
|
||||||
|
"background": "",
|
||||||
|
"type": "status",
|
||||||
|
"foreground_templates": [
|
||||||
|
"{{ if gt .Code 0 }}red{{ end }}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"newline": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 3
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
bind r source-file ~/.config/tmux/tmux.conf
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
|
set -sg escape-time 0
|
||||||
|
set-option focus-events on
|
||||||
setw -g window-status-separator ''
|
setw -g window-status-separator ''
|
||||||
setw -g window-status-format '#[fg=#f8f8f2]#[bg=#44475a] [#I] #W '
|
setw -g window-status-format '#[fg=#cdd6f4]#[bg=#313244] [#I] #W '
|
||||||
setw -g window-status-current-format '#[fg=#282a36]#[bg=#50fa7b]#[bold] [#I] #W '
|
setw -g window-status-current-format '#[fg=#1e1e2e]#[bg=#fab387]#[bold] [#I] #W '
|
||||||
set -g status-left ''
|
set -g status-left ''
|
||||||
set -g status-right '#[fg=#282a36]#[bg=#bd93f9]#[bold] #S '
|
set -g status-right '#[fg=#1e1e2e]#[bg=#fab387]#[bold] #S '
|
||||||
|
|
||||||
set-window-option -g mode-style 'bg=#44475a'
|
set-window-option -g mode-style 'bg=#313244'
|
||||||
|
|
||||||
setw -g message-style 'fg=#50fa7b,bg=#44475a'
|
setw -g message-style 'fg=#fab387,bg=#313244'
|
||||||
|
|
||||||
set -g default-terminal 'tmux-256color'
|
set -g default-terminal 'tmux-256color'
|
||||||
set -ag terminal-overrides ',xterm-256color:RGB'
|
set -ag terminal-overrides ',xterm-256color:RGB'
|
||||||
@@ -47,4 +49,6 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
|||||||
set -g status-bg default
|
set -g status-bg default
|
||||||
set -g status-style bg=default
|
set -g status-style bg=default
|
||||||
|
|
||||||
|
set-option -g detach-on-destroy off
|
||||||
|
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user