mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
No commits in common. "3275f28e199aabe61520e8d3917ca460efcbf11a" and "ee97b6f1d6b0a7a97f368bddb06a01c4096791e6" have entirely different histories.
3275f28e19
...
ee97b6f1d6
@ -1,6 +1,6 @@
|
|||||||
# output=<not set>
|
# output=<not set>
|
||||||
font=sans:size=14
|
font=sans:size=14
|
||||||
dpi-aware=no
|
dpi-aware=auto
|
||||||
prompt="> "
|
prompt="> "
|
||||||
# icon-theme=hicolor
|
# icon-theme=hicolor
|
||||||
# icons-enabled=yes
|
# icons-enabled=yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# output=<not set>
|
# output=<not set>
|
||||||
font=sans:size=14
|
font=sans:size=14
|
||||||
dpi-aware=no
|
dpi-aware=auto
|
||||||
prompt="> "
|
prompt="> "
|
||||||
# icon-theme=hicolor
|
# icon-theme=hicolor
|
||||||
# icons-enabled=yes
|
# icons-enabled=yes
|
||||||
|
@ -1,91 +0,0 @@
|
|||||||
# output=<not set>
|
|
||||||
font=sans:size=14
|
|
||||||
dpi-aware=no
|
|
||||||
prompt="> "
|
|
||||||
# icon-theme=hicolor
|
|
||||||
# icons-enabled=yes
|
|
||||||
fields=name
|
|
||||||
# password-character=*
|
|
||||||
filter-desktop=yes
|
|
||||||
# fuzzy=yes
|
|
||||||
show-actions=true
|
|
||||||
terminal=/bin/kitty -e
|
|
||||||
# launch-prefix=<not set>
|
|
||||||
|
|
||||||
# lines=15
|
|
||||||
width=18
|
|
||||||
tabs=4
|
|
||||||
horizontal-pad=24
|
|
||||||
vertical-pad=16
|
|
||||||
inner-pad=8
|
|
||||||
|
|
||||||
# image-size-ratio=0.5
|
|
||||||
|
|
||||||
# line-height=<use font metrics>
|
|
||||||
# letter-spacing=0
|
|
||||||
|
|
||||||
layer = overlay
|
|
||||||
# exit-on-keyboard-focus-loss = yes
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
background=282828ff
|
|
||||||
text=665c54ff
|
|
||||||
match=928374ff
|
|
||||||
selection=3c3836ff
|
|
||||||
selection-text=ebdbb2ff
|
|
||||||
selection-match=ebdbb2ff
|
|
||||||
border=bdae93ff
|
|
||||||
|
|
||||||
[border]
|
|
||||||
# width=1
|
|
||||||
radius=4
|
|
||||||
|
|
||||||
[dmenu]
|
|
||||||
# mode=text # text|index
|
|
||||||
# exit-immediately-if-empty=no
|
|
||||||
|
|
||||||
[key-bindings]
|
|
||||||
# cancel=Escape Control+g
|
|
||||||
# execute=Return KP_Enter Control+y
|
|
||||||
# execute-or-next=Tab
|
|
||||||
# cursor-left=Left Control+b
|
|
||||||
# cursor-left-word=Control+Left Mod1+b
|
|
||||||
# cursor-right=Right Control+f
|
|
||||||
# cursor-right-word=Control+Right Mod1+f
|
|
||||||
# cursor-home=Home Control+a
|
|
||||||
# cursor-end=End Control+e
|
|
||||||
# delete-prev=BackSpace
|
|
||||||
delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
|
||||||
# delete-next=Delete KP_Delete Control+d
|
|
||||||
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
|
||||||
# delete-line=Control+k
|
|
||||||
# prev=Up Control+p
|
|
||||||
# prev-with-wrap=ISO_Left_Tab
|
|
||||||
# prev-page=Page_Up KP_Page_Up
|
|
||||||
# next=Down Control+n
|
|
||||||
# next-with-wrap=none
|
|
||||||
# next-page=Page_Down KP_Page_Down
|
|
||||||
|
|
||||||
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
|
||||||
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
|
||||||
# with 12, and so on.
|
|
||||||
|
|
||||||
# custom-1=Mod1+1
|
|
||||||
# custom-2=Mod1+2
|
|
||||||
# custom-3=Mod1+3
|
|
||||||
# custom-4=Mod1+4
|
|
||||||
# custom-5=Mod1+5
|
|
||||||
# custom-6=Mod1+6
|
|
||||||
# custom-7=Mod1+7
|
|
||||||
# custom-8=Mod1+8
|
|
||||||
# custom-9=Mod1+9
|
|
||||||
# custom-10=Mod1+0
|
|
||||||
# custom-11=Mod1+exclam
|
|
||||||
# custom-12=Mod1+at
|
|
||||||
# custom-13=Mod1+numbersign
|
|
||||||
# custom-14=Mod1+dollar
|
|
||||||
# custom-15=Mod1+percent
|
|
||||||
# custom-16=Mod1+dead_circumflex
|
|
||||||
# custom-17=Mod1+ampersand
|
|
||||||
# custom-18=Mod1+asterix
|
|
||||||
# custom-19=Mod1+parentleft
|
|
@ -16,8 +16,6 @@ visual_bell_duration 0.0
|
|||||||
|
|
||||||
window_alert_on_bell yes
|
window_alert_on_bell yes
|
||||||
|
|
||||||
notify_on_cmd_finish invisible 15
|
|
||||||
|
|
||||||
# cosmetics
|
# cosmetics
|
||||||
background_opacity 0.95
|
background_opacity 0.95
|
||||||
|
|
||||||
@ -42,3 +40,7 @@ map kitty_mod+enter new_window_with_cwd
|
|||||||
tab_bar_style fade
|
tab_bar_style fade
|
||||||
|
|
||||||
tab_fade 0.00390625 0.0625 0.31640625 1
|
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
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
volume=70
|
||||||
sub-auto=fuzzy
|
sub-auto=fuzzy
|
||||||
hwdec=auto-safe
|
hwdec=auto-safe
|
||||||
|
@ -6,4 +6,4 @@ exec mkfifo /tmp/kitty
|
|||||||
exec wlsunset -s 19:00 -S 07:00 -d 1800
|
exec wlsunset -s 19:00 -S 07:00 -d 1800
|
||||||
exec xbacklight -set 70
|
exec xbacklight -set 70
|
||||||
exec playerctld daemon
|
exec playerctld daemon
|
||||||
# exec easyeffects --gapplication-service
|
exec easyeffects --gapplication-service
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
# vim: ft=swayconfig
|
|
||||||
set {
|
|
||||||
$sticky floating enable; sticky enable;
|
|
||||||
$float floating enable;
|
|
||||||
}
|
|
||||||
for_window {
|
|
||||||
[app_id="librewolf" title="^Picture-in-Picture$"] $sticky
|
|
||||||
|
|
||||||
[app_id="exe$"] $float # Wayland wine app
|
|
||||||
[class="exe$"] $float # XWayland wine app
|
|
||||||
[instance="java-lang-Thread"] $float
|
|
||||||
[instance="steamwebhelper"] $float
|
|
||||||
[title="Extension:*"] $float # Bitwarden passkey etc.
|
|
||||||
[window_role="pop-up,task_dialog,About"] $float
|
|
||||||
[window_type="dialog"] $float
|
|
||||||
[window_type="dropdown_menu"] $float
|
|
||||||
[window_type="menu"] $float
|
|
||||||
[window_type="notification"] $float
|
|
||||||
[window_type="popup_menu"] $float
|
|
||||||
[window_type="splash"] $float
|
|
||||||
[window_type="toolbar"] $float
|
|
||||||
[window_type="tooltip"] $float
|
|
||||||
[window_type="utility"] $float
|
|
||||||
|
|
||||||
[title="Wine System Tray"] floating enable; kill
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
include ~/.config/sway/conf.d/display
|
include ~/.config/sway/conf.d/display
|
||||||
include ~/.config/sway/conf.d/keybinds
|
|
||||||
include ~/.config/sway/conf.d/theme
|
include ~/.config/sway/conf.d/theme
|
||||||
include ~/.config/sway/conf.d/windows-rules
|
include ~/.config/sway/conf.d/keybinds
|
||||||
include ~/.config/sway/conf.d/custom
|
include ~/.config/sway/conf.d/custom
|
||||||
include ~/.config/sway/conf.d/exec
|
include ~/.config/sway/conf.d/exec
|
||||||
|
@ -12,6 +12,12 @@ choices=("suspend" "poweroff" "reboot" "lock")
|
|||||||
choice=$(printf "%s\n" "${choices[@]}" | fuzzel -d --prompt "🔌: ")
|
choice=$(printf "%s\n" "${choices[@]}" | fuzzel -d --prompt "🔌: ")
|
||||||
|
|
||||||
if test "$choice" = lock; then
|
if test "$choice" = lock; then
|
||||||
|
# sleep less when power on
|
||||||
|
if acpi -a | grep -q on; then
|
||||||
|
sleep_time=3600
|
||||||
|
else
|
||||||
|
sleep_time=10
|
||||||
|
fi
|
||||||
sleep 0.3
|
sleep 0.3
|
||||||
# playerctl stop
|
# playerctl stop
|
||||||
|
|
||||||
|
6
.zshrc
6
.zshrc
@ -74,7 +74,7 @@ compinit
|
|||||||
HISTFILE=~/.cache/zhistory
|
HISTFILE=~/.cache/zhistory
|
||||||
HISTSIZE=8192
|
HISTSIZE=8192
|
||||||
SAVEHIST=8192
|
SAVEHIST=8192
|
||||||
setopt autocd autopushd extendedglob nomatch inc_append_history
|
setopt autocd autopushd extendedglob nomatch
|
||||||
unsetopt beep notify
|
unsetopt beep notify
|
||||||
bindkey -e
|
bindkey -e
|
||||||
# End of lines configured by zsh-newuser-install
|
# End of lines configured by zsh-newuser-install
|
||||||
@ -126,4 +126,6 @@ export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
|
|||||||
# local path
|
# local path
|
||||||
export MANPATH="${MANPATH}:${HOME}/.local/share/man"
|
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}/.local/share/nvim/mason/bin"
|
||||||
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" # ccache support
|
|
||||||
|
# ccache support
|
||||||
|
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user