commit 87d5fa0a57cdcdd9c2515f20b430f87184a2b05e
parent dc53723a48b13df5e27798fe0d31e92a048a8e8a
Author: Matsuda Kenji <ftvda283@gmail.com>
Date: Tue, 11 Aug 2020 19:11:50 +0900
scale down brave
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -11,5 +11,6 @@ PS1='[\u@\h \W]$(__git_ps1)\[\033[00m\]\\$ '
alias ls='ls --color=auto'
alias vim=nvim
+alias brave='brave -force-device-scale-factor=0.8'
set -o vi
diff --git a/.config/i3/config b/.config/i3/config
@@ -122,7 +122,7 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
-bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
+bindsym $mod+Shift+e exec "i3-nagbar -t warning -m '' -B '' 'systemctl poweroff' -B '' 'systemctl reboot' -B '' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
@@ -152,7 +152,7 @@ bar {
status_command i3blocks
}
-bindsym $mod+b exec brave
+bindsym $mod+b exec brave -high-dpi-support=1 -force-device-scale-factor=0.8
# Screen brightness controls
set $refresh_brightness pkill -SIGRTMIN+2 i3blocks