1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 19:01:50 +08:00

Compare commits

..

No commits in common. "91707c2ed94322d1ab00b5d7fe8b141fc081d620" and "bc2def55f0e9e321b5ac7bb9e8701fbb5ae4cce9" have entirely different histories.

10 changed files with 51 additions and 72 deletions

View File

@ -16,6 +16,8 @@ visual_bell_duration 0.0
window_alert_on_bell yes
notify_on_cmd_finish invisible 15
# cosmetics
background_opacity 0.95
@ -40,7 +42,3 @@ map kitty_mod+enter new_window_with_cwd
tab_bar_style fade
tab_fade 0.00390625 0.0625 0.31640625 1
# See https://github.com/kovidgoyal/kitty/issues/7412 and https://github.com/swaywm/sway/issues/8143
wayland_enable_ime no

View File

@ -1,4 +1,4 @@
# env ZDOTDIR=$HOME/.cache/kitty-zsh
# copy --dest .cache/kitty-zsh/.zshrc .zshrc
# copy .zshrc
copy .zshrc

View File

@ -1,47 +1,32 @@
# vim:ft=kitty
## name: Gruvbox Material Dark Medium
## author: Sainnhe Park
## license: MIT
## upstream: https://raw.githubusercontent.com/rsaihe/gruvbox-material-kitty/main/colors/gruvbox-material-dark-medium.conf
## blurb: A modified version of Gruvbox with softer contrasts
## name: Gruvbox Dark
## author: Pavel Pertsev
## license: MIT/X11
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
background #282828
foreground #d4be98
selection_foreground #ebdbb2
selection_background #d65d0e
selection_background #d4be98
selection_foreground #282828
background #282828
foreground #ebdbb2
cursor #a89984
cursor_text_color background
color0 #3c3836
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #a89984
color8 #928374
color9 #fb4934
color10 #b8bb26
color11 #fabd2f
color12 #83a598
color13 #d3869b
color14 #8ec07c
color15 #fbf1c7
# Black
color0 #665c54
color8 #928374
cursor #bdae93
cursor_text_color #665c54
# Red
color1 #ea6962
color9 #ea6962
# Green
color2 #a9b665
color10 #a9b665
# Yellow
color3 #e78a4e
color11 #d8a657
# Blue
color4 #7daea3
color12 #7daea3
# Magenta
color5 #d3869b
color13 #d3869b
# Cyan
color6 #89b482
color14 #89b482
# White
color7 #d4be98
color15 #d4be98
url_color #458588

@ -1 +1 @@
Subproject commit f24ddba0df874aae735d6e9634054d51174b91a4
Subproject commit e54bdaa5240d5315eaffc4e96e4b13d9887e80f0

View File

@ -1,7 +1,7 @@
[Appearance]
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
custom_palette=false
icon_theme=Adwaita-Dark
icon_theme=HighContrast
standard_dialogs=gtk3
style=Adwaita-Dark

View File

@ -4,6 +4,6 @@
# exec_always sh -c ~/.config/sway/scripts/update-wallpaper.sh
exec mkfifo /tmp/kitty
exec wlsunset -s 19:00 -S 07:00 -d 1800
# exec xbacklight -set 70
exec xbacklight -set 70
exec playerctld daemon
# exec easyeffects --gapplication-service

View File

@ -51,7 +51,7 @@ bindsym XF86AudioNext exec 'playerctl next'
bindsym XF86AudioPrev exec 'playerctl previous'
# sticky window
bindsym $mod+Ctrl+s sticky toggle
bindsym $mod+Ctrl+s floating toggle ; sticky toggle ; resize set 800 600 ; move position 55ppt 5ppt
# Start a terminal
bindsym $mod+Return exec $term

View File

@ -7,13 +7,10 @@ for_window {
[app_id="librewolf" title="^Picture-in-Picture$"] $sticky
[app_id="exe$"] $float # Wayland wine app
[app_id="org.strawberrymusicplayer.strawberry"] $float
[class="exe$"] $float # XWayland wine app
[instance="REAPER"] $float
[instance="steam_proton"] $float # proton wine app
[instance="java-lang-Thread"] $float
[instance="steamwebhelper"] $float
[title="Extension:*"] $float # Bitwarden passkey etc.
[title="Write:*"] $float # Thunderbird write emails
[window_role="pop-up,task_dialog,About"] $float
[window_type="dialog"] $float
[window_type="dropdown_menu"] $float

View File

@ -2,7 +2,7 @@
{
"layer": "top",
"name": "main",
// "output": "!XMI Redmi 27 NU 3948622WH08F4",
"output": "!XMI Redmi 27 NU 3948622WH08F4",
"modules-left": [
"sway/workspaces"
],
@ -23,19 +23,19 @@
"include": [
"~/.config/waybar/sway-modules.jsonc"
]
},
{
// "layer": "top",
"name": "alt",
"output": "XMI Redmi 27 NU 3948622WH08F4",
"modules-left": [
"sway/workspaces"
],
"modules-right": [
"sway/window"
],
"sway/window": {
"max-length": 128
}
}
// {
// // "layer": "top",
// "name": "alt",
// "output": "XMI Redmi 27 NU 3948622WH08F4",
// "modules-left": [
// "sway/workspaces"
// ],
// "modules-right": [
// "sway/window"
// ],
// "sway/window": {
// "max-length": 128
// }
// }
]

3
.zshrc
View File

@ -100,7 +100,6 @@ export LESSHISTFILE=/dev/null
export LYNX_CFG=$HOME/.config/lynx/lynxrc
export XDG_CACHE_HOME=$HOME/.cache
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export ZSHZ_DATA=$HOME/.cache/z
# settings for software
@ -114,5 +113,5 @@ export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
# local path
export MANPATH="${MANPATH}:${HOME}/.local/share/man"
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/.cache/go/bin:${HOME}/.cache/cargo/bin:${HOME}/.local/share/nvim/mason/bin"
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/.cache/go/bin:${HOME}/.local/share/nvim/mason/bin"
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" # ccache support