Skip to content

Commit

Permalink
Modify awesome/rc.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jun 11, 2024
1 parent 1a4d886 commit 893d9d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/x
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ "$1" = "-r" ]]; then
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.1
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Profile Enabled' 0 1
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' 0.3
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' 0.1
hsetroot -full /usr/share/awesome/themes/default/background.png -clear
exit
fi
Expand Down
1 change: 0 additions & 1 deletion dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ alias psync='rsync -Pz --info=progress2'
alias pyfmt='bash -c "isort \$0 && black \$0"'
alias randn='shuf -i 1-9223372036854775807 -n 1'
alias rm='rm -I'
alias suspend='sudo systemctl suspend'
alias tarip='tar --strip-components=1 -x -f'
alias tgit="tsocks git"
alias timev="/usr/bin/time -v"
Expand Down
4 changes: 1 addition & 3 deletions etc/xdg/awesome/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ myawesomemenu = {

mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal },
-- @wizawu --
{ "refresh", terminal .. " -e x -r" },
-- @end --
}
})

Expand Down Expand Up @@ -185,6 +182,7 @@ screen.connect_signal("property::geometry", set_wallpaper)
-- @wizawu --
screen.connect_signal("added", awesome.restart)
screen.connect_signal("removed", awesome.restart)
awful.spawn("x -r")
-- @end --

awful.screen.connect_for_each_screen(function(s)
Expand Down

0 comments on commit 893d9d0

Please sign in to comment.