From 90fafc2187d581443fe29081cfdc356412486860 Mon Sep 17 00:00:00 2001 From: koehr Date: Sat, 26 Oct 2019 16:41:17 +0200 Subject: [PATCH] updates wm config --- dot.config/kanshi/config | 4 ++++ dot.config/sway/config | 5 +++-- dot.config/waybar/style.css | 2 +- dot.profile | 10 ++++------ 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dot.config/kanshi/config b/dot.config/kanshi/config index 3580274..e067d5a 100644 --- a/dot.config/kanshi/config +++ b/dot.config/kanshi/config @@ -5,3 +5,7 @@ output eDP-1 enable mode 3200x1800 position 0,0 scale 2 output "Philips Consumer Electronics Company PHL BDM3270 AU11749004259" mode 2560x1440 position 0,-900 scale 1.6 } +{ + output eDP-1 enable mode 3200x1800 position 0,0 scale 2 + output "Philips Consumer Electronics Company PHL BDM3270 AU11749004255" mode 2560x1440 position 0,-900 scale 1.6 +} diff --git a/dot.config/sway/config b/dot.config/sway/config index 95e4f67..3a84178 100644 --- a/dot.config/sway/config +++ b/dot.config/sway/config @@ -153,7 +153,7 @@ bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -A 10 # SCREENSHOTS bindsym --release Print exec --no-startup-id "grim -t jpeg $HOME/Media/Screenshots/scrot-$(date +%Y%m%d%H%M%S).jpg" -bindsym --release Shift+Print exec --no-startup-id "grim -t jpeg -g \"$(slurp)\" $HOME/Media/Screenshots/scrot-$(date +%Y%m%d%H%M%S).jpg" +bindsym --release Shift+Print exec --no-startup-id "grim -t jpeg -g $(slurp) $HOME/Media/Screenshots/scrot-$(date +%Y%m%d%H%M%S).jpg" # fancy mode stuff set $mode_power power lock exit suspend reboot poweroff @@ -197,4 +197,5 @@ exec --no-startup-id blueman-applet & # bluetooth applet exec --no-startup-id dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus & exec --no-startup-id mako & # notifications # exec --no-startup-id dunst & # old notifications -exec --no-startup-id kanshi # automatic screen config +exec --no-startup-id kanshi & # automatic screen config +exec swayidle -w timeout 150 'swaylock' timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' diff --git a/dot.config/waybar/style.css b/dot.config/waybar/style.css index 076d006..335e94f 100644 --- a/dot.config/waybar/style.css +++ b/dot.config/waybar/style.css @@ -14,7 +14,7 @@ window#waybar { #custom-left-arrow-inverse, #custom-right-arrow-inverse { background-color: rgba(255, 255, 255, .1); - color: rgba(25, 0, 0, .5); + color: rgba(0, 0, 0, .15); } #custom-left-arrow, diff --git a/dot.profile b/dot.profile index d60bb18..444481f 100644 --- a/dot.profile +++ b/dot.profile @@ -38,14 +38,12 @@ share_file () { curl -F "file=@$1" https://0x0.st } -if [ "$TTY" = /dev/tty1 -a $USER != root -a ! -e /tmp/.X0-lock ] -then - .local/bin/sway -fi - if [[ "$TTY" == "/dev/tty"* ]] then setfont /home/nk/.local/share/fonts/spleen-16x32.psfu fi -export PATH="$HOME/.cargo/bin:$PATH" +if [ "$TTY" = /dev/tty1 -a $USER != root -a ! -e /tmp/.X0-lock ] +then + .local/bin/sway +fi