Compare commits

..

2 Commits

Author SHA1 Message Date
409
6e0df3a829 change alacritty stuff 2025-09-23 14:06:36 +02:00
409
630f1dd580 update tmux and alacritty 2025-09-23 14:01:30 +02:00
9 changed files with 318 additions and 169 deletions

View File

@@ -1,13 +1,12 @@
import = ["/home/j409/.config/alacritty/dracula.toml"]
[env]
TERM = "xterm-256color"
[font]
size = 13
size = 14
[font.normal]
family = "GeistMono Nerd Font"
style = "medium"
[font.offset]
y = 0
@@ -19,3 +18,6 @@ dynamic_padding = true
[window.padding]
x = 12
y = 12
[general]
import = ["catppuccin-dark.toml"]

1
alacritty/catppuccin Submodule

Submodule alacritty/catppuccin added at 3c808cbb4f

View File

@@ -0,0 +1,65 @@
[colors.primary]
background = "#09090e"
foreground = "#cdd6f4"
dim_foreground = "#7f849c"
bright_foreground = "#cdd6f4"
[colors.cursor]
text = "#1e1e2e"
cursor = "#f5e0dc"
[colors.vi_mode_cursor]
text = "#1e1e2e"
cursor = "#b4befe"
[colors.search.matches]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.search.focused_match]
foreground = "#1e1e2e"
background = "#a6e3a1"
[colors.footer_bar]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.hints.start]
foreground = "#1e1e2e"
background = "#f9e2af"
[colors.hints.end]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.selection]
text = "#1e1e2e"
background = "#f5e0dc"
[colors.normal]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"
[colors.bright]
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"
[[colors.indexed_colors]]
index = 16
color = "#fab387"
[[colors.indexed_colors]]
index = 17
color = "#f5e0dc"

View File

@@ -0,0 +1,65 @@
[colors.primary]
background = "#1e1e2e"
foreground = "#cdd6f4"
dim_foreground = "#7f849c"
bright_foreground = "#cdd6f4"
[colors.cursor]
text = "#1e1e2e"
cursor = "#f5e0dc"
[colors.vi_mode_cursor]
text = "#1e1e2e"
cursor = "#b4befe"
[colors.search.matches]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.search.focused_match]
foreground = "#1e1e2e"
background = "#a6e3a1"
[colors.footer_bar]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.hints.start]
foreground = "#1e1e2e"
background = "#f9e2af"
[colors.hints.end]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.selection]
text = "#1e1e2e"
background = "#f5e0dc"
[colors.normal]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"
[colors.bright]
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"
[[colors.indexed_colors]]
index = 16
color = "#fab387"
[[colors.indexed_colors]]
index = 17
color = "#f5e0dc"

1
alacritty/themes Submodule

Submodule alacritty/themes added at 808b81b2e8

View File

@@ -2,7 +2,8 @@
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 HDMI-A-0 -d IV V VI

View File

@@ -24,49 +24,47 @@
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = (300, 400)
width = 300
# The maximum height of a single notification, excluding the frame.
height = 200
height = 300
# Position the notification in the top right corner
origin = bottom-right
origin = top-right
# Offset from the origin
offset = 8x40
offset = 20x20
# Scale factor. It is auto-detected if value is 0.
scale = 0
highlight = "#89b4fa"
# Maximum number of notification (0 means no limit)
notification_limit = 20
### 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
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# 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
progress_bar_frame_width = 0
# 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
progress_bar_max_width = 300
progress_bar_max_width = 250
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 4
# Corner radius for the icon image.
icon_corner_radius = 0
icon_corner_radius = 4
# Show how many messages are currently hidden (because of
# notification_limit).
@@ -75,35 +73,35 @@
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0
transparency = 10
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 0
separator_height = 2
# Padding between text and separator.
padding = 12
padding = 8
# Horizontal padding.
horizontal_padding = 12
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
text_icon_padding = 10
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
frame_width = 5
# 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.
# 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.
# Click events on gaps do not currently propagate to applications below.
gap_size = 8
gap_size = 5
# Define a color for the separator.
# possible values are:
@@ -111,7 +109,7 @@
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
separator_color = auto
# Sort messages by urgency.
sort = yes
@@ -125,11 +123,11 @@
### Text ###
font = "Geist 13"
font = mononoki Nerd Font 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
line_height = 3
# Possible values are:
# full: Allow a small subset of html markup in notifications:
@@ -165,7 +163,7 @@
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
format = "%s\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
@@ -200,15 +198,15 @@
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
#enable_recursive_icon_lookup = true
# 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.
# icon_theme = "Adwaita, breeze"
icon_theme = "Tela-circle-dracula"
# 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
# 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
max_icon_size = 128
# Paths to default icons (only neccesary when not using recursive icon lookup)
icon_path = /home/j409/.icons/fas/
# Paths to default icons (only necessary when not using recursive icon lookup)
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 ###
@@ -233,7 +231,7 @@
### Misc/Advanced ###
# 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 = /usr/bin/xdg-open
@@ -252,7 +250,7 @@
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
corner_radius = 4
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
@@ -263,7 +261,7 @@
### Wayland ###
# 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)
# layer = top
@@ -297,12 +295,12 @@
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_left_click = context, close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# 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]
# Calculate the dpi to use on a per-monitor basis.
# 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.
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
# override settings for certain messages.
#
@@ -371,7 +344,7 @@
# alignment
# 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.
# GLib based applications export their desktop-entry name. In comparison to the appname,
@@ -459,3 +432,32 @@
# set_stack_tag = "volume"
#
# 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

View File

@@ -1,44 +1,47 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"text": "#f8f8f2",
"error": "#ff5555",
"primary": "#bd93f9",
"secondary": "#ffb86c",
"error": "#ff5555"
"text": "#f8f8f2"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"foreground": "p:primary",
"style": "powerline",
"template": "{{ .Icon }}",
"foreground": "p:primary",
"background": "",
"type": "os"
},
{
"foreground": "p:primary",
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} ",
"foreground": "p:primary",
"background": "",
"type": "path"
},
{
"foreground": "p:secondary",
"style": "plain",
"template": ":: {{ .HEAD }}",
"foreground": "p:secondary",
"background": "",
"type": "git"
}
],
"type": "prompt"
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"foreground": "p:primary",
"properties": {
"display_mode": "files",
"fetch_package_manager": true,
@@ -48,60 +51,65 @@
},
"style": "plain",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"foreground": "p:primary",
"background": "",
"type": "node"
},
{
"foreground": "p:error",
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"foreground": "p:error",
"background": "",
"type": "crystal"
},
{
"foreground": "p:error",
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"foreground": "p:error",
"background": "",
"type": "ruby"
},
{
"foreground": "p:primary",
"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"
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:primary",
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": "\u279c ",
"type": "status"
"template": " ",
"foreground": "p:primary",
"background": "",
"type": "status",
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
]
}
],
"type": "prompt"
"newline": true
}
],
"version": 2
"version": 3
}

View File

@@ -1,14 +1,16 @@
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-format '#[fg=#f8f8f2]#[bg=#44475a] [#I] #W '
setw -g window-status-current-format '#[fg=#282a36]#[bg=#50fa7b]#[bold] [#I] #W '
setw -g window-status-format '#[fg=#cdd6f4]#[bg=#313244] [#I] #W '
setw -g window-status-current-format '#[fg=#1e1e2e]#[bg=#fab387]#[bold] [#I] #W '
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 -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-style bg=default
set-option -g detach-on-destroy off
run '~/.tmux/plugins/tpm/tpm'