Merge main into zephyrus

This commit is contained in:
2025-07-14 07:32:44 -04:00
10 changed files with 63 additions and 95 deletions

17
.bashrc
View File

@@ -10,24 +10,9 @@ alias grep='grep --color=auto'
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '
# pnpm
export PNPM_HOME="/home/pmcc/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
eval "$(starship init bash)" eval "$(starship init bash)"
export PATH=~/.npm-global/bin:~/.local/bin:$PATH export PATH=~/.npm-global/bin:~/.local/bin:$PATH
export SSH_AUTH_SOCK=~/.1password/agent.sock export SSH_AUTH_SOCK=~/.1password/agent.sock
if uwsm check may-start; then alias claude="/home/pmcc/.claude/local/claude"
exec uwsm start -- sway.desktop --unsupported-gpu
fi
#if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ] ; then
# exec sway
#fi
alias claude="/home/pmcc/.config/claude/local/claude"

View File

@@ -1,7 +0,0 @@
[font.normal]
family = "JetBrainsMono Nerd Font"
[general]
import = [
"~/.config/alacritty/catppuccin-mocha.toml"
]

View File

@@ -1,65 +0,0 @@
[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"

View File

@@ -0,0 +1,2 @@
XCURSOR_THEME="catppuccin-latte-peach-cursors"
XCURSOR_SIZE=32

View File

@@ -0,0 +1,2 @@
PROTON_ENABLE_WAYLAND=1
PROTON_USE_NTSYNC=1

47
.config/ghostty/config Normal file
View File

@@ -0,0 +1,47 @@
# This is the configuration file for Ghostty.
#
# This template file has been automatically created at the following
# path since Ghostty couldn't find any existing config files on your system:
#
# /home/pmcc/.config/ghostty/config
#
# The template does not set any default options, since Ghostty ships
# with sensible defaults for all options. Users should only need to set
# options that they want to change from the default.
#
# Run `ghostty +show-config --default --docs` to view a list of
# all available config options and their default values.
#
# Additionally, each config option is also explained in detail
# on Ghostty's website, at https://ghostty.org/docs/config.
# Config syntax crash course
# ==========================
# # The config file consists of simple key-value pairs,
# # separated by equals signs.
# font-family = Iosevka
# window-padding-x = 2
#
# # Spacing around the equals sign does not matter.
# # All of these are identical:
# key=value
# key= value
# key =value
# key = value
#
# # Any line beginning with a # is a comment. It's not possible to put
# # a comment after a config option, since it would be interpreted as a
# # part of the value. For example, this will have a value of "#123abc":
# background = #123abc
#
# # Empty values are used to reset config keys to default.
# key =
#
# # Some config options have unique syntaxes for their value,
# # which is explained in the docs for that config option.
# # Just for example:
# resize-overlay-duration = 4s 200ms
font-family = JetBrains Mono Nerd Font
theme = catppuccin-mocha
mouse-hide-while-typing = true

View File

@@ -14,7 +14,7 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty set $term ghostty
# Your preferred application launcher # Your preferred application launcher
set $menu rofi -show drun set $menu rofi -show drun
@@ -146,8 +146,6 @@ bindsym $mod+r mode "resize"
for_window [shell="xwayland"] title_format "[XWayland] %title" for_window [shell="xwayland"] title_format "[XWayland] %title"
#xwayland disable seat * xcursor_theme catppuccin-latte-peach-cursors 32
#exec waybar
include ~/.config/sway/config.d/* include ~/.config/sway/config.d/*

View File

@@ -46,4 +46,5 @@ bindsym --locked XF86MonBrightnessUp exec brightnessctl -e4 -n2 -d amdgpu_bl2 se
bindsym --locked XF86MonBrightnessDown exec brightnessctl -e4 -n2 -d amdgpu_bl2 set 5%- bindsym --locked XF86MonBrightnessDown exec brightnessctl -e4 -n2 -d amdgpu_bl2 set 5%-
## Utils ## Utils
bindsym Print exec ~/.local/bin/snag -d ~/screenshots/ bindsym Print exec bash -c 'file=$(~/.local/bin/snag -d ~/screenshots/) && wl-copy < $file'
bindsym Print+Ctrl exec bash -c 'file=$(~/.local/bin/snag -r -d ~/screenshots/) && wl-copy < $file'

View File

@@ -3,3 +3,8 @@ for_window [shell="xwayland"] title_format "[XWayland] %title"
assign [class="Unity"] workspace number 2 assign [class="Unity"] workspace number 2
for_window [title="Unity"] no_focus, move position 400 400 for_window [title="Unity"] no_focus, move position 400 400
for_window [title="Picture-in-Picture"] floating enable for_window [title="Picture-in-Picture"] floating enable
for_window [class="org.kde.haruna"] floating enable
for_window [title=".*\.PopupWindow"] floating enable
for_window [class="Unity" title="Project Settings"] floating enable
for_window [class="Unity" title=".*\.AnnotationWindow"] floating enable
for_window [class="Unity" title="Color"] floating enable

View File

@@ -5,7 +5,7 @@
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-center": ["pulseaudio", "clock"], "modules-center": ["pulseaudio", "clock"],
"modules-right": ["tray", "battery"], "modules-right": ["tray", "memory", "battery"],
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"sort-by-name": true, "sort-by-name": true,
@@ -31,7 +31,7 @@
"clock": { "clock": {
"timezone": "America/Montreal", "timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": " {:%H:%M %d/%m/%y} " "format": "🕐 {:%H:%M 📅 %d/%m/%y} "
}, },
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",