Skip to content

Commit

Permalink
Add chrome script
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Dec 23, 2023
1 parent cccbde0 commit 725ae53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions bin/chrome
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/bin/google-chrome-stable --simulate-outdated-no-au='31 Dec 2099'
7 changes: 3 additions & 4 deletions bin/x
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ if [[ "$1" = "-r" ]]; then
if [[ -n "$(xinput list --name-only | grep ROYALAXE)" ]]; then
xmodmap -e "keycode 9 = Escape asciitilde grave"
fi
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Profile Enabled' 0, 1
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Profile Enabled' 0 1
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Speed' -0.${2:-1}
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Profile Enabled' 0, 1
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Speed' -0.${2:-01}
xrandr --output eDP-1 --same-as HDMI-1
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Profile Enabled' 0 1
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Speed' 0.${2:-2}
hsetroot -full /usr/share/awesome/themes/default/background.png -sharpen 8
exit
fi
Expand Down

0 comments on commit 725ae53

Please sign in to comment.