1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Ryan
91707c2ed9 color schemes, multi-head and update path 2024-07-20 11:36:08 +08:00
Ryan
f22c3f4e18 sway: update window rules 2024-06-11 11:22:52 +08:00
Ryan
efe2150714 qt5ct: Update icon for dark qt5ct theme 2024-06-11 11:21:10 +08:00
Ryan
18073e2708 kitty: disable notify_on_finish for now 2024-06-11 11:20:28 +08:00
Ryan
f0d0e6d32f zshrc: add XDG_DATA_HOME 2024-06-11 11:20:05 +08:00
10 changed files with 72 additions and 51 deletions

View File

@ -16,8 +16,6 @@ visual_bell_duration 0.0
window_alert_on_bell yes
notify_on_cmd_finish invisible 15
# cosmetics
background_opacity 0.95
@ -42,3 +40,7 @@ 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,32 +1,47 @@
## name: Gruvbox Dark
## author: Pavel Pertsev
## license: MIT/X11
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
# 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
selection_foreground #ebdbb2
selection_background #d65d0e
background #282828
foreground #d4be98
background #282828
foreground #ebdbb2
selection_background #d4be98
selection_foreground #282828
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
cursor #a89984
cursor_text_color background
cursor #bdae93
cursor_text_color #665c54
# Black
color0 #665c54
color8 #928374
url_color #458588
# 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

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

View File

@ -1,7 +1,7 @@
[Appearance]
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
custom_palette=false
icon_theme=HighContrast
icon_theme=Adwaita-Dark
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 floating toggle ; sticky toggle ; resize set 800 600 ; move position 55ppt 5ppt
bindsym $mod+Ctrl+s sticky toggle
# Start a terminal
bindsym $mod+Return exec $term

View File

@ -7,10 +7,13 @@ 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="java-lang-Thread"] $float
[instance="REAPER"] $float
[instance="steam_proton"] $float # proton wine app
[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,6 +100,7 @@ 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
@ -113,5 +114,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}/.local/share/nvim/mason/bin"
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/.cache/go/bin:${HOME}/.cache/cargo/bin:${HOME}/.local/share/nvim/mason/bin"
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" # ccache support