merge: work
This commit is contained in:
parent
544258de34
commit
82cf039bc1
8
.config/kitty/kitty.conf
Normal file
8
.config/kitty/kitty.conf
Normal file
@ -0,0 +1,8 @@
|
||||
update_check_interval 0
|
||||
|
||||
font_family DejaVuSansMono Nerd Font Mono
|
||||
font_size 14.0
|
||||
|
||||
background_opacity 0.8
|
||||
|
||||
enable_audio_bell no
|
@ -1 +1 @@
|
||||
Subproject commit 826c951825e94dd57decfbb2dd85781ff4dfc712
|
||||
Subproject commit 116c72f5c2e4e63bbf0b7d698f9d35e36848605a
|
@ -1,18 +1,14 @@
|
||||
# fix slow startup time
|
||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
# Lock after $screen_timeout
|
||||
# Turn off screen after $screem_timeout - 10
|
||||
# Turn off screen after $screen_timeout
|
||||
# Lock after $screen_timeout + 10s
|
||||
# Lock if screen off
|
||||
exec swayidle -w \
|
||||
timeout $(($screen_timeout + 10)) "$lock" \
|
||||
timeout $screen_timeout 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep "$lock"
|
||||
|
||||
# GTK theme
|
||||
exec gsettings set org.gnome.desktop.interface gtk-theme "Materia-dark"
|
||||
exec gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
|
||||
exec swayidle -w \
|
||||
timeout $(($screen_timeout + 10)) "$lock" \
|
||||
timeout $screen_timeout 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep "$lock"
|
||||
|
||||
bar swaybar_command waybar
|
||||
|
||||
|
@ -985,7 +985,7 @@
|
||||
typeset -g POWERLEVEL9K_PYENV_SOURCES=(shell local global)
|
||||
# If set to false, hide python version if it's the same as global:
|
||||
# $(pyenv version-name) == $(pyenv global).
|
||||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
||||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=true
|
||||
# If set to false, hide python version if it's equal to "system".
|
||||
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
||||
|
||||
|
10
.xinitrc
10
.xinitrc
@ -1,6 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
xrandr \
|
||||
--output HDMI-2 --auto --primary
|
||||
--output eDP-1 --left-of HDMI-2
|
||||
#xrandr \
|
||||
# --output HDMI-2 --auto --primary \
|
||||
# --output eDP-1 --left-of HDMI-2
|
||||
#
|
||||
## fix touchscreen
|
||||
#xinput --map-to-output 'Raydium Corporation Raydium Touch System' 'eDP-1'
|
||||
|
||||
exec x-window-manager
|
||||
|
@ -5,8 +5,10 @@ shopt -s extglob nullglob
|
||||
set_brightness() {
|
||||
MAX="$(cat "$1"/max_brightness)"
|
||||
FILE="$1"/brightness
|
||||
VAL="$(($2 * MAX / 100))"
|
||||
VAL="$(($2 * MAX / 100 + 1))"
|
||||
|
||||
[ "$VAL" -lt 0 ] && VAL=0
|
||||
[ "$VAL" -gt "$MAX" ] && VAL="$MAX"
|
||||
echo "$VAL" > "$FILE"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user