mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-23 03:11:49 +08:00
Compare commits
No commits in common. "7f19ec74fb39a17f616523cfcc031676d4405d29" and "6d7afd19bac412bb79e66cdff826b42e866ba78e" have entirely different histories.
7f19ec74fb
...
6d7afd19ba
1
.config/sway/conf.d/.gitignore
vendored
1
.config/sway/conf.d/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
custom.d/
|
|
4
.config/sway/conf.d/custom.d/gentoo
Normal file
4
.config/sway/conf.d/custom.d/gentoo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# vim: filetype=swayconfig
|
||||||
|
|
||||||
|
include /usr/local/etc/sway/config.d/*
|
||||||
|
exec /usr/libexec/polkit-gnome-authentication-agent-1
|
14
.config/sway/conf.d/custom.d/input-settings
Normal file
14
.config/sway/conf.d/custom.d/input-settings
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# vim: filetype=swayconfig
|
||||||
|
|
||||||
|
input type:mouse {
|
||||||
|
accel_profile flat
|
||||||
|
pointer_accel -0.3
|
||||||
|
}
|
||||||
|
|
||||||
|
input type:touchpad {
|
||||||
|
accel_profile adaptive
|
||||||
|
natural_scroll enabled
|
||||||
|
tap enabled
|
||||||
|
dwt enabled
|
||||||
|
# events disabled_on_external_mouse
|
||||||
|
}
|
28
.config/sway/conf.d/custom.d/outputs
Normal file
28
.config/sway/conf.d/custom.d/outputs
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
output * adaptive_sync on
|
||||||
|
|
||||||
|
# 75hz monitor
|
||||||
|
output 'Lectron Company Ltd LECOO M2412HL GG30A137' mode 2560x1440@75Hz
|
||||||
|
output 'Lectron Company Ltd LECOO M2412HL GG30A137' pos 0 500
|
||||||
|
output 'Lectron Company Ltd LECOO M2412HL GG30A137' subpixel rgb
|
||||||
|
# output 'Lectron Company Ltd LECOO M2412HL GG30A137' max_render_time 5
|
||||||
|
|
||||||
|
# lab screen
|
||||||
|
# output "XMI Redmi 27 NU 3948622WH08F4" mode --custom 2560x1440@60Hz
|
||||||
|
# output "XMI Redmi 27 NU 3948622WH08F4" scale 1.5
|
||||||
|
output "XMI Redmi 27 NU 3948622WH08F4" transform 90
|
||||||
|
output "XMI Redmi 27 NU 3948622WH08F4" pos 2560 0
|
||||||
|
output "XMI Redmi 27 NU 3948622WH08F4" subpixel rgb
|
||||||
|
# output "XMI Redmi 27 NU 3948622WH08F4" max_render_time 3
|
||||||
|
# output "XMI Redmi 27 NU 3948622WH08F4" render_bit_depth 10
|
||||||
|
|
||||||
|
# laptop screen
|
||||||
|
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' subpixel rgb
|
||||||
|
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' mode 2560x1600@60.000Hz
|
||||||
|
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' max_render_time 5
|
||||||
|
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' mode 2560x1600@60.000Hz
|
||||||
|
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' max_render_time 8
|
||||||
|
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' render_bit_depth 10
|
||||||
|
|
||||||
|
# TV at home
|
||||||
|
output 'Unknown HUAWEI INC 0x00000000' mode 3840x2160@60.000Hz
|
||||||
|
output 'Unknown HUAWEI INC 0x00000000' scale 2
|
@ -39,10 +39,10 @@ exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
|||||||
bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+ && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+ && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 && xbacklight -get > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 && xbacklight -get | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 && xbacklight -get > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 && xbacklight -get | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
bindsym XF86KbdBrightnessUp exec xbacklight -ctrl asus::kbd_backlight -inc 25
|
bindsym XF86KbdBrightnessUp exec xbacklight -ctrl asus::kbd_backlight -inc 33
|
||||||
bindsym XF86KbdBrightnessDown exec xbacklight -ctrl asus::kbd_backlight -dec 25
|
bindsym XF86KbdBrightnessDown exec xbacklight -ctrl asus::kbd_backlight -dec 33
|
||||||
|
|
||||||
bindsym XF86AudioPause exec 'playerctl pause'
|
bindsym XF86AudioPause exec 'playerctl pause'
|
||||||
bindsym XF86AudioPlay exec 'playerctl play'
|
bindsym XF86AudioPlay exec 'playerctl play'
|
||||||
|
@ -13,5 +13,3 @@ bindswitch --reload --locked lid:off output $laptop enable
|
|||||||
#workspace_auto_back_and_forth yes
|
#workspace_auto_back_and_forth yes
|
||||||
force_display_urgency_hint 500 ms
|
force_display_urgency_hint 500 ms
|
||||||
smart_borders no_gaps
|
smart_borders no_gaps
|
||||||
|
|
||||||
seat * xcursor_theme Adwaita
|
|
||||||
|
@ -4,7 +4,7 @@ Description=SSH key agent
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||||
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 6h
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
4
.zshrc
4
.zshrc
@ -24,8 +24,8 @@ zinit wait lucid for \
|
|||||||
agkozak/zsh-z \
|
agkozak/zsh-z \
|
||||||
zpm-zsh/colors \
|
zpm-zsh/colors \
|
||||||
zpm-zsh/colorize \
|
zpm-zsh/colorize \
|
||||||
rywng/shortify.zsh \
|
juancldcmt/shortify.zsh \
|
||||||
rywng/kitty-zsh
|
juancldcmt/kitty-zsh
|
||||||
|
|
||||||
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
|
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
|
Loading…
Reference in New Issue
Block a user