merge: work

This commit is contained in:
AngeD 2022-08-17 09:58:31 +02:00
parent 544258de34
commit 82cf039bc1
6 changed files with 27 additions and 17 deletions

8
.config/kitty/kitty.conf Normal file
View 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

View File

@ -1,8 +1,8 @@
# 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" \
@ -10,10 +10,6 @@ exec swayidle -w \
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"
bar swaybar_command waybar
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

View File

@ -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

View File

@ -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

View File

@ -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"
}