mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
6 Commits
ee97b6f1d6
...
3275f28e19
Author | SHA1 | Date | |
---|---|---|---|
|
3275f28e19 | ||
|
36366b74ab | ||
|
f5445fccdf | ||
|
898ddaf048 | ||
|
e669cb0540 | ||
|
0b2272b73b |
@ -1,6 +1,6 @@
|
||||
# output=<not set>
|
||||
font=sans:size=14
|
||||
dpi-aware=auto
|
||||
dpi-aware=no
|
||||
prompt="> "
|
||||
# icon-theme=hicolor
|
||||
# icons-enabled=yes
|
||||
|
@ -1,6 +1,6 @@
|
||||
# output=<not set>
|
||||
font=sans:size=14
|
||||
dpi-aware=auto
|
||||
dpi-aware=no
|
||||
prompt="> "
|
||||
# icon-theme=hicolor
|
||||
# icons-enabled=yes
|
||||
|
91
.config/fuzzel/fuzzel.ini
Normal file
91
.config/fuzzel/fuzzel.ini
Normal file
@ -0,0 +1,91 @@
|
||||
# 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,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
|
||||
|
@ -1,3 +1,2 @@
|
||||
volume=70
|
||||
sub-auto=fuzzy
|
||||
hwdec=auto-safe
|
||||
|
@ -6,4 +6,4 @@ exec mkfifo /tmp/kitty
|
||||
exec wlsunset -s 19:00 -S 07:00 -d 1800
|
||||
exec xbacklight -set 70
|
||||
exec playerctld daemon
|
||||
exec easyeffects --gapplication-service
|
||||
# exec easyeffects --gapplication-service
|
||||
|
26
.config/sway/conf.d/windows-rules
Normal file
26
.config/sway/conf.d/windows-rules
Normal file
@ -0,0 +1,26 @@
|
||||
# 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,5 +1,6 @@
|
||||
include ~/.config/sway/conf.d/display
|
||||
include ~/.config/sway/conf.d/theme
|
||||
include ~/.config/sway/conf.d/keybinds
|
||||
include ~/.config/sway/conf.d/theme
|
||||
include ~/.config/sway/conf.d/windows-rules
|
||||
include ~/.config/sway/conf.d/custom
|
||||
include ~/.config/sway/conf.d/exec
|
||||
|
@ -12,12 +12,6 @@ choices=("suspend" "poweroff" "reboot" "lock")
|
||||
choice=$(printf "%s\n" "${choices[@]}" | fuzzel -d --prompt "🔌: ")
|
||||
|
||||
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
|
||||
# playerctl stop
|
||||
|
||||
|
6
.zshrc
6
.zshrc
@ -74,7 +74,7 @@ compinit
|
||||
HISTFILE=~/.cache/zhistory
|
||||
HISTSIZE=8192
|
||||
SAVEHIST=8192
|
||||
setopt autocd autopushd extendedglob nomatch
|
||||
setopt autocd autopushd extendedglob nomatch inc_append_history
|
||||
unsetopt beep notify
|
||||
bindkey -e
|
||||
# End of lines configured by zsh-newuser-install
|
||||
@ -126,6 +126,4 @@ 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"
|
||||
|
||||
# ccache support
|
||||
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH"
|
||||
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" # ccache support
|
||||
|
Loading…
Reference in New Issue
Block a user