Skip to content

Commit

Permalink
Update x script
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jun 22, 2023
1 parent 52cc512 commit ab2300c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/x
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ "$1" = "-m" ]]; then
if [[ "$1" = "-i" ]]; then
set -x
setxkbmap -layout us
xmodmap -e "keycode 9 = Escape asciitilde grave"
Expand All @@ -19,7 +19,7 @@ if [[ "$1" = "-s" ]]; then
exit
fi

if [[ "$1" = "-i" ]]; then
if [[ "$1" = "-b" ]]; then
set -x
xset -b
xset -dpms
Expand Down
2 changes: 1 addition & 1 deletion etc/xdg/awesome/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesom
{ "open terminal", terminal },
-- @wizawu --
{ "autorandr", "autorandr -l office" },
{ "xinput", terminal .. " -e x -m" },
{ "xinput", terminal .. " -e x -i" },
-- @end --
}
})
Expand Down

0 comments on commit ab2300c

Please sign in to comment.